Sfoglia il codice sorgente

Impl type IResAttachmentList

Taichi Masuyama 3 anni fa
parent
commit
35345c2fed
1 ha cambiato i file con 10 aggiunte e 1 eliminazioni
  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>
+  }
+};