datocms-plugin-sdk 0.3.27 → 0.3.30
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 +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/types.ts +1 -1
- package/types.json +22 -13
package/dist/esm/types.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export declare type ManualFieldExtension = {
|
|
|
142
142
|
startOpen: boolean;
|
|
143
143
|
};
|
|
144
144
|
/** The type of fields that the field extension in compatible with */
|
|
145
|
-
fieldTypes: NonNullable<PluginAttributes['field_types']
|
|
145
|
+
fieldTypes: NonNullable<PluginAttributes['field_types']> | 'all';
|
|
146
146
|
/**
|
|
147
147
|
* Whether this field extension needs some configuration options before being
|
|
148
148
|
* installed in a field or not. Will trigger the
|
package/dist/types/types.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export declare type ManualFieldExtension = {
|
|
|
142
142
|
startOpen: boolean;
|
|
143
143
|
};
|
|
144
144
|
/** The type of fields that the field extension in compatible with */
|
|
145
|
-
fieldTypes: NonNullable<PluginAttributes['field_types']
|
|
145
|
+
fieldTypes: NonNullable<PluginAttributes['field_types']> | 'all';
|
|
146
146
|
/**
|
|
147
147
|
* Whether this field extension needs some configuration options before being
|
|
148
148
|
* installed in a field or not. Will trigger the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"typedoc": "^0.22.8"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ff419344f09be141cc04bf3e3cc28bd5f1d77903"
|
|
45
45
|
}
|
package/src/types.ts
CHANGED
|
@@ -164,7 +164,7 @@ export type ManualFieldExtension = {
|
|
|
164
164
|
*/
|
|
165
165
|
asSidebarPanel?: boolean | { startOpen: boolean };
|
|
166
166
|
/** The type of fields that the field extension in compatible with */
|
|
167
|
-
fieldTypes: NonNullable<PluginAttributes['field_types']
|
|
167
|
+
fieldTypes: NonNullable<PluginAttributes['field_types']> | 'all';
|
|
168
168
|
/**
|
|
169
169
|
* Whether this field extension needs some configuration options before being
|
|
170
170
|
* installed in a field or not. Will trigger the
|
package/types.json
CHANGED
|
@@ -7180,21 +7180,30 @@
|
|
|
7180
7180
|
}
|
|
7181
7181
|
],
|
|
7182
7182
|
"type": {
|
|
7183
|
-
"type": "
|
|
7184
|
-
"
|
|
7183
|
+
"type": "union",
|
|
7184
|
+
"types": [
|
|
7185
7185
|
{
|
|
7186
|
-
"type": "
|
|
7187
|
-
"
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7186
|
+
"type": "reference",
|
|
7187
|
+
"typeArguments": [
|
|
7188
|
+
{
|
|
7189
|
+
"type": "indexedAccess",
|
|
7190
|
+
"indexType": {
|
|
7191
|
+
"type": "literal",
|
|
7192
|
+
"value": "field_types"
|
|
7193
|
+
},
|
|
7194
|
+
"objectType": {
|
|
7195
|
+
"type": "reference",
|
|
7196
|
+
"name": "PluginAttributes"
|
|
7197
|
+
}
|
|
7198
|
+
}
|
|
7199
|
+
],
|
|
7200
|
+
"name": "NonNullable"
|
|
7201
|
+
},
|
|
7202
|
+
{
|
|
7203
|
+
"type": "literal",
|
|
7204
|
+
"value": "all"
|
|
7195
7205
|
}
|
|
7196
|
-
]
|
|
7197
|
-
"name": "NonNullable"
|
|
7206
|
+
]
|
|
7198
7207
|
}
|
|
7199
7208
|
},
|
|
7200
7209
|
{
|