datocms-plugin-sdk 0.6.0 → 0.6.1-alpha.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 +9 -0
- package/dist/types/types.d.ts +9 -0
- package/package.json +2 -2
- package/src/types.ts +9 -0
- package/types.json +634 -513
package/dist/esm/types.d.ts
CHANGED
|
@@ -1020,6 +1020,15 @@ export declare type ItemFormAdditionalProperties = {
|
|
|
1020
1020
|
isSubmitting: boolean;
|
|
1021
1021
|
/** Whether the form has some non-persisted changes or not */
|
|
1022
1022
|
isFormDirty: boolean;
|
|
1023
|
+
/** Current number of blocks present in form state */
|
|
1024
|
+
blocksUsage: {
|
|
1025
|
+
/** Total number of blocks */
|
|
1026
|
+
total: number;
|
|
1027
|
+
/** Total number of blocks present in non-localized fields */
|
|
1028
|
+
nonLocalized: number;
|
|
1029
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1030
|
+
perLocale: Record<string, number>;
|
|
1031
|
+
};
|
|
1023
1032
|
};
|
|
1024
1033
|
export declare type ItemFormProperties = RenderProperties & ItemFormAdditionalProperties;
|
|
1025
1034
|
/**
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1020,6 +1020,15 @@ export declare type ItemFormAdditionalProperties = {
|
|
|
1020
1020
|
isSubmitting: boolean;
|
|
1021
1021
|
/** Whether the form has some non-persisted changes or not */
|
|
1022
1022
|
isFormDirty: boolean;
|
|
1023
|
+
/** Current number of blocks present in form state */
|
|
1024
|
+
blocksUsage: {
|
|
1025
|
+
/** Total number of blocks */
|
|
1026
|
+
total: number;
|
|
1027
|
+
/** Total number of blocks present in non-localized fields */
|
|
1028
|
+
nonLocalized: number;
|
|
1029
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1030
|
+
perLocale: Record<string, number>;
|
|
1031
|
+
};
|
|
1023
1032
|
};
|
|
1024
1033
|
export declare type ItemFormProperties = RenderProperties & ItemFormAdditionalProperties;
|
|
1025
1034
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.6.0",
|
|
3
|
+
"version": "0.6.1-alpha.0",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typedoc": "^0.22.8"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "80123b3c20694d02580fde8f47e7e9228bdd2e5e"
|
|
47
47
|
}
|
package/src/types.ts
CHANGED
|
@@ -1108,6 +1108,15 @@ export type ItemFormAdditionalProperties = {
|
|
|
1108
1108
|
isSubmitting: boolean;
|
|
1109
1109
|
/** Whether the form has some non-persisted changes or not */
|
|
1110
1110
|
isFormDirty: boolean;
|
|
1111
|
+
/** Current number of blocks present in form state */
|
|
1112
|
+
blocksUsage: {
|
|
1113
|
+
/** Total number of blocks */
|
|
1114
|
+
total: number;
|
|
1115
|
+
/** Total number of blocks present in non-localized fields */
|
|
1116
|
+
nonLocalized: number;
|
|
1117
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1118
|
+
perLocale: Record<string, number>;
|
|
1119
|
+
};
|
|
1111
1120
|
};
|
|
1112
1121
|
|
|
1113
1122
|
export type ItemFormProperties = RenderProperties &
|