@pnp/cli-microsoft365 10.11.0-beta.5e075e5 → 10.11.0-beta.b1eeb91
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 +2 -0
- package/Dockerfile +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/base/GraphApplicationCommand.js +17 -0
- package/dist/m365/base/{DelegatedGraphCommand.js → GraphDelegatedCommand.js} +4 -4
- package/dist/m365/base/PowerAppsCommand.js +1 -1
- package/dist/m365/base/PowerAutomateCommand.js +1 -1
- package/dist/m365/base/PowerBICommand.js +1 -1
- package/dist/m365/base/PowerPlatformCommand.js +1 -1
- package/dist/m365/base/VivaEngageCommand.js +1 -1
- package/dist/m365/entra/commands/app/app-get.js +11 -52
- package/dist/m365/entra/commands/app/app-permission-add.js +19 -30
- package/dist/m365/entra/commands/app/app-permission-list.js +2 -19
- package/dist/m365/entra/commands/app/app-permission-remove.js +22 -31
- package/dist/m365/entra/commands/app/app-remove.js +2 -18
- package/dist/m365/entra/commands/app/app-role-add.js +10 -43
- package/dist/m365/entra/commands/app/app-role-list.js +2 -20
- package/dist/m365/entra/commands/app/app-role-remove.js +9 -40
- package/dist/m365/entra/commands/app/app-set.js +2 -19
- package/dist/m365/outlook/commands/message/message-move.js +1 -1
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +7 -21
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +96 -0
- package/dist/m365/spe/commands.js +1 -0
- package/dist/m365/spfx/commands/project/base-project-command.js +1 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.0-beta.1.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-model/SassJson.js +2 -0
- package/dist/m365/spfx/commands/project/project-model/index.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002001_DEVDEP_microsoft_sp_build_web.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002004_DEVDEP_gulp.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002007_DEVDEP_ajv.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002031_DEVDEP_rushstack_heft.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002033_DEVDEP_jest_junit.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010011_YORC_useGulp.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015010_FILE_gulpfile_js.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015011_FILE_tsconfig_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015012_FILE_config_heft_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015013_FILE_config_jest_config_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015014_FILE_config_rig_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015015_FILE_config_typescript_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021004_PKG_scripts_build.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021005_PKG_scripts_test.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021006_PKG_scripts_clean.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021007_PKG_scripts_deploy.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021008_PKG_scripts_start.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021009_PKG_scripts_build_watch.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021010_PKG_scripts_package_solution.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021011_PKG_scripts_deploy_azure_storage.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021012_PKG_scripts_eject_webpack.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021013_PKG_overrides_rushstack_heft.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023003_GITIGNORE_libdts.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023004_GITIGNORE_libcommonjs.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023005_GITIGNORE_libesm.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023006_GITIGNORE_jestoutput.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026001_CFG_SASS_schema.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026002_CFG_SASS_extends.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +7 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.0-beta.1.js +241 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/dist/m365/spo/commands/tenant/tenant-site-unarchive.js +1 -1
- package/dist/m365/teams/commands/callrecord/callrecord-list.js +100 -0
- package/dist/m365/teams/commands/chat/chat-message-send.js +2 -2
- package/dist/m365/teams/commands/message/message-remove.js +2 -2
- package/dist/m365/teams/commands/message/message-restore.js +2 -2
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/todo/commands/list/list-add.js +2 -2
- package/dist/m365/todo/commands/list/list-get.js +2 -2
- package/dist/m365/todo/commands/list/list-list.js +2 -2
- package/dist/m365/todo/commands/list/list-remove.js +2 -2
- package/dist/m365/todo/commands/list/list-set.js +2 -2
- package/dist/m365/todo/commands/task/task-add.js +2 -2
- package/dist/m365/todo/commands/task/task-get.js +2 -2
- package/dist/m365/todo/commands/task/task-list.js +2 -2
- package/dist/m365/todo/commands/task/task-remove.js +2 -2
- package/dist/m365/todo/commands/task/task-set.js +2 -2
- package/dist/utils/accessToken.js +9 -5
- package/dist/utils/entraApp.js +15 -0
- package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +53 -0
- package/docs/docs/cmd/spo/tenant/tenant-site-unarchive.mdx +1 -1
- package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +173 -0
- package/npm-shrinkwrap.json +291 -763
- package/package.json +17 -17
|
@@ -0,0 +1,241 @@
|
|
|
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 { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
|
|
22
|
+
import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
|
|
23
|
+
import { FN002004_DEVDEP_gulp } from './rules/FN002004_DEVDEP_gulp.js';
|
|
24
|
+
import { FN002007_DEVDEP_ajv } from './rules/FN002007_DEVDEP_ajv.js';
|
|
25
|
+
import { FN002021_DEVDEP_rushstack_eslint_config } from './rules/FN002021_DEVDEP_rushstack_eslint_config.js';
|
|
26
|
+
import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
|
|
27
|
+
import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
|
|
28
|
+
import { FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3 } from './rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js';
|
|
29
|
+
import { FN002030_DEVDEP_microsoft_spfx_web_build_rig } from './rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js';
|
|
30
|
+
import { FN002031_DEVDEP_rushstack_heft } from './rules/FN002031_DEVDEP_rushstack_heft.js';
|
|
31
|
+
import { FN002032_DEVDEP_typescript_eslint_parser } from './rules/FN002032_DEVDEP_typescript_eslint_parser.js';
|
|
32
|
+
import { FN002033_DEVDEP_jest_junit } from './rules/FN002033_DEVDEP_jest_junit.js';
|
|
33
|
+
import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
|
|
34
|
+
import { FN010011_YORC_useGulp } from './rules/FN010011_YORC_useGulp.js';
|
|
35
|
+
import { FN015005_FILE_src_index_ts } from './rules/FN015005_FILE_src_index_ts.js';
|
|
36
|
+
import { FN015010_FILE_gulpfile_js } from './rules/FN015010_FILE_gulpfile_js.js';
|
|
37
|
+
import { FN015011_FILE_tsconfig_json } from './rules/FN015011_FILE_tsconfig_json.js';
|
|
38
|
+
import { FN015012_FILE_config_heft_json } from './rules/FN015012_FILE_config_heft_json.js';
|
|
39
|
+
import { FN015013_FILE_config_jest_config_json } from './rules/FN015013_FILE_config_jest_config_json.js';
|
|
40
|
+
import { FN015014_FILE_config_rig_json } from './rules/FN015014_FILE_config_rig_json.js';
|
|
41
|
+
import { FN015015_FILE_config_typescript_json } from './rules/FN015015_FILE_config_typescript_json.js';
|
|
42
|
+
import { FN020001_RES_types_react } from './rules/FN020001_RES_types_react.js';
|
|
43
|
+
import { FN021001_PKG_main } from './rules/FN021001_PKG_main.js';
|
|
44
|
+
import { FN021004_PKG_scripts_build } from './rules/FN021004_PKG_scripts_build.js';
|
|
45
|
+
import { FN021005_PKG_scripts_test } from './rules/FN021005_PKG_scripts_test.js';
|
|
46
|
+
import { FN021006_PKG_scripts_clean } from './rules/FN021006_PKG_scripts_clean.js';
|
|
47
|
+
import { FN021007_PKG_scripts_deploy } from './rules/FN021007_PKG_scripts_deploy.js';
|
|
48
|
+
import { FN021008_PKG_scripts_start } from './rules/FN021008_PKG_scripts_start.js';
|
|
49
|
+
import { FN021009_PKG_scripts_build_watch } from './rules/FN021009_PKG_scripts_build_watch.js';
|
|
50
|
+
import { FN021010_PKG_scripts_package_solution } from './rules/FN021010_PKG_scripts_package_solution.js';
|
|
51
|
+
import { FN021011_PKG_scripts_deploy_azure_storage } from './rules/FN021011_PKG_scripts_deploy_azure_storage.js';
|
|
52
|
+
import { FN021012_PKG_scripts_eject_webpack } from './rules/FN021012_PKG_scripts_eject_webpack.js';
|
|
53
|
+
import { FN021013_PKG_overrides_rushstack_heft } from './rules/FN021013_PKG_overrides_rushstack_heft.js';
|
|
54
|
+
import { FN023003_GITIGNORE_libdts } from './rules/FN023003_GITIGNORE_libdts.js';
|
|
55
|
+
import { FN023004_GITIGNORE_libcommonjs } from './rules/FN023004_GITIGNORE_libcommonjs.js';
|
|
56
|
+
import { FN023005_GITIGNORE_libesm } from './rules/FN023005_GITIGNORE_libesm.js';
|
|
57
|
+
import { FN023006_GITIGNORE_jestoutput } from './rules/FN023006_GITIGNORE_jestoutput.js';
|
|
58
|
+
import { FN026001_CFG_SASS_schema } from './rules/FN026001_CFG_SASS_schema.js';
|
|
59
|
+
import { FN026002_CFG_SASS_extends } from './rules/FN026002_CFG_SASS_extends.js';
|
|
60
|
+
export default [
|
|
61
|
+
new FN001001_DEP_microsoft_sp_core_library('1.22.0-beta.1'),
|
|
62
|
+
new FN001002_DEP_microsoft_sp_lodash_subset('1.22.0-beta.1'),
|
|
63
|
+
new FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.22.0-beta.1'),
|
|
64
|
+
new FN001004_DEP_microsoft_sp_webpart_base('1.22.0-beta.1'),
|
|
65
|
+
new FN001011_DEP_microsoft_sp_dialog('1.22.0-beta.1'),
|
|
66
|
+
new FN001012_DEP_microsoft_sp_application_base('1.22.0-beta.1'),
|
|
67
|
+
new FN001014_DEP_microsoft_sp_listview_extensibility('1.22.0-beta.1'),
|
|
68
|
+
new FN001021_DEP_microsoft_sp_property_pane('1.22.0-beta.1'),
|
|
69
|
+
new FN001023_DEP_microsoft_sp_component_base('1.22.0-beta.1'),
|
|
70
|
+
new FN001024_DEP_microsoft_sp_diagnostics('1.22.0-beta.1'),
|
|
71
|
+
new FN001025_DEP_microsoft_sp_dynamic_data('1.22.0-beta.1'),
|
|
72
|
+
new FN001026_DEP_microsoft_sp_extension_base('1.22.0-beta.1'),
|
|
73
|
+
new FN001027_DEP_microsoft_sp_http('1.22.0-beta.1'),
|
|
74
|
+
new FN001028_DEP_microsoft_sp_list_subscription('1.22.0-beta.1'),
|
|
75
|
+
new FN001029_DEP_microsoft_sp_loader('1.22.0-beta.1'),
|
|
76
|
+
new FN001030_DEP_microsoft_sp_module_interfaces('1.22.0-beta.1'),
|
|
77
|
+
new FN001031_DEP_microsoft_sp_odata_types('1.22.0-beta.1'),
|
|
78
|
+
new FN001032_DEP_microsoft_sp_page_context('1.22.0-beta.1'),
|
|
79
|
+
new FN001013_DEP_microsoft_decorators('1.22.0-beta.1'),
|
|
80
|
+
new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.22.0-beta.1'),
|
|
81
|
+
new FN002001_DEVDEP_microsoft_sp_build_web('1.22.0-beta.1', false),
|
|
82
|
+
new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.22.0-beta.1'),
|
|
83
|
+
new FN002004_DEVDEP_gulp('4.0.2', false),
|
|
84
|
+
new FN002007_DEVDEP_ajv('6.12.6', false),
|
|
85
|
+
new FN002021_DEVDEP_rushstack_eslint_config('4.3.0'),
|
|
86
|
+
new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.22.0-beta.1'),
|
|
87
|
+
new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.22.0-beta.1'),
|
|
88
|
+
new FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3('0.1.0', false),
|
|
89
|
+
new FN002030_DEVDEP_microsoft_spfx_web_build_rig('1.22.0-beta.1'),
|
|
90
|
+
new FN002031_DEVDEP_rushstack_heft('0.73.6'),
|
|
91
|
+
new FN002032_DEVDEP_typescript_eslint_parser('8.26.1'),
|
|
92
|
+
new FN002033_DEVDEP_jest_junit('12.3.0'),
|
|
93
|
+
new FN010001_YORC_version('1.22.0-beta.1'),
|
|
94
|
+
new FN010011_YORC_useGulp(true),
|
|
95
|
+
new FN015005_FILE_src_index_ts(false),
|
|
96
|
+
new FN015010_FILE_gulpfile_js(false),
|
|
97
|
+
new FN015011_FILE_tsconfig_json(true, `{
|
|
98
|
+
"extends": "./node_modules/@microsoft/spfx-web-build-rig/profiles/default/tsconfig-base.json",
|
|
99
|
+
"compilerOptions": {
|
|
100
|
+
"skipLibCheck": true
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
`),
|
|
104
|
+
new FN015012_FILE_config_heft_json(true, `{
|
|
105
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json",
|
|
106
|
+
|
|
107
|
+
"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/heft.json",
|
|
108
|
+
|
|
109
|
+
"phasesByName": {
|
|
110
|
+
"build": {
|
|
111
|
+
"tasksByName": {
|
|
112
|
+
// copies the localization js files to the lib folder
|
|
113
|
+
"copy-strings": {
|
|
114
|
+
"taskPlugin": {
|
|
115
|
+
"pluginPackage": "@rushstack/heft",
|
|
116
|
+
"pluginName": "copy-files-plugin",
|
|
117
|
+
"options": {
|
|
118
|
+
"copyOperations": [
|
|
119
|
+
{
|
|
120
|
+
"sourcePath": "./src",
|
|
121
|
+
"destinationFolders": ["./lib", "./lib-commonjs"],
|
|
122
|
+
"fileExtensions": [".js"]
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"eject-webpack": {
|
|
131
|
+
"tasksByName": {
|
|
132
|
+
"eject-webpack": {
|
|
133
|
+
"taskPlugin": {
|
|
134
|
+
"pluginPackage": "@rushstack/heft",
|
|
135
|
+
"pluginName": "run-script-plugin",
|
|
136
|
+
"options": {
|
|
137
|
+
"scriptPath": "node_modules/@microsoft/spfx-heft-plugins/lib-commonjs/plugins/ejectWebpackPlugin/EjectWebpackPlugin.js"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
`),
|
|
146
|
+
new FN015013_FILE_config_jest_config_json(true, `{
|
|
147
|
+
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json",
|
|
148
|
+
|
|
149
|
+
"roots": ["<rootDir>/lib"],
|
|
150
|
+
|
|
151
|
+
"testMatch": ["<rootDir>/lib/**/*.test.js"],
|
|
152
|
+
|
|
153
|
+
"collectCoverageFrom": [
|
|
154
|
+
"lib/**/*.js",
|
|
155
|
+
"!lib/**/*.d.ts",
|
|
156
|
+
"!lib/**/*.test.js",
|
|
157
|
+
"!lib/**/test/**",
|
|
158
|
+
"!lib/**/__tests__/**",
|
|
159
|
+
"!lib/**/__fixtures__/**",
|
|
160
|
+
"!lib/**/__mocks__/**"
|
|
161
|
+
],
|
|
162
|
+
|
|
163
|
+
"transformIgnorePatterns": ["[\\/]lib[\\/](.*)\\.js$"],
|
|
164
|
+
|
|
165
|
+
"testEnvironment": "jest-environment-jsdom",
|
|
166
|
+
"testEnvironmentOptions": {
|
|
167
|
+
"customExportConditions": ["require", "node", "umd"]
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
"moduleFileExtensions": ["cjs", "js", "json", "node", "css"],
|
|
171
|
+
|
|
172
|
+
// Enable code coverage for Jest
|
|
173
|
+
"collectCoverage": true,
|
|
174
|
+
"coverageDirectory": "<rootDir>/jest-output/coverage",
|
|
175
|
+
"coverageReporters": [
|
|
176
|
+
[
|
|
177
|
+
"cobertura",
|
|
178
|
+
{
|
|
179
|
+
"file": "cobertura/cobertura-coverage.xml"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"html",
|
|
183
|
+
"json-summary"
|
|
184
|
+
],
|
|
185
|
+
|
|
186
|
+
// Use v8 coverage provider to avoid Babel
|
|
187
|
+
"coverageProvider": "v8",
|
|
188
|
+
|
|
189
|
+
// Enable junit reporting for Jest
|
|
190
|
+
"reporters": [
|
|
191
|
+
"default",
|
|
192
|
+
[
|
|
193
|
+
"jest-junit",
|
|
194
|
+
{
|
|
195
|
+
"outputDirectory": "<rootDir>/jest-output",
|
|
196
|
+
"outputName": "JUnit.xml", // QTest expects this casing.
|
|
197
|
+
"classNameTemplate": "{classname} > ",
|
|
198
|
+
"titleTemplate": "{title} ({filepath})"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
`),
|
|
204
|
+
new FN015014_FILE_config_rig_json(true, `{
|
|
205
|
+
// The "rig.json" file directs tools to look for their config files in an external package.
|
|
206
|
+
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package
|
|
207
|
+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
|
|
208
|
+
|
|
209
|
+
"rigPackageName": "@microsoft/spfx-web-build-rig"
|
|
210
|
+
}
|
|
211
|
+
`),
|
|
212
|
+
new FN015015_FILE_config_typescript_json(true, `{
|
|
213
|
+
"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/typescript.json",
|
|
214
|
+
|
|
215
|
+
"staticAssetsToCopy": {
|
|
216
|
+
"fileExtensions": [".resx", ".jpg", ".png", ".woff", ".eot", ".ttf", ".svg", ".gif"],
|
|
217
|
+
|
|
218
|
+
"includeGlobs": ["webparts/*/loc/*.js"]
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
`),
|
|
222
|
+
new FN020001_RES_types_react('17.0.45'),
|
|
223
|
+
new FN021001_PKG_main(false),
|
|
224
|
+
new FN021004_PKG_scripts_build('heft test --clean'),
|
|
225
|
+
new FN021005_PKG_scripts_test('heft test'),
|
|
226
|
+
new FN021006_PKG_scripts_clean('heft clean'),
|
|
227
|
+
new FN021007_PKG_scripts_deploy('heft dev-deploy'),
|
|
228
|
+
new FN021008_PKG_scripts_start('heft start --clean'),
|
|
229
|
+
new FN021009_PKG_scripts_build_watch('heft build --lite'),
|
|
230
|
+
new FN021010_PKG_scripts_package_solution('heft package-solution'),
|
|
231
|
+
new FN021011_PKG_scripts_deploy_azure_storage('heft deploy-azure-storage'),
|
|
232
|
+
new FN021012_PKG_scripts_eject_webpack('heft eject-webpack'),
|
|
233
|
+
new FN021013_PKG_overrides_rushstack_heft('0.73.6'),
|
|
234
|
+
new FN023003_GITIGNORE_libdts(),
|
|
235
|
+
new FN023004_GITIGNORE_libcommonjs(),
|
|
236
|
+
new FN023005_GITIGNORE_libesm(),
|
|
237
|
+
new FN023006_GITIGNORE_jestoutput(),
|
|
238
|
+
new FN026001_CFG_SASS_schema('https://developer.microsoft.com/json-schemas/heft/v0/heft-sass-plugin.schema.json'),
|
|
239
|
+
new FN026002_CFG_SASS_extends('@microsoft/spfx-web-build-rig/profiles/default/config/sass.json')
|
|
240
|
+
];
|
|
241
|
+
//# sourceMappingURL=upgrade-1.22.0-beta.1.js.map
|
|
@@ -7,6 +7,8 @@ var _SpfxProjectUpgradeCommand_instances, _a, _SpfxProjectUpgradeCommand_initTel
|
|
|
7
7
|
import fs from 'fs';
|
|
8
8
|
import os from 'os';
|
|
9
9
|
import path from 'path';
|
|
10
|
+
// uncomment to support upgrading to preview releases
|
|
11
|
+
import { prerelease } from 'semver';
|
|
10
12
|
import { CommandError } from '../../../../Command.js';
|
|
11
13
|
import { fsUtil } from '../../../../utils/fsUtil.js';
|
|
12
14
|
import { packageManager } from '../../../../utils/packageManager.js';
|
|
@@ -75,7 +77,8 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
|
|
|
75
77
|
'1.19.0',
|
|
76
78
|
'1.20.0',
|
|
77
79
|
'1.21.0',
|
|
78
|
-
'1.21.1'
|
|
80
|
+
'1.21.1',
|
|
81
|
+
'1.22.0-beta.1'
|
|
79
82
|
];
|
|
80
83
|
__classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
|
|
81
84
|
__classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
|
|
@@ -88,15 +91,15 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
|
|
|
88
91
|
}
|
|
89
92
|
this.toVersion = args.options.toVersion ? args.options.toVersion : this.supportedVersions[this.supportedVersions.length - 1];
|
|
90
93
|
// uncomment to support upgrading to preview releases
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
if (!args.options.toVersion &&
|
|
95
|
+
!args.options.preview &&
|
|
96
|
+
prerelease(this.toVersion)) {
|
|
97
|
+
// no version and no preview specified while the current version to
|
|
98
|
+
// upgrade to is a prerelease so let's grab the first non-preview version
|
|
99
|
+
// since we're supporting only one preview version, it's sufficient for
|
|
100
|
+
// us to take second to last version
|
|
101
|
+
this.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
|
|
102
|
+
}
|
|
100
103
|
this.packageManager = args.options.packageManager || 'npm';
|
|
101
104
|
this.shell = args.options.shell || 'bash';
|
|
102
105
|
if (this.supportedVersions.indexOf(this.toVersion) < 0) {
|
|
@@ -485,9 +488,9 @@ _a = SpfxProjectUpgradeCommand, _SpfxProjectUpgradeCommand_instances = new WeakS
|
|
|
485
488
|
preview: args.options.preview
|
|
486
489
|
});
|
|
487
490
|
// uncomment to support upgrading to preview releases
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
+
if (prerelease(this.telemetryProperties.toVersion) && !args.options.preview) {
|
|
492
|
+
this.telemetryProperties.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
|
|
493
|
+
}
|
|
491
494
|
});
|
|
492
495
|
}, _SpfxProjectUpgradeCommand_initOptions = function _SpfxProjectUpgradeCommand_initOptions() {
|
|
493
496
|
this.options.unshift({
|
|
@@ -620,6 +620,17 @@ class SpfxDoctorCommand extends BaseProjectCommand {
|
|
|
620
620
|
range: '^4 || ^5',
|
|
621
621
|
fix: 'npm i -g yo@5'
|
|
622
622
|
}
|
|
623
|
+
},
|
|
624
|
+
'1.22.0-beta.1': {
|
|
625
|
+
node: {
|
|
626
|
+
range: '>=22.14.0 < 23.0.0',
|
|
627
|
+
fix: 'Install Node.js >=22.14.0 < 23.0.0'
|
|
628
|
+
},
|
|
629
|
+
sp: SharePointVersion.SPO,
|
|
630
|
+
yo: {
|
|
631
|
+
range: '^4 || ^5',
|
|
632
|
+
fix: 'npm i -g yo@5'
|
|
633
|
+
}
|
|
623
634
|
}
|
|
624
635
|
};
|
|
625
636
|
this.output = '';
|
|
@@ -801,6 +812,10 @@ class SpfxDoctorCommand extends BaseProjectCommand {
|
|
|
801
812
|
}
|
|
802
813
|
}
|
|
803
814
|
async checkGulpCli(prerequisites) {
|
|
815
|
+
if (!prerequisites.gulpCli) {
|
|
816
|
+
// gulp-cli is not required for this version of SPFx
|
|
817
|
+
return;
|
|
818
|
+
}
|
|
804
819
|
const gulpCliVersion = await this.getPackageVersion('gulp-cli', PackageSearchMode.GlobalOnly, HandlePromise.Continue);
|
|
805
820
|
if (gulpCliVersion) {
|
|
806
821
|
await this.checkStatus('gulp-cli', gulpCliVersion, prerequisites.gulpCli);
|
|
@@ -31,7 +31,7 @@ class SpoTenantSiteUnarchiveCommand extends SpoCommand {
|
|
|
31
31
|
await this.unarchiveSite(logger, args.options.url);
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
const result = await cli.promptForConfirmation({ message: `Are you sure you want to unarchive site '${args.options.url}'?
|
|
34
|
+
const result = await cli.promptForConfirmation({ message: `Are you sure you want to unarchive site '${args.options.url}'? You won't be able to rearchive this site for 120 days.` });
|
|
35
35
|
if (result) {
|
|
36
36
|
await this.unarchiveSite(logger, args.options.url);
|
|
37
37
|
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import commands from '../../commands.js';
|
|
4
|
+
import GraphApplicationCommand from '../../../base/GraphApplicationCommand.js';
|
|
5
|
+
import { validation } from '../../../../utils/validation.js';
|
|
6
|
+
import { entraUser } from '../../../../utils/entraUser.js';
|
|
7
|
+
import { odata } from '../../../../utils/odata.js';
|
|
8
|
+
const options = globalOptionsZod
|
|
9
|
+
.extend({
|
|
10
|
+
userId: z.string()
|
|
11
|
+
.refine((val) => validation.isValidGuid(val), {
|
|
12
|
+
message: 'Invalid GUID.'
|
|
13
|
+
}).optional(),
|
|
14
|
+
userName: z.string()
|
|
15
|
+
.refine((val) => validation.isValidUserPrincipalName(val), {
|
|
16
|
+
message: 'Invalid user principal name.'
|
|
17
|
+
}).optional(),
|
|
18
|
+
startDateTime: z.string()
|
|
19
|
+
.refine((val) => {
|
|
20
|
+
if (!validation.isValidISODateTime(val)) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
const date = new Date(val);
|
|
24
|
+
const maxDate = new Date();
|
|
25
|
+
const minDate = new Date();
|
|
26
|
+
minDate.setDate(maxDate.getDate() - 30);
|
|
27
|
+
return date >= minDate && date <= maxDate;
|
|
28
|
+
}, {
|
|
29
|
+
message: 'Date must be a valid ISO date within the last 30 days and not in the future.'
|
|
30
|
+
}).optional(),
|
|
31
|
+
endDateTime: z.string()
|
|
32
|
+
.refine((val) => {
|
|
33
|
+
if (!validation.isValidISODateTime(val)) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
const date = new Date(val);
|
|
37
|
+
const maxDate = new Date();
|
|
38
|
+
const minDate = new Date();
|
|
39
|
+
minDate.setDate(maxDate.getDate() - 30);
|
|
40
|
+
return date >= minDate && date <= maxDate;
|
|
41
|
+
}, {
|
|
42
|
+
message: 'Date must be a valid ISO date within the last 30 days and not in the future.'
|
|
43
|
+
}).optional()
|
|
44
|
+
})
|
|
45
|
+
.strict();
|
|
46
|
+
class TeamsCallRecordListCommand extends GraphApplicationCommand {
|
|
47
|
+
get name() {
|
|
48
|
+
return commands.CALLRECORD_LIST;
|
|
49
|
+
}
|
|
50
|
+
get description() {
|
|
51
|
+
return 'Lists all Teams calls within the tenant';
|
|
52
|
+
}
|
|
53
|
+
defaultProperties() {
|
|
54
|
+
return ['id', 'type', 'startDateTime', 'endDateTime'];
|
|
55
|
+
}
|
|
56
|
+
get schema() {
|
|
57
|
+
return options;
|
|
58
|
+
}
|
|
59
|
+
getRefinedSchema(schema) {
|
|
60
|
+
return schema
|
|
61
|
+
.refine((options) => [options.userId, options.userName].filter(o => o !== undefined).length <= 1, {
|
|
62
|
+
message: 'Use one of the following options: userId or userName but not both.'
|
|
63
|
+
})
|
|
64
|
+
.refine((options) => [options.startDateTime, options.endDateTime].filter(o => o !== undefined).length <= 1 || new Date(options.startDateTime) < new Date(options.endDateTime), {
|
|
65
|
+
message: 'Value of startDateTime, must be before endDateTime.'
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async commandAction(logger, args) {
|
|
69
|
+
try {
|
|
70
|
+
if (this.verbose) {
|
|
71
|
+
await logger.logToStderr(`Retrieving call records...`);
|
|
72
|
+
}
|
|
73
|
+
let apiUrl = `${this.resource}/v1.0/communications/callRecords`;
|
|
74
|
+
const filters = [];
|
|
75
|
+
if (args.options.userId || args.options.userName) {
|
|
76
|
+
let userId = args.options.userId;
|
|
77
|
+
if (args.options.userName) {
|
|
78
|
+
userId = await entraUser.getUserIdByUpn(args.options.userName);
|
|
79
|
+
}
|
|
80
|
+
filters.push(`participants_v2/any(p:p/id eq '${userId}')`);
|
|
81
|
+
}
|
|
82
|
+
if (args.options.startDateTime) {
|
|
83
|
+
filters.push(`startDateTime ge ${new Date(args.options.startDateTime).toISOString()}`);
|
|
84
|
+
}
|
|
85
|
+
if (args.options.endDateTime) {
|
|
86
|
+
filters.push(`startDateTime lt ${new Date(args.options.endDateTime).toISOString()}`);
|
|
87
|
+
}
|
|
88
|
+
if (filters.length > 0) {
|
|
89
|
+
apiUrl += `?$filter=${filters.join(' and ')}`;
|
|
90
|
+
}
|
|
91
|
+
const callRecords = await odata.getAllItems(apiUrl);
|
|
92
|
+
await logger.log(callRecords);
|
|
93
|
+
}
|
|
94
|
+
catch (err) {
|
|
95
|
+
this.handleRejectedODataJsonPromise(err);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export default new TeamsCallRecordListCommand();
|
|
100
|
+
//# sourceMappingURL=callrecord-list.js.map
|
|
@@ -12,8 +12,8 @@ import commands from '../../commands.js';
|
|
|
12
12
|
import { chatUtil } from './chatUtil.js';
|
|
13
13
|
import { cli } from '../../../../cli/cli.js';
|
|
14
14
|
import { formatting } from '../../../../utils/formatting.js';
|
|
15
|
-
import
|
|
16
|
-
class TeamsChatMessageSendCommand extends
|
|
15
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
16
|
+
class TeamsChatMessageSendCommand extends GraphDelegatedCommand {
|
|
17
17
|
get name() {
|
|
18
18
|
return commands.CHAT_MESSAGE_SEND;
|
|
19
19
|
}
|
|
@@ -9,9 +9,9 @@ import request from '../../../../request.js';
|
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
10
|
import { teams } from '../../../../utils/teams.js';
|
|
11
11
|
import { validation } from '../../../../utils/validation.js';
|
|
12
|
-
import
|
|
12
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
13
13
|
import commands from '../../commands.js';
|
|
14
|
-
class TeamsMessageRemoveCommand extends
|
|
14
|
+
class TeamsMessageRemoveCommand extends GraphDelegatedCommand {
|
|
15
15
|
get name() {
|
|
16
16
|
return commands.MESSAGE_REMOVE;
|
|
17
17
|
}
|
|
@@ -7,9 +7,9 @@ var _TeamsMessageRestoreCommand_instances, _TeamsMessageRestoreCommand_initTelem
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import { teams } from '../../../../utils/teams.js';
|
|
12
|
-
class TeamsMessageRestoreCommand extends
|
|
12
|
+
class TeamsMessageRestoreCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.MESSAGE_RESTORE;
|
|
15
15
|
}
|
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
APP_UNINSTALL: `${prefix} app uninstall`,
|
|
8
8
|
APP_UPDATE: `${prefix} app update`,
|
|
9
9
|
CACHE_REMOVE: `${prefix} cache remove`,
|
|
10
|
+
CALLRECORD_LIST: `${prefix} callrecord list`,
|
|
10
11
|
CHANNEL_ADD: `${prefix} channel add`,
|
|
11
12
|
CHANNEL_GET: `${prefix} channel get`,
|
|
12
13
|
CHANNEL_LIST: `${prefix} channel list`,
|
|
@@ -5,9 +5,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
5
5
|
};
|
|
6
6
|
var _TodoListAddCommand_instances, _TodoListAddCommand_initOptions;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
|
-
import
|
|
8
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
class TodoListAddCommand extends
|
|
10
|
+
class TodoListAddCommand extends GraphDelegatedCommand {
|
|
11
11
|
get name() {
|
|
12
12
|
return commands.LIST_ADD;
|
|
13
13
|
}
|
|
@@ -6,9 +6,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
6
6
|
var _TodoListGetCommand_instances, _TodoListGetCommand_initTelemetry, _TodoListGetCommand_initOptions, _TodoListGetCommand_initOptionSets;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
|
-
import
|
|
9
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
class TodoListGetCommand extends
|
|
11
|
+
class TodoListGetCommand extends GraphDelegatedCommand {
|
|
12
12
|
get name() {
|
|
13
13
|
return commands.LIST_GET;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { odata } from '../../../../utils/odata.js';
|
|
2
|
-
import
|
|
2
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
3
3
|
import commands from '../../commands.js';
|
|
4
|
-
class TodoListListCommand extends
|
|
4
|
+
class TodoListListCommand extends GraphDelegatedCommand {
|
|
5
5
|
get name() {
|
|
6
6
|
return commands.LIST_LIST;
|
|
7
7
|
}
|
|
@@ -7,9 +7,9 @@ var _TodoListRemoveCommand_instances, _TodoListRemoveCommand_initTelemetry, _Tod
|
|
|
7
7
|
import { cli } from '../../../../cli/cli.js';
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
class TodoListRemoveCommand extends
|
|
12
|
+
class TodoListRemoveCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.LIST_REMOVE;
|
|
15
15
|
}
|
|
@@ -6,9 +6,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
6
6
|
var _TodoListSetCommand_instances, _TodoListSetCommand_initTelemetry, _TodoListSetCommand_initOptions, _TodoListSetCommand_initOptionSets;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
|
-
import
|
|
9
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
class TodoListSetCommand extends
|
|
11
|
+
class TodoListSetCommand extends GraphDelegatedCommand {
|
|
12
12
|
get name() {
|
|
13
13
|
return commands.LIST_SET;
|
|
14
14
|
}
|
|
@@ -7,9 +7,9 @@ var _TodoTaskAddCommand_instances, _a, _TodoTaskAddCommand_initTelemetry, _TodoT
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
9
|
import { validation } from '../../../../utils/validation.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
class TodoTaskAddCommand extends
|
|
12
|
+
class TodoTaskAddCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.TASK_ADD;
|
|
15
15
|
}
|
|
@@ -7,9 +7,9 @@ var _TodoTaskGetCommand_instances, _TodoTaskGetCommand_initTelemetry, _TodoTaskG
|
|
|
7
7
|
import { cli } from '../../../../cli/cli.js';
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
class TodoTaskGetCommand extends
|
|
12
|
+
class TodoTaskGetCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.TASK_GET;
|
|
15
15
|
}
|
|
@@ -8,9 +8,9 @@ import { cli } from '../../../../cli/cli.js';
|
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
10
|
import { odata } from '../../../../utils/odata.js';
|
|
11
|
-
import
|
|
11
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
12
12
|
import commands from '../../commands.js';
|
|
13
|
-
class TodoTaskListCommand extends
|
|
13
|
+
class TodoTaskListCommand extends GraphDelegatedCommand {
|
|
14
14
|
get name() {
|
|
15
15
|
return commands.TASK_LIST;
|
|
16
16
|
}
|
|
@@ -7,9 +7,9 @@ var _TodoTaskRemoveCommand_instances, _TodoTaskRemoveCommand_initTelemetry, _Tod
|
|
|
7
7
|
import { cli } from '../../../../cli/cli.js';
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
class TodoTaskRemoveCommand extends
|
|
12
|
+
class TodoTaskRemoveCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.TASK_REMOVE;
|
|
15
15
|
}
|
|
@@ -7,9 +7,9 @@ var _TodoTaskSetCommand_instances, _TodoTaskSetCommand_initTelemetry, _TodoTaskS
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
9
|
import { validation } from '../../../../utils/validation.js';
|
|
10
|
-
import
|
|
10
|
+
import GraphDelegatedCommand from '../../../base/GraphDelegatedCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
class TodoTaskSetCommand extends
|
|
12
|
+
class TodoTaskSetCommand extends GraphDelegatedCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.TASK_SET;
|
|
15
15
|
}
|