@pnp/cli-microsoft365 7.0.0-beta.f1037e1 → 7.0.0
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/.eslintrc.cjs +1 -3
- package/README.md +4 -4
- package/dist/Auth.js +12 -2
- package/dist/Command.js +3 -3
- package/dist/GlobalOptions.js +1 -7
- package/dist/cli/Cli.js +24 -7
- package/dist/m365/aad/commands/app/app-add.js +8 -8
- package/dist/m365/aad/commands/app/app-get.js +4 -1
- package/dist/m365/aad/commands/app/app-remove.js +3 -1
- package/dist/m365/aad/commands/app/app-role-add.js +9 -6
- package/dist/m365/aad/commands/app/app-role-list.js +4 -1
- package/dist/m365/aad/commands/app/app-role-remove.js +5 -2
- package/dist/m365/aad/commands/app/app-set.js +13 -10
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -6
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +4 -4
- package/dist/m365/aad/commands/group/group-get.js +4 -4
- package/dist/m365/aad/commands/group/group-list.js +1 -23
- package/dist/m365/aad/commands/group/group-remove.js +98 -0
- package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +38 -29
- package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +15 -10
- package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +18 -14
- package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +14 -10
- package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +17 -15
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +18 -15
- package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +17 -12
- package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +15 -10
- package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +22 -17
- package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +28 -20
- package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +19 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +17 -12
- package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +19 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +20 -15
- package/dist/m365/aad/commands/policy/policy-list.js +5 -5
- package/dist/m365/aad/commands/sp/sp-add.js +4 -1
- package/dist/m365/aad/commands/sp/sp-get.js +4 -1
- package/dist/m365/aad/commands/user/user-get.js +7 -2
- package/dist/m365/aad/commands.js +23 -22
- package/dist/m365/booking/commands/business/business-get.js +4 -1
- package/dist/m365/cli/commands/cli-issue.js +5 -5
- package/dist/m365/cli/commands/config/config-get.js +5 -5
- package/dist/m365/cli/commands/config/config-list.js +16 -0
- package/dist/m365/cli/commands/config/config-reset.js +5 -5
- package/dist/m365/cli/commands/config/config-set.js +5 -5
- package/dist/m365/cli/commands.js +1 -0
- package/dist/m365/commands/login.js +7 -7
- package/dist/m365/commands/request.js +1 -1
- package/dist/m365/flow/commands/flow-export.js +13 -13
- package/dist/m365/flow/commands/owner/owner-ensure.js +5 -5
- package/dist/m365/graph/commands/subscription/subscription-add.js +5 -5
- package/dist/m365/outlook/commands/message/message-list.js +4 -2
- package/dist/m365/outlook/commands/message/message-move.js +4 -2
- package/dist/m365/pa/commands/app/app-export.js +7 -7
- package/dist/m365/pa/commands/app/app-owner-set.js +5 -5
- package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
- package/dist/m365/pa/commands/connector/connector-export.js +5 -5
- package/dist/m365/pa/commands.js +3 -4
- package/dist/m365/planner/commands/bucket/bucket-add.js +6 -3
- package/dist/m365/planner/commands/bucket/bucket-get.js +11 -4
- package/dist/m365/planner/commands/bucket/bucket-list.js +6 -3
- package/dist/m365/planner/commands/bucket/bucket-remove.js +9 -4
- package/dist/m365/planner/commands/bucket/bucket-set.js +10 -4
- package/dist/m365/planner/commands/plan/plan-add.js +4 -1
- package/dist/m365/planner/commands/plan/plan-get.js +5 -3
- package/dist/m365/planner/commands/plan/plan-list.js +8 -6
- package/dist/m365/planner/commands/plan/plan-remove.js +4 -1
- package/dist/m365/planner/commands/plan/plan-set.js +6 -3
- package/dist/m365/planner/commands/roster/roster-get.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-add.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-get.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-list.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-remove.js +4 -1
- package/dist/m365/planner/commands/roster/roster-plan-list.js +4 -1
- package/dist/m365/planner/commands/roster/roster-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-add.js +21 -12
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +4 -1
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +4 -1
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-get.js +46 -28
- package/dist/m365/planner/commands/task/task-list.js +34 -19
- package/dist/m365/planner/commands/task/task-reference-add.js +4 -1
- package/dist/m365/planner/commands/task/task-reference-list.js +4 -1
- package/dist/m365/planner/commands/task/task-reference-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-remove.js +49 -38
- package/dist/m365/planner/commands/task/task-set.js +38 -23
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +4 -1
- package/dist/m365/pp/commands/card/card-get.js +3 -5
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +3 -1
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +2 -2
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +4 -1
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +14 -14
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +3 -1
- package/dist/m365/spfx/commands/package/package-generate.js +15 -15
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +55 -0
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.1.js → doctor-1.18.0.js} +2 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +9 -9
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +157 -0
- package/dist/m365/spfx/commands/project/project-github-workflow-model.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +13 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.1.js → upgrade-1.18.0.js} +35 -27
- package/dist/m365/spfx/commands/project/project-upgrade.js +26 -28
- package/dist/m365/spfx/commands/spfx-doctor.js +76 -106
- package/dist/m365/spfx/commands.js +1 -0
- package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +27 -26
- package/dist/m365/spo/commands/app/app-add.js +9 -9
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +5 -5
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +5 -3
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +5 -5
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +2 -2
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +3 -2
- package/dist/m365/spo/commands/commandset/commandset-add.js +11 -11
- package/dist/m365/spo/commands/commandset/commandset-get.js +12 -10
- package/dist/m365/spo/commands/commandset/commandset-list.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-remove.js +7 -6
- package/dist/m365/spo/commands/commandset/commandset-set.js +14 -12
- package/dist/m365/spo/commands/customaction/customaction-get.js +5 -2
- package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -1
- package/dist/m365/spo/commands/file/file-add.js +13 -13
- package/dist/m365/spo/commands/file/file-checkin.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout.js +1 -1
- package/dist/m365/spo/commands/file/file-copy.js +36 -4
- package/dist/m365/spo/commands/file/file-get.js +11 -8
- package/dist/m365/spo/commands/file/file-list.js +4 -4
- package/dist/m365/spo/commands/file/file-move.js +74 -98
- package/dist/m365/spo/commands/file/file-remove.js +8 -8
- package/dist/m365/spo/commands/file/file-rename.js +2 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +8 -8
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +5 -5
- package/dist/m365/spo/commands/file/file-version-clear.js +3 -3
- package/dist/m365/spo/commands/file/file-version-get.js +3 -3
- package/dist/m365/spo/commands/file/file-version-list.js +3 -3
- package/dist/m365/spo/commands/file/file-version-remove.js +3 -3
- package/dist/m365/spo/commands/file/file-version-restore.js +3 -3
- package/dist/m365/spo/commands/folder/folder-add.js +2 -4
- package/dist/m365/spo/commands/folder/folder-copy.js +89 -45
- package/dist/m365/spo/commands/folder/folder-get.js +1 -1
- package/dist/m365/spo/commands/folder/folder-list.js +2 -2
- package/dist/m365/spo/commands/folder/folder-move.js +89 -47
- package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
- package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +0 -1
- package/dist/m365/spo/commands/group/group-member-add.js +24 -24
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +7 -4
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +4 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +3 -1
- package/dist/m365/spo/commands/list/list-add.js +4 -4
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +2 -24
- package/dist/m365/spo/commands/list/list-set.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-add.js +1 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +127 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-get.js +97 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +121 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-set.js +115 -0
- package/dist/m365/spo/commands/listitem/listitem-set.js +3 -2
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +2 -2
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +34 -5
- package/dist/m365/spo/commands/page/clientsidepages.js +19 -81
- package/dist/m365/spo/commands/page/page-get.js +1 -0
- package/dist/m365/spo/commands/page/page-list.js +4 -3
- package/dist/m365/spo/commands/page/page-section-add.js +56 -21
- package/dist/m365/spo/commands/page/page-set.js +13 -2
- package/dist/m365/spo/commands/propertybag/propertybag-base.js +63 -59
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +28 -31
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +30 -32
- package/dist/m365/spo/commands/site/FlowsPolicy.js +7 -0
- package/dist/m365/spo/commands/site/site-add.js +114 -161
- package/dist/m365/spo/commands/site/site-apppermission-add.js +15 -18
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +34 -38
- package/dist/m365/spo/commands/site/site-apppermission-set.js +11 -14
- package/dist/m365/spo/commands/site/site-commsite-enable.js +34 -5
- package/dist/m365/spo/commands/site/site-ensure.js +14 -67
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +22 -22
- package/dist/m365/spo/commands/site/site-list.js +25 -43
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +6 -6
- package/dist/m365/spo/commands/site/site-remove.js +166 -210
- package/dist/m365/spo/commands/site/site-set.js +178 -199
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +12 -7
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +2 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +8 -3
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +3 -1
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -4
- package/dist/m365/spo/commands/term/term-get.js +6 -6
- package/dist/m365/spo/commands/theme/theme-list.js +1 -9
- package/dist/m365/spo/commands/theme/theme-remove.js +24 -24
- package/dist/m365/spo/commands/theme/theme-set.js +0 -1
- package/dist/m365/spo/commands/user/user-get.js +10 -10
- package/dist/m365/spo/commands/user/user-remove.js +27 -27
- package/dist/m365/spo/commands/web/web-reindex.js +35 -42
- package/dist/m365/spo/commands/web/web-remove.js +21 -21
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +16 -31
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +33 -44
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +18 -18
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +19 -19
- package/dist/m365/spo/commands/web/web-set.js +5 -5
- package/dist/m365/spo/commands.js +4 -0
- package/dist/m365/teams/commands/app/app-list.js +5 -5
- package/dist/m365/teams/commands/app/app-remove.js +49 -15
- package/dist/m365/teams/commands/channel/channel-add.js +5 -1
- package/dist/m365/teams/commands/channel/channel-member-add.js +12 -10
- package/dist/m365/teams/commands/channel/channel-member-remove.js +3 -1
- package/dist/m365/teams/commands/channel/channel-member-set.js +4 -1
- package/dist/m365/teams/commands/chat/chat-get.js +7 -10
- package/dist/m365/teams/commands/chat/chat-member-add.js +5 -5
- package/dist/m365/teams/commands/chat/chat-message-send.js +8 -10
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +4 -4
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +4 -4
- package/dist/m365/teams/commands/meeting/meeting-list.js +101 -51
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +4 -4
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +5 -5
- package/dist/m365/teams/commands/team/team-clone.js +5 -10
- package/dist/m365/teams/commands/team/team-list.js +94 -30
- package/dist/m365/teams/commands/team/team-set.js +3 -3
- package/dist/m365/tenant/commands/info/info-get.js +83 -0
- package/dist/m365/tenant/commands.js +1 -0
- package/dist/m365/todo/commands/task/task-add.js +6 -6
- package/dist/m365/yammer/commands/message/message-like-set.js +27 -28
- package/dist/m365/yammer/commands/message/message-list.js +67 -86
- package/dist/m365/yammer/commands/message/message-remove.js +18 -18
- package/dist/m365/yammer/commands/yammer-search.js +58 -74
- package/dist/utils/aadGroup.js +39 -3
- package/dist/utils/formatting.js +7 -0
- package/dist/utils/fsUtil.js +5 -0
- package/dist/utils/planner.js +4 -3
- package/dist/utils/powerPlatform.js +1 -1
- package/dist/utils/spo.js +595 -54
- package/dist/utils/validation.js +0 -3
- package/docs/docs/_clisettings.mdx +2 -2
- package/docs/docs/cmd/_global.mdx +1 -1
- package/docs/docs/cmd/aad/app/app-set.mdx +15 -15
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +9 -9
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +10 -10
- package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
- package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
- package/docs/docs/cmd/aad/group/group-remove.mdx +44 -0
- package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +25 -15
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
- package/docs/docs/cmd/aad/policy/policy-list.mdx +5 -5
- package/docs/docs/cmd/aad/user/user-set.mdx +1 -1
- package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
- package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
- package/docs/docs/cmd/flow/flow-export.mdx +11 -11
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +10 -10
- package/docs/docs/cmd/login.mdx +6 -0
- package/docs/docs/cmd/pa/app/app-export.mdx +5 -5
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
- package/docs/docs/cmd/pa/connector/connector-export.mdx +3 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-add.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-get.mdx +13 -4
- package/docs/docs/cmd/planner/task/task-list.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-remove.mdx +25 -8
- package/docs/docs/cmd/planner/task/task-set.mdx +22 -7
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +3 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +2 -2
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +2 -2
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +94 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
- package/docs/docs/cmd/spo/file/file-get.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
- package/docs/docs/cmd/spo/file/file-remove.mdx +10 -10
- package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-version-get.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-version-list.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
- package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-member-add.mdx +27 -27
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +2 -11
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +2 -5
- package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +110 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +104 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +58 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +58 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +14 -1
- package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
- package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
- package/docs/docs/cmd/spo/page/page-section-add.mdx +25 -1
- package/docs/docs/cmd/spo/page/page-set.mdx +23 -0
- package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -2
- package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-list.mdx +3 -78
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +3 -5
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +2 -4
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-get.mdx +8 -8
- package/docs/docs/cmd/teams/app/app-remove.mdx +9 -6
- package/docs/docs/cmd/teams/channel/channel-member-add.mdx +4 -4
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +135 -92
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-clone.mdx +3 -3
- package/docs/docs/cmd/teams/team/team-list.mdx +47 -22
- package/docs/docs/cmd/tenant/info/info-get.mdx +101 -0
- package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
- package/npm-shrinkwrap.json +310 -1433
- package/package.json +23 -28
- package/dist/m365/pa/cds-project-mutator.js +0 -91
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/generated/ManifestTypes.d.ts +0 -11
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts +0 -51
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/generated/ManifestTypes.d.ts +0 -12
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_index.ts +0 -48
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/index.ts +0 -0
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_index.tsx +0 -58
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_index.tsx +0 -55
- package/dist/m365/pa/commands/pcf/pcf-init/assets/package.json +0 -19
- package/dist/m365/pa/commands/pcf/pcf-init/assets/pcfconfig.json +0 -3
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_.gitignore +0 -14
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_pcfprojecttype.pcfproj +0 -45
- package/dist/m365/pa/commands/pcf/pcf-init/pcf-init-variables.js +0 -2
- package/dist/m365/pa/commands/pcf/pcf-init.js +0 -120
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Customizations.xml +0 -18
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Relationships.xml +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/template_Solution.xml +0 -94
- package/dist/m365/pa/commands/solution/solution-init/assets/template_.gitignore +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/template_solutionprojecttype.cdsproj +0 -44
- package/dist/m365/pa/commands/solution/solution-init/solution-init-variables.js +0 -2
- package/dist/m365/pa/commands/solution/solution-init.js +0 -126
- package/dist/m365/pa/commands/solution/solution-reference-add.js +0 -88
- package/dist/m365/pa/template-instantiator.js +0 -57
- package/docs/docs/cmd/pa/pcf/pcf-init.mdx +0 -56
- package/docs/docs/cmd/pa/solution/solution-init.mdx +0 -46
- package/docs/docs/cmd/pa/solution/solution-reference-add.mdx +0 -42
- /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -64,11 +64,6 @@
|
|
|
64
64
|
"email": "appie@digiwijs.nl",
|
|
65
65
|
"web": "https://www.cloudappie.nl/"
|
|
66
66
|
},
|
|
67
|
-
{
|
|
68
|
-
"name": "Rabia Williams",
|
|
69
|
-
"email": "rabiawilliams@gmail.com",
|
|
70
|
-
"web": "https://rabiawilliams.com/"
|
|
71
|
-
},
|
|
72
67
|
{
|
|
73
68
|
"name": "Patrick Lamber",
|
|
74
69
|
"email": "patrick@nubo.eu",
|
|
@@ -149,6 +144,7 @@
|
|
|
149
144
|
"Kesavanarayanan, Sudharsan <10280385+sudharsank@users.noreply.github.com>",
|
|
150
145
|
"Khalil, Bassem <bk@bassems-air.home>",
|
|
151
146
|
"Kirkham, Don <donkirkham@live.com>",
|
|
147
|
+
"Kornet, Michał <kornetmichal@gmail.com>",
|
|
152
148
|
"Kumar, Shantha <34408892+ktskumar@users.noreply.github.com>",
|
|
153
149
|
"Kurian, Cyril C <cyril.kurian2@gmail.com>",
|
|
154
150
|
"Lamber, Patrick <patrick@nubo.eu>",
|
|
@@ -228,19 +224,21 @@
|
|
|
228
224
|
"Zachariassen Laksafoss, Trygvi <trygvi.laksafoss@gmail.com>"
|
|
229
225
|
],
|
|
230
226
|
"dependencies": {
|
|
231
|
-
"@azure/msal-
|
|
232
|
-
"@
|
|
227
|
+
"@azure/msal-common": "^13.2.1",
|
|
228
|
+
"@azure/msal-node": "^1.18.1",
|
|
229
|
+
"@xmldom/xmldom": "^0.8.10",
|
|
233
230
|
"adaptive-expressions": "^4.20.0",
|
|
234
|
-
"adaptivecards": "^
|
|
231
|
+
"adaptivecards": "^3.0.1",
|
|
235
232
|
"adaptivecards-templating": "^2.3.1",
|
|
236
233
|
"adm-zip": "^0.5.10",
|
|
237
234
|
"applicationinsights": "^2.7.0",
|
|
238
|
-
"axios": "^1.
|
|
235
|
+
"axios": "^1.5.0",
|
|
239
236
|
"chalk": "^5.2.0",
|
|
240
237
|
"clipboardy": "^3.0.0",
|
|
238
|
+
"configstore": "^6.0.0",
|
|
241
239
|
"csv-stringify": "^6.4.0",
|
|
242
240
|
"easy-table": "^1.2.0",
|
|
243
|
-
"inquirer": "^9.
|
|
241
|
+
"inquirer": "^9.2.10",
|
|
244
242
|
"jmespath": "^0.16.0",
|
|
245
243
|
"json-to-ast": "^2.1.0",
|
|
246
244
|
"minimist": "^1.2.8",
|
|
@@ -248,40 +246,37 @@
|
|
|
248
246
|
"omelette": "^0.4.17",
|
|
249
247
|
"open": "^8.4.2",
|
|
250
248
|
"ora": "^5.4.1",
|
|
251
|
-
"semver": "^7.5.
|
|
249
|
+
"semver": "^7.5.4",
|
|
252
250
|
"strip-json-comments": "^5.0.0",
|
|
253
251
|
"typescript": "^5.0.2",
|
|
254
252
|
"update-notifier": "^6.0.2",
|
|
255
|
-
"uuid": "^9.0.0"
|
|
253
|
+
"uuid": "^9.0.0",
|
|
254
|
+
"yaml": "^2.3.2"
|
|
256
255
|
},
|
|
257
256
|
"devDependencies": {
|
|
258
|
-
"@microsoft/microsoft-graph-types": "^2.
|
|
257
|
+
"@microsoft/microsoft-graph-types": "^2.38.0",
|
|
259
258
|
"@types/adm-zip": "^0.5.0",
|
|
260
259
|
"@types/inquirer": "^9.0.3",
|
|
261
260
|
"@types/jmespath": "^0.15.0",
|
|
262
261
|
"@types/json-to-ast": "^2.1.2",
|
|
263
262
|
"@types/minimist": "^1.2.2",
|
|
264
263
|
"@types/mocha": "^10.0.1",
|
|
265
|
-
"@types/node": "^18.
|
|
266
|
-
"@types/node-forge": "^1.3.
|
|
264
|
+
"@types/node": "^18.17.14",
|
|
265
|
+
"@types/node-forge": "^1.3.4",
|
|
267
266
|
"@types/omelette": "^0.4.2",
|
|
268
|
-
"@types/semver": "^7.5.
|
|
269
|
-
"@types/sinon": "^10.0.
|
|
270
|
-
"@types/update-notifier": "^6.0.
|
|
271
|
-
"@types/uuid": "^9.0.
|
|
272
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
273
|
-
"@typescript-eslint/parser": "^5.
|
|
267
|
+
"@types/semver": "^7.5.1",
|
|
268
|
+
"@types/sinon": "^10.0.16",
|
|
269
|
+
"@types/update-notifier": "^6.0.5",
|
|
270
|
+
"@types/uuid": "^9.0.3",
|
|
271
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
272
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
274
273
|
"c8": "^7.14.0",
|
|
275
|
-
"eslint": "^8.
|
|
276
|
-
"eslint-config-standard": "^17.1.0",
|
|
274
|
+
"eslint": "^8.46.0",
|
|
277
275
|
"eslint-plugin-cli-microsoft365": "file:eslint-rules",
|
|
278
|
-
"eslint-plugin-import": "^2.27.5",
|
|
279
276
|
"eslint-plugin-mocha": "^10.1.0",
|
|
280
|
-
"eslint-plugin-node": "^11.1.0",
|
|
281
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
282
277
|
"mocha": "^10.2.0",
|
|
283
278
|
"rimraf": "^4.4.0",
|
|
284
279
|
"sinon": "^15.2.0",
|
|
285
280
|
"source-map-support": "^0.5.21"
|
|
286
281
|
}
|
|
287
|
-
}
|
|
282
|
+
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { DOMParser } from '@xmldom/xmldom';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
/*
|
|
4
|
-
* Logic extracted from bolt.module.solution.dll
|
|
5
|
-
* Version: 0.4.3
|
|
6
|
-
* Class: bolt.module.solution.CdsProjectMutator
|
|
7
|
-
*/
|
|
8
|
-
export default class CdsProjectMutator {
|
|
9
|
-
get cdsProjectDocument() {
|
|
10
|
-
return this._cdsProjectDocument;
|
|
11
|
-
}
|
|
12
|
-
constructor(document) {
|
|
13
|
-
this._cdsProjectDocument = new DOMParser().parseFromString(document, 'text/xml');
|
|
14
|
-
this._cdsProject = this._cdsProjectDocument.documentElement;
|
|
15
|
-
this._cdsNamespace = this._cdsProject.lookupNamespaceURI('') || '';
|
|
16
|
-
}
|
|
17
|
-
addProjectReference(referencedProjectPath) {
|
|
18
|
-
if (!this.doesProjectReferenceExists(referencedProjectPath)) {
|
|
19
|
-
const projectReferenceElement = this.createProjectReferenceElement(referencedProjectPath);
|
|
20
|
-
let projectReferenceItemGroup = this.getProjectReferenceItemGroup();
|
|
21
|
-
if (projectReferenceItemGroup) {
|
|
22
|
-
this.addProjectReferenceElement(projectReferenceItemGroup, projectReferenceElement);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
projectReferenceItemGroup = this.createProjectReferenceItemGroup(projectReferenceElement);
|
|
26
|
-
this.addProjectReferenceItemGroupElement(projectReferenceItemGroup);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
doesProjectReferenceExists(referencedProjectPath) {
|
|
31
|
-
return this.getNamedGroups('ItemGroup').some(itemGroup => {
|
|
32
|
-
return this.getProjectReferencesFromItemGroup(itemGroup).some(projectReference => {
|
|
33
|
-
const projectReferencePath = projectReference.getAttributeNode('Include');
|
|
34
|
-
return (projectReferencePath && path.normalize(projectReferencePath.value).toLowerCase() === referencedProjectPath.toLowerCase());
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
getNamedGroups(name) {
|
|
39
|
-
return Array.from(this._cdsProject.getElementsByTagNameNS(this._cdsNamespace, name));
|
|
40
|
-
}
|
|
41
|
-
getProjectReferencesFromItemGroup(itemGroup) {
|
|
42
|
-
return Array.from(itemGroup.getElementsByTagNameNS(this._cdsNamespace, 'ProjectReference'));
|
|
43
|
-
}
|
|
44
|
-
getProjectReferenceItemGroup() {
|
|
45
|
-
const itemGroups = this.getNamedGroups('ItemGroup').filter(itemGroup => this.getProjectReferencesFromItemGroup(itemGroup).length > 0);
|
|
46
|
-
return itemGroups.length > 0 ? itemGroups[0] : null;
|
|
47
|
-
}
|
|
48
|
-
createProjectReferenceElement(referencedProjectPath) {
|
|
49
|
-
const projectReferenceElement = this._cdsProjectDocument.createElementNS(this._cdsNamespace, 'ProjectReference');
|
|
50
|
-
projectReferenceElement.setAttributeNS(this._cdsNamespace, 'Include', referencedProjectPath);
|
|
51
|
-
return projectReferenceElement;
|
|
52
|
-
}
|
|
53
|
-
createProjectReferenceItemGroup(projectReferenceElement) {
|
|
54
|
-
const projectReferenceItemGroup = this._cdsProjectDocument.createElementNS(this._cdsNamespace, 'ItemGroup');
|
|
55
|
-
projectReferenceItemGroup.appendChild(this._cdsProjectDocument.createTextNode('\n '));
|
|
56
|
-
this.addProjectReferenceElement(projectReferenceItemGroup, projectReferenceElement);
|
|
57
|
-
return projectReferenceItemGroup;
|
|
58
|
-
}
|
|
59
|
-
addProjectReferenceElement(projectReferenceItemGroup, projectReferenceElement) {
|
|
60
|
-
projectReferenceItemGroup.appendChild(this._cdsProjectDocument.createTextNode(' '));
|
|
61
|
-
projectReferenceItemGroup.appendChild(projectReferenceElement);
|
|
62
|
-
projectReferenceItemGroup.appendChild(this._cdsProjectDocument.createTextNode('\n '));
|
|
63
|
-
}
|
|
64
|
-
addProjectReferenceItemGroupElement(projectReferenceItemGroup) {
|
|
65
|
-
const itemGroups = this.getNamedGroups('ItemGroup');
|
|
66
|
-
if (itemGroups.length > 0) {
|
|
67
|
-
this._cdsProject.insertBefore(projectReferenceItemGroup, itemGroups[itemGroups.length - 1].nextSibling);
|
|
68
|
-
this._cdsProject.insertBefore(this._cdsProjectDocument.createTextNode('\n\n '), projectReferenceItemGroup);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
const propertyGroups = this.getNamedGroups('PropertyGroup');
|
|
72
|
-
if (propertyGroups.length > 0) {
|
|
73
|
-
this._cdsProject.insertBefore(projectReferenceItemGroup, propertyGroups[propertyGroups.length - 1].nextSibling);
|
|
74
|
-
this._cdsProject.insertBefore(this._cdsProjectDocument.createTextNode('\n\n '), projectReferenceItemGroup);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
const importGroups = this.getNamedGroups('Import');
|
|
78
|
-
if (importGroups.length > 0) {
|
|
79
|
-
this._cdsProject.insertBefore(projectReferenceItemGroup, importGroups[0].nextSibling);
|
|
80
|
-
this._cdsProject.insertBefore(this._cdsProjectDocument.createTextNode('\n\n '), projectReferenceItemGroup);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
this._cdsProject.appendChild(this._cdsProjectDocument.createTextNode('\n '));
|
|
84
|
-
this._cdsProject.appendChild(projectReferenceItemGroup);
|
|
85
|
-
this._cdsProject.appendChild(this._cdsProjectDocument.createTextNode('\n'));
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=cds-project-mutator.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is auto generated from the ControlManifest.Input.xml file
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Define IInputs and IOutputs Type. They should match with ControlManifest.
|
|
6
|
-
export interface IInputs {
|
|
7
|
-
sampleDataSet: ComponentFramework.PropertyTypes.DataSet;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface IOutputs {
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<manifest>
|
|
3
|
-
<control namespace="$namespaceplaceholder$" constructor="$controlnameplaceholder$" version="0.0.1" display-name-key="$controlnameplaceholder$" description-key="$controlnameplaceholder$ description" control-type="standard">
|
|
4
|
-
<!-- dataset node represents a set of entity records on CDS; allow more than one datasets -->
|
|
5
|
-
<data-set name="sampleDataSet" display-name-key="Dataset_Display_Key">
|
|
6
|
-
<!-- 'property-set' node represents a unique, configurable property that each record in the dataset must provide. -->
|
|
7
|
-
<!-- UNCOMMENT TO ADD PROPERTY-SET NODE
|
|
8
|
-
<property-set name="samplePropertySet" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
|
|
9
|
-
-->
|
|
10
|
-
</data-set>
|
|
11
|
-
<resources>
|
|
12
|
-
<code path="index.ts" order="1"/>
|
|
13
|
-
<!-- UNCOMMENT TO ADD MORE RESOURCES
|
|
14
|
-
<css path="css/$controlnameplaceholder$.css" order="1" />
|
|
15
|
-
<resx path="strings/$controlnameplaceholder$.1033.resx" version="1.0.0" />
|
|
16
|
-
-->
|
|
17
|
-
</resources>
|
|
18
|
-
<!-- UNCOMMENT TO ENABLE THE SPECIFIED API
|
|
19
|
-
<feature-usage>
|
|
20
|
-
<uses-feature name="Device.captureAudio" required="true" />
|
|
21
|
-
<uses-feature name="Device.captureImage" required="true" />
|
|
22
|
-
<uses-feature name="Device.captureVideo" required="true" />
|
|
23
|
-
<uses-feature name="Device.getBarcodeValue" required="true" />
|
|
24
|
-
<uses-feature name="Device.getCurrentPosition" required="true" />
|
|
25
|
-
<uses-feature name="Device.pickFile" required="true" />
|
|
26
|
-
<uses-feature name="Utility" required="true" />
|
|
27
|
-
<uses-feature name="WebAPI" required="true" />
|
|
28
|
-
</feature-usage>
|
|
29
|
-
-->
|
|
30
|
-
</control>
|
|
31
|
-
</manifest>
|
package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { IInputs, IOutputs } from "./generated/ManifestTypes.js";
|
|
2
|
-
import DataSetInterfaces = ComponentFramework.PropertyHelper.DataSetApi;
|
|
3
|
-
type DataSet = ComponentFramework.PropertyTypes.DataSet;
|
|
4
|
-
|
|
5
|
-
export class $controlnameplaceholder$ implements ComponentFramework.StandardControl<IInputs, IOutputs> {
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Empty constructor.
|
|
9
|
-
*/
|
|
10
|
-
constructor() {
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Used to initialize the control instance. Controls can kick off remote server calls and other initialization actions here.
|
|
16
|
-
* Data-set values are not initialized here, use updateView.
|
|
17
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to property names defined in the manifest, as well as utility functions.
|
|
18
|
-
* @param notifyOutputChanged A callback method to alert the framework that the control has new outputs ready to be retrieved asynchronously.
|
|
19
|
-
* @param state A piece of data that persists in one session for a single user. Can be set at any point in a controls life cycle by calling 'setControlState' in the Mode interface.
|
|
20
|
-
* @param container If a control is marked control-type='standard', it will receive an empty div element within which it can render its content.
|
|
21
|
-
*/
|
|
22
|
-
public init(context: ComponentFramework.Context<IInputs>, notifyOutputChanged: () => void, state: ComponentFramework.Dictionary, container: HTMLDivElement) {
|
|
23
|
-
// Add control initialization code
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, control metadata values such as label, visible, etc.
|
|
29
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to names defined in the manifest, as well as utility functions
|
|
30
|
-
*/
|
|
31
|
-
public updateView(context: ComponentFramework.Context<IInputs>): void {
|
|
32
|
-
// Add code to update control view
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* It is called by the framework prior to a control receiving new data.
|
|
37
|
-
* @returns an object based on nomenclature defined in manifest, expecting object[s] for property marked as “bound” or “output”
|
|
38
|
-
*/
|
|
39
|
-
public getOutputs(): IOutputs {
|
|
40
|
-
return {};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Called when the control is to be removed from the DOM tree. Controls should use this call for cleanup.
|
|
45
|
-
* i.e. cancelling any pending remote calls, removing listeners, etc.
|
|
46
|
-
*/
|
|
47
|
-
public destroy(): void {
|
|
48
|
-
// Add code to cleanup control if necessary
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is auto generated from the ControlManifest.Input.xml file
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Define IInputs and IOutputs Type. They should match with ControlManifest.
|
|
6
|
-
export interface IInputs {
|
|
7
|
-
sampleProperty: ComponentFramework.PropertyTypes.StringProperty;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface IOutputs {
|
|
11
|
-
sampleProperty?: string;
|
|
12
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<manifest>
|
|
3
|
-
<control namespace="$namespaceplaceholder$" constructor="$controlnameplaceholder$" version="0.0.1" display-name-key="$controlnameplaceholder$" description-key="$controlnameplaceholder$ description" control-type="standard">
|
|
4
|
-
<!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
|
|
5
|
-
<property name="sampleProperty" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
|
|
6
|
-
<!--
|
|
7
|
-
Property node's of-type attribute can be of-type-group attribute.
|
|
8
|
-
Example:
|
|
9
|
-
<type-group name="numbers">
|
|
10
|
-
<type>Whole.None</type>
|
|
11
|
-
<type>Currency</type>
|
|
12
|
-
<type>FP</type>
|
|
13
|
-
<type>Decimal</type>
|
|
14
|
-
</type-group>
|
|
15
|
-
<property name="sampleProperty" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type-group="numbers" usage="bound" required="true" />
|
|
16
|
-
-->
|
|
17
|
-
<resources>
|
|
18
|
-
<code path="index.ts" order="1"/>
|
|
19
|
-
<!-- UNCOMMENT TO ADD MORE RESOURCES
|
|
20
|
-
<css path="css/$controlnameplaceholder$.css" order="1" />
|
|
21
|
-
<resx path="strings/$controlnameplaceholder$.1033.resx" version="1.0.0" />
|
|
22
|
-
-->
|
|
23
|
-
</resources>
|
|
24
|
-
<!-- UNCOMMENT TO ENABLE THE SPECIFIED API
|
|
25
|
-
<feature-usage>
|
|
26
|
-
<uses-feature name="Device.captureAudio" required="true" />
|
|
27
|
-
<uses-feature name="Device.captureImage" required="true" />
|
|
28
|
-
<uses-feature name="Device.captureVideo" required="true" />
|
|
29
|
-
<uses-feature name="Device.getBarcodeValue" required="true" />
|
|
30
|
-
<uses-feature name="Device.getCurrentPosition" required="true" />
|
|
31
|
-
<uses-feature name="Device.pickFile" required="true" />
|
|
32
|
-
<uses-feature name="Utility" required="true" />
|
|
33
|
-
<uses-feature name="WebAPI" required="true" />
|
|
34
|
-
</feature-usage>
|
|
35
|
-
-->
|
|
36
|
-
</control>
|
|
37
|
-
</manifest>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { IInputs, IOutputs } from "./generated/ManifestTypes.js";
|
|
2
|
-
|
|
3
|
-
export class $controlnameplaceholder$ implements ComponentFramework.StandardControl<IInputs, IOutputs> {
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Empty constructor.
|
|
7
|
-
*/
|
|
8
|
-
constructor() {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Used to initialize the control instance. Controls can kick off remote server calls and other initialization actions here.
|
|
14
|
-
* Data-set values are not initialized here, use updateView.
|
|
15
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to property names defined in the manifest, as well as utility functions.
|
|
16
|
-
* @param notifyOutputChanged A callback method to alert the framework that the control has new outputs ready to be retrieved asynchronously.
|
|
17
|
-
* @param state A piece of data that persists in one session for a single user. Can be set at any point in a controls life cycle by calling 'setControlState' in the Mode interface.
|
|
18
|
-
* @param container If a control is marked control-type='standard', it will receive an empty div element within which it can render its content.
|
|
19
|
-
*/
|
|
20
|
-
public init(context: ComponentFramework.Context<IInputs>, notifyOutputChanged: () => void, state: ComponentFramework.Dictionary, container: HTMLDivElement) {
|
|
21
|
-
// Add control initialization code
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, control metadata values such as label, visible, etc.
|
|
27
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to names defined in the manifest, as well as utility functions
|
|
28
|
-
*/
|
|
29
|
-
public updateView(context: ComponentFramework.Context<IInputs>): void {
|
|
30
|
-
// Add code to update control view
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* It is called by the framework prior to a control receiving new data.
|
|
35
|
-
* @returns an object based on nomenclature defined in manifest, expecting object[s] for property marked as “bound” or “output”
|
|
36
|
-
*/
|
|
37
|
-
public getOutputs(): IOutputs {
|
|
38
|
-
return {};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Called when the control is to be removed from the DOM tree. Controls should use this call for cleanup.
|
|
43
|
-
* i.e. cancelling any pending remote calls, removing listeners, etc.
|
|
44
|
-
*/
|
|
45
|
-
public destroy(): void {
|
|
46
|
-
// Add code to cleanup control if necessary
|
|
47
|
-
}
|
|
48
|
-
}
|
|
File without changes
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<manifest>
|
|
3
|
-
<control namespace="$namespaceplaceholder$" constructor="$controlnameplaceholder$" version="0.0.1" display-name-key="$controlnameplaceholder$" description-key="$controlnameplaceholder$ description" control-type="virtual">
|
|
4
|
-
<!-- dataset node represents a set of entity records on CDS; allow more than one datasets -->
|
|
5
|
-
<data-set name="sampleDataSet" display-name-key="Dataset_Display_Key">
|
|
6
|
-
<!-- 'property-set' node represents a unique, configurable property that each record in the dataset must provide. -->
|
|
7
|
-
<!-- UNCOMMENT TO ADD PROPERTY-SET NODE
|
|
8
|
-
<property-set name="samplePropertySet" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
|
|
9
|
-
-->
|
|
10
|
-
</data-set>
|
|
11
|
-
<resources>
|
|
12
|
-
<code path="index.tsx" order="1"/>
|
|
13
|
-
<!-- UNCOMMENT TO ADD MORE RESOURCES
|
|
14
|
-
<css path="css/$controlnameplaceholder$.css" order="1" />
|
|
15
|
-
<resx path="strings/$controlnameplaceholder$.1033.resx" version="1.0.0" />
|
|
16
|
-
-->
|
|
17
|
-
</resources>
|
|
18
|
-
<!-- UNCOMMENT TO ENABLE THE SPECIFIED API
|
|
19
|
-
<feature-usage>
|
|
20
|
-
<uses-feature name="Device.captureAudio" required="true" />
|
|
21
|
-
<uses-feature name="Device.captureImage" required="true" />
|
|
22
|
-
<uses-feature name="Device.captureVideo" required="true" />
|
|
23
|
-
<uses-feature name="Device.getBarcodeValue" required="true" />
|
|
24
|
-
<uses-feature name="Device.getCurrentPosition" required="true" />
|
|
25
|
-
<uses-feature name="Device.pickFile" required="true" />
|
|
26
|
-
<uses-feature name="Utility" required="true" />
|
|
27
|
-
<uses-feature name="WebAPI" required="true" />
|
|
28
|
-
</feature-usage>
|
|
29
|
-
-->
|
|
30
|
-
</control>
|
|
31
|
-
</manifest>
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { IInputs, IOutputs } from "./generated/ManifestTypes";
|
|
2
|
-
import DataSetInterfaces = ComponentFramework.PropertyHelper.DataSetApi;
|
|
3
|
-
type DataSet = ComponentFramework.PropertyTypes.DataSet;
|
|
4
|
-
|
|
5
|
-
export class $controlnameplaceholder$ implements ComponentFramework.VirtualControl<IInputs, IOutputs> {
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Empty constructor.
|
|
9
|
-
*/
|
|
10
|
-
constructor()
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Used to initialize the control instance. Controls can kick off remote server calls and other initialization actions here.
|
|
17
|
-
* Data-set values are not initialized here, use updateView.
|
|
18
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to property names defined in the manifest, as well as utility functions.
|
|
19
|
-
* @param notifyOutputChanged A callback method to alert the framework that the control has new outputs ready to be retrieved asynchronously.
|
|
20
|
-
* @param state A piece of data that persists in one session for a single user. Can be set at any point in a controls life cycle by calling 'setControlState' in the Mode interface.
|
|
21
|
-
* @param container If a control is marked control-type='standard', it will receive an empty div element within which it can render its content.
|
|
22
|
-
*/
|
|
23
|
-
public init(context: ComponentFramework.Context<IInputs>, notifyOutputChanged: () => void, state: ComponentFramework.Dictionary, container:HTMLDivElement)
|
|
24
|
-
{
|
|
25
|
-
// Add control initialization code
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, control metadata values such as label, visible, etc.
|
|
31
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to names defined in the manifest, as well as utility functions
|
|
32
|
-
* @returns The updated component
|
|
33
|
-
*/
|
|
34
|
-
public updateView(context: ComponentFramework.Context<IInputs>): ComponentFramework.VirtualComponent
|
|
35
|
-
{
|
|
36
|
-
// Add code to update control view
|
|
37
|
-
return undefined;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* It is called by the framework prior to a control receiving new data.
|
|
42
|
-
* @returns an object based on nomenclature defined in manifest, expecting object[s] for property marked as “bound” or “output”
|
|
43
|
-
*/
|
|
44
|
-
public getOutputs(): IOutputs
|
|
45
|
-
{
|
|
46
|
-
return {};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Called when the control is to be removed from the DOM tree. Controls should use this call for cleanup.
|
|
51
|
-
* i.e. cancelling any pending remote calls, removing listeners, etc.
|
|
52
|
-
*/
|
|
53
|
-
public destroy(): void
|
|
54
|
-
{
|
|
55
|
-
// Add code to cleanup control if necessary
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<manifest>
|
|
3
|
-
<control namespace="$namespaceplaceholder$" constructor="$controlnameplaceholder$" version="0.0.1" display-name-key="$controlnameplaceholder$" description-key="$controlnameplaceholder$ description" control-type="virtual">
|
|
4
|
-
<!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
|
|
5
|
-
<property name="sampleProperty" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
|
|
6
|
-
<!--
|
|
7
|
-
Property node's of-type attribute can be of-type-group attribute.
|
|
8
|
-
Example:
|
|
9
|
-
<type-group name="numbers">
|
|
10
|
-
<type>Whole.None</type>
|
|
11
|
-
<type>Currency</type>
|
|
12
|
-
<type>FP</type>
|
|
13
|
-
<type>Decimal</type>
|
|
14
|
-
</type-group>
|
|
15
|
-
<property name="sampleProperty" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type-group="numbers" usage="bound" required="true" />
|
|
16
|
-
-->
|
|
17
|
-
<resources>
|
|
18
|
-
<code path="index.tsx" order="1"/>
|
|
19
|
-
<!-- UNCOMMENT TO ADD MORE RESOURCES
|
|
20
|
-
<css path="css/$controlnameplaceholder$.css" order="1" />
|
|
21
|
-
<resx path="strings/$controlnameplaceholder$.1033.resx" version="1.0.0" />
|
|
22
|
-
-->
|
|
23
|
-
</resources>
|
|
24
|
-
<!-- UNCOMMENT TO ENABLE THE SPECIFIED API
|
|
25
|
-
<feature-usage>
|
|
26
|
-
<uses-feature name="Device.captureAudio" required="true" />
|
|
27
|
-
<uses-feature name="Device.captureImage" required="true" />
|
|
28
|
-
<uses-feature name="Device.captureVideo" required="true" />
|
|
29
|
-
<uses-feature name="Device.getBarcodeValue" required="true" />
|
|
30
|
-
<uses-feature name="Device.getCurrentPosition" required="true" />
|
|
31
|
-
<uses-feature name="Device.pickFile" required="true" />
|
|
32
|
-
<uses-feature name="Utility" required="true" />
|
|
33
|
-
<uses-feature name="WebAPI" required="true" />
|
|
34
|
-
</feature-usage>
|
|
35
|
-
-->
|
|
36
|
-
</control>
|
|
37
|
-
</manifest>
|
package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_index.tsx
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { IInputs, IOutputs } from "./generated/ManifestTypes";
|
|
2
|
-
|
|
3
|
-
export class $controlnameplaceholder$ implements ComponentFramework.VirtualControl<IInputs, IOutputs> {
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Empty constructor.
|
|
7
|
-
*/
|
|
8
|
-
constructor()
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Used to initialize the control instance. Controls can kick off remote server calls and other initialization actions here.
|
|
15
|
-
* Data-set values are not initialized here, use updateView.
|
|
16
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to property names defined in the manifest, as well as utility functions.
|
|
17
|
-
* @param notifyOutputChanged A callback method to alert the framework that the control has new outputs ready to be retrieved asynchronously.
|
|
18
|
-
* @param state A piece of data that persists in one session for a single user. Can be set at any point in a controls life cycle by calling 'setControlState' in the Mode interface.
|
|
19
|
-
* @param container If a control is marked control-type='standard', it will receive an empty div element within which it can render its content.
|
|
20
|
-
*/
|
|
21
|
-
public init(context: ComponentFramework.Context<IInputs>, notifyOutputChanged: () => void, state: ComponentFramework.Dictionary, container:HTMLDivElement)
|
|
22
|
-
{
|
|
23
|
-
// Add control initialization code
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, control metadata values such as label, visible, etc.
|
|
29
|
-
* @param context The entire property bag available to control via Context Object; It contains values as set up by the customizer mapped to names defined in the manifest, as well as utility functions
|
|
30
|
-
* @returns The updated component
|
|
31
|
-
*/
|
|
32
|
-
public updateView(context: ComponentFramework.Context<IInputs>): ComponentFramework.VirtualComponent
|
|
33
|
-
{
|
|
34
|
-
// Add code to update control view
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* It is called by the framework prior to a control receiving new data.
|
|
40
|
-
* @returns an object based on nomenclature defined in manifest, expecting object[s] for property marked as “bound” or “output”
|
|
41
|
-
*/
|
|
42
|
-
public getOutputs(): IOutputs
|
|
43
|
-
{
|
|
44
|
-
return {};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Called when the control is to be removed from the DOM tree. Controls should use this call for cleanup.
|
|
49
|
-
* i.e. cancelling any pending remote calls, removing listeners, etc.
|
|
50
|
-
*/
|
|
51
|
-
public destroy(): void
|
|
52
|
-
{
|
|
53
|
-
// Add code to cleanup control if necessary
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pcf-project",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Project containing your PowerApps Component Framework (PCF) control.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "pcf-scripts build",
|
|
7
|
-
"clean": "pcf-scripts clean",
|
|
8
|
-
"rebuild": "pcf-scripts rebuild",
|
|
9
|
-
"start": "pcf-scripts start"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@types/node": "^10.12.18",
|
|
13
|
-
"@types/powerapps-component-framework": "^1.2.0"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"pcf-scripts": "^1",
|
|
17
|
-
"pcf-start": "^1"
|
|
18
|
-
}
|
|
19
|
-
}
|