share-link.ts 338 B

123456789101112131415
  1. import type { HasObjectId, IPageHasId } from '@growi/core';
  2. // Todo: specify more detailed Type
  3. export type IResShareLinkList = {
  4. shareLinksResult: any[];
  5. };
  6. export type IShareLink = {
  7. relatedPage: IPageHasId;
  8. createdAt: Date;
  9. expiredAt?: Date;
  10. description: string;
  11. };
  12. export type IShareLinkHasId = IShareLink & HasObjectId;