datocms-plugin-sdk 0.7.12 → 0.7.14
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 -1
- package/dist/types/types.d.ts +3 -1
- package/package.json +2 -2
- package/src/types.ts +3 -1
- package/types.json +992 -946
package/dist/esm/types.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export declare type ManualFieldExtension = {
|
|
|
199
199
|
};
|
|
200
200
|
export declare type ItemFormSidebarPanelPlacement = [
|
|
201
201
|
'before' | 'after',
|
|
202
|
-
'info' | '
|
|
202
|
+
'info' | 'publishedVersion' | 'schedule' | 'links' | 'history'
|
|
203
203
|
];
|
|
204
204
|
/** A sidebar panel to be shown inside the record's editing page */
|
|
205
205
|
export declare type ItemFormSidebarPanel = {
|
|
@@ -1356,6 +1356,8 @@ export declare type NewUploadResourceAsUrl = {
|
|
|
1356
1356
|
* all hosts — allowing the image to be read by DatoCMS
|
|
1357
1357
|
*/
|
|
1358
1358
|
url: string;
|
|
1359
|
+
/** Any additional headers to pass when making the request to the URL */
|
|
1360
|
+
headers?: Record<string, string>;
|
|
1359
1361
|
/**
|
|
1360
1362
|
* Optional filename to be used to generate the final DatoCMS URL. If not
|
|
1361
1363
|
* passed, the URL will be used
|
package/dist/types/types.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export declare type ManualFieldExtension = {
|
|
|
199
199
|
};
|
|
200
200
|
export declare type ItemFormSidebarPanelPlacement = [
|
|
201
201
|
'before' | 'after',
|
|
202
|
-
'info' | '
|
|
202
|
+
'info' | 'publishedVersion' | 'schedule' | 'links' | 'history'
|
|
203
203
|
];
|
|
204
204
|
/** A sidebar panel to be shown inside the record's editing page */
|
|
205
205
|
export declare type ItemFormSidebarPanel = {
|
|
@@ -1356,6 +1356,8 @@ export declare type NewUploadResourceAsUrl = {
|
|
|
1356
1356
|
* all hosts — allowing the image to be read by DatoCMS
|
|
1357
1357
|
*/
|
|
1358
1358
|
url: string;
|
|
1359
|
+
/** Any additional headers to pass when making the request to the URL */
|
|
1360
|
+
headers?: Record<string, string>;
|
|
1359
1361
|
/**
|
|
1360
1362
|
* Optional filename to be used to generate the final DatoCMS URL. If not
|
|
1361
1363
|
* passed, the URL will be used
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typedoc": "^0.23.20"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "a188d1f61b01b6a30772d52f52e7b4b1b23b0b3a"
|
|
47
47
|
}
|
package/src/types.ts
CHANGED
|
@@ -246,7 +246,7 @@ export type ManualFieldExtension = {
|
|
|
246
246
|
|
|
247
247
|
export type ItemFormSidebarPanelPlacement = [
|
|
248
248
|
'before' | 'after',
|
|
249
|
-
'info' | '
|
|
249
|
+
'info' | 'publishedVersion' | 'schedule' | 'links' | 'history',
|
|
250
250
|
];
|
|
251
251
|
|
|
252
252
|
/** A sidebar panel to be shown inside the record's editing page */
|
|
@@ -1506,6 +1506,8 @@ export type NewUploadResourceAsUrl = {
|
|
|
1506
1506
|
* all hosts — allowing the image to be read by DatoCMS
|
|
1507
1507
|
*/
|
|
1508
1508
|
url: string;
|
|
1509
|
+
/** Any additional headers to pass when making the request to the URL */
|
|
1510
|
+
headers?: Record<string, string>;
|
|
1509
1511
|
/**
|
|
1510
1512
|
* Optional filename to be used to generate the final DatoCMS URL. If not
|
|
1511
1513
|
* passed, the URL will be used
|