import { Ref } from './common'; import { HasObjectId } from './has-object-id'; import { IPage } from './page'; import { IUser } from './user'; export type IAttachment = { page?: Ref; creator?: Ref; filePath?: string; fileName: string; fileFormat: string; fileSize: number; originalName: string; temporaryUrlCached?: string; temporaryUrlExpiredAt?: Date; attachmentType: string; createdAt: Date; filePathProxied: string; downloadPathProxied: string; }; export type IAttachmentHasId = IAttachment & HasObjectId;