@uniformdev/canvas 20.32.0 → 20.32.1-alpha.4
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.d.mts +1053 -767
- package/dist/index.d.ts +1053 -767
- package/dist/index.esm.js +64 -18
- package/dist/index.js +68 -21
- package/dist/index.mjs +64 -18
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
@@ -2513,10 +2513,55 @@ var EntityReleasesClient = class extends ApiClient6 {
|
|
2513
2513
|
}
|
2514
2514
|
};
|
2515
2515
|
|
2516
|
-
// src/
|
2516
|
+
// src/IntegrationPropertyEditorsClient.ts
|
2517
2517
|
import { ApiClient as ApiClient7 } from "@uniformdev/context/api";
|
2518
|
+
var _baseUrl;
|
2519
|
+
var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient extends ApiClient7 {
|
2520
|
+
constructor(options) {
|
2521
|
+
super(options);
|
2522
|
+
this.teamId = options.teamId;
|
2523
|
+
}
|
2524
|
+
/**
|
2525
|
+
* Gets a list of property type and hook names for the current team, including public integrations' hooks.
|
2526
|
+
*/
|
2527
|
+
get(options) {
|
2528
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl), {
|
2529
|
+
...options,
|
2530
|
+
teamId: this.teamId
|
2531
|
+
});
|
2532
|
+
return this.apiClient(fetchUri);
|
2533
|
+
}
|
2534
|
+
/**
|
2535
|
+
* Creates or updates a custom AI property editor on a Mesh app.
|
2536
|
+
*/
|
2537
|
+
async deploy(body) {
|
2538
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2539
|
+
await this.apiClient(fetchUri, {
|
2540
|
+
method: "PUT",
|
2541
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2542
|
+
expectNoContent: true
|
2543
|
+
});
|
2544
|
+
}
|
2545
|
+
/**
|
2546
|
+
* Removes a custom AI property editor from a Mesh app.
|
2547
|
+
*/
|
2548
|
+
async delete(body) {
|
2549
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2550
|
+
await this.apiClient(fetchUri, {
|
2551
|
+
method: "DELETE",
|
2552
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2553
|
+
expectNoContent: true
|
2554
|
+
});
|
2555
|
+
}
|
2556
|
+
};
|
2557
|
+
_baseUrl = new WeakMap();
|
2558
|
+
__privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
2559
|
+
var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
|
2560
|
+
|
2561
|
+
// src/LocaleClient.ts
|
2562
|
+
import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
|
2518
2563
|
var localesUrl = "/api/v1/locales";
|
2519
|
-
var LocaleClient = class extends
|
2564
|
+
var LocaleClient = class extends ApiClient8 {
|
2520
2565
|
constructor(options) {
|
2521
2566
|
super(options);
|
2522
2567
|
}
|
@@ -2885,10 +2930,10 @@ var createCanvasChannel = ({
|
|
2885
2930
|
};
|
2886
2931
|
|
2887
2932
|
// src/PreviewClient.ts
|
2888
|
-
import { ApiClient as
|
2933
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2889
2934
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
2890
2935
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2891
|
-
var PreviewClient = class extends
|
2936
|
+
var PreviewClient = class extends ApiClient9 {
|
2892
2937
|
constructor(options) {
|
2893
2938
|
super(options);
|
2894
2939
|
}
|
@@ -2951,9 +2996,9 @@ var PreviewClient = class extends ApiClient8 {
|
|
2951
2996
|
};
|
2952
2997
|
|
2953
2998
|
// src/ProjectClient.ts
|
2954
|
-
import { ApiClient as
|
2999
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2955
3000
|
var _url2;
|
2956
|
-
var _ProjectClient = class _ProjectClient extends
|
3001
|
+
var _ProjectClient = class _ProjectClient extends ApiClient10 {
|
2957
3002
|
constructor(options) {
|
2958
3003
|
super({ ...options, bypassCache: true });
|
2959
3004
|
}
|
@@ -2985,9 +3030,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
2985
3030
|
var ProjectClient = _ProjectClient;
|
2986
3031
|
|
2987
3032
|
// src/PromptClient.ts
|
2988
|
-
import { ApiClient as
|
3033
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
2989
3034
|
var PromptsUrl = "/api/v1/prompts";
|
2990
|
-
var PromptClient = class extends
|
3035
|
+
var PromptClient = class extends ApiClient11 {
|
2991
3036
|
constructor(options) {
|
2992
3037
|
super(options);
|
2993
3038
|
}
|
@@ -3018,9 +3063,9 @@ var PromptClient = class extends ApiClient10 {
|
|
3018
3063
|
};
|
3019
3064
|
|
3020
3065
|
// src/RelationshipClient.ts
|
3021
|
-
import { ApiClient as
|
3066
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
3022
3067
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3023
|
-
var RelationshipClient = class extends
|
3068
|
+
var RelationshipClient = class extends ApiClient12 {
|
3024
3069
|
constructor(options) {
|
3025
3070
|
super(options);
|
3026
3071
|
this.get = async (options) => {
|
@@ -3032,9 +3077,9 @@ var RelationshipClient = class extends ApiClient11 {
|
|
3032
3077
|
};
|
3033
3078
|
|
3034
3079
|
// src/ReleaseClient.ts
|
3035
|
-
import { ApiClient as
|
3080
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
3036
3081
|
var releasesUrl = "/api/v1/releases";
|
3037
|
-
var ReleaseClient = class extends
|
3082
|
+
var ReleaseClient = class extends ApiClient13 {
|
3038
3083
|
constructor(options) {
|
3039
3084
|
super(options);
|
3040
3085
|
}
|
@@ -3074,9 +3119,9 @@ var ReleaseClient = class extends ApiClient12 {
|
|
3074
3119
|
};
|
3075
3120
|
|
3076
3121
|
// src/ReleaseContentsClient.ts
|
3077
|
-
import { ApiClient as
|
3122
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3078
3123
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3079
|
-
var ReleaseContentsClient = class extends
|
3124
|
+
var ReleaseContentsClient = class extends ApiClient14 {
|
3080
3125
|
constructor(options) {
|
3081
3126
|
super(options);
|
3082
3127
|
}
|
@@ -3098,9 +3143,9 @@ var ReleaseContentsClient = class extends ApiClient13 {
|
|
3098
3143
|
};
|
3099
3144
|
|
3100
3145
|
// src/RouteClient.ts
|
3101
|
-
import { ApiClient as
|
3146
|
+
import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
|
3102
3147
|
var ROUTE_URL = "/api/v1/route";
|
3103
|
-
var RouteClient = class extends
|
3148
|
+
var RouteClient = class extends ApiClient15 {
|
3104
3149
|
constructor(options) {
|
3105
3150
|
var _a;
|
3106
3151
|
if (!options.limitPolicy) {
|
@@ -3420,9 +3465,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3420
3465
|
var version = "20.32.0";
|
3421
3466
|
|
3422
3467
|
// src/WorkflowClient.ts
|
3423
|
-
import { ApiClient as
|
3468
|
+
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
3424
3469
|
var workflowsUrl = "/api/v1/workflows";
|
3425
|
-
var WorkflowClient = class extends
|
3470
|
+
var WorkflowClient = class extends ApiClient16 {
|
3426
3471
|
constructor(options) {
|
3427
3472
|
super(options);
|
3428
3473
|
}
|
@@ -3516,6 +3561,7 @@ export {
|
|
3516
3561
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3517
3562
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3518
3563
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3564
|
+
IntegrationPropertyEditorsClient,
|
3519
3565
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3520
3566
|
LocaleClient,
|
3521
3567
|
PLACEHOLDER_ID,
|
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: () =>
|
400
|
+
ApiClientError: () => import_api18.ApiClientError,
|
401
401
|
BatchEntry: () => BatchEntry,
|
402
402
|
BlockFormatError: () => BlockFormatError,
|
403
403
|
CANVAS_BLOCK_PARAM_TYPE: () => CANVAS_BLOCK_PARAM_TYPE,
|
@@ -449,6 +449,7 @@ __export(src_exports, {
|
|
449
449
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM: () => IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
450
450
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM: () => IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
451
451
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE: () => IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
452
|
+
IntegrationPropertyEditorsClient: () => IntegrationPropertyEditorsClient,
|
452
453
|
LOCALE_DYNAMIC_INPUT_NAME: () => LOCALE_DYNAMIC_INPUT_NAME,
|
453
454
|
LocaleClient: () => LocaleClient,
|
454
455
|
PLACEHOLDER_ID: () => PLACEHOLDER_ID,
|
@@ -2679,10 +2680,55 @@ var EntityReleasesClient = class extends import_api7.ApiClient {
|
|
2679
2680
|
}
|
2680
2681
|
};
|
2681
2682
|
|
2682
|
-
// src/
|
2683
|
+
// src/IntegrationPropertyEditorsClient.ts
|
2683
2684
|
var import_api8 = require("@uniformdev/context/api");
|
2685
|
+
var _baseUrl;
|
2686
|
+
var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient extends import_api8.ApiClient {
|
2687
|
+
constructor(options) {
|
2688
|
+
super(options);
|
2689
|
+
this.teamId = options.teamId;
|
2690
|
+
}
|
2691
|
+
/**
|
2692
|
+
* Gets a list of property type and hook names for the current team, including public integrations' hooks.
|
2693
|
+
*/
|
2694
|
+
get(options) {
|
2695
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl), {
|
2696
|
+
...options,
|
2697
|
+
teamId: this.teamId
|
2698
|
+
});
|
2699
|
+
return this.apiClient(fetchUri);
|
2700
|
+
}
|
2701
|
+
/**
|
2702
|
+
* Creates or updates a custom AI property editor on a Mesh app.
|
2703
|
+
*/
|
2704
|
+
async deploy(body) {
|
2705
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2706
|
+
await this.apiClient(fetchUri, {
|
2707
|
+
method: "PUT",
|
2708
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2709
|
+
expectNoContent: true
|
2710
|
+
});
|
2711
|
+
}
|
2712
|
+
/**
|
2713
|
+
* Removes a custom AI property editor from a Mesh app.
|
2714
|
+
*/
|
2715
|
+
async delete(body) {
|
2716
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2717
|
+
await this.apiClient(fetchUri, {
|
2718
|
+
method: "DELETE",
|
2719
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2720
|
+
expectNoContent: true
|
2721
|
+
});
|
2722
|
+
}
|
2723
|
+
};
|
2724
|
+
_baseUrl = new WeakMap();
|
2725
|
+
__privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
2726
|
+
var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
|
2727
|
+
|
2728
|
+
// src/LocaleClient.ts
|
2729
|
+
var import_api9 = require("@uniformdev/context/api");
|
2684
2730
|
var localesUrl = "/api/v1/locales";
|
2685
|
-
var LocaleClient = class extends
|
2731
|
+
var LocaleClient = class extends import_api9.ApiClient {
|
2686
2732
|
constructor(options) {
|
2687
2733
|
super(options);
|
2688
2734
|
}
|
@@ -3051,10 +3097,10 @@ var createCanvasChannel = ({
|
|
3051
3097
|
};
|
3052
3098
|
|
3053
3099
|
// src/PreviewClient.ts
|
3054
|
-
var
|
3100
|
+
var import_api10 = require("@uniformdev/context/api");
|
3055
3101
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
3056
3102
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
3057
|
-
var PreviewClient = class extends
|
3103
|
+
var PreviewClient = class extends import_api10.ApiClient {
|
3058
3104
|
constructor(options) {
|
3059
3105
|
super(options);
|
3060
3106
|
}
|
@@ -3117,9 +3163,9 @@ var PreviewClient = class extends import_api9.ApiClient {
|
|
3117
3163
|
};
|
3118
3164
|
|
3119
3165
|
// src/ProjectClient.ts
|
3120
|
-
var
|
3166
|
+
var import_api11 = require("@uniformdev/context/api");
|
3121
3167
|
var _url2;
|
3122
|
-
var _ProjectClient = class _ProjectClient extends
|
3168
|
+
var _ProjectClient = class _ProjectClient extends import_api11.ApiClient {
|
3123
3169
|
constructor(options) {
|
3124
3170
|
super({ ...options, bypassCache: true });
|
3125
3171
|
}
|
@@ -3151,9 +3197,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
3151
3197
|
var ProjectClient = _ProjectClient;
|
3152
3198
|
|
3153
3199
|
// src/PromptClient.ts
|
3154
|
-
var
|
3200
|
+
var import_api12 = require("@uniformdev/context/api");
|
3155
3201
|
var PromptsUrl = "/api/v1/prompts";
|
3156
|
-
var PromptClient = class extends
|
3202
|
+
var PromptClient = class extends import_api12.ApiClient {
|
3157
3203
|
constructor(options) {
|
3158
3204
|
super(options);
|
3159
3205
|
}
|
@@ -3184,9 +3230,9 @@ var PromptClient = class extends import_api11.ApiClient {
|
|
3184
3230
|
};
|
3185
3231
|
|
3186
3232
|
// src/RelationshipClient.ts
|
3187
|
-
var
|
3233
|
+
var import_api13 = require("@uniformdev/context/api");
|
3188
3234
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3189
|
-
var RelationshipClient = class extends
|
3235
|
+
var RelationshipClient = class extends import_api13.ApiClient {
|
3190
3236
|
constructor(options) {
|
3191
3237
|
super(options);
|
3192
3238
|
this.get = async (options) => {
|
@@ -3198,9 +3244,9 @@ var RelationshipClient = class extends import_api12.ApiClient {
|
|
3198
3244
|
};
|
3199
3245
|
|
3200
3246
|
// src/ReleaseClient.ts
|
3201
|
-
var
|
3247
|
+
var import_api14 = require("@uniformdev/context/api");
|
3202
3248
|
var releasesUrl = "/api/v1/releases";
|
3203
|
-
var ReleaseClient = class extends
|
3249
|
+
var ReleaseClient = class extends import_api14.ApiClient {
|
3204
3250
|
constructor(options) {
|
3205
3251
|
super(options);
|
3206
3252
|
}
|
@@ -3240,9 +3286,9 @@ var ReleaseClient = class extends import_api13.ApiClient {
|
|
3240
3286
|
};
|
3241
3287
|
|
3242
3288
|
// src/ReleaseContentsClient.ts
|
3243
|
-
var
|
3289
|
+
var import_api15 = require("@uniformdev/context/api");
|
3244
3290
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3245
|
-
var ReleaseContentsClient = class extends
|
3291
|
+
var ReleaseContentsClient = class extends import_api15.ApiClient {
|
3246
3292
|
constructor(options) {
|
3247
3293
|
super(options);
|
3248
3294
|
}
|
@@ -3264,9 +3310,9 @@ var ReleaseContentsClient = class extends import_api14.ApiClient {
|
|
3264
3310
|
};
|
3265
3311
|
|
3266
3312
|
// src/RouteClient.ts
|
3267
|
-
var
|
3313
|
+
var import_api16 = require("@uniformdev/context/api");
|
3268
3314
|
var ROUTE_URL = "/api/v1/route";
|
3269
|
-
var RouteClient = class extends
|
3315
|
+
var RouteClient = class extends import_api16.ApiClient {
|
3270
3316
|
constructor(options) {
|
3271
3317
|
var _a;
|
3272
3318
|
if (!options.limitPolicy) {
|
@@ -3580,15 +3626,15 @@ function handleRichTextNodeBinding(object, options) {
|
|
3580
3626
|
}
|
3581
3627
|
|
3582
3628
|
// src/index.ts
|
3583
|
-
var
|
3629
|
+
var import_api18 = require("@uniformdev/context/api");
|
3584
3630
|
|
3585
3631
|
// src/.version.ts
|
3586
3632
|
var version = "20.32.0";
|
3587
3633
|
|
3588
3634
|
// src/WorkflowClient.ts
|
3589
|
-
var
|
3635
|
+
var import_api17 = require("@uniformdev/context/api");
|
3590
3636
|
var workflowsUrl = "/api/v1/workflows";
|
3591
|
-
var WorkflowClient = class extends
|
3637
|
+
var WorkflowClient = class extends import_api17.ApiClient {
|
3592
3638
|
constructor(options) {
|
3593
3639
|
super(options);
|
3594
3640
|
}
|
@@ -3619,7 +3665,7 @@ var WorkflowClient = class extends import_api16.ApiClient {
|
|
3619
3665
|
};
|
3620
3666
|
|
3621
3667
|
// src/index.ts
|
3622
|
-
var CanvasClientError =
|
3668
|
+
var CanvasClientError = import_api18.ApiClientError;
|
3623
3669
|
// Annotate the CommonJS export names for ESM import in node:
|
3624
3670
|
0 && (module.exports = {
|
3625
3671
|
ASSETS_SOURCE_CUSTOM_URL,
|
@@ -3683,6 +3729,7 @@ var CanvasClientError = import_api17.ApiClientError;
|
|
3683
3729
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3684
3730
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3685
3731
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3732
|
+
IntegrationPropertyEditorsClient,
|
3686
3733
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3687
3734
|
LocaleClient,
|
3688
3735
|
PLACEHOLDER_ID,
|
package/dist/index.mjs
CHANGED
@@ -2513,10 +2513,55 @@ var EntityReleasesClient = class extends ApiClient6 {
|
|
2513
2513
|
}
|
2514
2514
|
};
|
2515
2515
|
|
2516
|
-
// src/
|
2516
|
+
// src/IntegrationPropertyEditorsClient.ts
|
2517
2517
|
import { ApiClient as ApiClient7 } from "@uniformdev/context/api";
|
2518
|
+
var _baseUrl;
|
2519
|
+
var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient extends ApiClient7 {
|
2520
|
+
constructor(options) {
|
2521
|
+
super(options);
|
2522
|
+
this.teamId = options.teamId;
|
2523
|
+
}
|
2524
|
+
/**
|
2525
|
+
* Gets a list of property type and hook names for the current team, including public integrations' hooks.
|
2526
|
+
*/
|
2527
|
+
get(options) {
|
2528
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl), {
|
2529
|
+
...options,
|
2530
|
+
teamId: this.teamId
|
2531
|
+
});
|
2532
|
+
return this.apiClient(fetchUri);
|
2533
|
+
}
|
2534
|
+
/**
|
2535
|
+
* Creates or updates a custom AI property editor on a Mesh app.
|
2536
|
+
*/
|
2537
|
+
async deploy(body) {
|
2538
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2539
|
+
await this.apiClient(fetchUri, {
|
2540
|
+
method: "PUT",
|
2541
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2542
|
+
expectNoContent: true
|
2543
|
+
});
|
2544
|
+
}
|
2545
|
+
/**
|
2546
|
+
* Removes a custom AI property editor from a Mesh app.
|
2547
|
+
*/
|
2548
|
+
async delete(body) {
|
2549
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2550
|
+
await this.apiClient(fetchUri, {
|
2551
|
+
method: "DELETE",
|
2552
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2553
|
+
expectNoContent: true
|
2554
|
+
});
|
2555
|
+
}
|
2556
|
+
};
|
2557
|
+
_baseUrl = new WeakMap();
|
2558
|
+
__privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
2559
|
+
var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
|
2560
|
+
|
2561
|
+
// src/LocaleClient.ts
|
2562
|
+
import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
|
2518
2563
|
var localesUrl = "/api/v1/locales";
|
2519
|
-
var LocaleClient = class extends
|
2564
|
+
var LocaleClient = class extends ApiClient8 {
|
2520
2565
|
constructor(options) {
|
2521
2566
|
super(options);
|
2522
2567
|
}
|
@@ -2885,10 +2930,10 @@ var createCanvasChannel = ({
|
|
2885
2930
|
};
|
2886
2931
|
|
2887
2932
|
// src/PreviewClient.ts
|
2888
|
-
import { ApiClient as
|
2933
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2889
2934
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
2890
2935
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2891
|
-
var PreviewClient = class extends
|
2936
|
+
var PreviewClient = class extends ApiClient9 {
|
2892
2937
|
constructor(options) {
|
2893
2938
|
super(options);
|
2894
2939
|
}
|
@@ -2951,9 +2996,9 @@ var PreviewClient = class extends ApiClient8 {
|
|
2951
2996
|
};
|
2952
2997
|
|
2953
2998
|
// src/ProjectClient.ts
|
2954
|
-
import { ApiClient as
|
2999
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2955
3000
|
var _url2;
|
2956
|
-
var _ProjectClient = class _ProjectClient extends
|
3001
|
+
var _ProjectClient = class _ProjectClient extends ApiClient10 {
|
2957
3002
|
constructor(options) {
|
2958
3003
|
super({ ...options, bypassCache: true });
|
2959
3004
|
}
|
@@ -2985,9 +3030,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
2985
3030
|
var ProjectClient = _ProjectClient;
|
2986
3031
|
|
2987
3032
|
// src/PromptClient.ts
|
2988
|
-
import { ApiClient as
|
3033
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
2989
3034
|
var PromptsUrl = "/api/v1/prompts";
|
2990
|
-
var PromptClient = class extends
|
3035
|
+
var PromptClient = class extends ApiClient11 {
|
2991
3036
|
constructor(options) {
|
2992
3037
|
super(options);
|
2993
3038
|
}
|
@@ -3018,9 +3063,9 @@ var PromptClient = class extends ApiClient10 {
|
|
3018
3063
|
};
|
3019
3064
|
|
3020
3065
|
// src/RelationshipClient.ts
|
3021
|
-
import { ApiClient as
|
3066
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
3022
3067
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3023
|
-
var RelationshipClient = class extends
|
3068
|
+
var RelationshipClient = class extends ApiClient12 {
|
3024
3069
|
constructor(options) {
|
3025
3070
|
super(options);
|
3026
3071
|
this.get = async (options) => {
|
@@ -3032,9 +3077,9 @@ var RelationshipClient = class extends ApiClient11 {
|
|
3032
3077
|
};
|
3033
3078
|
|
3034
3079
|
// src/ReleaseClient.ts
|
3035
|
-
import { ApiClient as
|
3080
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
3036
3081
|
var releasesUrl = "/api/v1/releases";
|
3037
|
-
var ReleaseClient = class extends
|
3082
|
+
var ReleaseClient = class extends ApiClient13 {
|
3038
3083
|
constructor(options) {
|
3039
3084
|
super(options);
|
3040
3085
|
}
|
@@ -3074,9 +3119,9 @@ var ReleaseClient = class extends ApiClient12 {
|
|
3074
3119
|
};
|
3075
3120
|
|
3076
3121
|
// src/ReleaseContentsClient.ts
|
3077
|
-
import { ApiClient as
|
3122
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3078
3123
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3079
|
-
var ReleaseContentsClient = class extends
|
3124
|
+
var ReleaseContentsClient = class extends ApiClient14 {
|
3080
3125
|
constructor(options) {
|
3081
3126
|
super(options);
|
3082
3127
|
}
|
@@ -3098,9 +3143,9 @@ var ReleaseContentsClient = class extends ApiClient13 {
|
|
3098
3143
|
};
|
3099
3144
|
|
3100
3145
|
// src/RouteClient.ts
|
3101
|
-
import { ApiClient as
|
3146
|
+
import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
|
3102
3147
|
var ROUTE_URL = "/api/v1/route";
|
3103
|
-
var RouteClient = class extends
|
3148
|
+
var RouteClient = class extends ApiClient15 {
|
3104
3149
|
constructor(options) {
|
3105
3150
|
var _a;
|
3106
3151
|
if (!options.limitPolicy) {
|
@@ -3420,9 +3465,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3420
3465
|
var version = "20.32.0";
|
3421
3466
|
|
3422
3467
|
// src/WorkflowClient.ts
|
3423
|
-
import { ApiClient as
|
3468
|
+
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
3424
3469
|
var workflowsUrl = "/api/v1/workflows";
|
3425
|
-
var WorkflowClient = class extends
|
3470
|
+
var WorkflowClient = class extends ApiClient16 {
|
3426
3471
|
constructor(options) {
|
3427
3472
|
super(options);
|
3428
3473
|
}
|
@@ -3516,6 +3561,7 @@ export {
|
|
3516
3561
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3517
3562
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3518
3563
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3564
|
+
IntegrationPropertyEditorsClient,
|
3519
3565
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3520
3566
|
LocaleClient,
|
3521
3567
|
PLACEHOLDER_ID,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "20.32.
|
3
|
+
"version": "20.32.1-alpha.4+d57d1b5dfa",
|
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.32.
|
45
|
-
"@uniformdev/context": "20.32.
|
46
|
-
"@uniformdev/richtext": "20.32.
|
44
|
+
"@uniformdev/assets": "20.32.1-alpha.4+d57d1b5dfa",
|
45
|
+
"@uniformdev/context": "20.32.1-alpha.4+d57d1b5dfa",
|
46
|
+
"@uniformdev/richtext": "20.32.1-alpha.4+d57d1b5dfa",
|
47
47
|
"immer": "10.1.1"
|
48
48
|
},
|
49
49
|
"files": [
|
@@ -52,5 +52,5 @@
|
|
52
52
|
"publishConfig": {
|
53
53
|
"access": "public"
|
54
54
|
},
|
55
|
-
"gitHead": "
|
55
|
+
"gitHead": "d57d1b5dfa94641fb683cbc7e2e9333516b4019f"
|
56
56
|
}
|