Преглед изворни кода

Impl type IResAttachmentList

Taichi Masuyama пре 3 година
родитељ
комит
35345c2fed
1 измењених фајлова са 10 додато и 1 уклоњено
  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>
+  }
+};