|
|
@@ -5,12 +5,14 @@ import type { IUser } from '@growi/core';
|
|
|
import { getIdForRef, isPopulated } from '@growi/core';
|
|
|
import type archiver from 'archiver';
|
|
|
import mongoose from 'mongoose';
|
|
|
+
|
|
|
import type { SupportedActionType } from '~/interfaces/activity';
|
|
|
import { SupportedAction, SupportedTargetModel } from '~/interfaces/activity';
|
|
|
import type Crowi from '~/server/crowi';
|
|
|
import type { ObjectIdLike } from '~/server/interfaces/mongoose-utils';
|
|
|
import CronService from '~/server/service/cron';
|
|
|
import loggerFactory from '~/utils/logger';
|
|
|
+
|
|
|
import {
|
|
|
AuditLogBulkExportJobInProgressJobStatus,
|
|
|
AuditLogBulkExportJobStatus,
|
|
|
@@ -55,6 +57,7 @@ export interface IAuditLogBulkExportJobCronService {
|
|
|
|
|
|
import type { ActivityDocument } from '~/server/models/activity';
|
|
|
import { preNotifyService } from '~/server/service/pre-notify';
|
|
|
+
|
|
|
import { compressAndUpload } from './steps/compress-and-upload';
|
|
|
import { exportAuditLogsToFsAsync } from './steps/exportAuditLogsToFsAsync';
|
|
|
|