datocms-plugin-sdk 0.5.1 → 0.5.2
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/connect.d.ts +2 -2
- package/dist/esm/types.d.ts +1 -1
- package/dist/types/connect.d.ts +2 -2
- package/dist/types/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/connect.ts +2 -2
- package/types.json +3 -3
package/dist/esm/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/esm/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/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.2",
|
|
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": "fa6d31e3af603e1b0dc362c1c16a0278748fb8cd"
|
|
47
47
|
}
|
package/src/connect.ts
CHANGED
|
@@ -144,7 +144,7 @@ export type FullConnectParameters = {
|
|
|
144
144
|
* Use this function to declare custom outlets to be shown at the top of the
|
|
145
145
|
* record's editing page
|
|
146
146
|
*
|
|
147
|
-
* @group
|
|
147
|
+
* @group itemFormOutlets
|
|
148
148
|
*/
|
|
149
149
|
itemFormOutlets: (itemType: ModelBlock, ctx: IntentCtx) => ItemFormOutlet[];
|
|
150
150
|
|
|
@@ -217,7 +217,7 @@ export type FullConnectParameters = {
|
|
|
217
217
|
* This function will be called when the plugin needs to render an outlet (see
|
|
218
218
|
* the `itemFormOutlets` function)
|
|
219
219
|
*
|
|
220
|
-
* @group
|
|
220
|
+
* @group itemFormOutlets
|
|
221
221
|
*/
|
|
222
222
|
renderItemFormOutlet: (
|
|
223
223
|
itemFormOutletId: string,
|
package/types.json
CHANGED
|
@@ -4120,7 +4120,7 @@
|
|
|
4120
4120
|
"tags": [
|
|
4121
4121
|
{
|
|
4122
4122
|
"tag": "group",
|
|
4123
|
-
"text": "
|
|
4123
|
+
"text": "itemFormOutlets\n"
|
|
4124
4124
|
}
|
|
4125
4125
|
]
|
|
4126
4126
|
},
|
|
@@ -4654,7 +4654,7 @@
|
|
|
4654
4654
|
"tags": [
|
|
4655
4655
|
{
|
|
4656
4656
|
"tag": "group",
|
|
4657
|
-
"text": "
|
|
4657
|
+
"text": "itemFormOutlets\n"
|
|
4658
4658
|
}
|
|
4659
4659
|
]
|
|
4660
4660
|
},
|
|
@@ -6654,7 +6654,7 @@
|
|
|
6654
6654
|
"isOptional": true
|
|
6655
6655
|
},
|
|
6656
6656
|
"comment": {
|
|
6657
|
-
"shortText": "The initial height to set for the iframe that will render the
|
|
6657
|
+
"shortText": "The initial height to set for the iframe that will render the outlet"
|
|
6658
6658
|
},
|
|
6659
6659
|
"sources": [
|
|
6660
6660
|
{
|