UNPKG

@pnp/cli-microsoft365

Version:

Manage Microsoft 365 and SharePoint Framework projects on any platform

25 lines 893 B
import { z } from 'zod'; import { globalOptionsZod } from '../../../../Command.js'; import PeriodBasedReport from '../../../base/PeriodBasedReport.js'; import commands from '../../commands.js'; export const options = z.strictObject({ ...globalOptionsZod.shape, output: z.enum(['csv', 'json']).optional().alias('o'), period: z.enum(['D7', 'D30', 'D90', 'D180']).alias('p') }); class OneDriveReportUsageFileCountsCommand extends PeriodBasedReport { get name() { return commands.REPORT_USAGEFILECOUNTS; } get usageEndpoint() { return 'getOneDriveUsageFileCounts'; } get description() { return 'Gets the total number of files across all sites and how many are active files'; } get schema() { return options; } } export default new OneDriveReportUsageFileCountsCommand(); //# sourceMappingURL=report-usagefilecounts.js.map