Explorar el Código

Impl type IResAttachmentList

Taichi Masuyama hace 3 años
padre
commit
35345c2fed
Se han modificado 1 ficheros con 10 adiciones y 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>
+  }
+};