datocms-plugin-sdk 0.6.1-alpha.0 → 0.6.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 +11 -7
- package/dist/types/types.d.ts +11 -7
- package/package.json +2 -2
- package/src/types.ts +11 -7
- package/types.json +628 -564
package/dist/esm/types.d.ts
CHANGED
|
@@ -1021,13 +1021,17 @@ export declare type ItemFormAdditionalProperties = {
|
|
|
1021
1021
|
/** Whether the form has some non-persisted changes or not */
|
|
1022
1022
|
isFormDirty: boolean;
|
|
1023
1023
|
/** Current number of blocks present in form state */
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1024
|
+
blocksAnalysis: {
|
|
1025
|
+
usage: {
|
|
1026
|
+
/** Total number of blocks present in form state */
|
|
1027
|
+
total: number;
|
|
1028
|
+
/** Total number of blocks present in non-localized fields */
|
|
1029
|
+
nonLocalized: number;
|
|
1030
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1031
|
+
perLocale: Record<string, number>;
|
|
1032
|
+
};
|
|
1033
|
+
/** Maximum number of blocks per item */
|
|
1034
|
+
maximumPerItem: number;
|
|
1031
1035
|
};
|
|
1032
1036
|
};
|
|
1033
1037
|
export declare type ItemFormProperties = RenderProperties & ItemFormAdditionalProperties;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1021,13 +1021,17 @@ export declare type ItemFormAdditionalProperties = {
|
|
|
1021
1021
|
/** Whether the form has some non-persisted changes or not */
|
|
1022
1022
|
isFormDirty: boolean;
|
|
1023
1023
|
/** Current number of blocks present in form state */
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1024
|
+
blocksAnalysis: {
|
|
1025
|
+
usage: {
|
|
1026
|
+
/** Total number of blocks present in form state */
|
|
1027
|
+
total: number;
|
|
1028
|
+
/** Total number of blocks present in non-localized fields */
|
|
1029
|
+
nonLocalized: number;
|
|
1030
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1031
|
+
perLocale: Record<string, number>;
|
|
1032
|
+
};
|
|
1033
|
+
/** Maximum number of blocks per item */
|
|
1034
|
+
maximumPerItem: number;
|
|
1031
1035
|
};
|
|
1032
1036
|
};
|
|
1033
1037
|
export declare type ItemFormProperties = RenderProperties & ItemFormAdditionalProperties;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.6.1
|
|
3
|
+
"version": "0.6.1",
|
|
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": "7c31732f3f12b4514c69d76351e76e39b998af14"
|
|
47
47
|
}
|
package/src/types.ts
CHANGED
|
@@ -1109,13 +1109,17 @@ export type ItemFormAdditionalProperties = {
|
|
|
1109
1109
|
/** Whether the form has some non-persisted changes or not */
|
|
1110
1110
|
isFormDirty: boolean;
|
|
1111
1111
|
/** Current number of blocks present in form state */
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1112
|
+
blocksAnalysis: {
|
|
1113
|
+
usage: {
|
|
1114
|
+
/** Total number of blocks present in form state */
|
|
1115
|
+
total: number;
|
|
1116
|
+
/** Total number of blocks present in non-localized fields */
|
|
1117
|
+
nonLocalized: number;
|
|
1118
|
+
/** Total number of blocks present in localized fields, per locale */
|
|
1119
|
+
perLocale: Record<string, number>;
|
|
1120
|
+
};
|
|
1121
|
+
/** Maximum number of blocks per item */
|
|
1122
|
+
maximumPerItem: number;
|
|
1119
1123
|
};
|
|
1120
1124
|
};
|
|
1121
1125
|
|