@uniformdev/canvas 20.36.0 → 20.36.1-alpha.1
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
|
}
|
@@ -2896,10 +2941,10 @@ var createCanvasChannel = ({
|
|
2896
2941
|
};
|
2897
2942
|
|
2898
2943
|
// src/PreviewClient.ts
|
2899
|
-
import { ApiClient as
|
2944
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2900
2945
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
2901
2946
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2902
|
-
var PreviewClient = class extends
|
2947
|
+
var PreviewClient = class extends ApiClient9 {
|
2903
2948
|
constructor(options) {
|
2904
2949
|
super(options);
|
2905
2950
|
}
|
@@ -2962,9 +3007,9 @@ var PreviewClient = class extends ApiClient8 {
|
|
2962
3007
|
};
|
2963
3008
|
|
2964
3009
|
// src/ProjectClient.ts
|
2965
|
-
import { ApiClient as
|
3010
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2966
3011
|
var _url2;
|
2967
|
-
var _ProjectClient = class _ProjectClient extends
|
3012
|
+
var _ProjectClient = class _ProjectClient extends ApiClient10 {
|
2968
3013
|
constructor(options) {
|
2969
3014
|
super({ ...options, bypassCache: true });
|
2970
3015
|
}
|
@@ -2996,9 +3041,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
2996
3041
|
var ProjectClient = _ProjectClient;
|
2997
3042
|
|
2998
3043
|
// src/PromptClient.ts
|
2999
|
-
import { ApiClient as
|
3044
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
3000
3045
|
var PromptsUrl = "/api/v1/prompts";
|
3001
|
-
var PromptClient = class extends
|
3046
|
+
var PromptClient = class extends ApiClient11 {
|
3002
3047
|
constructor(options) {
|
3003
3048
|
super(options);
|
3004
3049
|
}
|
@@ -3029,9 +3074,9 @@ var PromptClient = class extends ApiClient10 {
|
|
3029
3074
|
};
|
3030
3075
|
|
3031
3076
|
// src/RelationshipClient.ts
|
3032
|
-
import { ApiClient as
|
3077
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
3033
3078
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3034
|
-
var RelationshipClient = class extends
|
3079
|
+
var RelationshipClient = class extends ApiClient12 {
|
3035
3080
|
constructor(options) {
|
3036
3081
|
super(options);
|
3037
3082
|
this.get = async (options) => {
|
@@ -3043,9 +3088,9 @@ var RelationshipClient = class extends ApiClient11 {
|
|
3043
3088
|
};
|
3044
3089
|
|
3045
3090
|
// src/ReleaseClient.ts
|
3046
|
-
import { ApiClient as
|
3091
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
3047
3092
|
var releasesUrl = "/api/v1/releases";
|
3048
|
-
var ReleaseClient = class extends
|
3093
|
+
var ReleaseClient = class extends ApiClient13 {
|
3049
3094
|
constructor(options) {
|
3050
3095
|
super(options);
|
3051
3096
|
}
|
@@ -3085,9 +3130,9 @@ var ReleaseClient = class extends ApiClient12 {
|
|
3085
3130
|
};
|
3086
3131
|
|
3087
3132
|
// src/ReleaseContentsClient.ts
|
3088
|
-
import { ApiClient as
|
3133
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3089
3134
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3090
|
-
var ReleaseContentsClient = class extends
|
3135
|
+
var ReleaseContentsClient = class extends ApiClient14 {
|
3091
3136
|
constructor(options) {
|
3092
3137
|
super(options);
|
3093
3138
|
}
|
@@ -3109,9 +3154,9 @@ var ReleaseContentsClient = class extends ApiClient13 {
|
|
3109
3154
|
};
|
3110
3155
|
|
3111
3156
|
// src/RouteClient.ts
|
3112
|
-
import { ApiClient as
|
3157
|
+
import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
|
3113
3158
|
var ROUTE_URL = "/api/v1/route";
|
3114
|
-
var RouteClient = class extends
|
3159
|
+
var RouteClient = class extends ApiClient15 {
|
3115
3160
|
constructor(options) {
|
3116
3161
|
var _a;
|
3117
3162
|
if (!options.limitPolicy) {
|
@@ -3431,9 +3476,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3431
3476
|
var version = "20.36.0";
|
3432
3477
|
|
3433
3478
|
// src/WorkflowClient.ts
|
3434
|
-
import { ApiClient as
|
3479
|
+
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
3435
3480
|
var workflowsUrl = "/api/v1/workflows";
|
3436
|
-
var WorkflowClient = class extends
|
3481
|
+
var WorkflowClient = class extends ApiClient16 {
|
3437
3482
|
constructor(options) {
|
3438
3483
|
super(options);
|
3439
3484
|
}
|
@@ -3527,6 +3572,7 @@ export {
|
|
3527
3572
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3528
3573
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3529
3574
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3575
|
+
IntegrationPropertyEditorsClient,
|
3530
3576
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3531
3577
|
LocaleClient,
|
3532
3578
|
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,
|
@@ -2680,10 +2681,55 @@ var EntityReleasesClient = class extends import_api7.ApiClient {
|
|
2680
2681
|
}
|
2681
2682
|
};
|
2682
2683
|
|
2683
|
-
// src/
|
2684
|
+
// src/IntegrationPropertyEditorsClient.ts
|
2684
2685
|
var import_api8 = require("@uniformdev/context/api");
|
2686
|
+
var _baseUrl;
|
2687
|
+
var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient extends import_api8.ApiClient {
|
2688
|
+
constructor(options) {
|
2689
|
+
super(options);
|
2690
|
+
this.teamId = options.teamId;
|
2691
|
+
}
|
2692
|
+
/**
|
2693
|
+
* Gets a list of property type and hook names for the current team, including public integrations' hooks.
|
2694
|
+
*/
|
2695
|
+
get(options) {
|
2696
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl), {
|
2697
|
+
...options,
|
2698
|
+
teamId: this.teamId
|
2699
|
+
});
|
2700
|
+
return this.apiClient(fetchUri);
|
2701
|
+
}
|
2702
|
+
/**
|
2703
|
+
* Creates or updates a custom AI property editor on a Mesh app.
|
2704
|
+
*/
|
2705
|
+
async deploy(body) {
|
2706
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2707
|
+
await this.apiClient(fetchUri, {
|
2708
|
+
method: "PUT",
|
2709
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2710
|
+
expectNoContent: true
|
2711
|
+
});
|
2712
|
+
}
|
2713
|
+
/**
|
2714
|
+
* Removes a custom AI property editor from a Mesh app.
|
2715
|
+
*/
|
2716
|
+
async delete(body) {
|
2717
|
+
const fetchUri = this.createUrl(__privateGet(_IntegrationPropertyEditorsClient, _baseUrl));
|
2718
|
+
await this.apiClient(fetchUri, {
|
2719
|
+
method: "DELETE",
|
2720
|
+
body: JSON.stringify({ ...body, teamId: this.teamId }),
|
2721
|
+
expectNoContent: true
|
2722
|
+
});
|
2723
|
+
}
|
2724
|
+
};
|
2725
|
+
_baseUrl = new WeakMap();
|
2726
|
+
__privateAdd(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
2727
|
+
var IntegrationPropertyEditorsClient = _IntegrationPropertyEditorsClient;
|
2728
|
+
|
2729
|
+
// src/LocaleClient.ts
|
2730
|
+
var import_api9 = require("@uniformdev/context/api");
|
2685
2731
|
var localesUrl = "/api/v1/locales";
|
2686
|
-
var LocaleClient = class extends
|
2732
|
+
var LocaleClient = class extends import_api9.ApiClient {
|
2687
2733
|
constructor(options) {
|
2688
2734
|
super(options);
|
2689
2735
|
}
|
@@ -3063,10 +3109,10 @@ var createCanvasChannel = ({
|
|
3063
3109
|
};
|
3064
3110
|
|
3065
3111
|
// src/PreviewClient.ts
|
3066
|
-
var
|
3112
|
+
var import_api10 = require("@uniformdev/context/api");
|
3067
3113
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
3068
3114
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
3069
|
-
var PreviewClient = class extends
|
3115
|
+
var PreviewClient = class extends import_api10.ApiClient {
|
3070
3116
|
constructor(options) {
|
3071
3117
|
super(options);
|
3072
3118
|
}
|
@@ -3129,9 +3175,9 @@ var PreviewClient = class extends import_api9.ApiClient {
|
|
3129
3175
|
};
|
3130
3176
|
|
3131
3177
|
// src/ProjectClient.ts
|
3132
|
-
var
|
3178
|
+
var import_api11 = require("@uniformdev/context/api");
|
3133
3179
|
var _url2;
|
3134
|
-
var _ProjectClient = class _ProjectClient extends
|
3180
|
+
var _ProjectClient = class _ProjectClient extends import_api11.ApiClient {
|
3135
3181
|
constructor(options) {
|
3136
3182
|
super({ ...options, bypassCache: true });
|
3137
3183
|
}
|
@@ -3163,9 +3209,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
3163
3209
|
var ProjectClient = _ProjectClient;
|
3164
3210
|
|
3165
3211
|
// src/PromptClient.ts
|
3166
|
-
var
|
3212
|
+
var import_api12 = require("@uniformdev/context/api");
|
3167
3213
|
var PromptsUrl = "/api/v1/prompts";
|
3168
|
-
var PromptClient = class extends
|
3214
|
+
var PromptClient = class extends import_api12.ApiClient {
|
3169
3215
|
constructor(options) {
|
3170
3216
|
super(options);
|
3171
3217
|
}
|
@@ -3196,9 +3242,9 @@ var PromptClient = class extends import_api11.ApiClient {
|
|
3196
3242
|
};
|
3197
3243
|
|
3198
3244
|
// src/RelationshipClient.ts
|
3199
|
-
var
|
3245
|
+
var import_api13 = require("@uniformdev/context/api");
|
3200
3246
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3201
|
-
var RelationshipClient = class extends
|
3247
|
+
var RelationshipClient = class extends import_api13.ApiClient {
|
3202
3248
|
constructor(options) {
|
3203
3249
|
super(options);
|
3204
3250
|
this.get = async (options) => {
|
@@ -3210,9 +3256,9 @@ var RelationshipClient = class extends import_api12.ApiClient {
|
|
3210
3256
|
};
|
3211
3257
|
|
3212
3258
|
// src/ReleaseClient.ts
|
3213
|
-
var
|
3259
|
+
var import_api14 = require("@uniformdev/context/api");
|
3214
3260
|
var releasesUrl = "/api/v1/releases";
|
3215
|
-
var ReleaseClient = class extends
|
3261
|
+
var ReleaseClient = class extends import_api14.ApiClient {
|
3216
3262
|
constructor(options) {
|
3217
3263
|
super(options);
|
3218
3264
|
}
|
@@ -3252,9 +3298,9 @@ var ReleaseClient = class extends import_api13.ApiClient {
|
|
3252
3298
|
};
|
3253
3299
|
|
3254
3300
|
// src/ReleaseContentsClient.ts
|
3255
|
-
var
|
3301
|
+
var import_api15 = require("@uniformdev/context/api");
|
3256
3302
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3257
|
-
var ReleaseContentsClient = class extends
|
3303
|
+
var ReleaseContentsClient = class extends import_api15.ApiClient {
|
3258
3304
|
constructor(options) {
|
3259
3305
|
super(options);
|
3260
3306
|
}
|
@@ -3276,9 +3322,9 @@ var ReleaseContentsClient = class extends import_api14.ApiClient {
|
|
3276
3322
|
};
|
3277
3323
|
|
3278
3324
|
// src/RouteClient.ts
|
3279
|
-
var
|
3325
|
+
var import_api16 = require("@uniformdev/context/api");
|
3280
3326
|
var ROUTE_URL = "/api/v1/route";
|
3281
|
-
var RouteClient = class extends
|
3327
|
+
var RouteClient = class extends import_api16.ApiClient {
|
3282
3328
|
constructor(options) {
|
3283
3329
|
var _a;
|
3284
3330
|
if (!options.limitPolicy) {
|
@@ -3592,15 +3638,15 @@ function handleRichTextNodeBinding(object, options) {
|
|
3592
3638
|
}
|
3593
3639
|
|
3594
3640
|
// src/index.ts
|
3595
|
-
var
|
3641
|
+
var import_api18 = require("@uniformdev/context/api");
|
3596
3642
|
|
3597
3643
|
// src/.version.ts
|
3598
3644
|
var version = "20.36.0";
|
3599
3645
|
|
3600
3646
|
// src/WorkflowClient.ts
|
3601
|
-
var
|
3647
|
+
var import_api17 = require("@uniformdev/context/api");
|
3602
3648
|
var workflowsUrl = "/api/v1/workflows";
|
3603
|
-
var WorkflowClient = class extends
|
3649
|
+
var WorkflowClient = class extends import_api17.ApiClient {
|
3604
3650
|
constructor(options) {
|
3605
3651
|
super(options);
|
3606
3652
|
}
|
@@ -3631,7 +3677,7 @@ var WorkflowClient = class extends import_api16.ApiClient {
|
|
3631
3677
|
};
|
3632
3678
|
|
3633
3679
|
// src/index.ts
|
3634
|
-
var CanvasClientError =
|
3680
|
+
var CanvasClientError = import_api18.ApiClientError;
|
3635
3681
|
// Annotate the CommonJS export names for ESM import in node:
|
3636
3682
|
0 && (module.exports = {
|
3637
3683
|
ASSETS_SOURCE_CUSTOM_URL,
|
@@ -3695,6 +3741,7 @@ var CanvasClientError = import_api17.ApiClientError;
|
|
3695
3741
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3696
3742
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3697
3743
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3744
|
+
IntegrationPropertyEditorsClient,
|
3698
3745
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3699
3746
|
LocaleClient,
|
3700
3747
|
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
|
}
|
@@ -2896,10 +2941,10 @@ var createCanvasChannel = ({
|
|
2896
2941
|
};
|
2897
2942
|
|
2898
2943
|
// src/PreviewClient.ts
|
2899
|
-
import { ApiClient as
|
2944
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2900
2945
|
var previewUrlsUrl = "/api/v1/preview-urls";
|
2901
2946
|
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2902
|
-
var PreviewClient = class extends
|
2947
|
+
var PreviewClient = class extends ApiClient9 {
|
2903
2948
|
constructor(options) {
|
2904
2949
|
super(options);
|
2905
2950
|
}
|
@@ -2962,9 +3007,9 @@ var PreviewClient = class extends ApiClient8 {
|
|
2962
3007
|
};
|
2963
3008
|
|
2964
3009
|
// src/ProjectClient.ts
|
2965
|
-
import { ApiClient as
|
3010
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2966
3011
|
var _url2;
|
2967
|
-
var _ProjectClient = class _ProjectClient extends
|
3012
|
+
var _ProjectClient = class _ProjectClient extends ApiClient10 {
|
2968
3013
|
constructor(options) {
|
2969
3014
|
super({ ...options, bypassCache: true });
|
2970
3015
|
}
|
@@ -2996,9 +3041,9 @@ __privateAdd(_ProjectClient, _url2, "/api/v1/project");
|
|
2996
3041
|
var ProjectClient = _ProjectClient;
|
2997
3042
|
|
2998
3043
|
// src/PromptClient.ts
|
2999
|
-
import { ApiClient as
|
3044
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
3000
3045
|
var PromptsUrl = "/api/v1/prompts";
|
3001
|
-
var PromptClient = class extends
|
3046
|
+
var PromptClient = class extends ApiClient11 {
|
3002
3047
|
constructor(options) {
|
3003
3048
|
super(options);
|
3004
3049
|
}
|
@@ -3029,9 +3074,9 @@ var PromptClient = class extends ApiClient10 {
|
|
3029
3074
|
};
|
3030
3075
|
|
3031
3076
|
// src/RelationshipClient.ts
|
3032
|
-
import { ApiClient as
|
3077
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
3033
3078
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
3034
|
-
var RelationshipClient = class extends
|
3079
|
+
var RelationshipClient = class extends ApiClient12 {
|
3035
3080
|
constructor(options) {
|
3036
3081
|
super(options);
|
3037
3082
|
this.get = async (options) => {
|
@@ -3043,9 +3088,9 @@ var RelationshipClient = class extends ApiClient11 {
|
|
3043
3088
|
};
|
3044
3089
|
|
3045
3090
|
// src/ReleaseClient.ts
|
3046
|
-
import { ApiClient as
|
3091
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
3047
3092
|
var releasesUrl = "/api/v1/releases";
|
3048
|
-
var ReleaseClient = class extends
|
3093
|
+
var ReleaseClient = class extends ApiClient13 {
|
3049
3094
|
constructor(options) {
|
3050
3095
|
super(options);
|
3051
3096
|
}
|
@@ -3085,9 +3130,9 @@ var ReleaseClient = class extends ApiClient12 {
|
|
3085
3130
|
};
|
3086
3131
|
|
3087
3132
|
// src/ReleaseContentsClient.ts
|
3088
|
-
import { ApiClient as
|
3133
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3089
3134
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3090
|
-
var ReleaseContentsClient = class extends
|
3135
|
+
var ReleaseContentsClient = class extends ApiClient14 {
|
3091
3136
|
constructor(options) {
|
3092
3137
|
super(options);
|
3093
3138
|
}
|
@@ -3109,9 +3154,9 @@ var ReleaseContentsClient = class extends ApiClient13 {
|
|
3109
3154
|
};
|
3110
3155
|
|
3111
3156
|
// src/RouteClient.ts
|
3112
|
-
import { ApiClient as
|
3157
|
+
import { ApiClient as ApiClient15 } from "@uniformdev/context/api";
|
3113
3158
|
var ROUTE_URL = "/api/v1/route";
|
3114
|
-
var RouteClient = class extends
|
3159
|
+
var RouteClient = class extends ApiClient15 {
|
3115
3160
|
constructor(options) {
|
3116
3161
|
var _a;
|
3117
3162
|
if (!options.limitPolicy) {
|
@@ -3431,9 +3476,9 @@ import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3431
3476
|
var version = "20.36.0";
|
3432
3477
|
|
3433
3478
|
// src/WorkflowClient.ts
|
3434
|
-
import { ApiClient as
|
3479
|
+
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
3435
3480
|
var workflowsUrl = "/api/v1/workflows";
|
3436
|
-
var WorkflowClient = class extends
|
3481
|
+
var WorkflowClient = class extends ApiClient16 {
|
3437
3482
|
constructor(options) {
|
3438
3483
|
super(options);
|
3439
3484
|
}
|
@@ -3527,6 +3572,7 @@ export {
|
|
3527
3572
|
IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM,
|
3528
3573
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
3529
3574
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
3575
|
+
IntegrationPropertyEditorsClient,
|
3530
3576
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3531
3577
|
LocaleClient,
|
3532
3578
|
PLACEHOLDER_ID,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "20.36.
|
3
|
+
"version": "20.36.1-alpha.1+38de886ef3",
|
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.36.
|
45
|
-
"@uniformdev/context": "20.36.
|
46
|
-
"@uniformdev/richtext": "20.36.
|
44
|
+
"@uniformdev/assets": "20.36.1-alpha.1+38de886ef3",
|
45
|
+
"@uniformdev/context": "20.36.1-alpha.1+38de886ef3",
|
46
|
+
"@uniformdev/richtext": "20.36.1-alpha.1+38de886ef3",
|
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": "38de886ef32586054df84137f0abe58fc968f146"
|
56
56
|
}
|