datocms-plugin-sdk 2.0.11 → 2.0.13

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.
Files changed (41) hide show
  1. package/dist/cjs/connect.js.map +1 -1
  2. package/dist/cjs/hooks/executeSchemaItemTypeDropdownAction.js +3 -0
  3. package/dist/cjs/hooks/executeSchemaItemTypeDropdownAction.js.map +1 -0
  4. package/dist/cjs/hooks/renderPage.js.map +1 -1
  5. package/dist/cjs/hooks/schemaItemTypeDropdownActions.js +3 -0
  6. package/dist/cjs/hooks/schemaItemTypeDropdownActions.js.map +1 -0
  7. package/dist/cjs/index.js +2 -0
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/manifest.js +110 -28
  10. package/dist/cjs/manifest.js.map +1 -1
  11. package/dist/esm/connect.d.ts +3 -1
  12. package/dist/esm/connect.js.map +1 -1
  13. package/dist/esm/ctx/base.d.ts +2 -0
  14. package/dist/esm/hooks/executeSchemaItemTypeDropdownAction.d.ts +20 -0
  15. package/dist/esm/hooks/executeSchemaItemTypeDropdownAction.js +2 -0
  16. package/dist/esm/hooks/executeSchemaItemTypeDropdownAction.js.map +1 -0
  17. package/dist/esm/hooks/renderPage.d.ts +6 -0
  18. package/dist/esm/hooks/renderPage.js.map +1 -1
  19. package/dist/esm/hooks/schemaItemTypeDropdownActions.d.ts +17 -0
  20. package/dist/esm/hooks/schemaItemTypeDropdownActions.js +2 -0
  21. package/dist/esm/hooks/schemaItemTypeDropdownActions.js.map +1 -0
  22. package/dist/esm/index.d.ts +2 -0
  23. package/dist/esm/index.js +2 -0
  24. package/dist/esm/index.js.map +1 -1
  25. package/dist/esm/manifest.js +110 -28
  26. package/dist/esm/manifest.js.map +1 -1
  27. package/dist/types/connect.d.ts +3 -1
  28. package/dist/types/ctx/base.d.ts +2 -0
  29. package/dist/types/hooks/executeSchemaItemTypeDropdownAction.d.ts +20 -0
  30. package/dist/types/hooks/renderPage.d.ts +6 -0
  31. package/dist/types/hooks/schemaItemTypeDropdownActions.d.ts +17 -0
  32. package/dist/types/index.d.ts +2 -0
  33. package/manifest.json +110 -28
  34. package/package.json +2 -2
  35. package/src/connect.ts +4 -0
  36. package/src/ctx/base.ts +3 -0
  37. package/src/hooks/executeSchemaItemTypeDropdownAction.ts +24 -0
  38. package/src/hooks/renderPage.ts +7 -0
  39. package/src/hooks/schemaItemTypeDropdownActions.ts +22 -0
  40. package/src/index.ts +2 -0
  41. package/src/manifest.ts +113 -28
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/connect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HA,0BAsJC;AAlRD,+EAAyD;AA0BzD,+DAGmC;AACnC,iEAGoC;AACpC,qEAGsC;AACtC,iFAG4C;AAC5C,qEAGsC;AACtC,uEAGuC;AACvC,iFAG4C;AAC5C,yGAGwD;AACxD,mDAA+E;AAC/E,iDAA4E;AAC5E,mEAGqC;AACrC,6EAG0C;AAM1C,iCAKiB;AA8CjB,SAAsB,OAAO;wDAC3B,gBAAqD;;QAArD,iCAAA,EAAA,qBAAqD;;;;oBAEjD,gBAAgB,GAAwC,IAAI,CAAC;oBAE7D,gCAAgC,GAQzB,IAAI,CAAC;oBAEV,aAAa,yBACd,gBAAgB,KACnB,uBAAuB,EAAE,IAAA,8CAAsC,EAC7D,gBAAgB,CAAC,uBAAuB,CACzC,EACD,iCAAiC,EAAE,IAAA,8CAAsC,EACvE,gBAAgB,CAAC,iCAAiC,CACnD,EACD,uCAAuC,EACrC,IAAA,8CAAsC,EACpC,gBAAgB,CAAC,uCAAuC,CACzD,GACJ,CAAC;oBAEI,gBAAgB,GAAG,IAAA,yBAAe,EAAC;wBACvC,OAAO,sBACL,UAAU,EAAE,cAAM,OAAA,OAAO,EAAP,CAAO,EACzB,gBAAgB,EAAE;gCAChB,OAAA,MAAM,CAAC,WAAW,C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AAC,CAAC;wBAEvE,IAAI,MAAM,EAAE,CAAC;4BACX,gBAAgB,GAAG,MAAM,CAAC;4BAC1B,MAAM;wBACR,CAAC;oBACH,CAAC;;;;;CACF"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=executeSchemaItemTypeDropdownAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executeSchemaItemTypeDropdownAction.js","sourceRoot":"","sources":["../../../src/hooks/executeSchemaItemTypeDropdownAction.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"renderPage.js","sourceRoot":"","sources":["../../../src/hooks/renderPage.ts"],"names":[],"mappings":";;;AACA,kCAA4D;AAqB/C,QAAA,sBAAsB,GACjC,IAAA,wCAAgC,EAC9B,YAAY,EACZ,UAAC,aAAa,EAAE,GAAG;IACjB,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC;QAC9B,OAAO;IACT,CAAC;IAED,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC5C,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"renderPage.js","sourceRoot":"","sources":["../../../src/hooks/renderPage.ts"],"names":[],"mappings":";;;AACA,kCAA4D;AA4B/C,QAAA,sBAAsB,GACjC,IAAA,wCAAgC,EAC9B,YAAY,EACZ,UAAC,aAAa,EAAE,GAAG;IACjB,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC;QAC9B,OAAO;IACT,CAAC;IAED,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC5C,CAAC,CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=schemaItemTypeDropdownActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemaItemTypeDropdownActions.js","sourceRoot":"","sources":["../../../src/hooks/schemaItemTypeDropdownActions.ts"],"names":[],"mappings":""}
package/dist/cjs/index.js CHANGED
@@ -28,6 +28,7 @@ __exportStar(require("./hooks/customMarksForStructuredTextField"), exports);
28
28
  __exportStar(require("./hooks/executeFieldDropdownAction"), exports);
