datocms-plugin-sdk 0.3.34-alpha.3 → 0.4.0
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 +3 -4
- package/src/types.ts +1 -1
- package/types.json +311 -296
package/dist/esm/types.d.ts
CHANGED
|
@@ -1083,7 +1083,7 @@ export declare type ItemFormAdditionalMethods = {
|
|
|
1083
1083
|
* await ctx.saveCurrentItem();
|
|
1084
1084
|
* ```
|
|
1085
1085
|
*/
|
|
1086
|
-
saveCurrentItem: () => Promise<void>;
|
|
1086
|
+
saveCurrentItem: (showToast?: boolean) => Promise<void>;
|
|
1087
1087
|
};
|
|
1088
1088
|
export declare type ItemFormMethods = RenderMethods & IframeMethods & ItemFormAdditionalMethods;
|
|
1089
1089
|
/** Information regarding the specific sidebar panel that you need to render */
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1083,7 +1083,7 @@ export declare type ItemFormAdditionalMethods = {
|
|
|
1083
1083
|
* await ctx.saveCurrentItem();
|
|
1084
1084
|
* ```
|
|
1085
1085
|
*/
|
|
1086
|
-
saveCurrentItem: () => Promise<void>;
|
|
1086
|
+
saveCurrentItem: (showToast?: boolean) => Promise<void>;
|
|
1087
1087
|
};
|
|
1088
1088
|
export declare type ItemFormMethods = RenderMethods & IframeMethods & ItemFormAdditionalMethods;
|
|
1089
1089
|
/** Information regarding the specific sidebar panel that you need to render */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -36,12 +36,11 @@
|
|
|
36
36
|
"url": "https://github.com/datocms/plugins-sdk/issues"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"datocms-structured-text-utils": "
|
|
39
|
+
"datocms-structured-text-utils": "^2.0.0",
|
|
40
40
|
"penpal": "^4.1.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/react": "^17.0.3",
|
|
44
43
|
"typedoc": "^0.22.8"
|
|
45
44
|
},
|
|
46
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "e48ade32adaa43efd0a0cbb1a916a06df913271f"
|
|
47
46
|
}
|
package/src/types.ts
CHANGED
|
@@ -1173,7 +1173,7 @@ export type ItemFormAdditionalMethods = {
|
|
|
1173
1173
|
* await ctx.saveCurrentItem();
|
|
1174
1174
|
* ```
|
|
1175
1175
|
*/
|
|
1176
|
-
saveCurrentItem: () => Promise<void>;
|
|
1176
|
+
saveCurrentItem: (showToast?: boolean) => Promise<void>;
|
|
1177
1177
|
};
|
|
1178
1178
|
|
|
1179
1179
|
export type ItemFormMethods = RenderMethods &
|