@pnp/cli-microsoft365 12.1.0-beta.f55735f → 12.2.0-beta.27b1dab
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/.mocharc.json +1 -1
- package/README.md +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/cli/cli.js +12 -7
- package/dist/m365/base/AppCommand.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +4 -4
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +2 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +5 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +3 -3
- package/dist/m365/entra/commands/app/app-add.js +106 -150
- package/dist/m365/entra/commands/app/app-get.js +22 -38
- package/dist/m365/entra/commands/app/app-list.js +10 -22
- package/dist/m365/entra/commands/app/app-permission-add.js +36 -50
- package/dist/m365/entra/commands/app/app-permission-list.js +29 -48
- package/dist/m365/entra/commands/app/app-permission-remove.js +44 -82
- package/dist/m365/entra/commands/app/app-remove.js +21 -38
- package/dist/m365/entra/commands/app/app-role-add.js +32 -46
- package/dist/m365/entra/commands/app/app-role-list.js +20 -25
- package/dist/m365/entra/commands/app/app-role-remove.js +33 -41
- package/dist/m365/entra/commands/app/app-set.js +46 -69
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -2
- package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +2 -2
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +2 -2
- package/dist/m365/entra/commands/group/group-get.js +1 -1
- package/dist/m365/entra/commands/group/group-member-add.js +1 -1
- package/dist/m365/entra/commands/group/group-member-list.js +1 -1
- package/dist/m365/entra/commands/group/group-member-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-member-set.js +1 -1
- package/dist/m365/entra/commands/group/group-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-set.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +1 -1
- package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +1 -1
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-get.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-remove.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-renew.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-set.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +2 -2
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +2 -2
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +2 -2
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +1 -1
- package/dist/m365/entra/commands/organization/organization-set.js +1 -1
- package/dist/m365/entra/commands/pim/pim-role-assignment-add.js +5 -5
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +2 -2
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +2 -2
- package/dist/m365/entra/commands/pim/pim-role-assignment-remove.js +5 -5
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +2 -2
- package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +7 -7
- package/dist/m365/entra/commands/roledefinition/roledefinition-get.js +1 -1
- package/dist/m365/entra/commands/roledefinition/roledefinition-remove.js +1 -1
- package/dist/m365/entra/commands/roledefinition/roledefinition-set.js +1 -1
- package/dist/m365/entra/commands/user/user-add.js +1 -1
- package/dist/m365/entra/commands/user/user-get.js +1 -1
- package/dist/m365/entra/commands/user/user-groupmembership-list.js +1 -1
- package/dist/m365/entra/commands/user/user-license-add.js +1 -1
- package/dist/m365/entra/commands/user/user-license-list.js +1 -1
- package/dist/m365/entra/commands/user/user-license-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +1 -1
- package/dist/m365/entra/commands/user/user-remove.js +1 -1
- package/dist/m365/entra/commands/user/user-session-revoke.js +1 -1
- package/dist/m365/entra/commands/user/user-set.js +2 -2
- package/dist/m365/entra/commands/user/user-signin-list.js +2 -2
- package/dist/m365/flow/commands/flow-export.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +1 -1
- package/dist/m365/flow/commands/owner/owner-ensure.js +1 -1
- package/dist/m365/flow/commands/owner/owner-list.js +1 -1
- package/dist/m365/flow/commands/owner/owner-remove.js +1 -1
- package/dist/m365/flow/commands/recyclebinitem/recyclebinitem-restore.js +1 -1
- package/dist/m365/flow/commands/run/run-cancel.js +1 -1
- package/dist/m365/flow/commands/run/run-get.js +1 -1
- package/dist/m365/flow/commands/run/run-list.js +1 -1
- package/dist/m365/flow/commands/run/run-resubmit.js +1 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-get.js +3 -3
- package/dist/m365/graph/commands/directoryextension/directoryextension-list.js +2 -2
- package/dist/m365/graph/commands/directoryextension/directoryextension-remove.js +3 -3
- package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +1 -1
- package/dist/m365/outlook/commands/mailbox/mailbox-settings-get.js +1 -1
- package/dist/m365/pp/commands/website/website-get.js +1 -1
- package/dist/m365/pp/commands/website/website-remove.js +1 -1
- package/dist/m365/pp/commands/website/website-webrole-list.js +1 -1
- package/dist/m365/spe/commands/container/container-add.js +1 -1
- package/dist/m365/spe/commands/container/container-get.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-add.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-list.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-remove.js +1 -1
- package/dist/m365/spe/commands/container/container-permission-set.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-remove.js +1 -1
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +1 -1
- package/dist/m365/spe/commands/container/container-remove.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-add.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-get.js +1 -1
- package/dist/m365/spe/commands/containertype/containertype-remove.js +1 -1
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
- package/dist/m365/spfx/commands/package/package-generate.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.2.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +5 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001036_DEP_microsoft_sp_copilot_component.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.2.js +57 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spo/commands/folder/folder-archive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-unarchive.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-get.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-list.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-defaultvalue-set.js +1 -1
- package/dist/m365/spo/commands/list/list-sensitivitylabel-remove.js +1 -1
- package/dist/m365/spo/commands/list/list-view-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +3 -3
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +1 -1
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-site-get.js +1 -1
- package/dist/m365/spo/commands/user/user-get.js +1 -1
- package/dist/m365/spo/commands/web/web-rule-get.js +1 -1
- package/dist/m365/spo/commands/web/web-rule-list.js +2 -2
- package/dist/m365/spo/commands/web/web-rule-remove.js +1 -1
- package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +2 -2
- package/dist/m365/spp/commands/model/model-apply.js +2 -2
- package/dist/m365/teams/commands/callrecord/callrecord-get.js +1 -1
- package/dist/m365/teams/commands/callrecord/callrecord-list.js +1 -1
- package/dist/m365/teams/commands/chat/chatUtil.js +1 -1
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +1 -1
- package/dist/utils/formatting.js +5 -4
- package/dist/utils/zod.js +2 -1
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +23 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +23 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +19 -0
- package/docs/docs/cmd/spo/user/user-get.mdx +5 -0
- package/npm-shrinkwrap.json +539 -876
- package/package.json +31 -30
|
@@ -9,7 +9,7 @@ import config from '../../../../config.js';
|
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
10
|
export const options = z.strictObject({
|
|
11
11
|
...globalOptionsZod.shape,
|
|
12
|
-
id: z.
|
|
12
|
+
id: z.guid().optional().alias('i'),
|
|
13
13
|
name: z.string().optional().alias('n'),
|
|
14
14
|
force: z.boolean().optional().alias('f')
|
|
15
15
|
});
|
|
@@ -683,6 +683,21 @@ export const versions = {
|
|
|
683
683
|
range: '^4 || ^5 || ^6 || ^7',
|
|
684
684
|
fix: 'npm i -g yo@7'
|
|
685
685
|
}
|
|
686
|
+
},
|
|
687
|
+
'1.24.2': {
|
|
688
|
+
heft: {
|
|
689
|
+
range: '^1',
|
|
690
|
+
fix: 'npm i -g @rushstack/heft@1'
|
|
691
|
+
},
|
|
692
|
+
node: {
|
|
693
|
+
range: '>=22.14.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0',
|
|
694
|
+
fix: 'Install Node.js >=22.14.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0'
|
|
695
|
+
},
|
|
696
|
+
sp: SharePointVersion.SPO,
|
|
697
|
+
yo: {
|
|
698
|
+
range: '^4 || ^5 || ^6 || ^7',
|
|
699
|
+
fix: 'npm i -g yo@7'
|
|
700
|
+
}
|
|
686
701
|
}
|
|
687
702
|
};
|
|
688
703
|
//# sourceMappingURL=SpfxCompatibilityMatrix.js.map
|
|
@@ -142,7 +142,7 @@ class SpfxPackageGenerateCommand extends AnonymousCommand {
|
|
|
142
142
|
if (this.verbose) {
|
|
143
143
|
await logger.log(`Deleting temp folder at ${tmpDir}...`);
|
|
144
144
|
}
|
|
145
|
-
fs.
|
|
145
|
+
fs.rmSync(tmpDir, { recursive: true });
|
|
146
146
|
}
|
|
147
147
|
if (error) {
|
|
148
148
|
throw error;
|
|
@@ -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: '18' }),
|
|
11
|
+
new FN001009_DEP_react_dom({ supportedRange: '18' }),
|
|
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: '18' }),
|
|
15
|
+
new FN002016_DEVDEP_types_react_dom({ supportedRange: '18' }),
|
|
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.24.2.js.map
|
|
@@ -16,13 +16,16 @@ export const deps = [
|
|
|
16
16
|
'@microsoft/sp-list-subscription',
|
|
17
17
|
'@microsoft/sp-loader',
|
|
18
18
|
'@microsoft/sp-odata-types',
|
|
19
|
-
'@microsoft/sp-page-context'
|
|
19
|
+
'@microsoft/sp-page-context',
|
|
20
|
+
'@microsoft/sp-copilot-component'
|
|
20
21
|
];
|
|
21
22
|
export const devDeps = [
|
|
22
23
|
'@microsoft/eslint-config-spfx',
|
|
23
24
|
'@microsoft/eslint-plugin-spfx',
|
|
24
25
|
'@microsoft/sp-build-web',
|
|
25
26
|
'@microsoft/sp-module-interfaces',
|
|
26
|
-
'@microsoft/sp-tslint-rules'
|
|
27
|
+
'@microsoft/sp-tslint-rules',
|
|
28
|
+
'@microsoft/spfx-web-build-rig',
|
|
29
|
+
'@microsoft/spfx-heft-plugins'
|
|
27
30
|
];
|
|
28
31
|
//# sourceMappingURL=spfx-deps.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DependencyRule } from './DependencyRule.js';
|
|
2
|
+
export class FN001036_DEP_microsoft_sp_copilot_component extends DependencyRule {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super({ ...options, packageName: '@microsoft/sp-copilot-component', isOptional: true });
|
|
5
|
+
}
|
|
6
|
+
get id() {
|
|
7
|
+
return 'FN001036';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=FN001036_DEP_microsoft_sp_copilot_component.js.map
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { FN001036_DEP_microsoft_sp_copilot_component } from './rules/FN001036_DEP_microsoft_sp_copilot_component.js';
|
|
22
|
+
import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
|
|
23
|
+
import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
|
|
24
|
+
import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
|
|
25
|
+
import { FN002030_DEVDEP_microsoft_spfx_web_build_rig } from './rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js';
|
|
26
|
+
import { FN002034_DEVDEP_microsoft_spfx_heft_plugins } from './rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js';
|
|
27
|
+
import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
|
|
28
|
+
export default [
|
|
29
|
+
new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.24.2' }),
|
|
30
|
+
new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.24.2' }),
|
|
31
|
+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.24.2' }),
|
|
32
|
+
new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.24.2' }),
|
|
33
|
+
new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.24.2' }),
|
|
34
|
+
new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.24.2' }),
|
|
35
|
+
new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.24.2' }),
|
|
36
|
+
new FN001021_DEP_microsoft_sp_property_pane({ packageVersion: '1.24.2' }),
|
|
37
|
+
new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.24.2' }),
|
|
38
|
+
new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.24.2' }),
|
|
39
|
+
new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.24.2' }),
|
|
40
|
+
new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.24.2' }),
|
|
41
|
+
new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.24.2' }),
|
|
42
|
+
new FN001028_DEP_microsoft_sp_list_subscription({ packageVersion: '1.24.2' }),
|
|
43
|
+
new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.24.2' }),
|
|
44
|
+
new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.24.2' }),
|
|
45
|
+
new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.24.2' }),
|
|
46
|
+
new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.24.2' }),
|
|
47
|
+
new FN001013_DEP_microsoft_decorators({ packageVersion: '1.24.2' }),
|
|
48
|
+
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base({ packageVersion: '1.24.2' }),
|
|
49
|
+
new FN001036_DEP_microsoft_sp_copilot_component({ packageVersion: '1.24.2' }),
|
|
50
|
+
new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.24.2' }),
|
|
51
|
+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx({ packageVersion: '1.24.2' }),
|
|
52
|
+
new FN002023_DEVDEP_microsoft_eslint_config_spfx({ packageVersion: '1.24.2' }),
|
|
53
|
+
new FN002030_DEVDEP_microsoft_spfx_web_build_rig({ packageVersion: '1.24.2' }),
|
|
54
|
+
new FN002034_DEVDEP_microsoft_spfx_heft_plugins({ packageVersion: '1.24.2' }),
|
|
55
|
+
new FN010001_YORC_version({ version: '1.24.2' })
|
|
56
|
+
];
|
|
57
|
+
//# sourceMappingURL=upgrade-1.24.2.js.map
|
|
@@ -15,7 +15,7 @@ export const options = z.strictObject({
|
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
17
|
url: z.string().optional(),
|
|
18
|
-
id: z.
|
|
18
|
+
id: z.guid().optional().alias('i'),
|
|
19
19
|
force: z.boolean().optional().alias('f')
|
|
20
20
|
});
|
|
21
21
|
class SpoFolderArchiveCommand extends SpoCommand {
|
|
@@ -15,7 +15,7 @@ export const options = z.strictObject({
|
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
17
|
url: z.string().optional(),
|
|
18
|
-
id: z.
|
|
18
|
+
id: z.guid().optional().alias('i'),
|
|
19
19
|
force: z.boolean().optional().alias('f')
|
|
20
20
|
});
|
|
21
21
|
class SpoFolderUnarchiveCommand extends SpoCommand {
|
|
@@ -15,7 +15,7 @@ export const options = z.strictObject({
|
|
|
15
15
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
16
16
|
})
|
|
17
17
|
.alias('u'),
|
|
18
|
-
listId: z.
|
|
18
|
+
listId: z.guid().optional().alias('i'),
|
|
19
19
|
listTitle: z.string().optional().alias('t'),
|
|
20
20
|
listUrl: z.string().optional(),
|
|
21
21
|
fieldName: z.string().optional(),
|
|
@@ -14,7 +14,7 @@ export const options = z.strictObject({
|
|
|
14
14
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
|
-
listId: z.
|
|
17
|
+
listId: z.guid().optional().alias('i'),
|
|
18
18
|
listTitle: z.string().optional().alias('t'),
|
|
19
19
|
listUrl: z.string().optional(),
|
|
20
20
|
fieldName: z.string(),
|
|
@@ -14,7 +14,7 @@ export const options = z.strictObject({
|
|
|
14
14
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
|
-
listId: z.
|
|
17
|
+
listId: z.guid().optional().alias('i'),
|
|
18
18
|
listTitle: z.string().optional().alias('t'),
|
|
19
19
|
listUrl: z.string().optional(),
|
|
20
20
|
folderUrl: z.string().optional()
|
|
@@ -15,7 +15,7 @@ export const options = z.strictObject({
|
|
|
15
15
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
16
16
|
})
|
|
17
17
|
.alias('u'),
|
|
18
|
-
listId: z.
|
|
18
|
+
listId: z.guid().optional().alias('i'),
|
|
19
19
|
listTitle: z.string().optional().alias('t'),
|
|
20
20
|
listUrl: z.string().optional(),
|
|
21
21
|
fieldName: z.string(),
|
|
@@ -14,7 +14,7 @@ export const options = z.strictObject({
|
|
|
14
14
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
|
-
listId: z.
|
|
17
|
+
listId: z.guid().optional().alias('i'),
|
|
18
18
|
listTitle: z.string().optional().alias('t'),
|
|
19
19
|
listUrl: z.string().optional(),
|
|
20
20
|
fieldName: z.string(),
|
|
@@ -15,7 +15,7 @@ export const options = z.strictObject({
|
|
|
15
15
|
})
|
|
16
16
|
.alias('u'),
|
|
17
17
|
listTitle: z.string().optional().alias('t'),
|
|
18
|
-
listId: z.
|
|
18
|
+
listId: z.guid().optional().alias('l'),
|
|
19
19
|
listUrl: z.string().optional(),
|
|
20
20
|
force: z.boolean().optional().alias('f')
|
|
21
21
|
});
|
|
@@ -13,7 +13,7 @@ export const options = z.strictObject({
|
|
|
13
13
|
error: 'webUrl is not a valid SharePoint site URL.'
|
|
14
14
|
})
|
|
15
15
|
.alias('u'),
|
|
16
|
-
listId: z.
|
|
16
|
+
listId: z.guid().optional(),
|
|
17
17
|
listTitle: z.string().optional(),
|
|
18
18
|
listUrl: z.string().optional(),
|
|
19
19
|
title: z.string().min(1, 'Cannot be empty.'),
|
|
@@ -60,7 +60,7 @@ class SpoListItemBatchAddCommand extends SpoCommand {
|
|
|
60
60
|
await logger.logToStderr(`Starting to create batch items from csv ${args.options.filePath ? `at path ${args.options.filePath}` : 'from content'}`);
|
|
61
61
|
}
|
|
62
62
|
const csvContent = args.options.filePath ? fs.readFileSync(args.options.filePath, 'utf8') : args.options.csvContent;
|
|
63
|
-
const jsonContent = formatting.parseCsvToJson(csvContent);
|
|
63
|
+
const jsonContent = formatting.parseCsvToJson(csvContent, { cast: false });
|
|
64
64
|
await this.addItemsAsBatch(jsonContent, args.options, logger);
|
|
65
65
|
}
|
|
66
66
|
catch (err) {
|
|
@@ -27,7 +27,7 @@ export const options = z.strictObject({
|
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
const fileContent = fs.readFileSync(path, 'utf-8');
|
|
30
|
-
const jsonContent = formatting.parseCsvToJson(fileContent);
|
|
30
|
+
const jsonContent = formatting.parseCsvToJson(fileContent, { cast: false });
|
|
31
31
|
const idKey = Object.keys(jsonContent[0]).find(key => key.toLowerCase() === 'id');
|
|
32
32
|
if (!idKey) {
|
|
33
33
|
ctx.addIssue({ code: 'custom', message: `The file does not contain the required header row with the column name 'ID'.` });
|
|
@@ -88,9 +88,9 @@ class SpoListItemBatchRemoveCommand extends SpoCommand {
|
|
|
88
88
|
let idsToRemove = [];
|
|
89
89
|
if (args.options.filePath) {
|
|
90
90
|
const csvContent = fs.readFileSync(args.options.filePath, 'utf-8');
|
|
91
|
-
const jsonContent = formatting.parseCsvToJson(csvContent);
|
|
91
|
+
const jsonContent = formatting.parseCsvToJson(csvContent, { cast: false });
|
|
92
92
|
const idKey = Object.keys(jsonContent[0]).find(key => key.toLowerCase() === 'id');
|
|
93
|
-
idsToRemove = jsonContent.map((item) => item[idKey]);
|
|
93
|
+
idsToRemove = jsonContent.map((item) => item[idKey].toString().trim());
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
96
|
idsToRemove = formatting.splitAndTrim(args.options.ids);
|
|
@@ -58,7 +58,7 @@ class SpoListItemBatchSetCommand extends SpoCommand {
|
|
|
58
58
|
await logger.logToStderr(`Starting to create batch items from csv at path ${args.options.filePath}`);
|
|
59
59
|
}
|
|
60
60
|
const csvContent = fs.readFileSync(args.options.filePath, 'utf8');
|
|
61
|
-
const jsonContent = formatting.parseCsvToJson(csvContent);
|
|
61
|
+
const jsonContent = formatting.parseCsvToJson(csvContent, { cast: false });
|
|
62
62
|
const amountOfRows = jsonContent.length;
|
|
63
63
|
const idColumn = args.options.idColumn || 'ID';
|
|
64
64
|
if (!Object.prototype.hasOwnProperty.call(jsonContent[0], idColumn)) {
|
|
@@ -210,7 +210,7 @@ class SpoPageAddCommand extends SpoCommand {
|
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
212
|
requestOptions = {
|
|
213
|
-
url: `${args.options.webUrl}/_api/web/getfilebyid('${itemId}')/CheckIn(comment=@a1,checkintype=@a2)?@a1='${formatting.encodeQueryParameter(args.options.publishMessage || '')
|
|
213
|
+
url: `${args.options.webUrl}/_api/web/getfilebyid('${itemId}')/CheckIn(comment=@a1,checkintype=@a2)?@a1='${formatting.encodeQueryParameter(args.options.publishMessage || '')}'&@a2=1`,
|
|
214
214
|
headers: {
|
|
215
215
|
'X-RequestDigest': requestDigest,
|
|
216
216
|
'content-type': 'application/json;odata=nometadata',
|
|
@@ -13,7 +13,7 @@ export const options = z.strictObject({
|
|
|
13
13
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
14
14
|
})
|
|
15
15
|
.alias('u'),
|
|
16
|
-
id: z.
|
|
16
|
+
id: z.guid().alias('i'),
|
|
17
17
|
asAdmin: z.boolean().optional()
|
|
18
18
|
});
|
|
19
19
|
class SpoSiteHubSiteConnectCommand extends SpoCommand {
|
|
@@ -9,7 +9,7 @@ import commands from '../../commands.js';
|
|
|
9
9
|
import { cli } from '../../../../cli/cli.js';
|
|
10
10
|
export const options = z.strictObject({
|
|
11
11
|
...globalOptionsZod.shape,
|
|
12
|
-
id: z.
|
|
12
|
+
id: z.guid().optional().alias('i'),
|
|
13
13
|
title: z.string().optional().alias('t'),
|
|
14
14
|
url: z.string().refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
15
15
|
message: 'Specify a valid SharePoint site URL'
|
|
@@ -11,7 +11,7 @@ const options = z.strictObject({
|
|
|
11
11
|
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
12
12
|
error: e => `'${e.input}' is not a valid SharePoint URL.`
|
|
13
13
|
}),
|
|
14
|
-
id: z.
|
|
14
|
+
id: z.guid()
|
|
15
15
|
});
|
|
16
16
|
class SpoWebRuleGetCommand extends SpoCommand {
|
|
17
17
|
get name() {
|
|
@@ -14,13 +14,13 @@ export const options = z.strictObject({
|
|
|
14
14
|
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
15
15
|
error: e => `'${e.input}' is not a valid SharePoint site URL.`
|
|
16
16
|
}),
|
|
17
|
-
listId: z.
|
|
17
|
+
listId: z.guid().optional(),
|
|
18
18
|
listUrl: z.string().optional(),
|
|
19
19
|
listTitle: z.string().optional(),
|
|
20
20
|
userName: z.string().optional().refine(upn => typeof upn === 'undefined' || validation.isValidUserPrincipalName(upn), {
|
|
21
21
|
error: e => `'${e.input}' is not a valid UPN.`
|
|
22
22
|
}),
|
|
23
|
-
userId: z.
|
|
23
|
+
userId: z.guid().optional()
|
|
24
24
|
});
|
|
25
25
|
class SpoWebRuleListCommand extends SpoCommand {
|
|
26
26
|
get name() {
|
|
@@ -12,7 +12,7 @@ const options = z.strictObject({
|
|
|
12
12
|
.refine(url => validation.isValidSharePointUrl(url) === true, {
|
|
13
13
|
error: e => `'${e.input}' is not a valid SharePoint URL.`
|
|
14
14
|
}),
|
|
15
|
-
id: z.
|
|
15
|
+
id: z.guid(),
|
|
16
16
|
force: z.boolean().optional().alias('f')
|
|
17
17
|
});
|
|
18
18
|
class SpoWebRuleRemoveCommand extends SpoCommand {
|
|
@@ -28,12 +28,12 @@ export const options = z.strictObject({
|
|
|
28
28
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
29
29
|
}).alias('u'),
|
|
30
30
|
listTitle: z.string().optional(),
|
|
31
|
-
listId: z.
|
|
31
|
+
listId: z.guid()
|
|
32
32
|
.refine(value => validation.isValidGuid(value), {
|
|
33
33
|
error: e => `'${e.input}' in parameter listId is not a valid GUID.`
|
|
34
34
|
}).optional(),
|
|
35
35
|
listUrl: z.string().optional(),
|
|
36
|
-
columnId: z.
|
|
36
|
+
columnId: z.guid()
|
|
37
37
|
.refine(value => validation.isValidGuid(value), {
|
|
38
38
|
error: e => `'${e.input}' in parameter columnId is not a valid GUID.`
|
|
39
39
|
}).optional().alias('i'),
|
|
@@ -19,10 +19,10 @@ export const options = z.strictObject({
|
|
|
19
19
|
error: e => `'${e.input}' is not a valid SharePoint Online site URL.`
|
|
20
20
|
})
|
|
21
21
|
.alias('u'),
|
|
22
|
-
id: z.
|
|
22
|
+
id: z.guid().optional().alias('i'),
|
|
23
23
|
title: z.string().optional().alias('t'),
|
|
24
24
|
listTitle: z.string().optional(),
|
|
25
|
-
listId: z.
|
|
25
|
+
listId: z.guid().optional(),
|
|
26
26
|
listUrl: z.string().optional(),
|
|
27
27
|
viewOption: z.enum(['NewViewAsDefault', 'DoNotChangeDefault', 'TileViewAsDefault']).optional()
|
|
28
28
|
});
|
|
@@ -5,7 +5,7 @@ import GraphApplicationCommand from '../../../base/GraphApplicationCommand.js';
|
|
|
5
5
|
import request from '../../../../request.js';
|
|
6
6
|
export const options = z.strictObject({
|
|
7
7
|
...globalOptionsZod.shape,
|
|
8
|
-
id: z.
|
|
8
|
+
id: z.guid().alias('i')
|
|
9
9
|
});
|
|
10
10
|
class TeamsCallRecordGetCommand extends GraphApplicationCommand {
|
|
11
11
|
get name() {
|
|
@@ -7,7 +7,7 @@ import { entraUser } from '../../../../utils/entraUser.js';
|
|
|
7
7
|
import { odata } from '../../../../utils/odata.js';
|
|
8
8
|
export const options = z.strictObject({
|
|
9
9
|
...globalOptionsZod.shape,
|
|
10
|
-
userId: z.
|
|
10
|
+
userId: z.guid().optional(),
|
|
11
11
|
userName: z.string()
|
|
12
12
|
.refine((val) => validation.isValidUserPrincipalName(val), {
|
|
13
13
|
message: 'Invalid user principal name.'
|
|
@@ -28,7 +28,7 @@ export const chatUtil = {
|
|
|
28
28
|
* @param logger a logger to pipe into the graph request odata helper.
|
|
29
29
|
*/
|
|
30
30
|
async findExistingGroupChatsByName(name) {
|
|
31
|
-
const endpoint = `https://graph.microsoft.com/v1.0/chats?$filter=topic eq '${formatting.encodeQueryParameter(name)
|
|
31
|
+
const endpoint = `https://graph.microsoft.com/v1.0/chats?$filter=topic eq '${formatting.encodeQueryParameter(name)}'&$expand=members&$select=id,topic,createdDateTime,chatType`;
|
|
32
32
|
return odata.getAllItems(endpoint);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
@@ -11,7 +11,7 @@ export const options = z.strictObject({
|
|
|
11
11
|
...globalOptionsZod.shape,
|
|
12
12
|
communityId: z.string().optional(),
|
|
13
13
|
communityDisplayName: z.string().optional().alias('n'),
|
|
14
|
-
entraGroupId: z.
|
|
14
|
+
entraGroupId: z.guid().optional(),
|
|
15
15
|
ids: z.string()
|
|
16
16
|
.refine(ids => validation.isValidGuidArray(ids) === true, {
|
|
17
17
|
error: issue => `The following GUIDs are invalid: ${validation.isValidGuidArray(String(issue.input))}.`
|
package/dist/utils/formatting.js
CHANGED
|
@@ -75,14 +75,15 @@ export const formatting = {
|
|
|
75
75
|
});
|
|
76
76
|
return response;
|
|
77
77
|
},
|
|
78
|
-
parseCsvToJson(s,
|
|
78
|
+
parseCsvToJson(s, options = {}) {
|
|
79
79
|
return parse(s, {
|
|
80
|
-
quote: quoteChar,
|
|
81
|
-
delimiter: delimiter,
|
|
80
|
+
quote: options.quoteChar ?? '"',
|
|
81
|
+
delimiter: options.delimiter ?? ',',
|
|
82
|
+
bom: true,
|
|
82
83
|
columns: true,
|
|
83
84
|
skipEmptyLines: true,
|
|
84
85
|
ltrim: true,
|
|
85
|
-
cast: true
|
|
86
|
+
cast: options.cast ?? true
|
|
86
87
|
});
|
|
87
88
|
},
|
|
88
89
|
encodeQueryParameter(value) {
|
package/dist/utils/zod.js
CHANGED
|
@@ -68,7 +68,8 @@ function parseJSONSchema(jsonSchema, options, currentOption) {
|
|
|
68
68
|
if (parsedSchema.allOf) {
|
|
69
69
|
parsedSchema.allOf.forEach(s => parseJSONSchema(s, options, currentOption));
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const schemaType = Array.isArray(parsedSchema.type) ? parsedSchema.type[0] : parsedSchema.type;
|
|
72
|
+
const parse = getParseFn(schemaType);
|
|
72
73
|
if (!parse) {
|
|
73
74
|
break;
|
|
74
75
|
}
|
|
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
|
|
|
45
45
|
|
|
46
46
|
## Remarks
|
|
47
47
|
|
|
48
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.24.
|
|
48
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.24.2).
|
|
49
49
|
|
|
50
50
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
51
51
|
|
|
@@ -44,6 +44,25 @@ When creating a list item with a DateTime field, use the timezone and the format
|
|
|
44
44
|
|
|
45
45
|
:::
|
|
46
46
|
|
|
47
|
+
## Permissions
|
|
48
|
+
|
|
49
|
+
<Tabs>
|
|
50
|
+
<TabItem value="Delegated">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|------------|----------------|
|
|
54
|
+
| SharePoint | AllSites.Write |
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Application">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|------------|---------------------|
|
|
61
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
</Tabs>
|
|
65
|
+
|
|
47
66
|
## Examples
|
|
48
67
|
|
|
49
68
|
Add an item with Title _Demo Item_ and content type name _Item_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo listitem batch add
|
|
4
6
|
|
|
@@ -49,6 +51,25 @@ When creating list items with a DateTime field, use the timezone and the format
|
|
|
49
51
|
|
|
50
52
|
:::
|
|
51
53
|
|
|
54
|
+
## Permissions
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="Delegated">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|------------|----------------|
|
|
61
|
+
| SharePoint | AllSites.Write |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
<TabItem value="Application">
|
|
65
|
+
|
|
66
|
+
| Resource | Permissions |
|
|
67
|
+
|------------|---------------------|
|
|
68
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
</Tabs>
|
|
72
|
+
|
|
52
73
|
## Examples
|
|
53
74
|
|
|
54
75
|
Add a batch of items to a list retrieved by title in a specific site
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo listitem batch remove
|
|
4
6
|
|
|
@@ -51,6 +53,25 @@ ID
|
|
|
51
53
|
345
|
|
52
54
|
```
|
|
53
55
|
|
|
56
|
+
## Permissions
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="Delegated">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|------------|----------------|
|
|
63
|
+
| SharePoint | AllSites.Write |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Application">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|------------|---------------------|
|
|
70
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
54
75
|
## Examples
|
|
55
76
|
|
|
56
77
|
Remove a list of IDs from a list with a csv
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo listitem batch set
|
|
4
6
|
|
|
@@ -46,6 +48,25 @@ ID,ContentType,Title,SingleChoiceField,MultiChoiceField,SingleMetadataField,Mult
|
|
|
46
48
|
5,Item,Title Update,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa,john@contoso.com,john@contoso.com;doe@contoso.com,"https://bing.com, URL",5,2,2;3
|
|
47
49
|
```
|
|
48
50
|
|
|
51
|
+
## Permissions
|
|
52
|
+
|
|
53
|
+
<Tabs>
|
|
54
|
+
<TabItem value="Delegated">
|
|
55
|
+
|
|
56
|
+
| Resource | Permissions |
|
|
57
|
+
|------------|----------------|
|
|
58
|
+
| SharePoint | AllSites.Write |
|
|
59
|
+
|
|
60
|
+
</TabItem>
|
|
61
|
+
<TabItem value="Application">
|
|
62
|
+
|
|
63
|
+
| Resource | Permissions |
|
|
64
|
+
|------------|---------------------|
|
|
65
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
66
|
+
|
|
67
|
+
</TabItem>
|
|
68
|
+
</Tabs>
|
|
69
|
+
|
|
49
70
|
## Examples
|
|
50
71
|
|
|
51
72
|
Updates a batch of items to a list retrieved by title in a specific site
|