29
29
  __exportStar(require("./hooks/executeItemFormDropdownAction"), exports);
30
30
  __exportStar(require("./hooks/executeItemsDropdownAction"), exports);
31
+ __exportStar(require("./hooks/executeSchemaItemTypeDropdownAction"), exports);
31
32
  __exportStar(require("./hooks/executeUploadsDropdownAction"), exports);
32
33
  __exportStar(require("./hooks/fieldDropdownActions"), exports);
33
34
  __exportStar(require("./hooks/initialLocationQueryForItemSelector"), exports);
@@ -57,6 +58,7 @@ __exportStar(require("./hooks/renderModal"), exports);
57
58
  __exportStar(require("./hooks/renderPage"), exports);
58
59
  __exportStar(require("./hooks/renderUploadSidebar"), exports);
59
60
  __exportStar(require("./hooks/renderUploadSidebarPanel"), exports);
61
+ __exportStar(require("./hooks/schemaItemTypeDropdownActions"), exports);
60
62
  __exportStar(require("./hooks/settingsAreaSidebarItemGroups"), exports);
61
63
  __exportStar(require("./hooks/uploadsDropdownActions"), exports);
62
64
  __exportStar(require("./hooks/uploadSidebarPanels"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAaA,4CAA0B;AAC1B,6CAA2B;AAC3B,2DAAyC;AACzC,8DAA4C;AAC5C,4DAA0C;AAC1C,oDAAkC;AAClC,uDAAqC;AACrC,oEAAkD;AAClD,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,qEAAmD;AACnD,wEAAsD;AACtD,qEAAmD;AACnD,uEAAqD;AACrD,+DAA6C;AAC7C,8EAA4D;AAC5D,gEAA8C;AAC9C,kEAAgD;AAChD,0DAAwC;AACxC,gEAA8C;AAC9C,2DAAyC;AACzC,+DAA6C;AAC7C,6DAA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AAuC;AACvC,iFAA+D;AAC/D,yCAAuB;AACvB,6CAA2B;AAC3B,2CAAyB"}
@@ -97,6 +97,29 @@ exports.manifest = {
97
97
  lineNumber: 19,
98
98
  },
99
99
  },
100
+ schemaItemTypeDropdownActions: {
101
+ name: 'schemaItemTypeDropdownActions',
102
+ comment: {
103
+ markdownText: 'Use this function to define custom actions (or groups of actions) for a model/block model in the Schema section.\n\nThe `executeSchemaItemTypeDropdownAction()` hook will be triggered once the user\nclicks on one of the defined actions.',
104
+ tag: 'dropdownActions',
105
+ },
106
+ nonCtxArguments: [
107
+ {
108
+ name: 'itemType',
109
+ typeName: 'ItemType',
110
+ },
111
+ ],
112
+ ctxArgument: {
113
+ type: 'Ctx',
114
+ additionalProperties: [],
115
+ additionalMethods: [],
116
+ },
117
+ returnType: 'Array<DropdownAction | DropdownActionGroup>',
118
+ location: {
119
+ filePath: 'src/hooks/schemaItemTypeDropdownActions.ts',
120
+ lineNumber: 16,
121
+ },
122
+ },
100
123
  renderUploadSidebarPanel: {
101
124
  name: 'renderUploadSidebarPanel',
102
125
  comment: {
@@ -240,6 +263,16 @@ exports.manifest = {
240
263
  },
241
264
  type: 'string',
242
265
  },
266
+ location: {
267
+ comment: {
268
+ markdownText: 'Current page location.',
269
+ },
270
+ location: {
271
+ filePath: 'src/hooks/renderPage.ts',
272
+ lineNumber: 22,
273
+ },
274
+ type: '{\n pathname: string;\n search: string;\n hash: string;\n }',
275
+ },
243
276
  },
244
277
  },
