attachment.ts 375 B

123456789101112131415
  1. import type { IAttachment, IPage, IRevision } from '@growi/core';
  2. import type { ICheckLimitResult } from '../attachment';
  3. export type IApiv3GetAttachmentLimitParams = {
  4. fileSize: number;
  5. };
  6. export type IApiv3GetAttachmentLimitResponse = ICheckLimitResult;
  7. export type IApiv3PostAttachmentResponse = {
  8. page: IPage;
  9. revision: IRevision;
  10. attachment: IAttachment;
  11. };