@pnp/cli-microsoft365 12.1.0-beta.79db3d9 → 12.1.0-beta.ab87e08
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/spo/commands/file/file-add.js +51 -77
- package/dist/m365/spo/commands/file/file-archive.js +1 -1
- package/dist/m365/spo/commands/file/file-checkin.js +35 -64
- package/dist/m365/spo/commands/file/file-checkout-undo.js +25 -49
- package/dist/m365/spo/commands/file/file-checkout.js +24 -47
- package/dist/m365/spo/commands/file/file-copy.js +37 -68
- package/dist/m365/spo/commands/file/file-get.js +44 -79
- package/dist/m365/spo/commands/file/file-list.js +16 -39
- package/dist/m365/spo/commands/file/file-move.js +30 -68
- package/dist/m365/spo/commands/file/file-remove.js +27 -56
- package/dist/m365/spo/commands/file/file-rename.js +15 -36
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +26 -51
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +25 -50
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +47 -75
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +39 -70
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +26 -52
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +25 -49
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +24 -47
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +46 -70
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +33 -57
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +25 -47
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +32 -53
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +26 -51
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +29 -55
- package/dist/m365/spo/commands/file/file-unarchive.js +1 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +25 -45
- package/dist/m365/spo/commands/file/file-version-get.js +25 -43
- package/dist/m365/spo/commands/file/file-version-keep.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +24 -41
- package/dist/m365/spo/commands/file/file-version-remove.js +26 -47
- package/dist/m365/spo/commands/file/file-version-restore.js +26 -47
- package/dist/m365/spo/commands/folder/folder-add.js +19 -48
- package/dist/m365/spo/commands/folder/folder-copy.js +36 -62
- package/dist/m365/spo/commands/folder/folder-get.js +30 -51
- package/dist/m365/spo/commands/folder/folder-list.js +16 -39
- package/dist/m365/spo/commands/folder/folder-move.js +36 -62
- package/dist/m365/spo/commands/folder/folder-remove.js +15 -36
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +30 -48
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +30 -50
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +49 -79
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +37 -67
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +15 -36
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +14 -33
- package/dist/m365/spo/commands/folder/folder-set.js +28 -48
- package/dist/m365/spo/commands/folder/folder-sharinglink-add.js +58 -86
- package/dist/m365/spo/commands/folder/folder-sharinglink-clear.js +33 -50
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +33 -42
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +32 -47
- package/dist/m365/spo/commands/folder/folder-sharinglink-remove.js +34 -41
- package/dist/m365/spo/commands/folder/folder-sharinglink-set.js +38 -43
- package/dist/m365/spo/commands/page/page-add.js +31 -68
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +74 -101
- package/dist/m365/spo/commands/page/page-column-get.js +15 -32
- package/dist/m365/spo/commands/page/page-column-list.js +14 -27
- package/dist/m365/spo/commands/page/page-control-get.js +18 -27
- package/dist/m365/spo/commands/page/page-control-list.js +13 -20
- package/dist/m365/spo/commands/page/page-control-remove.js +1 -1
- package/dist/m365/spo/commands/page/page-control-set.js +51 -61
- package/dist/m365/spo/commands/page/page-copy.js +15 -31
- package/dist/m365/spo/commands/page/page-header-set.js +25 -89
- package/dist/m365/spo/commands/page/page-list.js +12 -18
- package/dist/m365/spo/commands/page/page-remove.js +16 -39
- package/dist/m365/spo/commands/page/page-section-add.js +108 -173
- package/dist/m365/spo/commands/page/page-section-get.js +17 -27
- package/dist/m365/spo/commands/page/page-section-list.js +13 -20
- package/dist/m365/spo/commands/page/page-section-remove.js +4 -1
- package/dist/m365/spo/commands/page/page-set.js +50 -100
- package/dist/m365/spo/commands/page/page-template-list.js +12 -18
- package/dist/m365/spo/commands/page/page-text-add.js +23 -45
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-lock.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-unlock.mdx +21 -0
- package/docs/docs/cmd/spo/page/page-text-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +19 -0
- package/docs/docs/cmd/viva/engage/engage-community-get.mdx +19 -0
- package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +21 -0
- package/docs/docs/cmd/viva/engage/engage-community-set.mdx +19 -0
- package/npm-shrinkwrap.json +55 -55
- package/package.json +1 -1
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoFolderSharingLinkRemoveCommand_instances, _SpoFolderSharingLinkRemoveCommand_initTelemetry, _SpoFolderSharingLinkRemoveCommand_initOptions, _SpoFolderSharingLinkRemoveCommand_initOptionSets, _SpoFolderSharingLinkRemoveCommand_initValidators, _SpoFolderSharingLinkRemoveCommand_initTypes;
|
|
1
|
+
import { z } from 'zod';
|
|
7
2
|
import { cli } from '../../../../cli/cli.js';
|
|
3
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
8
4
|
import { spo } from '../../../../utils/spo.js';
|
|
9
5
|
import { urlUtil } from '../../../../utils/urlUtil.js';
|
|
10
6
|
import { drive } from '../../../../utils/drive.js';
|
|
@@ -12,6 +8,26 @@ import { validation } from '../../../../utils/validation.js';
|
|
|
12
8
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
13
9
|
import request from '../../../../request.js';
|
|
14
10
|
import commands from '../../commands.js';
|
|
11
|
+
export const options = z.strictObject({
|
|
12
|
+
...globalOptionsZod.shape,
|
|
13
|
+
webUrl: z.string()
|
|
14
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
15
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
16
|
+
})
|
|
17
|
+
.alias('u'),
|
|
18
|
+
folderUrl: z.string().optional(),
|
|
19
|
+
folderId: z.string()
|
|
20
|
+
.refine(id => validation.isValidGuid(id), {
|
|
21
|
+
error: e => `'${e.input}' is not a valid GUID for option 'folderId'.`
|
|
22
|
+
})
|
|
23
|
+
.optional(),
|
|
24
|
+
id: z.string()
|
|
25
|
+
.refine(id => validation.isValidGuid(id), {
|
|
26
|
+
error: e => `'${e.input}' is not a valid GUID for option 'id'.`
|
|
27
|
+
})
|
|
28
|
+
.alias('i'),
|
|
29
|
+
force: z.boolean().optional().alias('f')
|
|
30
|
+
});
|
|
15
31
|
class SpoFolderSharingLinkRemoveCommand extends SpoCommand {
|
|
16
32
|
get name() {
|
|
17
33
|
return commands.FOLDER_SHARINGLINK_REMOVE;
|
|
@@ -19,14 +35,18 @@ class SpoFolderSharingLinkRemoveCommand extends SpoCommand {
|
|
|
19
35
|
get description() {
|
|
20
36
|
return 'Removes a sharing link from a folder';
|
|
21
37
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
38
|
+
get schema() {
|
|
39
|
+
return options;
|
|
40
|
+
}
|
|
41
|
+
getRefinedSchema(schema) {
|
|
42
|
+
return schema
|
|
43
|
+
.refine(opts => [opts.folderUrl, opts.folderId].filter(o => o !== undefined).length === 1, {
|
|
44
|
+
error: `Specify one of the following options: folderUrl, folderId.`,
|
|
45
|
+
params: {
|
|
46
|
+
customCode: 'optionSet',
|
|
47
|
+
options: ['folderUrl', 'folderId']
|
|
48
|
+
}
|
|
49
|
+
});
|
|
30
50
|
}
|
|
31
51
|
async commandAction(logger, args) {
|
|
32
52
|
const removeSharingLink = async () => {
|
|
@@ -64,32 +84,5 @@ class SpoFolderSharingLinkRemoveCommand extends SpoCommand {
|
|
|
64
84
|
}
|
|
65
85
|
}
|
|
66
86
|
}
|
|
67
|
-
_SpoFolderSharingLinkRemoveCommand_instances = new WeakSet(), _SpoFolderSharingLinkRemoveCommand_initTelemetry = function _SpoFolderSharingLinkRemoveCommand_initTelemetry() {
|
|
68
|
-
this.telemetry.push((args) => {
|
|
69
|
-
Object.assign(this.telemetryProperties, {
|
|
70
|
-
folderUrl: typeof args.options.folderUrl !== 'undefined',
|
|
71
|
-
folderId: typeof args.options.folderId !== 'undefined',
|
|
72
|
-
force: !!args.options.force
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
}, _SpoFolderSharingLinkRemoveCommand_initOptions = function _SpoFolderSharingLinkRemoveCommand_initOptions() {
|
|
76
|
-
this.options.unshift({ option: '-u, --webUrl <webUrl>' }, { option: '--folderUrl [folderUrl]' }, { option: '--folderId [folderId]' }, { option: '-i, --id <id>' }, { option: '-f, --force' });
|
|
77
|
-
}, _SpoFolderSharingLinkRemoveCommand_initOptionSets = function _SpoFolderSharingLinkRemoveCommand_initOptionSets() {
|
|
78
|
-
this.optionSets.push({ options: ['folderUrl', 'folderId'] });
|
|
79
|
-
}, _SpoFolderSharingLinkRemoveCommand_initValidators = function _SpoFolderSharingLinkRemoveCommand_initValidators() {
|
|
80
|
-
this.validators.push(async (args) => {
|
|
81
|
-
const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
|
|
82
|
-
if (isValidSharePointUrl !== true) {
|
|
83
|
-
return isValidSharePointUrl;
|
|
84
|
-
}
|
|
85
|
-
if (args.options.folderId && !validation.isValidGuid(args.options.folderId)) {
|
|
86
|
-
return `${args.options.folderId} is not a valid GUID`;
|
|
87
|
-
}
|
|
88
|
-
return true;
|
|
89
|
-
});
|
|
90
|
-
}, _SpoFolderSharingLinkRemoveCommand_initTypes = function _SpoFolderSharingLinkRemoveCommand_initTypes() {
|
|
91
|
-
this.types.string.push('webUrl', 'folderUrl', 'folderId', 'id');
|
|
92
|
-
this.types.boolean.push('force');
|
|
93
|
-
};
|
|
94
87
|
export default new SpoFolderSharingLinkRemoveCommand();
|
|
95
88
|
//# sourceMappingURL=folder-sharinglink-remove.js.map
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoFolderSharingLinkSetCommand_instances, _SpoFolderSharingLinkSetCommand_initTelemetry, _SpoFolderSharingLinkSetCommand_initOptions, _SpoFolderSharingLinkSetCommand_initValidators, _SpoFolderSharingLinkSetCommand_initOptionSets, _SpoFolderSharingLinkSetCommand_initTypes;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import request from '../../../../request.js';
|
|
8
4
|
import { spo } from '../../../../utils/spo.js';
|
|
9
5
|
import { urlUtil } from '../../../../utils/urlUtil.js';
|
|
@@ -11,6 +7,30 @@ import { drive } from '../../../../utils/drive.js';
|
|
|
11
7
|
import { validation } from '../../../../utils/validation.js';
|
|
12
8
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
13
9
|
import commands from '../../commands.js';
|
|
10
|
+
export const options = z.strictObject({
|
|
11
|
+
...globalOptionsZod.shape,
|
|
12
|
+
webUrl: z.string()
|
|
13
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
14
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
15
|
+
})
|
|
16
|
+
.alias('u'),
|
|
17
|
+
folderUrl: z.string().optional(),
|
|
18
|
+
folderId: z.string()
|
|
19
|
+
.refine(id => validation.isValidGuid(id), {
|
|
20
|
+
error: e => `'${e.input}' is not a valid GUID for option 'folderId'.`
|
|
21
|
+
})
|
|
22
|
+
.optional(),
|
|
23
|
+
id: z.string()
|
|
24
|
+
.refine(id => validation.isValidGuid(id), {
|
|
25
|
+
error: e => `'${e.input}' is not a valid GUID for option 'id'.`
|
|
26
|
+
})
|
|
27
|
+
.alias('i'),
|
|
28
|
+
expirationDateTime: z.string()
|
|
29
|
+
.refine(dateTime => validation.isValidISODateTime(dateTime), {
|
|
30
|
+
error: e => `'${e.input}' is not a valid ISO date string.`
|
|
31
|
+
})
|
|
32
|
+
.optional()
|
|
33
|
+
});
|
|
14
34
|
class SpoFolderSharingLinkSetCommand extends SpoCommand {
|
|
15
35
|
get name() {
|
|
16
36
|
return commands.FOLDER_SHARINGLINK_SET;
|
|
@@ -18,14 +38,18 @@ class SpoFolderSharingLinkSetCommand extends SpoCommand {
|
|
|
18
38
|
get description() {
|
|
19
39
|
return 'Updates a specific sharing link to a folder';
|
|
20
40
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
41
|
+
get schema() {
|
|
42
|
+
return options;
|
|
43
|
+
}
|
|
44
|
+
getRefinedSchema(schema) {
|
|
45
|
+
return schema
|
|
46
|
+
.refine(opts => [opts.folderId, opts.folderUrl].filter(o => o !== undefined).length === 1, {
|
|
47
|
+
error: `Specify one of the following options: folderId, folderUrl.`,
|
|
48
|
+
params: {
|
|
49
|
+
customCode: 'optionSet',
|
|
50
|
+
options: ['folderId', 'folderUrl']
|
|
51
|
+
}
|
|
52
|
+
});
|
|
29
53
|
}
|
|
30
54
|
async commandAction(logger, args) {
|
|
31
55
|
if (this.verbose) {
|
|
@@ -57,34 +81,5 @@ class SpoFolderSharingLinkSetCommand extends SpoCommand {
|
|
|
57
81
|
}
|
|
58
82
|
}
|
|
59
83
|
}
|
|
60
|
-
_SpoFolderSharingLinkSetCommand_instances = new WeakSet(), _SpoFolderSharingLinkSetCommand_initTelemetry = function _SpoFolderSharingLinkSetCommand_initTelemetry() {
|
|
61
|
-
this.telemetry.push((args) => {
|
|
62
|
-
Object.assign(this.telemetryProperties, {
|
|
63
|
-
folderUrl: typeof args.options.folderUrl !== 'undefined',
|
|
64
|
-
folderId: typeof args.options.folderId !== 'undefined',
|
|
65
|
-
expirationDateTime: typeof args.options.expirationDateTime !== 'undefined'
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
}, _SpoFolderSharingLinkSetCommand_initOptions = function _SpoFolderSharingLinkSetCommand_initOptions() {
|
|
69
|
-
this.options.unshift({ option: '-u, --webUrl <webUrl>' }, { option: '--folderUrl [folderUrl]' }, { option: '--folderId [folderId]' }, { option: '-i, --id <id>' }, { option: '--expirationDateTime [expirationDateTime]' });
|
|
70
|
-
}, _SpoFolderSharingLinkSetCommand_initValidators = function _SpoFolderSharingLinkSetCommand_initValidators() {
|
|
71
|
-
this.validators.push(async (args) => {
|
|
72
|
-
const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
|
|
73
|
-
if (isValidSharePointUrl !== true) {
|
|
74
|
-
return isValidSharePointUrl;
|
|
75
|
-
}
|
|
76
|
-
if (args.options.folderId && !validation.isValidGuid(args.options.folderId)) {
|
|
77
|
-
return `${args.options.folderId} is not a valid GUID`;
|
|
78
|
-
}
|
|
79
|
-
if (args.options.expirationDateTime && !validation.isValidISODateTime(args.options.expirationDateTime)) {
|
|
80
|
-
return `${args.options.expirationDateTime} is not a valid ISO date string.`;
|
|
81
|
-
}
|
|
82
|
-
return true;
|
|
83
|
-
});
|
|
84
|
-
}, _SpoFolderSharingLinkSetCommand_initOptionSets = function _SpoFolderSharingLinkSetCommand_initOptionSets() {
|
|
85
|
-
this.optionSets.push({ options: ['folderId', 'folderUrl'] });
|
|
86
|
-
}, _SpoFolderSharingLinkSetCommand_initTypes = function _SpoFolderSharingLinkSetCommand_initTypes() {
|
|
87
|
-
this.types.string.push('webUrl', 'folderId', 'folderUrl', 'id', 'expirationDateTime');
|
|
88
|
-
};
|
|
89
84
|
export default new SpoFolderSharingLinkSetCommand();
|
|
90
85
|
//# sourceMappingURL=folder-sharinglink-set.js.map
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoPageAddCommand_instances, _SpoPageAddCommand_initTelemetry, _SpoPageAddCommand_initOptions, _SpoPageAddCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import request from '../../../../request.js';
|
|
8
4
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
5
|
import { spo } from '../../../../utils/spo.js';
|
|
@@ -12,6 +8,22 @@ import { validation } from '../../../../utils/validation.js';
|
|
|
12
8
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
13
9
|
import commands from '../../commands.js';
|
|
14
10
|
import { Page, supportedPageLayouts, supportedPromoteAs } from './Page.js';
|
|
11
|
+
export const options = z.strictObject({
|
|
12
|
+
...globalOptionsZod.shape,
|
|
13
|
+
webUrl: z.string()
|
|
14
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
15
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
16
|
+
})
|
|
17
|
+
.alias('u'),
|
|
18
|
+
name: z.string().alias('n'),
|
|
19
|
+
title: z.string().optional().alias('t'),
|
|
20
|
+
layoutType: z.enum(supportedPageLayouts).optional().alias('l'),
|
|
21
|
+
promoteAs: z.enum(supportedPromoteAs).optional().alias('p'),
|
|
22
|
+
commentsEnabled: z.boolean().optional(),
|
|
23
|
+
publish: z.boolean().optional(),
|
|
24
|
+
publishMessage: z.string().optional(),
|
|
25
|
+
description: z.string().optional()
|
|
26
|
+
});
|
|
15
27
|
class SpoPageAddCommand extends SpoCommand {
|
|
16
28
|
get name() {
|
|
17
29
|
return commands.PAGE_ADD;
|
|
@@ -19,12 +31,19 @@ class SpoPageAddCommand extends SpoCommand {
|
|
|
19
31
|
get description() {
|
|
20
32
|
return 'Creates modern page';
|
|
21
33
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
34
|
+
get schema() {
|
|
35
|
+
return options;
|
|
36
|
+
}
|
|
37
|
+
getRefinedSchema(schema) {
|
|
38
|
+
return schema
|
|
39
|
+
.refine(opts => opts.promoteAs !== 'HomePage' || opts.layoutType === 'Home', {
|
|
40
|
+
error: 'You can only promote home pages as site home page',
|
|
41
|
+
path: ['promoteAs']
|
|
42
|
+
})
|
|
43
|
+
.refine(opts => opts.promoteAs !== 'NewsPage' || !opts.layoutType || opts.layoutType === 'Article', {
|
|
44
|
+
error: 'You can only promote article pages as news article',
|
|
45
|
+
path: ['promoteAs']
|
|
46
|
+
});
|
|
28
47
|
}
|
|
29
48
|
async commandAction(logger, args) {
|
|
30
49
|
let pageName = args.options.name;
|
|
@@ -207,61 +226,5 @@ class SpoPageAddCommand extends SpoCommand {
|
|
|
207
226
|
}
|
|
208
227
|
}
|
|
209
228
|
}
|
|
210
|
-
_SpoPageAddCommand_instances = new WeakSet(), _SpoPageAddCommand_initTelemetry = function _SpoPageAddCommand_initTelemetry() {
|
|
211
|
-
this.telemetry.push((args) => {
|
|
212
|
-
Object.assign(this.telemetryProperties, {
|
|
213
|
-
layoutType: args.options.layoutType,
|
|
214
|
-
promoteAs: args.options.promoteAs,
|
|
215
|
-
commentsEnabled: args.options.commentsEnabled || false,
|
|
216
|
-
publish: args.options.publish || false,
|
|
217
|
-
publishMessage: typeof args.options.publishMessage !== 'undefined',
|
|
218
|
-
description: typeof args.options.description !== 'undefined'
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
}, _SpoPageAddCommand_initOptions = function _SpoPageAddCommand_initOptions() {
|
|
222
|
-
this.options.unshift({
|
|
223
|
-
option: '-n, --name <name>'
|
|
224
|
-
}, {
|
|
225
|
-
option: '-u, --webUrl <webUrl>'
|
|
226
|
-
}, {
|
|
227
|
-
option: '-t, --title [title]'
|
|
228
|
-
}, {
|
|
229
|
-
option: '-l, --layoutType [layoutType]',
|
|
230
|
-
autocomplete: supportedPageLayouts
|
|
231
|
-
}, {
|
|
232
|
-
option: '-p, --promoteAs [promoteAs]',
|
|
233
|
-
autocomplete: supportedPromoteAs
|
|
234
|
-
}, {
|
|
235
|
-
option: '--commentsEnabled'
|
|
236
|
-
}, {
|
|
237
|
-
option: '--publish'
|
|
238
|
-
}, {
|
|
239
|
-
option: '--publishMessage [publishMessage]'
|
|
240
|
-
}, {
|
|
241
|
-
option: '--description [description]'
|
|
242
|
-
});
|
|
243
|
-
}, _SpoPageAddCommand_initValidators = function _SpoPageAddCommand_initValidators() {
|
|
244
|
-
this.validators.push(async (args) => {
|
|
245
|
-
const isValidSharePointUrl = validation.isValidSharePointUrl(args.options.webUrl);
|
|
246
|
-
if (isValidSharePointUrl !== true) {
|
|
247
|
-
return isValidSharePointUrl;
|
|
248
|
-
}
|
|
249
|
-
if (args.options.layoutType &&
|
|
250
|
-
supportedPageLayouts.indexOf(args.options.layoutType) < 0) {
|
|
251
|
-
return `${args.options.layoutType} is not a valid option for layoutType. Allowed values ${supportedPageLayouts.join(', ')}`;
|
|
252
|
-
}
|
|
253
|
-
if (args.options.promoteAs &&
|
|
254
|
-
supportedPromoteAs.indexOf(args.options.promoteAs) < 0) {
|
|
255
|
-
return `${args.options.promoteAs} is not a valid option for promoteAs. Allowed values ${supportedPromoteAs.join(', ')}`;
|
|
256
|
-
}
|
|
257
|
-
if (args.options.promoteAs === 'HomePage' && args.options.layoutType !== 'Home') {
|
|
258
|
-
return 'You can only promote home pages as site home page';
|
|
259
|
-
}
|
|
260
|
-
if (args.options.promoteAs === 'NewsPage' && args.options.layoutType && args.options.layoutType !== 'Article') {
|
|
261
|
-
return 'You can only promote article pages as news article';
|
|
262
|
-
}
|
|
263
|
-
return true;
|
|
264
|
-
});
|
|
265
|
-
};
|
|
266
229
|
export default new SpoPageAddCommand();
|
|
267
230
|
//# sourceMappingURL=page-add.js.map
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoPageClientSideWebPartAddCommand_instances, _SpoPageClientSideWebPartAddCommand_initTelemetry, _SpoPageClientSideWebPartAddCommand_initOptions, _SpoPageClientSideWebPartAddCommand_initValidators, _SpoPageClientSideWebPartAddCommand_initOptionSets;
|
|
7
1
|
import { v4 } from 'uuid';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
8
4
|
import request from '../../../../request.js';
|
|
9
5
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
6
|
import { validation } from '../../../../utils/validation.js';
|
|
@@ -12,6 +8,55 @@ import SpoCommand from '../../../base/SpoCommand.js';
|
|
|
12
8
|
import commands from '../../commands.js';
|
|
13
9
|
import { StandardWebPartUtils } from '../../StandardWebPartTypes.js';
|
|
14
10
|
import { Page } from './Page.js';
|
|
11
|
+
export const options = z.strictObject({
|
|
12
|
+
...globalOptionsZod.shape,
|
|
13
|
+
pageName: z.string().alias('n'),
|
|
14
|
+
webUrl: z.string()
|
|
15
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
16
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
17
|
+
})
|
|
18
|
+
.alias('u'),
|
|
19
|
+
standardWebPart: z.string()
|
|
20
|
+
.refine(webPart => StandardWebPartUtils.isValidStandardWebPartType(webPart), {
|
|
21
|
+
error: e => `${e.input} is not a valid standard web part type`
|
|
22
|
+
})
|
|
23
|
+
.optional(),
|
|
24
|
+
webPartData: z.string()
|
|
25
|
+
.refine(data => {
|
|
26
|
+
try {
|
|
27
|
+
JSON.parse(data);
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
error: 'Specified webPartData is not a valid JSON string.'
|
|
35
|
+
})
|
|
36
|
+
.optional(),
|
|
37
|
+
webPartId: z.string()
|
|
38
|
+
.refine(id => validation.isValidGuid(id), {
|
|
39
|
+
error: e => `The webPartId '${e.input}' is not a valid GUID`
|
|
40
|
+
})
|
|
41
|
+
.optional(),
|
|
42
|
+
webPartProperties: z.string()
|
|
43
|
+
.refine(properties => {
|
|
44
|
+
try {
|
|
45
|
+
JSON.parse(properties);
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
catch {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
error: 'Specified webPartProperties is not a valid JSON string.'
|
|
53
|
+
})
|
|
54
|
+
.optional(),
|
|
55
|
+
section: z.number().int().min(1, { error: 'The value of parameter section must be 1 or higher' }).optional(),
|
|
56
|
+
column: z.number().int().min(1, { error: 'The value of parameter column must be 1 or higher' }).optional(),
|
|
57
|
+
order: z.number().optional(),
|
|
58
|
+
verticalSection: z.boolean().optional()
|
|
59
|
+
});
|
|
15
60
|
class SpoPageClientSideWebPartAddCommand extends SpoCommand {
|
|
16
61
|
get name() {
|
|
17
62
|
return commands.PAGE_CLIENTSIDEWEBPART_ADD;
|
|
@@ -19,13 +64,27 @@ class SpoPageClientSideWebPartAddCommand extends SpoCommand {
|
|
|
19
64
|
get description() {
|
|
20
65
|
return 'Adds a client-side web part to a modern page';
|
|
21
66
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
67
|
+
get schema() {
|
|
68
|
+
return options;
|
|
69
|
+
}
|
|
70
|
+
getRefinedSchema(schema) {
|
|
71
|
+
return schema
|
|
72
|
+
.refine(opts => [opts.standardWebPart, opts.webPartId].filter(o => o !== undefined).length === 1, {
|
|
73
|
+
error: 'Specify one of the following options: standardWebPart, webPartId.',
|
|
74
|
+
params: {
|
|
75
|
+
customCode: 'optionSet',
|
|
76
|
+
options: ['standardWebPart', 'webPartId']
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
.refine(opts => !(opts.webPartProperties && opts.webPartData), {
|
|
80
|
+
error: 'Specify webPartProperties or webPartData but not both'
|
|
81
|
+
})
|
|
82
|
+
.refine(opts => !(opts.section && opts.verticalSection), {
|
|
83
|
+
error: 'Specify section or verticalSection but not both'
|
|
84
|
+
})
|
|
85
|
+
.refine(opts => !(opts.column && opts.verticalSection), {
|
|
86
|
+
error: 'Use column in combination with section, not with verticalSection'
|
|
87
|
+
});
|
|
29
88
|
}
|
|
30
89
|
async commandAction(logger, args) {
|
|
31
90
|
let canvasContent;
|
|
@@ -228,13 +287,8 @@ class SpoPageClientSideWebPartAddCommand extends SpoCommand {
|
|
|
228
287
|
await logger.logToStderr(args.options.webPartProperties);
|
|
229
288
|
await logger.logToStderr('');
|
|
230
289
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
webPart.webPartData.properties = this.extend(webPart.webPartData.properties, properties);
|
|
234
|
-
}
|
|
235
|
-
catch {
|
|
236
|
-
// Do nothing
|
|
237
|
-
}
|
|
290
|
+
const properties = JSON.parse(args.options.webPartProperties) ?? {};
|
|
291
|
+
webPart.webPartData.properties = this.extend(webPart.webPartData.properties, properties);
|
|
238
292
|
}
|
|
239
293
|
if (args.options.webPartData) {
|
|
240
294
|
if (this.debug) {
|
|
@@ -332,86 +386,5 @@ class SpoPageClientSideWebPartAddCommand extends SpoCommand {
|
|
|
332
386
|
}, target);
|
|
333
387
|
}
|
|
334
388
|
}
|
|
335
|
-
_SpoPageClientSideWebPartAddCommand_instances = new WeakSet(), _SpoPageClientSideWebPartAddCommand_initTelemetry = function _SpoPageClientSideWebPartAddCommand_initTelemetry() {
|
|
336
|
-
this.telemetry.push((args) => {
|
|
337
|
-
Object.assign(this.telemetryProperties, {
|
|
338
|
-
standardWebPart: args.options.standardWebPart,
|
|
339
|
-
webPartData: typeof args.options.webPartData !== 'undefined',
|
|
340
|
-
webPartId: typeof args.options.webPartId !== 'undefined',
|
|
341
|
-
webPartProperties: typeof args.options.webPartProperties !== 'undefined',
|
|
342
|
-
section: typeof args.options.section !== 'undefined',
|
|
343
|
-
column: typeof args.options.column !== 'undefined',
|
|
344
|
-
order: typeof args.options.order !== 'undefined',
|
|
345
|
-
verticalSection: !!args.options.verticalSection
|
|
346
|
-
});
|
|
347
|
-
});
|
|
348
|
-
}, _SpoPageClientSideWebPartAddCommand_initOptions = function _SpoPageClientSideWebPartAddCommand_initOptions() {
|
|
349
|
-
this.options.unshift({
|
|
350
|
-
option: '-u, --webUrl <webUrl>'
|
|
351
|
-
}, {
|
|
352
|
-
option: '-n, --pageName <pageName>'
|
|
353
|
-
}, {
|
|
354
|
-
option: '--standardWebPart [standardWebPart]'
|
|
355
|
-
}, {
|
|
356
|
-
option: '--webPartId [webPartId]'
|
|
357
|
-
}, {
|
|
358
|
-
option: '--webPartProperties [webPartProperties]'
|
|
359
|
-
}, {
|
|
360
|
-
option: '--webPartData [webPartData]'
|
|
361
|
-
}, {
|
|
362
|
-
option: '--section [section]'
|
|
363
|
-
}, {
|
|
364
|
-
option: '--column [column]'
|
|
365
|
-
}, {
|
|
366
|
-
option: '--order [order]'
|
|
367
|
-
}, {
|
|
368
|
-
option: '--verticalSection'
|
|
369
|
-
});
|
|
370
|
-
}, _SpoPageClientSideWebPartAddCommand_initValidators = function _SpoPageClientSideWebPartAddCommand_initValidators() {
|
|
371
|
-
this.validators.push(async (args) => {
|
|
372
|
-
if (args.options.webPartId && !validation.isValidGuid(args.options.webPartId)) {
|
|
373
|
-
return `The webPartId '${args.options.webPartId}' is not a valid GUID`;
|
|
374
|
-
}
|
|
375
|
-
if (args.options.standardWebPart && !StandardWebPartUtils.isValidStandardWebPartType(args.options.standardWebPart)) {
|
|
376
|
-
return `${args.options.standardWebPart} is not a valid standard web part type`;
|
|
377
|
-
}
|
|
378
|
-
if (args.options.webPartProperties && args.options.webPartData) {
|
|
379
|
-
return 'Specify webPartProperties or webPartData but not both';
|
|
380
|
-
}
|
|
381
|
-
if (args.options.webPartProperties) {
|
|
382
|
-
try {
|
|
383
|
-
JSON.parse(args.options.webPartProperties);
|
|
384
|
-
}
|
|
385
|
-
catch (e) {
|
|
386
|
-
return `Specified webPartProperties is not a valid JSON string. Input: ${args.options
|
|
387
|
-
.webPartProperties}. Error: ${e}`;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
if (args.options.webPartData) {
|
|
391
|
-
try {
|
|
392
|
-
JSON.parse(args.options.webPartData);
|
|
393
|
-
}
|
|
394
|
-
catch (e) {
|
|
395
|
-
return `Specified webPartData is not a valid JSON string. Input: ${args.options
|
|
396
|
-
.webPartData}. Error: ${e}`;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
if (args.options.section && (!Number.isInteger(args.options.section) || args.options.section < 1)) {
|
|
400
|
-
return 'The value of parameter section must be 1 or higher';
|
|
401
|
-
}
|
|
402
|
-
if (args.options.column && (!Number.isInteger(args.options.column) || args.options.column < 1)) {
|
|
403
|
-
return 'The value of parameter column must be 1 or higher';
|
|
404
|
-
}
|
|
405
|
-
if (args.options.section && args.options.verticalSection) {
|
|
406
|
-
return 'Specify section or verticalSection but not both';
|
|
407
|
-
}
|
|
408
|
-
if (args.options.column && args.options.verticalSection) {
|
|
409
|
-
return 'Use column in combination with section, not with verticalSection';
|
|
410
|
-
}
|
|
411
|
-
return validation.isValidSharePointUrl(args.options.webUrl);
|
|
412
|
-
});
|
|
413
|
-
}, _SpoPageClientSideWebPartAddCommand_initOptionSets = function _SpoPageClientSideWebPartAddCommand_initOptionSets() {
|
|
414
|
-
this.optionSets.push({ options: ['standardWebPart', 'webPartId'] });
|
|
415
|
-
};
|
|
416
389
|
export default new SpoPageClientSideWebPartAddCommand();
|
|
417
390
|
//# sourceMappingURL=page-clientsidewebpart-add.js.map
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoPageColumnGetCommand_instances, _SpoPageColumnGetCommand_initOptions, _SpoPageColumnGetCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
7
2
|
import { cli } from '../../../../cli/cli.js';
|
|
3
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
8
4
|
import { validation } from '../../../../utils/validation.js';
|
|
9
5
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
10
6
|
import commands from '../../commands.js';
|
|
11
7
|
import { Page } from './Page.js';
|
|
8
|
+
export const options = z.strictObject({
|
|
9
|
+
...globalOptionsZod.shape,
|
|
10
|
+
webUrl: z.string()
|
|
11
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
12
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
13
|
+
})
|
|
14
|
+
.alias('u'),
|
|
15
|
+
pageName: z.string().alias('n'),
|
|
16
|
+
section: z.number().alias('s'),
|
|
17
|
+
column: z.number().alias('c')
|
|
18
|
+
});
|
|
12
19
|
class SpoPageColumnGetCommand extends SpoCommand {
|
|
13
20
|
get name() {
|
|
14
21
|
return commands.PAGE_COLUMN_GET;
|
|
@@ -16,11 +23,8 @@ class SpoPageColumnGetCommand extends SpoCommand {
|
|
|
16
23
|
get description() {
|
|
17
24
|
return 'Gets information about a specific column of a modern page';
|
|
18
25
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_SpoPageColumnGetCommand_instances.add(this);
|
|
22
|
-
__classPrivateFieldGet(this, _SpoPageColumnGetCommand_instances, "m", _SpoPageColumnGetCommand_initOptions).call(this);
|
|
23
|
-
__classPrivateFieldGet(this, _SpoPageColumnGetCommand_instances, "m", _SpoPageColumnGetCommand_initValidators).call(this);
|
|
26
|
+
get schema() {
|
|
27
|
+
return options;
|
|
24
28
|
}
|
|
25
29
|
async commandAction(logger, args) {
|
|
26
30
|
try {
|
|
@@ -48,26 +52,5 @@ class SpoPageColumnGetCommand extends SpoCommand {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
}
|
|
51
|
-
_SpoPageColumnGetCommand_instances = new WeakSet(), _SpoPageColumnGetCommand_initOptions = function _SpoPageColumnGetCommand_initOptions() {
|
|
52
|
-
this.options.unshift({
|
|
53
|
-
option: '-u, --webUrl <webUrl>'
|
|
54
|
-
}, {
|
|
55
|
-
option: '-n, --pageName <pageName>'
|
|
56
|
-
}, {
|
|
57
|
-
option: '-s, --section <section>'
|
|
58
|
-
}, {
|
|
59
|
-
option: '-c, --column <column>'
|
|
60
|
-
});
|
|
61
|
-
}, _SpoPageColumnGetCommand_initValidators = function _SpoPageColumnGetCommand_initValidators() {
|
|
62
|
-
this.validators.push(async (args) => {
|
|
63
|
-
if (isNaN(args.options.section)) {
|
|
64
|
-
return `${args.options.section} is not a number`;
|
|
65
|
-
}
|
|
66
|
-
if (isNaN(args.options.column)) {
|
|
67
|
-
return `${args.options.column} is not a number`;
|
|
68
|
-
}
|
|
69
|
-
return validation.isValidSharePointUrl(args.options.webUrl);
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
55
|
export default new SpoPageColumnGetCommand();
|
|
73
56
|
//# sourceMappingURL=page-column-get.js.map
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoPageColumnListCommand_instances, _SpoPageColumnListCommand_initOptions, _SpoPageColumnListCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
7
2
|
import { cli } from '../../../../cli/cli.js';
|
|
3
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
8
4
|
import { validation } from '../../../../utils/validation.js';
|
|
9
5
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
10
6
|
import commands from '../../commands.js';
|
|
11
7
|
import { Page } from './Page.js';
|
|
8
|
+
export const options = z.strictObject({
|
|
9
|
+
...globalOptionsZod.shape,
|
|
10
|
+
webUrl: z.string()
|
|
11
|
+
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
12
|
+
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
13
|
+
})
|
|
14
|
+
.alias('u'),
|
|
15
|
+
pageName: z.string().alias('n'),
|
|
16
|
+
section: z.number().alias('s')
|
|
17
|
+
});
|
|
12
18
|
class SpoPageColumnListCommand extends SpoCommand {
|
|
13
19
|
get name() {
|
|
14
20
|
return commands.PAGE_COLUMN_LIST;
|
|
@@ -16,11 +22,8 @@ class SpoPageColumnListCommand extends SpoCommand {
|
|
|
16
22
|
get description() {
|
|
17
23
|
return 'Lists columns in the specific section of a modern page';
|
|
18
24
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_SpoPageColumnListCommand_instances.add(this);
|
|
22
|
-
__classPrivateFieldGet(this, _SpoPageColumnListCommand_instances, "m", _SpoPageColumnListCommand_initOptions).call(this);
|
|
23
|
-
__classPrivateFieldGet(this, _SpoPageColumnListCommand_instances, "m", _SpoPageColumnListCommand_initValidators).call(this);
|
|
25
|
+
get schema() {
|
|
26
|
+
return options;
|
|
24
27
|
}
|
|
25
28
|
async commandAction(logger, args) {
|
|
26
29
|
try {
|
|
@@ -40,21 +43,5 @@ class SpoPageColumnListCommand extends SpoCommand {
|
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
|
-
_SpoPageColumnListCommand_instances = new WeakSet(), _SpoPageColumnListCommand_initOptions = function _SpoPageColumnListCommand_initOptions() {
|
|
44
|
-
this.options.unshift({
|
|
45
|
-
option: '-u, --webUrl <webUrl>'
|
|
46
|
-
}, {
|
|
47
|
-
option: '-n, --pageName <pageName>'
|
|
48
|
-
}, {
|
|
49
|
-
option: '-s, --section <sectionId>'
|
|
50
|
-
});
|
|
51
|
-
}, _SpoPageColumnListCommand_initValidators = function _SpoPageColumnListCommand_initValidators() {
|
|
52
|
-
this.validators.push(async (args) => {
|
|
53
|
-
if (isNaN(args.options.section)) {
|
|
54
|
-
return `${args.options.section} is not a number`;
|
|
55
|
-
}
|
|
56
|
-
return validation.isValidSharePointUrl(args.options.webUrl);
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
46
|
export default new SpoPageColumnListCommand();
|
|
60
47
|
//# sourceMappingURL=page-column-list.js.map
|