245
278
  ],
@@ -2137,6 +2170,45 @@ exports.manifest = {
2137
2170
  lineNumber: 13,
2138
2171
  },
2139
2172
  },
2173
+ executeSchemaItemTypeDropdownAction: {
2174
+ name: 'executeSchemaItemTypeDropdownAction',
2175
+ comment: {
2176
+ markdownText: 'Use this function to execute a particular dropdown action defined via\nthe `schemaItemTypeDropdownActions()` hook.',
2177
+ tag: 'dropdownActions',
2178
+ },
2179
+ nonCtxArguments: [
2180
+ {
2181
+ name: 'actionId',
2182
+ typeName: 'string',
2183
+ },
2184
+ {
2185
+ name: 'itemType',
2186
+ typeName: 'ItemType',
2187
+ },
2188
+ ],
2189
+ ctxArgument: {
2190
+ type: 'Ctx',
2191
+ additionalProperties: [
2192
+ {
2193
+ items: {
2194
+ parameters: {
2195
+ location: {
2196
+ filePath: 'src/hooks/executeSchemaItemTypeDropdownAction.ts',
2197
+ lineNumber: 23,
2198
+ },
2199
+ type: 'Record<string, unknown> | undefined',
2200
+ },
2201
+ },
2202
+ },
2203
+ ],
2204
+ additionalMethods: [],
2205
+ },
2206
+ returnType: 'Promise<void>',
2207
+ location: {
2208
+ filePath: 'src/hooks/executeSchemaItemTypeDropdownAction.ts',
2209
+ lineNumber: 13,
2210
+ },
2211
+ },
2140
2212
  executeItemsDropdownAction: {
2141
2213
  name: 'executeItemsDropdownAction',
2142
2214
  comment: {
@@ -2863,13 +2935,23 @@ exports.manifest = {
2863
2935
  },
2864
2936
  type: 'string',
2865
2937
  },
2938
+ isEnvironmentPrimary: {
2939
+ comment: {
2940
+ markdownText: 'Whether the current environment is the primary one.',
2941
+ },
2942
+ location: {
2943
+ filePath: 'src/ctx/base.ts',
2944
+ lineNumber: 64,
2945
+ },
2946
+ type: 'boolean',
2947
+ },
2866
2948
  owner: {
2867
2949
  comment: {
2868
2950
  markdownText: 'The account/organization that is the project owner.',
2869
2951
  },
2870
2952
  location: {
2871
2953
  filePath: 'src/ctx/base.ts',
2872
- lineNumber: 64,
2954
+ lineNumber: 67,
2873
2955
  },
2874
2956
  type: 'Account | Organization',
2875
2957
  },
@@ -2880,7 +2962,7 @@ exports.manifest = {
2880
2962
  },
2881
2963
  location: {
2882
2964
  filePath: 'src/ctx/base.ts',
2883
- lineNumber: 72,
2965
+ lineNumber: 75,
2884
2966
  },
2885
2967
  type: 'Account | undefined',
2886
2968
  },
