Explorar o código

Impl type IResAttachmentList

Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
35345c2fed
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      packages/app/src/interfaces/attachment.ts

+ 10 - 1
packages/app/src/interfaces/attachment.ts

@@ -1 +1,10 @@
-export type { IAttachment } from '@growi/core';
+import type { IAttachment } from '@growi/core';
+
+import type { PaginateResult } from './mongoose-utils';
+
+
+export type IResAttachmentList = {
+  data: {
+    paginateResult: PaginateResult<IAttachment>
+  }
+};