@pnp/cli-microsoft365 7.0.0-beta.2756488 → 7.0.0-beta.4bb805e
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/dist/Command.js +1 -1
- package/dist/cli/Cli.js +23 -8
- package/dist/m365/booking/commands/business/business-get.js +14 -15
- package/dist/m365/cli/commands/config/config-set.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +9 -47
- package/dist/m365/spo/commands/page/page-remove.js +33 -31
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +25 -23
- package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -3
- package/dist/m365/spo/commands/site/site-set.js +10 -2
- package/dist/utils/spo.js +74 -0
- package/docs/docs/_clisettings.mdx +1 -1
- package/docs/docs/cmd/_global.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +35 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
- package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
- package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-ensure.mdx +70 -0
- package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
- package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
- package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-list.mdx +303 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
- package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +4 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
- package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
- package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +4 -0
- package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
- package/npm-shrinkwrap.json +212 -212
- package/package.json +10 -10
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo theme apply
|
|
4
6
|
|
|
@@ -49,6 +51,39 @@ Apply a standard SharePoint theme to the specified site
|
|
|
49
51
|
m365 spo theme apply --name Blue --webUrl https://contoso.sharepoint.com/sites/project-x --sharePointTheme
|
|
50
52
|
```
|
|
51
53
|
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="JSON">
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
"/sites/team1/_catalogs/theme/Themed/BFCFD35C"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
<TabItem value="Text">
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
/sites/team1/_catalogs/theme/Themed/BFCFD35C
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
<TabItem value="CSV">
|
|
72
|
+
|
|
73
|
+
```csv
|
|
74
|
+
/sites/team1/_catalogs/theme/Themed/BFCFD35C
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
</TabItem>
|
|
78
|
+
<TabItem value="Markdown">
|
|
79
|
+
|
|
80
|
+
```md
|
|
81
|
+
/sites/team1/_catalogs/theme/Themed/BFCFD35C
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
</Tabs>
|
|
86
|
+
|
|
52
87
|
## More information
|
|
53
88
|
|
|
54
89
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo theme get
|
|
4
6
|
|
|
@@ -35,6 +37,78 @@ Get information about a theme
|
|
|
35
37
|
m365 spo theme get --name Contoso-Blue
|
|
36
38
|
```
|
|
37
39
|
|
|
40
|
+
## Response
|
|
41
|
+
|
|
42
|
+
<Tabs>
|
|
43
|
+
<TabItem value="JSON">
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"IsInverted": false,
|
|
48
|
+
"Name": "Contoso-Blue",
|
|
49
|
+
"Palette": {
|
|
50
|
+
"themePrimary": "#d81e05",
|
|
51
|
+
"themeLighterAlt": "#fdf5f4",
|
|
52
|
+
"themeLighter": "#f9d6d2",
|
|
53
|
+
"themeLight": "#f4b4ac",
|
|
54
|
+
"themeTertiary": "#e87060",
|
|
55
|
+
"themeSecondary": "#dd351e",
|
|
56
|
+
"themeDarkAlt": "#c31a04",
|
|
57
|
+
"themeDark": "#a51603",
|
|
58
|
+
"themeDarker": "#791002",
|
|
59
|
+
"neutralLighterAlt": "#eeeeee",
|
|
60
|
+
"neutralLighter": "#f5f5f5",
|
|
61
|
+
"neutralLight": "#e1e1e1",
|
|
62
|
+
"neutralQuaternaryAlt": "#d1d1d1",
|
|
63
|
+
"neutralQuaternary": "#c8c8c8",
|
|
64
|
+
"neutralTertiaryAlt": "#c0c0c0",
|
|
65
|
+
"neutralTertiary": "#c2c2c2",
|
|
66
|
+
"neutralSecondary": "#858585",
|
|
67
|
+
"neutralPrimaryAlt": "#4b4b4b",
|
|
68
|
+
"neutralPrimary": "#333333",
|
|
69
|
+
"neutralDark": "#272727",
|
|
70
|
+
"black": "#1d1d1d",
|
|
71
|
+
"white": "#f5f5f5"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="Text">
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
IsInverted: false
|
|
81
|
+
Name : Contoso-Blue
|
|
82
|
+
Palette : {"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
<TabItem value="CSV">
|
|
87
|
+
|
|
88
|
+
```csv
|
|
89
|
+
IsInverted,Name
|
|
90
|
+
,Contoso-Blue
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Markdown">
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# spo theme get --name "Contoso-Blue"
|
|
98
|
+
|
|
99
|
+
Date: 2023-06-22
|
|
100
|
+
|
|
101
|
+
## Contoso-Blue
|
|
102
|
+
|
|
103
|
+
Property | Value
|
|
104
|
+
---------|-------
|
|
105
|
+
IsInverted | false
|
|
106
|
+
Name | Contoso-Blue
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
</TabItem>
|
|
110
|
+
</Tabs>
|
|
111
|
+
|
|
38
112
|
## More information
|
|
39
113
|
|
|
40
114
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo theme list
|
|
4
6
|
|
|
@@ -30,6 +32,56 @@ List available themes
|
|
|
30
32
|
m365 spo theme list
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="JSON">
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"name": "Contoso-Blue",
|
|
44
|
+
"themeJson": "{\"isInverted\":false,\"name\":\"Contoso-Blue\",\"palette\":{\"themePrimary\":\"#d81e05\",\"themeLighterAlt\":\"#fdf5f4\",\"themeLighter\":\"#f9d6d2\",\"themeLight\":\"#f4b4ac\",\"themeTertiary\":\"#e87060\",\"themeSecondary\":\"#dd351e\",\"themeDarkAlt\":\"#c31a04\",\"themeDark\":\"#a51603\",\"themeDarker\":\"#791002\",\"neutralLighterAlt\":\"#eeeeee\",\"neutralLighter\":\"#f5f5f5\",\"neutralLight\":\"#e1e1e1\",\"neutralQuaternaryAlt\":\"#d1d1d1\",\"neutralQuaternary\":\"#c8c8c8\",\"neutralTertiaryAlt\":\"#c0c0c0\",\"neutralTertiary\":\"#c2c2c2\",\"neutralSecondary\":\"#858585\",\"neutralPrimaryAlt\":\"#4b4b4b\",\"neutralPrimary\":\"#333333\",\"neutralDark\":\"#272727\",\"black\":\"#1d1d1d\",\"white\":\"#f5f5f5\"}}"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
<TabItem value="Text">
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
name
|
|
54
|
+
--------------
|
|
55
|
+
Contoso-Blue
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
<TabItem value="CSV">
|
|
60
|
+
|
|
61
|
+
```csv
|
|
62
|
+
name,themeJson
|
|
63
|
+
Contoso-Blue,"{""isInverted"":false,""name"":""Contoso-Blue"",""palette"":{""themePrimary"":""#d81e05"",""themeLighterAlt"":""#fdf5f4"",""themeLighter"":""#f9d6d2"",""themeLight"":""#f4b4ac"",""themeTertiary"":""#e87060"",""themeSecondary"":""#dd351e"",""themeDarkAlt"":""#c31a04"",""themeDark"":""#a51603"",""themeDarker"":""#791002"",""neutralLighterAlt"":""#eeeeee"",""neutralLighter"":""#f5f5f5"",""neutralLight"":""#e1e1e1"",""neutralQuaternaryAlt"":""#d1d1d1"",""neutralQuaternary"":""#c8c8c8"",""neutralTertiaryAlt"":""#c0c0c0"",""neutralTertiary"":""#c2c2c2"",""neutralSecondary"":""#858585"",""neutralPrimaryAlt"":""#4b4b4b"",""neutralPrimary"":""#333333"",""neutralDark"":""#272727"",""black"":""#1d1d1d"",""white"":""#f5f5f5""}}"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
</TabItem>
|
|
67
|
+
<TabItem value="Markdown">
|
|
68
|
+
|
|
69
|
+
```md
|
|
70
|
+
# spo theme list
|
|
71
|
+
|
|
72
|
+
Date: 2023-06-22
|
|
73
|
+
|
|
74
|
+
## Contoso-Blue
|
|
75
|
+
|
|
76
|
+
Property | Value
|
|
77
|
+
---------|-------
|
|
78
|
+
name | Contoso-Blue
|
|
79
|
+
themeJson | {"isInverted":false,"name":"Contoso-Blue","palette":{"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
</TabItem>
|
|
83
|
+
</Tabs>
|
|
84
|
+
|
|
33
85
|
## More information
|
|
34
86
|
|
|
35
87
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -44,6 +44,10 @@ Remove theme without prompting for confirmation
|
|
|
44
44
|
m365 spo theme remove --name Contoso-Blue --force
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
50
|
+
|
|
47
51
|
## More information
|
|
48
52
|
|
|
49
53
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -85,6 +85,10 @@ Add or update an inverted theme from a theme JSON file
|
|
|
85
85
|
m365 spo theme set --name Contoso-Blue --theme @/Users/rjesh/themes/contoso-blue.json --isInverted
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
+
## Response
|
|
89
|
+
|
|
90
|
+
The command won't return a response on success.
|
|
91
|
+
|
|
88
92
|
## More information
|
|
89
93
|
|
|
90
94
|
- SharePoint site theming: [https://docs.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|