@@ -2890,7 +2972,7 @@ exports.manifest = {
2890
2972
  },
2891
2973
  location: {
2892
2974
  filePath: 'src/ctx/base.ts',
2893
- lineNumber: 78,
2975
+ lineNumber: 81,
2894
2976
  },
2895
2977
  type: '{\n /** Preferred locale */\n locale: string;\n }',
2896
2978
  },
@@ -2900,7 +2982,7 @@ exports.manifest = {
2900
2982
  },
2901
2983
  location: {
2902
2984
  filePath: 'src/ctx/base.ts',
2903
- lineNumber: 84,
2985
+ lineNumber: 87,
2904
2986
  },
2905
2987
  type: 'Theme',
2906
2988
  },
@@ -2918,7 +3000,7 @@ exports.manifest = {
2918
3000
  },
2919
3001
  location: {
2920
3002
  filePath: 'src/ctx/base.ts',
2921
- lineNumber: 94,
3003
+ lineNumber: 97,
2922
3004
  },
2923
3005
  type: 'Partial<Record<string, ItemType>>',
2924
3006
  },
@@ -2928,7 +3010,7 @@ exports.manifest = {
2928
3010
  },
2929
3011
  location: {
2930
3012
  filePath: 'src/ctx/base.ts',
2931
- lineNumber: 101,
3013
+ lineNumber: 104,
2932
3014
  },
2933
3015
  type: 'Partial<Record<string, Field>>',
2934
3016
  },
@@ -2938,7 +3020,7 @@ exports.manifest = {
2938
3020
  },
2939
3021
  location: {
2940
3022
  filePath: 'src/ctx/base.ts',
2941
- lineNumber: 108,
3023
+ lineNumber: 111,
2942
3024
  },
2943
3025
  type: 'Partial<Record<string, Fieldset>>',
2944
3026
  },
@@ -2948,7 +3030,7 @@ exports.manifest = {
2948
3030
  },
2949
3031
  location: {
2950
3032
  filePath: 'src/ctx/base.ts',
2951
- lineNumber: 115,
3033
+ lineNumber: 118,
2952
3034
  },
2953
3035
  type: 'Partial<Record<string, User>>',
2954
3036
  },
@@ -2958,7 +3040,7 @@ exports.manifest = {
2958
3040
  },
2959
3041
  location: {
2960
3042
  filePath: 'src/ctx/base.ts',
2961
- lineNumber: 122,
3043
+ lineNumber: 125,
2962
3044
  },
