datocms-plugin-sdk 0.8.2 → 1.0.0-alpha.1
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/esm/types.d.ts +3 -6
- package/dist/types/types.d.ts +3 -6
- package/package.json +2 -2
- package/src/types.ts +3 -15
- package/types.json +1089 -1109
package/dist/esm/types.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare type MainNavigationTab = {
|
|
|
71
71
|
*/
|
|
72
72
|
placement?: [
|
|
73
73
|
'before' | 'after',
|
|
74
|
-
'content' | '
|
|
74
|
+
'content' | 'media' | 'schema' | 'configuration' | 'cdaPlayground'
|
|
75
75
|
];
|
|
76
76
|
/**
|
|
77
77
|
* If different plugins specify the same `placement` for their tabs, they will
|
|
@@ -113,10 +113,7 @@ export declare type SettingsAreaSidebarItemGroup = {
|
|
|
113
113
|
* specified, the item will be placed after the standard items provided by
|
|
114
114
|
* DatoCMS itself.
|
|
115
115
|
*/
|
|
116
|
-
placement?: [
|
|
117
|
-
'before' | 'after',
|
|
118
|
-
('environment' | 'project' | 'permissions' | 'webhooks' | 'deployment' | 'sso' | 'auditLog' | 'usage')
|
|
119
|
-
];
|
|
116
|
+
placement?: ['before' | 'after', 'properties' | 'permissions'];
|
|
120
117
|
/**
|
|
121
118
|
* If different plugins specify the same `placement` for their sections, they
|
|
122
119
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|
|
@@ -149,7 +146,7 @@ export declare type ContentAreaSidebarItem = {
|
|
|
149
146
|
* specified, the item will be placed after the standard items provided by
|
|
150
147
|
* DatoCMS itself.
|
|
151
148
|
*/
|
|
152
|
-
placement?: ['before' | 'after', 'menuItems' | '
|
|
149
|
+
placement?: ['before' | 'after', 'menuItems' | 'seoPreferences'];
|
|
153
150
|
/**
|
|
154
151
|
* If different plugins specify the same `placement` for their panels, they
|
|
155
152
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|
package/dist/types/types.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare type MainNavigationTab = {
|
|
|
71
71
|
*/
|
|
72
72
|
placement?: [
|
|
73
73
|
'before' | 'after',
|
|
74
|
-
'content' | '
|
|
74
|
+
'content' | 'media' | 'schema' | 'configuration' | 'cdaPlayground'
|
|
75
75
|
];
|
|
76
76
|
/**
|
|
77
77
|
* If different plugins specify the same `placement` for their tabs, they will
|
|
@@ -113,10 +113,7 @@ export declare type SettingsAreaSidebarItemGroup = {
|
|
|
113
113
|
* specified, the item will be placed after the standard items provided by
|
|
114
114
|
* DatoCMS itself.
|
|
115
115
|
*/
|
|
116
|
-
placement?: [
|
|
117
|
-
'before' | 'after',
|
|
118
|
-
('environment' | 'project' | 'permissions' | 'webhooks' | 'deployment' | 'sso' | 'auditLog' | 'usage')
|
|
119
|
-
];
|
|
116
|
+
placement?: ['before' | 'after', 'properties' | 'permissions'];
|
|
120
117
|
/**
|
|
121
118
|
* If different plugins specify the same `placement` for their sections, they
|
|
122
119
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|
|
@@ -149,7 +146,7 @@ export declare type ContentAreaSidebarItem = {
|
|
|
149
146
|
* specified, the item will be placed after the standard items provided by
|
|
150
147
|
* DatoCMS itself.
|
|
151
148
|
*/
|
|
152
|
-
placement?: ['before' | 'after', 'menuItems' | '
|
|
149
|
+
placement?: ['before' | 'after', 'menuItems' | 'seoPreferences'];
|
|
153
150
|
/**
|
|
154
151
|
* If different plugins specify the same `placement` for their panels, they
|
|
155
152
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typedoc": "^0.23.20"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a523642c7188862c8431027e51ab479945dde5dd"
|
|
48
48
|
}
|
package/src/types.ts
CHANGED
|
@@ -74,7 +74,7 @@ export type MainNavigationTab = {
|
|
|
74
74
|
*/
|
|
75
75
|
placement?: [
|
|
76
76
|
'before' | 'after',
|
|
77
|
-
'content' | '
|
|
77
|
+
'content' | 'media' | 'schema' | 'configuration' | 'cdaPlayground',
|
|
78
78
|
];
|
|
79
79
|
/**
|
|
80
80
|
* If different plugins specify the same `placement` for their tabs, they will
|
|
@@ -118,19 +118,7 @@ export type SettingsAreaSidebarItemGroup = {
|
|
|
118
118
|
* specified, the item will be placed after the standard items provided by
|
|
119
119
|
* DatoCMS itself.
|
|
120
120
|
*/
|
|
121
|
-
placement?: [
|
|
122
|
-
'before' | 'after',
|
|
123
|
-
(
|
|
124
|
-
| 'environment'
|
|
125
|
-
| 'project'
|
|
126
|
-
| 'permissions'
|
|
127
|
-
| 'webhooks'
|
|
128
|
-
| 'deployment'
|
|
129
|
-
| 'sso'
|
|
130
|
-
| 'auditLog'
|
|
131
|
-
| 'usage'
|
|
132
|
-
),
|
|
133
|
-
];
|
|
121
|
+
placement?: ['before' | 'after', 'properties' | 'permissions'];
|
|
134
122
|
/**
|
|
135
123
|
* If different plugins specify the same `placement` for their sections, they
|
|
136
124
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|
|
@@ -164,7 +152,7 @@ export type ContentAreaSidebarItem = {
|
|
|
164
152
|
* specified, the item will be placed after the standard items provided by
|
|
165
153
|
* DatoCMS itself.
|
|
166
154
|
*/
|
|
167
|
-
placement?: ['before' | 'after', 'menuItems' | '
|
|
155
|
+
placement?: ['before' | 'after', 'menuItems' | 'seoPreferences'];
|
|
168
156
|
/**
|
|
169
157
|
* If different plugins specify the same `placement` for their panels, they
|
|
170
158
|
* will be displayed by ascending `rank`. If you want to specify an explicit
|