Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { HasObjectId, IUser, Ref } from '@growi/core';
import type { HasObjectId, IAttachment, IUser, Ref } from '@growi/core';
import type { SupportedActionType } from '~/interfaces/activity';

export const AuditLogBulkExportFormat = {
Expand Down Expand Up @@ -41,6 +41,7 @@ export interface IAuditLogBulkExportJob {
totalExportedCount?: number; // total number of exported audit log entries
createdAt?: Date;
updatedAt?: Date;
attachment?: Ref<IAttachment>;
}

export interface IAuditLogBulkExportJobHasId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const auditLogBulkExportJobSchema = new Schema<IAuditLogBulkExportJob>(
completedAt: { type: Date },
restartFlag: { type: Boolean, required: true, default: false },
totalExportedCount: { type: Number, default: 0 },
attachment: { type: Schema.Types.ObjectId, ref: 'Attachment' },
},
{ timestamps: true },
);
Expand Down
Loading
Loading