2963
3045
  type: 'Partial<Record<string, SsoUser>>',
2964
3046
  },
@@ -2979,7 +3061,7 @@ exports.manifest = {
2979
3061
  },
2980
3062
  location: {
2981
3063
  filePath: 'src/ctx/base.ts',
2982
- lineNumber: 165,
3064
+ lineNumber: 168,
2983
3065
  },
2984
3066
  type: '(itemTypeId: string) => Promise<Field[]>',
2985
3067
  },
@@ -2990,7 +3072,7 @@ exports.manifest = {
2990
3072
  },
2991
3073
  location: {
2992
3074
  filePath: 'src/ctx/base.ts',
2993
- lineNumber: 184,
3075
+ lineNumber: 187,
2994
3076
  },
2995
3077
  type: '(itemTypeId: string) => Promise<Fieldset[]>',
2996
3078
  },
@@ -3001,7 +3083,7 @@ exports.manifest = {
3001
3083
  },
3002
3084
  location: {
3003
3085
  filePath: 'src/ctx/base.ts',
3004
- lineNumber: 201,
3086
+ lineNumber: 204,
3005
3087
  },
3006
3088
  type: '() => Promise<Field[]>',
3007
3089
  },
@@ -3012,7 +3094,7 @@ exports.manifest = {
3012
3094
  },
3013
3095
  location: {
3014
3096
  filePath: 'src/ctx/base.ts',
3015
- lineNumber: 214,
3097
+ lineNumber: 217,
3016
3098
  },
3017
3099
  type: '() => Promise<User[]>',
3018
3100
  },
@@ -3023,7 +3105,7 @@ exports.manifest = {
3023
3105
  },
3024
3106
  location: {
3025
3107
  filePath: 'src/ctx/base.ts',
3026
- lineNumber: 227,
3108
+ lineNumber: 230,
3027
3109
  },
3028
3110
  type: '() => Promise<SsoUser[]>',
3029
3111
  },
@@ -3042,7 +3124,7 @@ exports.manifest = {
3042
3124
  },
3043
3125
  location: {
3044
3126
  filePath: 'src/ctx/base.ts',
3045
- lineNumber: 249,
3127
+ lineNumber: 252,
3046
3128
  },
3047
3129
  type: '(params: Record<string, unknown>) => Promise<void>',
3048
3130
  },
@@ -3053,7 +3135,7 @@ exports.manifest = {
3053
3135
  },
3054
3136
  location: {
3055
3137
  filePath: 'src/ctx/base.ts',
3056
- lineNumber: 300,
3138
+ lineNumber: 303,
3057
3139
  },
3058
3140
  type: '(\n fieldId: string,\n changes: FieldAppearanceChange[],\n ) => Promise<void>',
3059
3141
  },
@@ -3072,7 +3154,7 @@ exports.manifest = {
3072
3154
  },
3073
3155
  location: {
3074
3156
  filePath: 'src/ctx/base.ts',
3075
- lineNumber: 405,
3157
+ lineNumber: 408,
3076
3158
  },
3077
3159
  type: '(message: string) => Promise<void>',
3078
3160
  },
@@ -3083,7 +3165,7 @@ exports.manifest = {
3083
3165
  },
3084
3166
  location: {
3085
3167
  filePath: 'src/ctx/base.ts',
3086
- lineNumber: 420,
3168
+ lineNumber: 423,
3087
3169
  },
3088
3170
  type: '(message: string) => Promise<void>',
3089
3171
  },
@@ -3094,7 +3176,7 @@ exports.manifest = {
3094
3176
  },
3095
3177
  location: {
3096
3178
  filePath: 'src/ctx/base.ts',
3097
- lineNumber: 444,
3179
+ lineNumber: 447,
3098
3180
  },
3099
3181
  type: '<CtaValue = unknown>(\n toast: Toast<CtaValue>,\n ) => Promise<CtaValue | null>',
3100
3182
  },
