@uniformdev/canvas 20.49.4-alpha.102 → 20.49.4-alpha.124

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/index.esm.js CHANGED
@@ -2611,10 +2611,47 @@ _baseUrl = new WeakMap();
2611
2611
  __privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
2612
2612
  var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
2613
2613
 
2614
- // src/LocaleClient.ts
2614
+ // src/LabelClient.ts
2615
2615
  import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
2616
+ var LABELS_URL = "/api/v1/labels";
2617
+ var LabelClient = class extends ApiClient8 {
2618
+ /** Fetches labels for the current project. */
2619
+ async getLabels(options) {
2620
+ const { projectId } = this.options;
2621
+ const fetchUri = this.createUrl(LABELS_URL, { ...options, projectId });
2622
+ return await this.apiClient(fetchUri);
2623
+ }
2624
+ /** Updates or creates a label. */
2625
+ async upsertLabel(body) {
2626
+ const { projectId } = this.options;
2627
+ const fetchUri = this.createUrl(LABELS_URL);
2628
+ await this.apiClient(fetchUri, {
2629
+ method: "PUT",
2630
+ body: JSON.stringify({ ...body, projectId }),
2631
+ expectNoContent: true
2632
+ });
2633
+ }
2634
+ /** Deletes a label by id. */
2635
+ async removeLabel(options) {
2636
+ const { projectId } = this.options;
2637
+ const fetchUri = this.createUrl(LABELS_URL);
2638
+ await this.apiClient(fetchUri, {
2639
+ method: "DELETE",
2640
+ body: JSON.stringify({ ...options, projectId }),
2641
+ expectNoContent: true
2642
+ });
2643
+ }
2644
+ };
2645
+ var UncachedLabelClient = class extends LabelClient {
2646
+ constructor(options) {
2647
+ super({ ...options, bypassCache: true });
2648
+ }
2649
+ };
2650
+
2651
+ // src/LocaleClient.ts
2652
+ import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
2616
2653
  var localesUrl = "/api/v1/locales";
