datocms-plugin-sdk 0.5.0 → 0.5.3
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/cjs/SiteApiSchema.js +0 -1
- package/dist/cjs/SiteApiSchema.js.map +1 -1
- package/dist/esm/SiteApiSchema.d.ts +1298 -634
- package/dist/esm/SiteApiSchema.js +0 -1
- package/dist/esm/SiteApiSchema.js.map +1 -1
- package/dist/esm/connect.d.ts +2 -2
- package/dist/esm/types.d.ts +1 -1
- package/dist/types/SiteApiSchema.d.ts +1298 -634
- package/dist/types/connect.d.ts +2 -2
- package/dist/types/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/SiteApiSchema.ts +1404 -741
- package/src/connect.ts +2 -2
- package/src/types.ts +1 -1
- package/types.json +73 -73
package/dist/types/connect.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare type FullConnectParameters = {
|
|
|
83
83
|
* Use this function to declare custom outlets to be shown at the top of the
|
|
84
84
|
* record's editing page
|
|
85
85
|
*
|
|
86
|
-
* @group
|
|
86
|
+
* @group itemFormOutlets
|
|
87
87
|
*/
|
|
88
88
|
itemFormOutlets: (itemType: ModelBlock, ctx: IntentCtx) => ItemFormOutlet[];
|
|
89
89
|
/**
|
|
@@ -140,7 +140,7 @@ export declare type FullConnectParameters = {
|
|
|
140
140
|
* This function will be called when the plugin needs to render an outlet (see
|
|
141
141
|
* the `itemFormOutlets` function)
|
|
142
142
|
*
|
|
143
|
-
* @group
|
|
143
|
+
* @group itemFormOutlets
|
|
144
144
|
*/
|
|
145
145
|
renderItemFormOutlet: (itemFormOutletId: string, ctx: RenderItemFormOutletCtx) => void;
|
|
146
146
|
/**
|
package/dist/types/types.d.ts
CHANGED
|
@@ -209,7 +209,7 @@ export declare type ItemFormOutlet = {
|
|
|
209
209
|
* value you choose might clash with the one of another plugin!
|
|
210
210
|
*/
|
|
211
211
|
rank?: number;
|
|
212
|
-
/** The initial height to set for the iframe that will render the
|
|
212
|
+
/** The initial height to set for the iframe that will render the outlet */
|
|
213
213
|
initialHeight?: number;
|
|
214
214
|
};
|
|
215
215
|
/** A field editor/sidebar forced on a field */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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": "9eb83096fe166cc59d3c9713b337e97a71fcf5bb"
|
|
47
47
|
}
|