@uniformdev/canvas 19.195.1-alpha.2 → 19.195.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 +1300 -758
- package/dist/index.d.ts +1300 -758
- package/dist/index.esm.js +79 -12
- package/dist/index.js +83 -15
- package/dist/index.mjs +79 -12
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
@@ -2782,10 +2782,76 @@ function subscribeToComposition({
|
|
2782
2782
|
};
|
2783
2783
|
}
|
2784
2784
|
|
2785
|
-
// src/
|
2785
|
+
// src/PreviewClient.ts
|
2786
2786
|
import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
|
2787
|
+
var previewUrlsUrl = "/api/v1/preview-urls";
|
2788
|
+
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2789
|
+
var PreviewClient = class extends ApiClient8 {
|
2790
|
+
constructor(options) {
|
2791
|
+
super(options);
|
2792
|
+
}
|
2793
|
+
/** Fetches a preview URL by ID */
|
2794
|
+
async getPreviewUrl({ id }) {
|
2795
|
+
var _a;
|
2796
|
+
const result = await this.getPreviewUrls({ id });
|
2797
|
+
return (_a = result.previewUrls[0]) != null ? _a : null;
|
2798
|
+
}
|
2799
|
+
/** Fetches all preview URLs for a project */
|
2800
|
+
async getPreviewUrls(options) {
|
2801
|
+
const { projectId } = this.options;
|
2802
|
+
const fetchUri = this.createUrl(previewUrlsUrl, { ...options, projectId });
|
2803
|
+
return await this.apiClient(fetchUri);
|
2804
|
+
}
|
2805
|
+
/** Creates or updates a preview URL */
|
2806
|
+
async upsertPreviewUrl(body) {
|
2807
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2808
|
+
return await this.apiClient(fetchUri, {
|
2809
|
+
method: "PUT",
|
2810
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2811
|
+
});
|
2812
|
+
}
|
2813
|
+
/** Deletes a preview URL */
|
2814
|
+
async deletePreviewUrl(body) {
|
2815
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2816
|
+
return await this.apiClient(fetchUri, {
|
2817
|
+
method: "DELETE",
|
2818
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2819
|
+
});
|
2820
|
+
}
|
2821
|
+
/** Fetches a preview viewport by ID */
|
2822
|
+
async getPreviewViewport({ id }) {
|
2823
|
+
var _a;
|
2824
|
+
const result = await this.getPreviewViewports({ id });
|
2825
|
+
return (_a = result.previewViewports[0]) != null ? _a : null;
|
2826
|
+
}
|
2827
|
+
/** Fetches all preview viewports for a project */
|
2828
|
+
async getPreviewViewports(options) {
|
2829
|
+
const { projectId } = this.options;
|
2830
|
+
const fetchUri = this.createUrl(previewViewportsUrl, { ...options, projectId });
|
2831
|
+
return await this.apiClient(fetchUri);
|
2832
|
+
}
|
2833
|
+
/** Creates or updates a preview viewport */
|
2834
|
+
async upsertPreviewViewport(body) {
|
2835
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
2836
|
+
return await this.apiClient(fetchUri, {
|
2837
|
+
method: "PUT",
|
2838
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2839
|
+
});
|
2840
|
+
}
|
2841
|
+
/** Deletes a preview viewport */
|
2842
|
+
async deletePreviewViewport(body) {
|
2843
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
2844
|
+
return await this.apiClient(fetchUri, {
|
2845
|
+
method: "DELETE",
|
2846
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2847
|
+
});
|
2848
|
+
}
|
2849
|
+
};
|
2850
|
+
|
2851
|
+
// src/PromptClient.ts
|
2852
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2787
2853
|
var PromptsUrl = "/api/v1/prompts";
|
2788
|
-
var PromptClient = class extends
|
2854
|
+
var PromptClient = class extends ApiClient9 {
|
2789
2855
|
constructor(options) {
|
2790
2856
|
super(options);
|
2791
2857
|
}
|
@@ -2816,9 +2882,9 @@ var PromptClient = class extends ApiClient8 {
|
|
2816
2882
|
};
|
2817
2883
|
|
2818
2884
|
// src/RelationshipClient.ts
|
2819
|
-
import { ApiClient as
|
2885
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2820
2886
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
2821
|
-
var RelationshipClient = class extends
|
2887
|
+
var RelationshipClient = class extends ApiClient10 {
|
2822
2888
|
constructor(options) {
|
2823
2889
|
super(options);
|
2824
2890
|
this.get = async (options) => {
|
@@ -2830,9 +2896,9 @@ var RelationshipClient = class extends ApiClient9 {
|
|
2830
2896
|
};
|
2831
2897
|
|
2832
2898
|
// src/ReleaseClient.ts
|
2833
|
-
import { ApiClient as
|
2899
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
2834
2900
|
var releasesUrl = "/api/v1/releases";
|
2835
|
-
var ReleaseClient = class extends
|
2901
|
+
var ReleaseClient = class extends ApiClient11 {
|
2836
2902
|
constructor(options) {
|
2837
2903
|
super(options);
|
2838
2904
|
}
|
@@ -2872,9 +2938,9 @@ var ReleaseClient = class extends ApiClient10 {
|
|
2872
2938
|
};
|
2873
2939
|
|
2874
2940
|
// src/ReleaseContentsClient.ts
|
2875
|
-
import { ApiClient as
|
2941
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
2876
2942
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
2877
|
-
var ReleaseContentsClient = class extends
|
2943
|
+
var ReleaseContentsClient = class extends ApiClient12 {
|
2878
2944
|
constructor(options) {
|
2879
2945
|
super(options);
|
2880
2946
|
}
|
@@ -2896,9 +2962,9 @@ var ReleaseContentsClient = class extends ApiClient11 {
|
|
2896
2962
|
};
|
2897
2963
|
|
2898
2964
|
// src/RouteClient.ts
|
2899
|
-
import { ApiClient as
|
2965
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
2900
2966
|
var ROUTE_URL = "/api/v1/route";
|
2901
|
-
var RouteClient = class extends
|
2967
|
+
var RouteClient = class extends ApiClient13 {
|
2902
2968
|
constructor(options) {
|
2903
2969
|
var _a;
|
2904
2970
|
if (!options.limitPolicy) {
|
@@ -3222,9 +3288,9 @@ function handleRichTextNodeBinding(object, options) {
|
|
3222
3288
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
3223
3289
|
|
3224
3290
|
// src/WorkflowClient.ts
|
3225
|
-
import { ApiClient as
|
3291
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3226
3292
|
var workflowsUrl = "/api/v1/workflows";
|
3227
|
-
var WorkflowClient = class extends
|
3293
|
+
var WorkflowClient = class extends ApiClient14 {
|
3228
3294
|
constructor(options) {
|
3229
3295
|
super(options);
|
3230
3296
|
}
|
@@ -3316,6 +3382,7 @@ export {
|
|
3316
3382
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3317
3383
|
LocaleClient,
|
3318
3384
|
PLACEHOLDER_ID,
|
3385
|
+
PreviewClient,
|
3319
3386
|
PromptClient,
|
3320
3387
|
RelationshipClient,
|
3321
3388
|
ReleaseClient,
|
package/dist/index.js
CHANGED
@@ -279,7 +279,7 @@ __export(src_exports, {
|
|
279
279
|
ATTRIBUTE_PARAMETER_TYPE: () => ATTRIBUTE_PARAMETER_TYPE,
|
280
280
|
ATTRIBUTE_PARAMETER_VALUE: () => ATTRIBUTE_PARAMETER_VALUE,
|
281
281
|
ATTRIBUTE_PLACEHOLDER: () => ATTRIBUTE_PLACEHOLDER,
|
282
|
-
ApiClientError: () =>
|
282
|
+
ApiClientError: () => import_api16.ApiClientError,
|
283
283
|
BatchEntry: () => BatchEntry,
|
284
284
|
BlockFormatError: () => BlockFormatError,
|
285
285
|
CANVAS_BLOCK_PARAM_TYPE: () => CANVAS_BLOCK_PARAM_TYPE,
|
@@ -329,6 +329,7 @@ __export(src_exports, {
|
|
329
329
|
LOCALE_DYNAMIC_INPUT_NAME: () => LOCALE_DYNAMIC_INPUT_NAME,
|
330
330
|
LocaleClient: () => LocaleClient,
|
331
331
|
PLACEHOLDER_ID: () => PLACEHOLDER_ID,
|
332
|
+
PreviewClient: () => PreviewClient,
|
332
333
|
PromptClient: () => PromptClient,
|
333
334
|
RelationshipClient: () => RelationshipClient,
|
334
335
|
ReleaseClient: () => ReleaseClient,
|
@@ -2939,10 +2940,76 @@ function subscribeToComposition({
|
|
2939
2940
|
};
|
2940
2941
|
}
|
2941
2942
|
|
2942
|
-
// src/
|
2943
|
+
// src/PreviewClient.ts
|
2943
2944
|
var import_api9 = require("@uniformdev/context/api");
|
2945
|
+
var previewUrlsUrl = "/api/v1/preview-urls";
|
2946
|
+
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2947
|
+
var PreviewClient = class extends import_api9.ApiClient {
|
2948
|
+
constructor(options) {
|
2949
|
+
super(options);
|
2950
|
+
}
|
2951
|
+
/** Fetches a preview URL by ID */
|
2952
|
+
async getPreviewUrl({ id }) {
|
2953
|
+
var _a;
|
2954
|
+
const result = await this.getPreviewUrls({ id });
|
2955
|
+
return (_a = result.previewUrls[0]) != null ? _a : null;
|
2956
|
+
}
|
2957
|
+
/** Fetches all preview URLs for a project */
|
2958
|
+
async getPreviewUrls(options) {
|
2959
|
+
const { projectId } = this.options;
|
2960
|
+
const fetchUri = this.createUrl(previewUrlsUrl, { ...options, projectId });
|
2961
|
+
return await this.apiClient(fetchUri);
|
2962
|
+
}
|
2963
|
+
/** Creates or updates a preview URL */
|
2964
|
+
async upsertPreviewUrl(body) {
|
2965
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2966
|
+
return await this.apiClient(fetchUri, {
|
2967
|
+
method: "PUT",
|
2968
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2969
|
+
});
|
2970
|
+
}
|
2971
|
+
/** Deletes a preview URL */
|
2972
|
+
async deletePreviewUrl(body) {
|
2973
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2974
|
+
return await this.apiClient(fetchUri, {
|
2975
|
+
method: "DELETE",
|
2976
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2977
|
+
});
|
2978
|
+
}
|
2979
|
+
/** Fetches a preview viewport by ID */
|
2980
|
+
async getPreviewViewport({ id }) {
|
2981
|
+
var _a;
|
2982
|
+
const result = await this.getPreviewViewports({ id });
|
2983
|
+
return (_a = result.previewViewports[0]) != null ? _a : null;
|
2984
|
+
}
|
2985
|
+
/** Fetches all preview viewports for a project */
|
2986
|
+
async getPreviewViewports(options) {
|
2987
|
+
const { projectId } = this.options;
|
2988
|
+
const fetchUri = this.createUrl(previewViewportsUrl, { ...options, projectId });
|
2989
|
+
return await this.apiClient(fetchUri);
|
2990
|
+
}
|
2991
|
+
/** Creates or updates a preview viewport */
|
2992
|
+
async upsertPreviewViewport(body) {
|
2993
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
2994
|
+
return await this.apiClient(fetchUri, {
|
2995
|
+
method: "PUT",
|
2996
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2997
|
+
});
|
2998
|
+
}
|
2999
|
+
/** Deletes a preview viewport */
|
3000
|
+
async deletePreviewViewport(body) {
|
3001
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
3002
|
+
return await this.apiClient(fetchUri, {
|
3003
|
+
method: "DELETE",
|
3004
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
3005
|
+
});
|
3006
|
+
}
|
3007
|
+
};
|
3008
|
+
|
3009
|
+
// src/PromptClient.ts
|
3010
|
+
var import_api10 = require("@uniformdev/context/api");
|
2944
3011
|
var PromptsUrl = "/api/v1/prompts";
|
2945
|
-
var PromptClient = class extends
|
3012
|
+
var PromptClient = class extends import_api10.ApiClient {
|
2946
3013
|
constructor(options) {
|
2947
3014
|
super(options);
|
2948
3015
|
}
|
@@ -2973,9 +3040,9 @@ var PromptClient = class extends import_api9.ApiClient {
|
|
2973
3040
|
};
|
2974
3041
|
|
2975
3042
|
// src/RelationshipClient.ts
|
2976
|
-
var
|
3043
|
+
var import_api11 = require("@uniformdev/context/api");
|
2977
3044
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
2978
|
-
var RelationshipClient = class extends
|
3045
|
+
var RelationshipClient = class extends import_api11.ApiClient {
|
2979
3046
|
constructor(options) {
|
2980
3047
|
super(options);
|
2981
3048
|
this.get = async (options) => {
|
@@ -2987,9 +3054,9 @@ var RelationshipClient = class extends import_api10.ApiClient {
|
|
2987
3054
|
};
|
2988
3055
|
|
2989
3056
|
// src/ReleaseClient.ts
|
2990
|
-
var
|
3057
|
+
var import_api12 = require("@uniformdev/context/api");
|
2991
3058
|
var releasesUrl = "/api/v1/releases";
|
2992
|
-
var ReleaseClient = class extends
|
3059
|
+
var ReleaseClient = class extends import_api12.ApiClient {
|
2993
3060
|
constructor(options) {
|
2994
3061
|
super(options);
|
2995
3062
|
}
|
@@ -3029,9 +3096,9 @@ var ReleaseClient = class extends import_api11.ApiClient {
|
|
3029
3096
|
};
|
3030
3097
|
|
3031
3098
|
// src/ReleaseContentsClient.ts
|
3032
|
-
var
|
3099
|
+
var import_api13 = require("@uniformdev/context/api");
|
3033
3100
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
3034
|
-
var ReleaseContentsClient = class extends
|
3101
|
+
var ReleaseContentsClient = class extends import_api13.ApiClient {
|
3035
3102
|
constructor(options) {
|
3036
3103
|
super(options);
|
3037
3104
|
}
|
@@ -3053,9 +3120,9 @@ var ReleaseContentsClient = class extends import_api12.ApiClient {
|
|
3053
3120
|
};
|
3054
3121
|
|
3055
3122
|
// src/RouteClient.ts
|
3056
|
-
var
|
3123
|
+
var import_api14 = require("@uniformdev/context/api");
|
3057
3124
|
var ROUTE_URL = "/api/v1/route";
|
3058
|
-
var RouteClient = class extends
|
3125
|
+
var RouteClient = class extends import_api14.ApiClient {
|
3059
3126
|
constructor(options) {
|
3060
3127
|
var _a;
|
3061
3128
|
if (!options.limitPolicy) {
|
@@ -3376,12 +3443,12 @@ function handleRichTextNodeBinding(object, options) {
|
|
3376
3443
|
}
|
3377
3444
|
|
3378
3445
|
// src/index.ts
|
3379
|
-
var
|
3446
|
+
var import_api16 = require("@uniformdev/context/api");
|
3380
3447
|
|
3381
3448
|
// src/WorkflowClient.ts
|
3382
|
-
var
|
3449
|
+
var import_api15 = require("@uniformdev/context/api");
|
3383
3450
|
var workflowsUrl = "/api/v1/workflows";
|
3384
|
-
var WorkflowClient = class extends
|
3451
|
+
var WorkflowClient = class extends import_api15.ApiClient {
|
3385
3452
|
constructor(options) {
|
3386
3453
|
super(options);
|
3387
3454
|
}
|
@@ -3412,7 +3479,7 @@ var WorkflowClient = class extends import_api14.ApiClient {
|
|
3412
3479
|
};
|
3413
3480
|
|
3414
3481
|
// src/index.ts
|
3415
|
-
var CanvasClientError =
|
3482
|
+
var CanvasClientError = import_api16.ApiClientError;
|
3416
3483
|
// Annotate the CommonJS export names for ESM import in node:
|
3417
3484
|
0 && (module.exports = {
|
3418
3485
|
ASSETS_SOURCE_CUSTOM_URL,
|
@@ -3474,6 +3541,7 @@ var CanvasClientError = import_api15.ApiClientError;
|
|
3474
3541
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3475
3542
|
LocaleClient,
|
3476
3543
|
PLACEHOLDER_ID,
|
3544
|
+
PreviewClient,
|
3477
3545
|
PromptClient,
|
3478
3546
|
RelationshipClient,
|
3479
3547
|
ReleaseClient,
|
package/dist/index.mjs
CHANGED
@@ -2782,10 +2782,76 @@ function subscribeToComposition({
|
|
2782
2782
|
};
|
2783
2783
|
}
|
2784
2784
|
|
2785
|
-
// src/
|
2785
|
+
// src/PreviewClient.ts
|
2786
2786
|
import { ApiClient as ApiClient8 } from "@uniformdev/context/api";
|
2787
|
+
var previewUrlsUrl = "/api/v1/preview-urls";
|
2788
|
+
var previewViewportsUrl = "/api/v1/preview-viewports";
|
2789
|
+
var PreviewClient = class extends ApiClient8 {
|
2790
|
+
constructor(options) {
|
2791
|
+
super(options);
|
2792
|
+
}
|
2793
|
+
/** Fetches a preview URL by ID */
|
2794
|
+
async getPreviewUrl({ id }) {
|
2795
|
+
var _a;
|
2796
|
+
const result = await this.getPreviewUrls({ id });
|
2797
|
+
return (_a = result.previewUrls[0]) != null ? _a : null;
|
2798
|
+
}
|
2799
|
+
/** Fetches all preview URLs for a project */
|
2800
|
+
async getPreviewUrls(options) {
|
2801
|
+
const { projectId } = this.options;
|
2802
|
+
const fetchUri = this.createUrl(previewUrlsUrl, { ...options, projectId });
|
2803
|
+
return await this.apiClient(fetchUri);
|
2804
|
+
}
|
2805
|
+
/** Creates or updates a preview URL */
|
2806
|
+
async upsertPreviewUrl(body) {
|
2807
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2808
|
+
return await this.apiClient(fetchUri, {
|
2809
|
+
method: "PUT",
|
2810
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2811
|
+
});
|
2812
|
+
}
|
2813
|
+
/** Deletes a preview URL */
|
2814
|
+
async deletePreviewUrl(body) {
|
2815
|
+
const fetchUri = this.createUrl(previewUrlsUrl);
|
2816
|
+
return await this.apiClient(fetchUri, {
|
2817
|
+
method: "DELETE",
|
2818
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2819
|
+
});
|
2820
|
+
}
|
2821
|
+
/** Fetches a preview viewport by ID */
|
2822
|
+
async getPreviewViewport({ id }) {
|
2823
|
+
var _a;
|
2824
|
+
const result = await this.getPreviewViewports({ id });
|
2825
|
+
return (_a = result.previewViewports[0]) != null ? _a : null;
|
2826
|
+
}
|
2827
|
+
/** Fetches all preview viewports for a project */
|
2828
|
+
async getPreviewViewports(options) {
|
2829
|
+
const { projectId } = this.options;
|
2830
|
+
const fetchUri = this.createUrl(previewViewportsUrl, { ...options, projectId });
|
2831
|
+
return await this.apiClient(fetchUri);
|
2832
|
+
}
|
2833
|
+
/** Creates or updates a preview viewport */
|
2834
|
+
async upsertPreviewViewport(body) {
|
2835
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
2836
|
+
return await this.apiClient(fetchUri, {
|
2837
|
+
method: "PUT",
|
2838
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2839
|
+
});
|
2840
|
+
}
|
2841
|
+
/** Deletes a preview viewport */
|
2842
|
+
async deletePreviewViewport(body) {
|
2843
|
+
const fetchUri = this.createUrl(previewViewportsUrl);
|
2844
|
+
return await this.apiClient(fetchUri, {
|
2845
|
+
method: "DELETE",
|
2846
|
+
body: JSON.stringify({ ...body, projectId: this.options.projectId })
|
2847
|
+
});
|
2848
|
+
}
|
2849
|
+
};
|
2850
|
+
|
2851
|
+
// src/PromptClient.ts
|
2852
|
+
import { ApiClient as ApiClient9 } from "@uniformdev/context/api";
|
2787
2853
|
var PromptsUrl = "/api/v1/prompts";
|
2788
|
-
var PromptClient = class extends
|
2854
|
+
var PromptClient = class extends ApiClient9 {
|
2789
2855
|
constructor(options) {
|
2790
2856
|
super(options);
|
2791
2857
|
}
|
@@ -2816,9 +2882,9 @@ var PromptClient = class extends ApiClient8 {
|
|
2816
2882
|
};
|
2817
2883
|
|
2818
2884
|
// src/RelationshipClient.ts
|
2819
|
-
import { ApiClient as
|
2885
|
+
import { ApiClient as ApiClient10 } from "@uniformdev/context/api";
|
2820
2886
|
var RELATIONSHIPS_URL = "/api/v1/relationships";
|
2821
|
-
var RelationshipClient = class extends
|
2887
|
+
var RelationshipClient = class extends ApiClient10 {
|
2822
2888
|
constructor(options) {
|
2823
2889
|
super(options);
|
2824
2890
|
this.get = async (options) => {
|
@@ -2830,9 +2896,9 @@ var RelationshipClient = class extends ApiClient9 {
|
|
2830
2896
|
};
|
2831
2897
|
|
2832
2898
|
// src/ReleaseClient.ts
|
2833
|
-
import { ApiClient as
|
2899
|
+
import { ApiClient as ApiClient11 } from "@uniformdev/context/api";
|
2834
2900
|
var releasesUrl = "/api/v1/releases";
|
2835
|
-
var ReleaseClient = class extends
|
2901
|
+
var ReleaseClient = class extends ApiClient11 {
|
2836
2902
|
constructor(options) {
|
2837
2903
|
super(options);
|
2838
2904
|
}
|
@@ -2872,9 +2938,9 @@ var ReleaseClient = class extends ApiClient10 {
|
|
2872
2938
|
};
|
2873
2939
|
|
2874
2940
|
// src/ReleaseContentsClient.ts
|
2875
|
-
import { ApiClient as
|
2941
|
+
import { ApiClient as ApiClient12 } from "@uniformdev/context/api";
|
2876
2942
|
var releaseContentsUrl2 = "/api/v1/release-contents";
|
2877
|
-
var ReleaseContentsClient = class extends
|
2943
|
+
var ReleaseContentsClient = class extends ApiClient12 {
|
2878
2944
|
constructor(options) {
|
2879
2945
|
super(options);
|
2880
2946
|
}
|
@@ -2896,9 +2962,9 @@ var ReleaseContentsClient = class extends ApiClient11 {
|
|
2896
2962
|
};
|
2897
2963
|
|
2898
2964
|
// src/RouteClient.ts
|
2899
|
-
import { ApiClient as
|
2965
|
+
import { ApiClient as ApiClient13 } from "@uniformdev/context/api";
|
2900
2966
|
var ROUTE_URL = "/api/v1/route";
|
2901
|
-
var RouteClient = class extends
|
2967
|
+
var RouteClient = class extends ApiClient13 {
|
2902
2968
|
constructor(options) {
|
2903
2969
|
var _a;
|
2904
2970
|
if (!options.limitPolicy) {
|
@@ -3222,9 +3288,9 @@ function handleRichTextNodeBinding(object, options) {
|
|
3222
3288
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
3223
3289
|
|
3224
3290
|
// src/WorkflowClient.ts
|
3225
|
-
import { ApiClient as
|
3291
|
+
import { ApiClient as ApiClient14 } from "@uniformdev/context/api";
|
3226
3292
|
var workflowsUrl = "/api/v1/workflows";
|
3227
|
-
var WorkflowClient = class extends
|
3293
|
+
var WorkflowClient = class extends ApiClient14 {
|
3228
3294
|
constructor(options) {
|
3229
3295
|
super(options);
|
3230
3296
|
}
|
@@ -3316,6 +3382,7 @@ export {
|
|
3316
3382
|
LOCALE_DYNAMIC_INPUT_NAME,
|
3317
3383
|
LocaleClient,
|
3318
3384
|
PLACEHOLDER_ID,
|
3385
|
+
PreviewClient,
|
3319
3386
|
PromptClient,
|
3320
3387
|
RelationshipClient,
|
3321
3388
|
ReleaseClient,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.195.1-alpha.
|
3
|
+
"version": "19.195.1-alpha.4+11d080e0d7",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -38,9 +38,9 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.195.1-alpha.
|
42
|
-
"@uniformdev/context": "19.195.1-alpha.
|
43
|
-
"@uniformdev/richtext": "19.195.1-alpha.
|
41
|
+
"@uniformdev/assets": "19.195.1-alpha.4+11d080e0d7",
|
42
|
+
"@uniformdev/context": "19.195.1-alpha.4+11d080e0d7",
|
43
|
+
"@uniformdev/richtext": "19.195.1-alpha.4+11d080e0d7",
|
44
44
|
"immer": "10.1.1"
|
45
45
|
},
|
46
46
|
"files": [
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"publishConfig": {
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "11d080e0d7c11a3285ae4ceb725816012760786d"
|
53
53
|
}
|