2617
- var LocaleClient = class extends ApiClient8 {
2654
+ var LocaleClient = class extends ApiClient9 {
2618
2655
  constructor(options) {
2619
2656
  super(options);
2620
2657
  }
@@ -3000,10 +3037,10 @@ var createCanvasChannel = ({
3000
3037
  };
3001
3038
 
3002
3039
  // src/PreviewClient.ts
3003
- import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
3040
+ import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3004
3041
  var previewUrlsUrl = "/api/v1/preview-urls";
3005
3042
  var previewViewportsUrl = "/api/v1/preview-viewports";
3006
- var PreviewClient = class extends ApiClient9 {
3043
+ var PreviewClient = class extends ApiClient10 {
3007
3044
  constructor(options) {
3008
3045
  super(options);
3009
3046
  }
@@ -3066,9 +3103,9 @@ var PreviewClient = class extends ApiClient9 {
3066
3103
  };
3067
3104
 
3068
3105
  // src/ProjectClient.ts
3069
- import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3106
+ import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3070
3107
  var _url2;
3071
- var _ProjectClient = class _ProjectClient extends ApiClient10 {
3108
+ var _ProjectClient = class _ProjectClient extends ApiClient11 {
3072
3109
  constructor(options) {
3073
3110
  super({ ...options, bypassCache: true });
3074
3111
  }
@@ -3100,9 +3137,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
3100
3137
  var ProjectClient = _ProjectClient;
3101
3138
 
3102
3139
  // src/PromptClient.ts
3103
- import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3140
+ import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3104
3141
  var PromptsUrl = "/api/v1/prompts";
3105
- var PromptClient = class extends ApiClient11 {
3142
+ var PromptClient = class extends ApiClient12 {
3106
3143
  constructor(options) {
3107
3144
  super(options);
3108
3145
  }
@@ -3133,9 +3170,9 @@ var PromptClient = class extends ApiClient11 {
3133
3170
  };
3134
3171
 
3135
3172
  // src/RelationshipClient.ts
3136
- import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3173
+ import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3137
3174
  var RELATIONSHIPS_URL = "/api/v1/relationships";
3138
- var RelationshipClient = class extends ApiClient12 {
3175
+ var RelationshipClient = class extends ApiClient13 {
3139
3176
  constructor(options) {
3140
3177
  super(options);
3141
3178
  this.get = async (options) => {
@@ -3147,9 +3184,9 @@ var RelationshipClient = class extends ApiClient12 {
3147
3184
  };
3148
3185
 
3149
3186
  // src/ReleaseClient.ts
3150
- import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3187
+ import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3151
3188
  var releasesUrl = "/api/v1/releases";
3152
- var ReleaseClient = class extends ApiClient13 {
3189
+ var ReleaseClient = class extends ApiClient14 {
3153
3190
  constructor(options) {
3154
3191
  super(options);
3155
3192
  }
@@ -3189,9 +3226,9 @@ var ReleaseClient = class extends ApiClient13 {
3189
3226
  };
3190
3227
 
3191
3228
  // src/ReleaseContentsClient.ts
3192
- import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3229
+ import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3193
3230
  var releaseContentsUrl2 = "/api/v1/release-contents";
3194
- var ReleaseContentsClient = class extends ApiClient14 {
3231
+ var ReleaseContentsClient = class extends ApiClient15 {
3195
3232
  constructor(options) {
3196
3233
  super(options);
3197
3234
  }
@@ -3213,9 +3250,9 @@ var ReleaseContentsClient = class extends ApiClient14 {
3213
3250
  };
3214
3251
 
3215
3252
  // src/RouteClient.ts
3216
- import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3253
+ import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3217
3254
  var ROUTE_URL = "/api/v1/route";
3218
- var RouteClient = class extends ApiClient15 {
3255
+ var RouteClient = class extends ApiClient16 {
3219
3256
  constructor(options) {
3220
3257
  var _a;
3221
3258
  if (!options.limitPolicy) {
@@ -3593,9 +3630,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3593
3630
  var version = "20.50.0";
3594
3631
 
3595
3632
  // src/WorkflowClient.ts
3596
- import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3633
+ import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
3597
3634
  var workflowsUrl = "/api/v1/workflows";
3598
- var WorkflowClient = class extends ApiClient16 {
3635
+ var WorkflowClient = class extends ApiClient17 {
3599
3636
  constructor(options) {
3600
3637
  super(options);
3601
3638
  }
@@ -3699,6 +3736,7 @@ export {
3699
3736
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
3700
3737
  IntegrationPropertyEditorsClient,
3701
3738
  LOCALE_DYNAMIC_INPUT_NAME,
3739
+ LabelClient,
3702
3740
  LocaleClient,
3703
3741
  PLACEHOLDER_ID,
3704
3742
  PreviewClient,
@@ -3712,6 +3750,7 @@ export {
3712
3750
  UncachedCanvasClient,
3713
3751
  UncachedCategoryClient,
3714
3752
  UncachedContentClient,
3753
+ UncachedLabelClient,
3715
3754
  UniqueBatchEntries,
3716
3755
  WorkflowClient,
3717
3756
  autoFixParameterGroups,
package/dist/index.js CHANGED
@@ -397,7 +397,7 @@ __export(src_exports, {
397
397
  ATTRIBUTE_PARAMETER_TYPE: () => ATTRIBUTE_PARAMETER_TYPE,
398
398
  ATTRIBUTE_PARAMETER_VALUE: () => ATTRIBUTE_PARAMETER_VALUE,
399
399
  ATTRIBUTE_PLACEHOLDER: () => ATTRIBUTE_PLACEHOLDER,
400
- ApiClientError: () => import_api18.ApiClientError,
400
+ ApiClientError: () => import_api19.ApiClientError,
401
401
  BatchEntry: () => BatchEntry,
402
402
  BlockFormatError: () => BlockFormatError,
403
403
  CANVAS_BLOCK_PARAM_TYPE: () => CANVAS_BLOCK_PARAM_TYPE,
@@ -459,6 +459,7 @@ __export(src_exports, {
459
459
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE: () => IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
460
460
  IntegrationPropertyEditorsClient: () => IntegrationPropertyEditorsClient,
461
461
  LOCALE_DYNAMIC_INPUT_NAME: () => LOCALE_DYNAMIC_INPUT_NAME,
462
+ LabelClient: () => LabelClient,
462
463
  LocaleClient: () => LocaleClient,
463
464
  PLACEHOLDER_ID: () => PLACEHOLDER_ID,
464
465
  PreviewClient: () => PreviewClient,
@@ -472,6 +473,7 @@ __export(src_exports, {
472
473
  UncachedCanvasClient: () => UncachedCanvasClient,
473
474
  UncachedCategoryClient: () => UncachedCategoryClient,
474
475
  UncachedContentClient: () => UncachedContentClient,
476
+ UncachedLabelClient: () => UncachedLabelClient,
475
477
  UniqueBatchEntries: () => UniqueBatchEntries,
476
478
  WorkflowClient: () => WorkflowClient,
477
479
  autoFixParameterGroups: () => autoFixParameterGroups,
@@ -2789,10 +2791,47 @@ _baseUrl = new WeakMap();
2789
2791
  __privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
2790
2792
  var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
2791
2793
 
2792
- // src/LocaleClient.ts
2794
+ // src/LabelClient.ts
2793
2795
  var import_api9 = require("@uniformdev/context/api");
2796
+ var LABELS_URL = "/api/v1/labels";
2797
+ var LabelClient = class extends import_api9.ApiClient {
2798
+ /** Fetches labels for the current project. */
2799
+ async getLabels(options) {
2800
+ const { projectId } = this.options;
2801
+ const fetchUri = this.createUrl(LABELS_URL, { ...options, projectId });
2802
+ return await this.apiClient(fetchUri);
2803
+ }
2804
+ /** Updates or creates a label. */
2805
+ async upsertLabel(body) {
2806
+ const { projectId } = this.options;
2807
+ const fetchUri = this.createUrl(LABELS_URL);
2808
+ await this.apiClient(fetchUri, {
2809
+ method: "PUT",
2810
+ body: JSON.stringify({ ...body, projectId }),
2811
+ expectNoContent: true
2812
+ });
2813
+ }
2814
+ /** Deletes a label by id. */
2815
+ async removeLabel(options) {
2816
+ const { projectId } = this.options;
2817
+ const fetchUri = this.createUrl(LABELS_URL);
2818
+ await this.apiClient(fetchUri, {
2819
+ method: "DELETE",
2820
+ body: JSON.stringify({ ...options, projectId }),
2821
+ expectNoContent: true
2822
+ });
2823
+ }
2824
+ };
2825
+ var UncachedLabelClient = class extends LabelClient {
2826
+ constructor(options) {
2827
+ super({ ...options, bypassCache: true });
2828
+ }
2829
+ };
2830
+
2831
+ // src/LocaleClient.ts
2832
+ var import_api10 = require("@uniformdev/context/api");
2794
2833
  var localesUrl = "/api/v1/locales";
2795
- var LocaleClient = class extends import_api9.ApiClient {
2834
+ var LocaleClient = class extends import_api10.ApiClient {
2796
2835
  constructor(options) {
2797
2836
  super(options);
2798
2837
  }
@@ -3178,10 +3217,10 @@ var createCanvasChannel = ({
3178
3217
  };
3179
3218
 
3180
3219
  // src/PreviewClient.ts
3181
- var import_api10 = require("@uniformdev/context/api");
3220
+ var import_api11 = require("@uniformdev/context/api");
3182
3221
  var previewUrlsUrl = "/api/v1/preview-urls";
3183
3222
  var previewViewportsUrl = "/api/v1/preview-viewports";
3184
- var PreviewClient = class extends import_api10.ApiClient {
3223
+ var PreviewClient = class extends import_api11.ApiClient {
3185
3224
  constructor(options) {
3186
3225
  super(options);
3187
3226
  }
@@ -3244,9 +3283,9 @@ var PreviewClient = class extends import_api10.ApiClient {
3244
3283
  };
3245
3284
 
3246
3285
  // src/ProjectClient.ts
3247
- var import_api11 = require("@uniformdev/context/api");
3286
+ var import_api12 = require("@uniformdev/context/api");
3248
3287
  var _url2;
3249
- var _ProjectClient = class _ProjectClient extends import_api11.ApiClient {
3288
+ var _ProjectClient = class _ProjectClient extends import_api12.ApiClient {
3250
3289
  constructor(options) {
3251
3290
  super({ ...options, bypassCache: true });
3252
3291
  }
@@ -3278,9 +3317,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
3278
3317
  var ProjectClient = _ProjectClient;
3279
3318
 
3280
3319
  // src/PromptClient.ts
3281
- var import_api12 = require("@uniformdev/context/api");
3320
+ var import_api13 = require("@uniformdev/context/api");
3282
3321
  var PromptsUrl = "/api/v1/prompts";
3283
- var PromptClient = class extends import_api12.ApiClient {
3322
+ var PromptClient = class extends import_api13.ApiClient {
3284
3323
  constructor(options) {
3285
3324
  super(options);
3286
3325
  }
@@ -3311,9 +3350,9 @@ var PromptClient = class extends import_api12.ApiClient {
3311
3350
  };
3312
3351
 
3313
3352
  // src/RelationshipClient.ts
3314
- var import_api13 = require("@uniformdev/context/api");
3353
+ var import_api14 = require("@uniformdev/context/api");
3315
3354
  var RELATIONSHIPS_URL = "/api/v1/relationships";
3316
- var RelationshipClient = class extends import_api13.ApiClient {
3355
+ var RelationshipClient = class extends import_api14.ApiClient {
3317
3356
  constructor(options) {
3318
3357
  super(options);
3319
3358
  this.get = async (options) => {
@@ -3325,9 +3364,9 @@ var RelationshipClient = class extends import_api13.ApiClient {
3325
3364
  };
3326
3365
 
3327
3366
  // src/ReleaseClient.ts
3328
- var import_api14 = require("@uniformdev/context/api");
3367
+ var import_api15 = require("@uniformdev/context/api");
3329
3368
  var releasesUrl = "/api/v1/releases";
3330
- var ReleaseClient = class extends import_api14.ApiClient {
3369
+ var ReleaseClient = class extends import_api15.ApiClient {
3331
3370
  constructor(options) {
3332
3371
  super(options);
3333
3372
  }
@@ -3367,9 +3406,9 @@ var ReleaseClient = class extends import_api14.ApiClient {
3367
3406
  };
3368
3407
 
3369
3408
  // src/ReleaseContentsClient.ts
3370
- var import_api15 = require("@uniformdev/context/api");
3409
+ var import_api16 = require("@uniformdev/context/api");
3371
3410
  var releaseContentsUrl2 = "/api/v1/release-contents";
3372
- var ReleaseContentsClient = class extends import_api15.ApiClient {
3411
+ var ReleaseContentsClient = class extends import_api16.ApiClient {
3373
3412
  constructor(options) {
3374
3413
  super(options);
3375
3414
  }
@@ -3391,9 +3430,9 @@ var ReleaseContentsClient = class extends import_api15.ApiClient {
3391
3430
  };
3392
3431
 
3393
3432
  // src/RouteClient.ts
3394
- var import_api16 = require("@uniformdev/context/api");
3433
+ var import_api17 = require("@uniformdev/context/api");
3395
3434
  var ROUTE_URL = "/api/v1/route";
3396
- var RouteClient = class extends import_api16.ApiClient {
3435
+ var RouteClient = class extends import_api17.ApiClient {
3397
3436
  constructor(options) {
3398
3437
  var _a;
3399
3438
  if (!options.limitPolicy) {
@@ -3765,15 +3804,15 @@ function handleRichTextNodeBinding(object, options) {
3765
3804
  }
3766
3805
 
3767
3806
  // src/index.ts
3768
- var import_api18 = require("@uniformdev/context/api");
3807
+ var import_api19 = require("@uniformdev/context/api");
3769
3808
 
3770
3809
  // src/.version.ts
3771
3810
  var version = "20.50.0";
3772
3811
 
3773
3812
  // src/WorkflowClient.ts
3774
- var import_api17 = require("@uniformdev/context/api");
3813
+ var import_api18 = require("@uniformdev/context/api");
3775
3814
  var workflowsUrl = "/api/v1/workflows";
3776
- var WorkflowClient = class extends import_api17.ApiClient {
3815
+ var WorkflowClient = class extends import_api18.ApiClient {
3777
3816
  constructor(options) {
3778
3817
  super(options);
3779
3818
  }
@@ -3804,7 +3843,7 @@ var WorkflowClient = class extends import_api17.ApiClient {
3804
3843
  };
3805
3844
 
3806
3845
  // src/index.ts
3807
- var CanvasClientError = import_api18.ApiClientError;
3846
+ var CanvasClientError = import_api19.ApiClientError;
3808
3847
  // Annotate the CommonJS export names for ESM import in node:
3809
3848
  0 && (module.exports = {
3810
3849
  ASSETS_SOURCE_CUSTOM_URL,
@@ -3878,6 +3917,7 @@ var CanvasClientError = import_api18.ApiClientError;
3878
3917
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
3879
3918
  IntegrationPropertyEditorsClient,
3880
3919
  LOCALE_DYNAMIC_INPUT_NAME,
3920
+ LabelClient,
3881
3921
  LocaleClient,
3882
3922
  PLACEHOLDER_ID,
3883
3923
  PreviewClient,
@@ -3891,6 +3931,7 @@ var CanvasClientError = import_api18.ApiClientError;
3891
3931
  UncachedCanvasClient,
3892
3932
  UncachedCategoryClient,
3893
3933
  UncachedContentClient,
3934
+ UncachedLabelClient,
3894
3935
  UniqueBatchEntries,
3895
3936
  WorkflowClient,
3896
3937
  autoFixParameterGroups,
package/dist/index.mjs CHANGED
@@ -2611,10 +2611,47 @@ _baseUrl = new WeakMap();
2611
2611
  __privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
2612
2612
  var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
2613
2613
 
2614
- // src/LocaleClient.ts
2614
+ // src/LabelClient.ts
2615
2615
  import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
2616
+ var LABELS_URL = "/api/v1/labels";
2617
+ var LabelClient = class extends ApiClient8 {
2618
+ /** Fetches labels for the current project. */
2619
+ async getLabels(options) {
2620
+ const { projectId } = this.options;
2621
+ const fetchUri = this.createUrl(LABELS_URL, { ...options, projectId });
2622
+ return await this.apiClient(fetchUri);
2623
+ }
2624
+ /** Updates or creates a label. */
2625
+ async upsertLabel(body) {
2626
+ const { projectId } = this.options;
2627
+ const fetchUri = this.createUrl(LABELS_URL);
2628
+ await this.apiClient(fetchUri, {
2629
+ method: "PUT",
2630
+ body: JSON.stringify({ ...body, projectId }),
2631
+ expectNoContent: true
2632
+ });
2633
+ }
2634
+ /** Deletes a label by id. */
2635
+ async removeLabel(options) {
2636
+ const { projectId } = this.options;
2637
+ const fetchUri = this.createUrl(LABELS_URL);
2638
+ await this.apiClient(fetchUri, {
2639
+ method: "DELETE",
2640
+ body: JSON.stringify({ ...options, projectId }),
2641
+ expectNoContent: true
2642
+ });
2643
+ }
2644
+ };
2645
+ var UncachedLabelClient = class extends LabelClient {
2646
+ constructor(options) {
2647
+ super({ ...options, bypassCache: true });
2648
+ }
2649
+ };
2650
+
2651
+ // src/LocaleClient.ts
2652
+ import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
2616
2653
  var localesUrl = "/api/v1/locales";
2617
- var LocaleClient = class extends ApiClient8 {
2654
+ var LocaleClient = class extends ApiClient9 {
2618
2655
  constructor(options) {
2619
2656
  super(options);
2620
2657
  }
@@ -3000,10 +3037,10 @@ var createCanvasChannel = ({
3000
3037
  };
3001
3038
 
3002
3039
  // src/PreviewClient.ts
3003
- import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
3040
+ import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3004
3041
  var previewUrlsUrl = "/api/v1/preview-urls";
3005
3042
  var previewViewportsUrl = "/api/v1/preview-viewports";
3006
- var PreviewClient = class extends ApiClient9 {
3043
+ var PreviewClient = class extends ApiClient10 {
3007
3044
  constructor(options) {
3008
3045
  super(options);
3009
3046
  }
@@ -3066,9 +3103,9 @@ var PreviewClient = class extends ApiClient9 {
3066
3103
  };
3067
3104
 
3068
3105
  // src/ProjectClient.ts
3069
- import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
3106
+ import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3070
3107
  var _url2;
3071
- var _ProjectClient = class _ProjectClient extends ApiClient10 {
3108
+ var _ProjectClient = class _ProjectClient extends ApiClient11 {
3072
3109
  constructor(options) {
3073
3110
  super({ ...options, bypassCache: true });
3074
3111
  }
@@ -3100,9 +3137,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
3100
3137
  var ProjectClient = _ProjectClient;
3101
3138
 
3102
3139
  // src/PromptClient.ts
3103
- import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
3140
+ import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3104
3141
  var PromptsUrl = "/api/v1/prompts";
3105
- var PromptClient = class extends ApiClient11 {
3142
+ var PromptClient = class extends ApiClient12 {
3106
3143
  constructor(options) {
3107
3144
  super(options);
3108
3145
  }
@@ -3133,9 +3170,9 @@ var PromptClient = class extends ApiClient11 {
3133
3170
  };
3134
3171
 
3135
3172
  // src/RelationshipClient.ts
3136
- import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
3173
+ import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3137
3174
  var RELATIONSHIPS_URL = "/api/v1/relationships";
3138
- var RelationshipClient = class extends ApiClient12 {
3175
+ var RelationshipClient = class extends ApiClient13 {
3139
3176
  constructor(options) {
3140
3177
  super(options);
3141
3178
  this.get = async (options) => {
@@ -3147,9 +3184,9 @@ var RelationshipClient = class extends ApiClient12 {
3147
3184
  };
3148
3185
 
3149
3186
  // src/ReleaseClient.ts
3150
- import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
3187
+ import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3151
3188
  var releasesUrl = "/api/v1/releases";
3152
- var ReleaseClient = class extends ApiClient13 {
3189
+ var ReleaseClient = class extends ApiClient14 {
3153
3190
  constructor(options) {
3154
3191
  super(options);
3155
3192
  }
@@ -3189,9 +3226,9 @@ var ReleaseClient = class extends ApiClient13 {
3189
3226
  };
3190
3227
 
3191
3228
  // src/ReleaseContentsClient.ts
3192
- import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
3229
+ import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3193
3230
  var releaseContentsUrl2 = "/api/v1/release-contents";
3194
- var ReleaseContentsClient = class extends ApiClient14 {
3231
+ var ReleaseContentsClient = class extends ApiClient15 {
3195
3232
  constructor(options) {
3196
3233
  super(options);
3197
3234
  }
@@ -3213,9 +3250,9 @@ var ReleaseContentsClient = class extends ApiClient14 {
3213
3250
  };
3214
3251
 
3215
3252
  // src/RouteClient.ts
3216
- import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
3253
+ import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3217
3254
  var ROUTE_URL = "/api/v1/route";
3218
- var RouteClient = class extends ApiClient15 {
3255
+ var RouteClient = class extends ApiClient16 {
3219
3256
  constructor(options) {
3220
3257
  var _a;
3221
3258
  if (!options.limitPolicy) {
@@ -3593,9 +3630,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3593
3630
  var version = "20.50.0";
3594
3631
 
3595
3632
  // src/WorkflowClient.ts
3596
- import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
3633
+ import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
3597
3634
  var workflowsUrl = "/api/v1/workflows";
3598
- var WorkflowClient = class extends ApiClient16 {
3635
+ var WorkflowClient = class extends ApiClient17 {
3599
3636
  constructor(options) {
3600
3637
  super(options);
3601
3638
  }
@@ -3699,6 +3736,7 @@ export {
3699
3736
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
3700
3737
  IntegrationPropertyEditorsClient,
3701
3738
  LOCALE_DYNAMIC_INPUT_NAME,
3739
+ LabelClient,
3702
3740
  LocaleClient,
3703
3741
  PLACEHOLDER_ID,
3704
3742
  PreviewClient,
@@ -3712,6 +3750,7 @@ export {
3712
3750
  UncachedCanvasClient,
3713
3751
  UncachedCategoryClient,
3714
3752
  UncachedContentClient,
3753
+ UncachedLabelClient,
3715
3754
  UniqueBatchEntries,
3716
3755
  WorkflowClient,
3717
3756
  autoFixParameterGroups,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.49.4-alpha.102+140d1a56b4",
3
+ "version": "20.49.4-alpha.124+f9898bee23",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -41,9 +41,9 @@
41
41
  "svix": "1.71.0"
42
42
  },
43
43
  "dependencies": {
44
- "@uniformdev/assets": "20.49.4-alpha.102+140d1a56b4",
45
- "@uniformdev/context": "20.49.4-alpha.102+140d1a56b4",
46
- "@uniformdev/richtext": "20.49.4-alpha.102+140d1a56b4",
44
+ "@uniformdev/assets": "20.49.4-alpha.124+f9898bee23",
45
+ "@uniformdev/context": "20.49.4-alpha.124+f9898bee23",
46
+ "@uniformdev/richtext": "20.49.4-alpha.124+f9898bee23",
47
47
  "immer": "10.1.3"
48
48
  },
49
49
  "files": [
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "140d1a56b4b45021216a166bcaf7ebe629681b0b"
55
+ "gitHead": "f9898bee2368f0b75128ecc2b8914ca788d85163"
56
56
  }