Просмотр исходного кода

make attachment optional for IPageBulkExportJob

Futa Arai 1 год назад
Родитель
Сommit
99c39f930d

+ 1 - 1
apps/app/src/features/page-bulk-export/interfaces/page-bulk-export.ts

@@ -16,7 +16,7 @@ export interface IPageBulkExportJob {
   uploadId: string, // upload ID of multipart upload of S3/GCS
   format: PageBulkExportFormat,
   completedAt: Date | null, // the date at which job was completed
-  attachment: Ref<IAttachment>,
+  attachment?: Ref<IAttachment>,
 }
 
 // snapshot of page info to upload