@pnp/cli-microsoft365 11.10.0-beta.fdeb2ae → 11.11.0-beta.1cb40cb
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/.devcontainer/Dockerfile +1 -1
- package/.devproxy/api-specs/sharepoint-admin.yaml +50 -0
- package/Dockerfile +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +4 -2
- package/dist/config.js +1 -0
- package/dist/m365/entra/commands/agent/agent-list.js +48 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/outlook/commands/event/event-get.js +77 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +23 -41
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +9 -24
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +24 -44
- package/dist/m365/pp/commands/copilot/copilot-get.js +23 -41
- package/dist/m365/pp/commands/copilot/copilot-list.js +9 -24
- package/dist/m365/pp/commands/copilot/copilot-remove.js +24 -44
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +10 -26
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +9 -24
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +11 -29
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +21 -33
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +25 -46
- package/dist/m365/pp/commands/gateway/gateway-get.js +10 -23
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +24 -36
- package/dist/m365/pp/commands/managementapp/managementapp-list.js +5 -0
- package/dist/m365/pp/commands/solution/solution-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-list.js +9 -24
- package/dist/m365/pp/commands/solution/solution-publish.js +25 -45
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +26 -49
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +10 -27
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +24 -44
- package/dist/m365/pp/commands/solution/solution-remove.js +24 -44
- package/dist/m365/pp/commands/tenant/tenant-settings-set.js +81 -170
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.2.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.2.js +55 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spo/commands/folder/folder-add.js +1 -1
- package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
- package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
- package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
- package/dist/m365/spo/commands.js +2 -0
- package/docs/docs/cmd/entra/agent/agent-list.mdx +209 -0
- package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-list.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-add.mdx +20 -1
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +2 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-get.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-list.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-move.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-set.mdx +21 -0
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +21 -2
- package/docs/docs/cmd/spo/homesite/homesite-get.mdx +19 -0
- package/docs/docs/cmd/spo/homesite/homesite-list.mdx +19 -0
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +24 -3
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +21 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
- package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
- package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
- package/docs/docs/cmd/todo/list/list-add.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-list.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-remove.mdx +21 -0
- package/docs/docs/cmd/todo/list/list-set.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-add.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-get.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-list.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-remove.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-set.mdx +19 -0
- package/npm-shrinkwrap.json +1575 -696
- package/package.json +20 -20
|
@@ -1,12 +1,48 @@
|
|
|
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 _PpTenantSettingsSetCommand_instances, _PpTenantSettingsSetCommand_initTelemetry, _PpTenantSettingsSetCommand_initOptions, _PpTenantSettingsSetCommand_initTypes, _PpTenantSettingsSetCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import request from '../../../../request.js';
|
|
8
4
|
import PowerPlatformCommand from '../../../base/PowerPlatformCommand.js';
|
|
9
5
|
import commands from '../../commands.js';
|
|
6
|
+
export const options = z.strictObject({
|
|
7
|
+
...globalOptionsZod.shape,
|
|
8
|
+
walkMeOptOut: z.boolean().optional(),
|
|
9
|
+
disableNPSCommentsReachout: z.boolean().optional(),
|
|
10
|
+
disableNewsletterSendout: z.boolean().optional(),
|
|
11
|
+
disableEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
12
|
+
disablePortalsCreationByNonAdminUsers: z.boolean().optional(),
|
|
13
|
+
disableSurveyFeedback: z.boolean().optional(),
|
|
14
|
+
disableTrialEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
15
|
+
disableCapacityAllocationByEnvironmentAdmins: z.boolean().optional(),
|
|
16
|
+
disableSupportTicketsVisibleByAllUsers: z.boolean().optional(),
|
|
17
|
+
disableDocsSearch: z.boolean().optional(),
|
|
18
|
+
disableCommunitySearch: z.boolean().optional(),
|
|
19
|
+
disableBingVideoSearch: z.boolean().optional(),
|
|
20
|
+
shareWithColleaguesUserLimit: z.string().refine(val => {
|
|
21
|
+
const num = Number(val);
|
|
22
|
+
return Number.isInteger(num) && num >= 0;
|
|
23
|
+
}, {
|
|
24
|
+
error: 'The value must be a non-negative integer.'
|
|
25
|
+
}).optional(),
|
|
26
|
+
disableShareWithEveryone: z.boolean().optional(),
|
|
27
|
+
enableGuestsToMake: z.boolean().optional(),
|
|
28
|
+
disableMembersIndicator: z.boolean().optional(),
|
|
29
|
+
disableMakerMatch: z.boolean().optional(),
|
|
30
|
+
disablePreferredDataLocationForTeamsEnvironment: z.boolean().optional(),
|
|
31
|
+
disableAdminDigest: z.boolean().optional(),
|
|
32
|
+
disableDeveloperEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
33
|
+
disableBillingPolicyCreationByNonAdminUsers: z.boolean().optional(),
|
|
34
|
+
storageCapacityConsumptionWarningThreshold: z.string().refine(val => {
|
|
35
|
+
const num = Number(val);
|
|
36
|
+
return Number.isInteger(num) && num >= 0;
|
|
37
|
+
}, {
|
|
38
|
+
error: 'The value must be a non-negative integer.'
|
|
39
|
+
}).optional(),
|
|
40
|
+
disableChampionsInvitationReachout: z.boolean().optional(),
|
|
41
|
+
disableSkillsMatchInvitationReachout: z.boolean().optional(),
|
|
42
|
+
disableCopilot: z.boolean().optional(),
|
|
43
|
+
enableOpenAiBotPublishing: z.boolean().optional(),
|
|
44
|
+
enableModelDataSharing: z.boolean().optional()
|
|
45
|
+
});
|
|
10
46
|
class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
11
47
|
get name() {
|
|
12
48
|
return commands.TENANT_SETTINGS_SET;
|
|
@@ -14,13 +50,43 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
14
50
|
get description() {
|
|
15
51
|
return 'Sets the global Power Platform configuration of the tenant';
|
|
16
52
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
53
|
+
get schema() {
|
|
54
|
+
return options;
|
|
55
|
+
}
|
|
56
|
+
getRefinedSchema(schema) {
|
|
57
|
+
return schema
|
|
58
|
+
.refine(opts => opts.walkMeOptOut !== undefined ||
|
|
59
|
+
opts.disableNPSCommentsReachout !== undefined ||
|
|
60
|
+
opts.disableNewsletterSendout !== undefined ||
|
|
61
|
+
opts.disableEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
62
|
+
opts.disablePortalsCreationByNonAdminUsers !== undefined ||
|
|
63
|
+
opts.disableSurveyFeedback !== undefined ||
|
|
64
|
+
opts.disableTrialEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
65
|
+
opts.disableCapacityAllocationByEnvironmentAdmins !== undefined ||
|
|
66
|
+
opts.disableSupportTicketsVisibleByAllUsers !== undefined ||
|
|
67
|
+
opts.disableDocsSearch !== undefined ||
|
|
68
|
+
opts.disableCommunitySearch !== undefined ||
|
|
69
|
+
opts.disableBingVideoSearch !== undefined ||
|
|
70
|
+
opts.shareWithColleaguesUserLimit !== undefined ||
|
|
71
|
+
opts.disableShareWithEveryone !== undefined ||
|
|
72
|
+
opts.enableGuestsToMake !== undefined ||
|
|
73
|
+
opts.disableMembersIndicator !== undefined ||
|
|
74
|
+
opts.disableMakerMatch !== undefined ||
|
|
75
|
+
opts.disablePreferredDataLocationForTeamsEnvironment !== undefined ||
|
|
76
|
+
opts.disableAdminDigest !== undefined ||
|
|
77
|
+
opts.disableDeveloperEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
78
|
+
opts.disableBillingPolicyCreationByNonAdminUsers !== undefined ||
|
|
79
|
+
opts.storageCapacityConsumptionWarningThreshold !== undefined ||
|
|
80
|
+
opts.disableChampionsInvitationReachout !== undefined ||
|
|
81
|
+
opts.disableSkillsMatchInvitationReachout !== undefined ||
|
|
82
|
+
opts.disableCopilot !== undefined ||
|
|
83
|
+
opts.enableOpenAiBotPublishing !== undefined ||
|
|
84
|
+
opts.enableModelDataSharing !== undefined, {
|
|
85
|
+
error: 'Specify at least one option.',
|
|
86
|
+
params: {
|
|
87
|
+
customCode: 'required'
|
|
88
|
+
}
|
|
89
|
+
});
|
|
24
90
|
}
|
|
25
91
|
async commandAction(logger, args) {
|
|
26
92
|
const data = {
|
|
@@ -40,7 +106,7 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
40
106
|
disableBingVideoSearch: args.options.disableBingVideoSearch
|
|
41
107
|
},
|
|
42
108
|
teamsIntegration: {
|
|
43
|
-
shareWithColleaguesUserLimit: args.options.shareWithColleaguesUserLimit
|
|
109
|
+
shareWithColleaguesUserLimit: args.options.shareWithColleaguesUserLimit !== undefined ? Number(args.options.shareWithColleaguesUserLimit) : undefined
|
|
44
110
|
},
|
|
45
111
|
powerApps: {
|
|
46
112
|
disableShareWithEveryone: args.options.disableShareWithEveryone,
|
|
@@ -57,7 +123,7 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
57
123
|
},
|
|
58
124
|
licensing: {
|
|
59
125
|
disableBillingPolicyCreationByNonAdminUsers: args.options.disableBillingPolicyCreationByNonAdminUsers,
|
|
60
|
-
storageCapacityConsumptionWarningThreshold: args.options.storageCapacityConsumptionWarningThreshold
|
|
126
|
+
storageCapacityConsumptionWarningThreshold: args.options.storageCapacityConsumptionWarningThreshold !== undefined ? Number(args.options.storageCapacityConsumptionWarningThreshold) : undefined
|
|
61
127
|
},
|
|
62
128
|
champions: {
|
|
63
129
|
disableChampionsInvitationReachout: args.options.disableChampionsInvitationReachout,
|
|
@@ -89,160 +155,5 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
89
155
|
}
|
|
90
156
|
}
|
|
91
157
|
}
|
|
92
|
-
_PpTenantSettingsSetCommand_instances = new WeakSet(), _PpTenantSettingsSetCommand_initTelemetry = function _PpTenantSettingsSetCommand_initTelemetry() {
|
|
93
|
-
this.telemetry.push((args) => {
|
|
94
|
-
Object.assign(this.telemetryProperties, {
|
|
95
|
-
walkMeOptOut: typeof args.options.walkMeOptOut !== 'undefined',
|
|
96
|
-
disableNPSCommentsReachout: typeof args.options.disableNPSCommentsReachout !== 'undefined',
|
|
97
|
-
disableNewsletterSendout: typeof args.options.disableNewsletterSendout !== 'undefined',
|
|
98
|
-
disableEnvironmentCreationByNonAdminUsers: typeof args.options.disableEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
99
|
-
disablePortalsCreationByNonAdminUsers: typeof args.options.disablePortalsCreationByNonAdminUsers !== 'undefined',
|
|
100
|
-
disableSurveyFeedback: typeof args.options.disableSurveyFeedback !== 'undefined',
|
|
101
|
-
disableTrialEnvironmentCreationByNonAdminUsers: typeof args.options.disableTrialEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
102
|
-
disableCapacityAllocationByEnvironmentAdmins: typeof args.options.disableCapacityAllocationByEnvironmentAdmins !== 'undefined',
|
|
103
|
-
disableSupportTicketsVisibleByAllUsers: typeof args.options.disableSupportTicketsVisibleByAllUsers !== 'undefined',
|
|
104
|
-
disableDocsSearch: typeof args.options.disableDocsSearch !== 'undefined',
|
|
105
|
-
disableCommunitySearch: typeof args.options.disableCommunitySearch !== 'undefined',
|
|
106
|
-
disableBingVideoSearch: typeof args.options.disableBingVideoSearch !== 'undefined',
|
|
107
|
-
shareWithColleaguesUserLimit: typeof args.options.shareWithColleaguesUserLimit !== 'undefined',
|
|
108
|
-
disableShareWithEveryone: typeof args.options.disableShareWithEveryone !== 'undefined',
|
|
109
|
-
enableGuestsToMake: typeof args.options.enableGuestsToMake !== 'undefined',
|
|
110
|
-
disableMembersIndicator: typeof args.options.disableMembersIndicator !== 'undefined',
|
|
111
|
-
disableMakerMatch: typeof args.options.disableMakerMatch !== 'undefined',
|
|
112
|
-
disablePreferredDataLocationForTeamsEnvironment: typeof args.options.disablePreferredDataLocationForTeamsEnvironment !== 'undefined',
|
|
113
|
-
disableAdminDigest: typeof args.options.disableAdminDigest !== 'undefined',
|
|
114
|
-
disableDeveloperEnvironmentCreationByNonAdminUsers: typeof args.options.disableDeveloperEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
115
|
-
disableBillingPolicyCreationByNonAdminUsers: typeof args.options.disableBillingPolicyCreationByNonAdminUsers !== 'undefined',
|
|
116
|
-
storageCapacityConsumptionWarningThreshold: typeof args.options.storageCapacityConsumptionWarningThreshold !== 'undefined',
|
|
117
|
-
disableChampionsInvitationReachout: typeof args.options.disableChampionsInvitationReachout !== 'undefined',
|
|
118
|
-
disableSkillsMatchInvitationReachout: typeof args.options.disableSkillsMatchInvitationReachout !== 'undefined',
|
|
119
|
-
disableCopilot: typeof args.options.disableCopilot !== 'undefined',
|
|
120
|
-
enableOpenAiBotPublishing: typeof args.options.enableOpenAiBotPublishing !== 'undefined',
|
|
121
|
-
enableModelDataSharing: typeof args.options.enableModelDataSharing !== 'undefined'
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
}, _PpTenantSettingsSetCommand_initOptions = function _PpTenantSettingsSetCommand_initOptions() {
|
|
125
|
-
this.options.unshift({
|
|
126
|
-
option: '--walkMeOptOut [walkMeOptOut]',
|
|
127
|
-
autocomplete: ['true', 'false']
|
|
128
|
-
}, {
|
|
129
|
-
option: '--disableNPSCommentsReachout [disableNPSCommentsReachout]',
|
|
130
|
-
autocomplete: ['true', 'false']
|
|
131
|
-
}, {
|
|
132
|
-
option: '--disableNewsletterSendout [disableNewsletterSendout]',
|
|
133
|
-
autocomplete: ['true', 'false']
|
|
134
|
-
}, {
|
|
135
|
-
option: '--disableEnvironmentCreationByNonAdminUsers [disableEnvironmentCreationByNonAdminUsers]',
|
|
136
|
-
autocomplete: ['true', 'false']
|
|
137
|
-
}, {
|
|
138
|
-
option: '--disablePortalsCreationByNonAdminUsers [disablePortalsCreationByNonAdminUsers]',
|
|
139
|
-
autocomplete: ['true', 'false']
|
|
140
|
-
}, {
|
|
141
|
-
option: '--disableSurveyFeedback [disableSurveyFeedback]',
|
|
142
|
-
autocomplete: ['true', 'false']
|
|
143
|
-
}, {
|
|
144
|
-
option: '--disableTrialEnvironmentCreationByNonAdminUsers [disableTrialEnvironmentCreationByNonAdminUsers]',
|
|
145
|
-
autocomplete: ['true', 'false']
|
|
146
|
-
}, {
|
|
147
|
-
option: '--disableCapacityAllocationByEnvironmentAdmins [disableCapacityAllocationByEnvironmentAdmins]',
|
|
148
|
-
autocomplete: ['true', 'false']
|
|
149
|
-
}, {
|
|
150
|
-
option: '--disableSupportTicketsVisibleByAllUsers [disableSupportTicketsVisibleByAllUsers]',
|
|
151
|
-
autocomplete: ['true', 'false']
|
|
152
|
-
}, {
|
|
153
|
-
option: '--disableDocsSearch [disableDocsSearch]',
|
|
154
|
-
autocomplete: ['true', 'false']
|
|
155
|
-
}, {
|
|
156
|
-
option: '--disableCommunitySearch [disableCommunitySearch]',
|
|
157
|
-
autocomplete: ['true', 'false']
|
|
158
|
-
}, {
|
|
159
|
-
option: '--disableBingVideoSearch [disableBingVideoSearch]',
|
|
160
|
-
autocomplete: ['true', 'false']
|
|
161
|
-
}, {
|
|
162
|
-
option: '--shareWithColleaguesUserLimit [shareWithColleaguesUserLimit]'
|
|
163
|
-
}, {
|
|
164
|
-
option: '--disableShareWithEveryone [disableShareWithEveryone]',
|
|
165
|
-
autocomplete: ['true', 'false']
|
|
166
|
-
}, {
|
|
167
|
-
option: '--enableGuestsToMake [enableGuestsToMake]',
|
|
168
|
-
autocomplete: ['true', 'false']
|
|
169
|
-
}, {
|
|
170
|
-
option: '--disableMembersIndicator [disableMembersIndicator]',
|
|
171
|
-
autocomplete: ['true', 'false']
|
|
172
|
-
}, {
|
|
173
|
-
option: '--disableMakerMatch [disableMakerMatch]',
|
|
174
|
-
autocomplete: ['true', 'false']
|
|
175
|
-
}, {
|
|
176
|
-
option: '--disablePreferredDataLocationForTeamsEnvironment [disablePreferredDataLocationForTeamsEnvironment]',
|
|
177
|
-
autocomplete: ['true', 'false']
|
|
178
|
-
}, {
|
|
179
|
-
option: '--disableAdminDigest [disableAdminDigest]',
|
|
180
|
-
autocomplete: ['true', 'false']
|
|
181
|
-
}, {
|
|
182
|
-
option: '--disableDeveloperEnvironmentCreationByNonAdminUsers [disableDeveloperEnvironmentCreationByNonAdminUsers]',
|
|
183
|
-
autocomplete: ['true', 'false']
|
|
184
|
-
}, {
|
|
185
|
-
option: '--disableBillingPolicyCreationByNonAdminUsers [disableBillingPolicyCreationByNonAdminUsers]',
|
|
186
|
-
autocomplete: ['true', 'false']
|
|
187
|
-
}, {
|
|
188
|
-
option: '--storageCapacityConsumptionWarningThreshold [storageCapacityConsumptionWarningThreshold]'
|
|
189
|
-
}, {
|
|
190
|
-
option: '--disableChampionsInvitationReachout [disableChampionsInvitationReachout]',
|
|
191
|
-
autocomplete: ['true', 'false']
|
|
192
|
-
}, {
|
|
193
|
-
option: '--disableSkillsMatchInvitationReachout [disableSkillsMatchInvitationReachout]',
|
|
194
|
-
autocomplete: ['true', 'false']
|
|
195
|
-
}, {
|
|
196
|
-
option: '--disableCopilot [disableCopilot]',
|
|
197
|
-
autocomplete: ['true', 'false']
|
|
198
|
-
}, {
|
|
199
|
-
option: '--enableOpenAiBotPublishing [enableOpenAiBotPublishing]',
|
|
200
|
-
autocomplete: ['true', 'false']
|
|
201
|
-
}, {
|
|
202
|
-
option: '--enableModelDataSharing [enableModelDataSharing]',
|
|
203
|
-
autocomplete: ['true', 'false']
|
|
204
|
-
});
|
|
205
|
-
}, _PpTenantSettingsSetCommand_initTypes = function _PpTenantSettingsSetCommand_initTypes() {
|
|
206
|
-
this.types.boolean.push('walkMeOptOut', 'disableNPSCommentsReachout', 'disableNewsletterSendout', 'disableEnvironmentCreationByNonAdminUsers', 'disablePortalsCreationByNonAdminUsers', 'disableSurveyFeedback', 'disableTrialEnvironmentCreationByNonAdminUsers', 'disableCapacityAllocationByEnvironmentAdmins', 'disableSupportTicketsVisibleByAllUsers', 'disableDocsSearch', 'disableCommunitySearch', 'disableBingVideoSearch', 'disableShareWithEveryone', 'enableGuestsToMake', 'disableMembersIndicator', 'disableMakerMatch', 'disablePreferredDataLocationForTeamsEnvironment', 'disableAdminDigest', 'disableDeveloperEnvironmentCreationByNonAdminUsers', 'disableBillingPolicyCreationByNonAdminUsers', 'disableChampionsInvitationReachout', 'disableSkillsMatchInvitationReachout', 'disableCopilot', 'enableOpenAiBotPublishing', 'enableModelDataSharing');
|
|
207
|
-
}, _PpTenantSettingsSetCommand_initValidators = function _PpTenantSettingsSetCommand_initValidators() {
|
|
208
|
-
this.validators.push(async (args) => {
|
|
209
|
-
if (args.options.shareWithColleaguesUserLimit !== undefined && (!Number.isInteger(args.options.shareWithColleaguesUserLimit) || args.options.shareWithColleaguesUserLimit < 0)) {
|
|
210
|
-
return `'${args.options.shareWithColleaguesUserLimit}' is not a valid number.`;
|
|
211
|
-
}
|
|
212
|
-
if (args.options.storageCapacityConsumptionWarningThreshold !== undefined && (!Number.isInteger(args.options.storageCapacityConsumptionWarningThreshold) || args.options.storageCapacityConsumptionWarningThreshold < 0)) {
|
|
213
|
-
return `'${args.options.storageCapacityConsumptionWarningThreshold}' is not a valid number.`;
|
|
214
|
-
}
|
|
215
|
-
if (typeof args.options.walkMeOptOut === 'undefined' &&
|
|
216
|
-
typeof args.options.disableNPSCommentsReachout === 'undefined' &&
|
|
217
|
-
typeof args.options.disableNewsletterSendout === 'undefined' &&
|
|
218
|
-
typeof args.options.disableEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
219
|
-
typeof args.options.disablePortalsCreationByNonAdminUsers === 'undefined' &&
|
|
220
|
-
typeof args.options.disableSurveyFeedback === 'undefined' &&
|
|
221
|
-
typeof args.options.disableTrialEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
222
|
-
typeof args.options.disableCapacityAllocationByEnvironmentAdmins === 'undefined' &&
|
|
223
|
-
typeof args.options.disableSupportTicketsVisibleByAllUsers === 'undefined' &&
|
|
224
|
-
typeof args.options.disableDocsSearch === 'undefined' &&
|
|
225
|
-
typeof args.options.disableCommunitySearch === 'undefined' &&
|
|
226
|
-
typeof args.options.disableBingVideoSearch === 'undefined' &&
|
|
227
|
-
typeof args.options.shareWithColleaguesUserLimit === 'undefined' &&
|
|
228
|
-
typeof args.options.disableShareWithEveryone === 'undefined' &&
|
|
229
|
-
typeof args.options.enableGuestsToMake === 'undefined' &&
|
|
230
|
-
typeof args.options.disableMembersIndicator === 'undefined' &&
|
|
231
|
-
typeof args.options.disableMakerMatch === 'undefined' &&
|
|
232
|
-
typeof args.options.disablePreferredDataLocationForTeamsEnvironment === 'undefined' &&
|
|
233
|
-
typeof args.options.disableAdminDigest === 'undefined' &&
|
|
234
|
-
typeof args.options.disableDeveloperEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
235
|
-
typeof args.options.disableBillingPolicyCreationByNonAdminUsers === 'undefined' &&
|
|
236
|
-
typeof args.options.storageCapacityConsumptionWarningThreshold === 'undefined' &&
|
|
237
|
-
typeof args.options.disableChampionsInvitationReachout === 'undefined' &&
|
|
238
|
-
typeof args.options.disableSkillsMatchInvitationReachout === 'undefined' &&
|
|
239
|
-
typeof args.options.disableCopilot === 'undefined' &&
|
|
240
|
-
typeof args.options.enableOpenAiBotPublishing === 'undefined' &&
|
|
241
|
-
typeof args.options.enableModelDataSharing === 'undefined') {
|
|
242
|
-
return 'Specify at least one option.';
|
|
243
|
-
}
|
|
244
|
-
return true;
|
|
245
|
-
});
|
|
246
|
-
};
|
|
247
158
|
export default new PpTenantSettingsSetCommand();
|
|
248
159
|
//# sourceMappingURL=tenant-settings-set.js.map
|
|
@@ -638,6 +638,21 @@ export const versions = {
|
|
|
638
638
|
range: '^4 || ^5 || ^6 || ^7',
|
|
639
639
|
fix: 'npm i -g yo@7'
|
|
640
640
|
}
|
|
641
|
+
},
|
|
642
|
+
'1.23.2': {
|
|
643
|
+
heft: {
|
|
644
|
+
range: '^1',
|
|
645
|
+
fix: 'npm i -g @rushstack/heft@1'
|
|
646
|
+
},
|
|
647
|
+
node: {
|
|
648
|
+
range: '>=22.14.0 <23.0.0',
|
|
649
|
+
fix: 'Install Node.js >=22.14.0 <23.0.0'
|
|
650
|
+
},
|
|
651
|
+
sp: SharePointVersion.SPO,
|
|
652
|
+
yo: {
|
|
653
|
+
range: '^4 || ^5 || ^6 || ^7',
|
|
654
|
+
fix: 'npm i -g yo@7'
|
|
655
|
+
}
|
|
641
656
|
}
|
|
642
657
|
};
|
|
643
658
|
//# sourceMappingURL=SpfxCompatibilityMatrix.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
|
|
2
|
+
import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
|
|
3
|
+
import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
|
|
4
|
+
import { FN002013_DEVDEP_types_webpack_env } from './rules/FN002013_DEVDEP_types_webpack_env.js';
|
|
5
|
+
import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
|
|
6
|
+
import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
|
|
7
|
+
import { FN002022_DEVDEP_typescript } from './rules/FN002022_DEVDEP_typescript.js';
|
|
8
|
+
import { FN021001_PKG_spfx_deps_versions_match_project_version } from './rules/FN021001_PKG_spfx_deps_versions_match_project_version.js';
|
|
9
|
+
export default [
|
|
10
|
+
new FN001008_DEP_react({ supportedRange: '17' }),
|
|
11
|
+
new FN001009_DEP_react_dom({ supportedRange: '17' }),
|
|
12
|
+
new FN001035_DEP_fluentui_react({ supportedRange: '^8.106.4' }),
|
|
13
|
+
new FN002013_DEVDEP_types_webpack_env({ supportedRange: '~1.15.2' }),
|
|
14
|
+
new FN002015_DEVDEP_types_react({ supportedRange: '17' }),
|
|
15
|
+
new FN002016_DEVDEP_types_react_dom({ supportedRange: '17' }),
|
|
16
|
+
new FN002022_DEVDEP_typescript({ supportedRange: '~5.8.0' }),
|
|
17
|
+
new FN021001_PKG_spfx_deps_versions_match_project_version({ includeDevDeps: true })
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=doctor-1.23.2.js.map
|
|
@@ -77,7 +77,8 @@ class SpfxProjectDoctorCommand extends BaseProjectCommand {
|
|
|
77
77
|
'1.22.0',
|
|
78
78
|
'1.22.1',
|
|
79
79
|
'1.22.2',
|
|
80
|
-
'1.23.0'
|
|
80
|
+
'1.23.0',
|
|
81
|
+
'1.23.2'
|
|
81
82
|
];
|
|
82
83
|
__classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
|
|
83
84
|
__classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FN001001_DEP_microsoft_sp_core_library } from './rules/FN001001_DEP_microsoft_sp_core_library.js';
|
|
2
|
+
import { FN001002_DEP_microsoft_sp_lodash_subset } from './rules/FN001002_DEP_microsoft_sp_lodash_subset.js';
|
|
3
|
+
import { FN001003_DEP_microsoft_sp_office_ui_fabric_core } from './rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js';
|
|
4
|
+
import { FN001004_DEP_microsoft_sp_webpart_base } from './rules/FN001004_DEP_microsoft_sp_webpart_base.js';
|
|
5
|
+
import { FN001011_DEP_microsoft_sp_dialog } from './rules/FN001011_DEP_microsoft_sp_dialog.js';
|
|
6
|
+
import { FN001012_DEP_microsoft_sp_application_base } from './rules/FN001012_DEP_microsoft_sp_application_base.js';
|
|
7
|
+
import { FN001013_DEP_microsoft_decorators } from './rules/FN001013_DEP_microsoft_decorators.js';
|
|
8
|
+
import { FN001014_DEP_microsoft_sp_listview_extensibility } from './rules/FN001014_DEP_microsoft_sp_listview_extensibility.js';
|
|
9
|
+
import { FN001021_DEP_microsoft_sp_property_pane } from './rules/FN001021_DEP_microsoft_sp_property_pane.js';
|
|
10
|
+
import { FN001023_DEP_microsoft_sp_component_base } from './rules/FN001023_DEP_microsoft_sp_component_base.js';
|
|
11
|
+
import { FN001024_DEP_microsoft_sp_diagnostics } from './rules/FN001024_DEP_microsoft_sp_diagnostics.js';
|
|
12
|
+
import { FN001025_DEP_microsoft_sp_dynamic_data } from './rules/FN001025_DEP_microsoft_sp_dynamic_data.js';
|
|
13
|
+
import { FN001026_DEP_microsoft_sp_extension_base } from './rules/FN001026_DEP_microsoft_sp_extension_base.js';
|
|
14
|
+
import { FN001027_DEP_microsoft_sp_http } from './rules/FN001027_DEP_microsoft_sp_http.js';
|
|
15
|
+
import { FN001028_DEP_microsoft_sp_list_subscription } from './rules/FN001028_DEP_microsoft_sp_list_subscription.js';
|
|
16
|
+
import { FN001029_DEP_microsoft_sp_loader } from './rules/FN001029_DEP_microsoft_sp_loader.js';
|
|
17
|
+
import { FN001030_DEP_microsoft_sp_module_interfaces } from './rules/FN001030_DEP_microsoft_sp_module_interfaces.js';
|
|
18
|
+
import { FN001031_DEP_microsoft_sp_odata_types } from './rules/FN001031_DEP_microsoft_sp_odata_types.js';
|
|
19
|
+
import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_microsoft_sp_page_context.js';
|
|
20
|
+
import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
|
|
21
|
+
import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
|
|
22
|
+
import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
|
|
23
|
+
import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
|
|
24
|
+
import { FN002030_DEVDEP_microsoft_spfx_web_build_rig } from './rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js';
|
|
25
|
+
import { FN002034_DEVDEP_microsoft_spfx_heft_plugins } from './rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js';
|
|
26
|
+
import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
|
|
27
|
+
export default [
|
|
28
|
+
new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.23.2' }),
|
|
29
|
+
new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.23.2' }),
|
|
30
|
+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.23.2' }),
|
|
31
|
+
new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.23.2' }),
|
|
32
|
+
new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.23.2' }),
|
|
33
|
+
new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.23.2' }),
|
|
34
|
+
new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.23.2' }),
|
|
35
|
+
new FN001021_DEP_microsoft_sp_property_pane({ packageVersion: '1.23.2' }),
|
|
36
|
+
new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.23.2' }),
|
|
37
|
+
new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.23.2' }),
|
|
38
|
+
new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.23.2' }),
|
|
39
|
+
new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.23.2' }),
|
|
40
|
+
new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.23.2' }),
|
|
41
|
+
new FN001028_DEP_microsoft_sp_list_subscription({ packageVersion: '1.23.2' }),
|
|
42
|
+
new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.23.2' }),
|
|
43
|
+
new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.23.2' }),
|
|
44
|
+
new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.23.2' }),
|
|
45
|
+
new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.23.2' }),
|
|
46
|
+
new FN001013_DEP_microsoft_decorators({ packageVersion: '1.23.2' }),
|
|
47
|
+
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base({ packageVersion: '1.23.2' }),
|
|
48
|
+
new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.23.2' }),
|
|
49
|
+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx({ packageVersion: '1.23.2' }),
|
|
50
|
+
new FN002023_DEVDEP_microsoft_eslint_config_spfx({ packageVersion: '1.23.2' }),
|
|
51
|
+
new FN002030_DEVDEP_microsoft_spfx_web_build_rig({ packageVersion: '1.23.2' }),
|
|
52
|
+
new FN002034_DEVDEP_microsoft_spfx_heft_plugins({ packageVersion: '1.23.2' }),
|
|
53
|
+
new FN010001_YORC_version({ version: '1.23.2' })
|
|
54
|
+
];
|
|
55
|
+
//# sourceMappingURL=upgrade-1.23.2.js.map
|
|
@@ -116,7 +116,7 @@ _SpoFolderAddCommand_instances = new WeakSet(), _SpoFolderAddCommand_initTelemet
|
|
|
116
116
|
option: '--color [color]',
|
|
117
117
|
autocomplete: Object.keys(FolderColorValues)
|
|
118
118
|
}, {
|
|
119
|
-
option: '--ensureParentFolders
|
|
119
|
+
option: '--ensureParentFolders'
|
|
120
120
|
});
|
|
121
121
|
}, _SpoFolderAddCommand_initValidators = function _SpoFolderAddCommand_initValidators() {
|
|
122
122
|
this.validators.push(async (args) => {
|
|
@@ -22,13 +22,16 @@ export const options = z.strictObject({
|
|
|
22
22
|
}),
|
|
23
23
|
userId: z.uuid().optional()
|
|
24
24
|
});
|
|
25
|
-
class
|
|
25
|
+
class SpoWebRuleListCommand extends SpoCommand {
|
|
26
26
|
get name() {
|
|
27
|
-
return commands.
|
|
27
|
+
return commands.WEB_RULE_LIST;
|
|
28
28
|
}
|
|
29
29
|
get description() {
|
|
30
30
|
return 'Lists all SharePoint list alerts';
|
|
31
31
|
}
|
|
32
|
+
alias() {
|
|
33
|
+
return [commands.WEB_ALERT_LIST];
|
|
34
|
+
}
|
|
32
35
|
defaultProperties() {
|
|
33
36
|
return ['ID', 'Title', 'UserPrincipalName'];
|
|
34
37
|
}
|
|
@@ -104,5 +107,5 @@ class SpoWebAlertListCommand extends SpoCommand {
|
|
|
104
107
|
}
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
|
-
export default new
|
|
108
|
-
//# sourceMappingURL=web-
|
|
110
|
+
export default new SpoWebRuleListCommand();
|
|
111
|
+
//# sourceMappingURL=web-rule-list.js.map
|
|
@@ -15,13 +15,16 @@ const options = z.strictObject({
|
|
|
15
15
|
id: z.uuid(),
|
|
16
16
|
force: z.boolean().optional().alias('f')
|
|
17
17
|
});
|
|
18
|
-
class
|
|
18
|
+
class SpoWebRuleRemoveCommand extends SpoCommand {
|
|
19
19
|
get name() {
|
|
20
|
-
return commands.
|
|
20
|
+
return commands.WEB_RULE_REMOVE;
|
|
21
21
|
}
|
|
22
22
|
get description() {
|
|
23
23
|
return 'Removes an alert from a SharePoint list';
|
|
24
24
|
}
|
|
25
|
+
alias() {
|
|
26
|
+
return [commands.WEB_ALERT_REMOVE];
|
|
27
|
+
}
|
|
25
28
|
get schema() {
|
|
26
29
|
return options;
|
|
27
30
|
}
|
|
@@ -50,5 +53,5 @@ class SpoWebAlertRemoveCommand extends SpoCommand {
|
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
|
-
export default new
|
|
54
|
-
//# sourceMappingURL=web-
|
|
56
|
+
export default new SpoWebRuleRemoveCommand();
|
|
57
|
+
//# sourceMappingURL=web-rule-remove.js.map
|
|
@@ -379,6 +379,8 @@ export default {
|
|
|
379
379
|
WEB_ROLEASSIGNMENT_ADD: `${prefix} web roleassignment add`,
|
|
380
380
|
WEB_ROLEINHERITANCE_BREAK: `${prefix} web roleinheritance break`,
|
|
381
381
|
WEB_ROLEINHERITANCE_RESET: `${prefix} web roleinheritance reset`,
|
|
382
|
+
WEB_RULE_LIST: `${prefix} web rule list`,
|
|
383
|
+
WEB_RULE_REMOVE: `${prefix} web rule remove`,
|
|
382
384
|
WEB_SET: `${prefix} web set`
|
|
383
385
|
};
|
|
384
386
|
//# sourceMappingURL=commands.js.map
|