@@ -3113,7 +3195,7 @@ exports.manifest = {
3113
3195
  },
3114
3196
  location: {
3115
3197
  filePath: 'src/ctx/base.ts',
3116
- lineNumber: 330,
3198
+ lineNumber: 333,
3117
3199
  },
3118
3200
  type: '(itemTypeId: string) => Promise<Item | null>',
3119
3201
  },
@@ -3124,7 +3206,7 @@ exports.manifest = {
3124
3206
  },
3125
3207
  location: {
3126
3208
  filePath: 'src/ctx/base.ts',
3127
- lineNumber: 351,
3209
+ lineNumber: 354,
3128
3210
  },
3129
3211
  type: '{\n (\n itemTypeId: string,\n options: { multiple: true; initialLocationQuery?: ItemListLocationQuery },\n ): Promise<Item[] | null>;\n (\n itemTypeId: string,\n options?: {\n multiple: false;\n initialLocationQuery?: ItemListLocationQuery;\n },\n ): Promise<Item | null>;\n }',
3130
3212
  },
@@ -3135,7 +3217,7 @@ exports.manifest = {
3135
3217
  },
3136
3218
  location: {
3137
3219
  filePath: 'src/ctx/base.ts',
3138
- lineNumber: 383,
3220
+ lineNumber: 386,
3139
3221
  },
3140
3222
  type: '(itemId: string) => Promise<Item | null>',
3141
3223
  },
@@ -3154,7 +3236,7 @@ exports.manifest = {
3154
3236
  },
3155
3237
  location: {
3156
3238
  filePath: 'src/ctx/base.ts',
3157
- lineNumber: 471,
3239
+ lineNumber: 474,
3158
3240
  },
3159
3241
  type: '{\n (options: { multiple: true }): Promise<Upload[] | null>;\n (options?: { multiple: false }): Promise<Upload | null>;\n }',
3160
3242
  },
@@ -3165,7 +3247,7 @@ exports.manifest = {
3165
3247
  },
3166
3248
  location: {
3167
3249
  filePath: 'src/ctx/base.ts',
3168
- lineNumber: 499,
3250
+ lineNumber: 502,
3169
3251
  },
3170
3252
  type: '(\n uploadId: string,\n ) => Promise<(Upload & { deleted?: true }) | null>',
3171
3253
  },
@@ -3176,7 +3258,7 @@ exports.manifest = {
3176
3258
  },
3177
3259
  location: {
3178
3260
  filePath: 'src/ctx/base.ts',
3179
- lineNumber: 527,
3261
+ lineNumber: 530,
3180
3262
  },
3181
3263
  type: '(\n /** The "single asset" field structure */\n fileFieldValue: FileFieldValue,\n /** Shows metadata information for a specific locale */\n locale?: string,\n ) => Promise<FileFieldValue | null>',
3182
3264
  },
@@ -3195,7 +3277,7 @@ exports.manifest = {
3195
3277
  },
3196
3278
  location: {
3197
3279
  filePath: 'src/ctx/base.ts',
3198
- lineNumber: 558,
3280
+ lineNumber: 561,
3199
3281
  },
3200
3282
  type: '(modal: Modal) => Promise<unknown>',
3201
3283
  },
@@ -3206,7 +3288,7 @@ exports.manifest = {
3206
3288
  },
3207
3289
  location: {
3208
3290
  filePath: 'src/ctx/base.ts',
3209
- lineNumber: 595,
3291
+ lineNumber: 598,
3210
3292
  },
3211
3293
  type: '(options: ConfirmOptions) => Promise<unknown>',
3212
3294
  },
@@ -3225,7 +3307,7 @@ exports.manifest = {
3225
3307
  },
3226
3308
  location: {
3227
3309
  filePath: 'src/ctx/base.ts',
3228
- lineNumber: 609,
3310
+ lineNumber: 612,
3229
3311
  },
3230
3312
  type: '(path: string) => Promise<void>',
3231
3313
  },