Quellcode durchsuchen

Impl type IResAttachmentList

Taichi Masuyama vor 3 Jahren
Ursprung
Commit
35345c2fed
1 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
  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>
+  }
+};