@wix/create-headless-site 0.0.11 → 0.0.12
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/build/index.js +367 -342
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -53043,7 +53043,7 @@ var require_lib2 = __commonJS({
|
|
|
53043
53043
|
}
|
|
53044
53044
|
}
|
|
53045
53045
|
};
|
|
53046
|
-
var
|
|
53046
|
+
var State2 = class _State {
|
|
53047
53047
|
constructor() {
|
|
53048
53048
|
this.flags = 1024;
|
|
53049
53049
|
this.startIndex = void 0;
|
|
@@ -53542,7 +53542,7 @@ var require_lib2 = __commonJS({
|
|
|
53542
53542
|
throw this.raise(Errors.UnterminatedTemplate, buildPosition(pos, lineStart, curLine));
|
|
53543
53543
|
}
|
|
53544
53544
|
});
|
|
53545
|
-
this.state = new
|
|
53545
|
+
this.state = new State2();
|
|
53546
53546
|
this.state.init(options);
|
|
53547
53547
|
this.input = input;
|
|
53548
53548
|
this.length = input.length;
|
|
@@ -64261,7 +64261,7 @@ var require_loader = __commonJS({
|
|
|
64261
64261
|
simpleEscapeMap[i2] = simpleEscapeSequence(i2);
|
|
64262
64262
|
}
|
|
64263
64263
|
var i2;
|
|
64264
|
-
function
|
|
64264
|
+
function State2(input, options) {
|
|
64265
64265
|
this.input = input;
|
|
64266
64266
|
this.filename = options["filename"] || null;
|
|
64267
64267
|
this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
|
|
@@ -65228,7 +65228,7 @@ var require_loader = __commonJS({
|
|
|
65228
65228
|
input = input.slice(1);
|
|
65229
65229
|
}
|
|
65230
65230
|
}
|
|
65231
|
-
var state = new
|
|
65231
|
+
var state = new State2(input, options);
|
|
65232
65232
|
var nullpos = input.indexOf("\0");
|
|
65233
65233
|
if (nullpos !== -1) {
|
|
65234
65234
|
state.position = nullpos;
|
|
@@ -65388,7 +65388,7 @@ var require_dumper = __commonJS({
|
|
|
65388
65388
|
}
|
|
65389
65389
|
return "\\" + handle + common2.repeat("0", length - string.length) + string;
|
|
65390
65390
|
}
|
|
65391
|
-
function
|
|
65391
|
+
function State2(options) {
|
|
65392
65392
|
this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
|
|
65393
65393
|
this.indent = Math.max(1, options["indent"] || 2);
|
|
65394
65394
|
this.noArrayIndent = options["noArrayIndent"] || false;
|
|
@@ -65819,7 +65819,7 @@ var require_dumper = __commonJS({
|
|
|
65819
65819
|
}
|
|
65820
65820
|
function dump(input, options) {
|
|
65821
65821
|
options = options || {};
|
|
65822
|
-
var state = new
|
|
65822
|
+
var state = new State2(options);
|
|
65823
65823
|
if (!state.noRefs) getDuplicateReferences(input, state);
|
|
65824
65824
|
if (writeNode(state, 0, input, true, true)) return state.dump + "\n";
|
|
65825
65825
|
return "";
|
|
@@ -79368,7 +79368,6 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
|
|
|
79368
79368
|
FailedToDeployDocument: {},
|
|
79369
79369
|
WaitForEditorInstallationStateFailure: {},
|
|
79370
79370
|
EditorPendingInstallationCheckTimedout: {},
|
|
79371
|
-
FailedToParseLatestVersion: (0, import_variant11.fields)(),
|
|
79372
79371
|
FailedToGetMonitoringLoaderScript: (0, import_variant11.fields)(),
|
|
79373
79372
|
FailedToFetchWixLockFile: {},
|
|
79374
79373
|
FailedToGetSdkSlotData: {},
|
|
@@ -79385,7 +79384,8 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
|
|
|
79385
79384
|
FailedCreatingNewFunnelProject: {},
|
|
79386
79385
|
FailedToFindAstroConfig: {},
|
|
79387
79386
|
FailedToCreateShareUrl: {},
|
|
79388
|
-
FailedToListShareUrls: {}
|
|
79387
|
+
FailedToListShareUrls: {},
|
|
79388
|
+
FailedToParseNextVersion: (0, import_variant11.fields)()
|
|
79389
79389
|
});
|
|
79390
79390
|
var CliUserErrorCode = (0, import_variant11.variant)({
|
|
79391
79391
|
LatestVersionOfCreateAppRequired: (0, import_variant11.fields)(),
|
|
@@ -79476,7 +79476,6 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
79476
79476
|
FailedToApplySiteFsManagerExternalUpdates: {},
|
|
79477
79477
|
ServeDeprecated: (0, import_variant11.fields)(),
|
|
79478
79478
|
CannotFindConfigReferencedAsset: (0, import_variant11.fields)(),
|
|
79479
|
-
CannotReleaseLockedApplication: {},
|
|
79480
79479
|
FailedToCreateIntellisenseAdapter: {},
|
|
79481
79480
|
FailedToInitIntellisenseAdapterTypes: {},
|
|
79482
79481
|
FailedToUpdateIntellisenseAdapterTypes: {},
|
|
@@ -90050,15 +90049,6 @@ function getErrorComponent(code, cause) {
|
|
|
90050
90049
|
}
|
|
90051
90050
|
);
|
|
90052
90051
|
},
|
|
90053
|
-
CannotReleaseLockedApplication: () => {
|
|
90054
|
-
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90055
|
-
ErrorMessage,
|
|
90056
|
-
{
|
|
90057
|
-
message: "A new version of the app can not be released at this point.",
|
|
90058
|
-
explanation: "We\u2019re reviewing this app. You can\u2019t update new changes while it\u2019s in review."
|
|
90059
|
-
}
|
|
90060
|
-
);
|
|
90061
|
-
},
|
|
90062
90052
|
FailedToCreateIntellisenseAdapter: () => {
|
|
90063
90053
|
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90064
90054
|
ErrorMessage,
|
|
@@ -90193,14 +90183,6 @@ ${errorMessage}`
|
|
|
90193
90183
|
/* @__PURE__ */ import_react78.default.createElement(Text2, null, content.trim())
|
|
90194
90184
|
))))));
|
|
90195
90185
|
},
|
|
90196
|
-
FailedToParseLatestVersion: ({ version }) => {
|
|
90197
|
-
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90198
|
-
SystemErrorMessage,
|
|
90199
|
-
{
|
|
90200
|
-
message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
90201
|
-
}
|
|
90202
|
-
);
|
|
90203
|
-
},
|
|
90204
90186
|
FailedToFetchWixLockFile: () => {
|
|
90205
90187
|
return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: `Failed to fetch "wix.lock" file.` });
|
|
90206
90188
|
},
|
|
@@ -90352,6 +90334,14 @@ ${errorMessage}`
|
|
|
90352
90334
|
},
|
|
90353
90335
|
FailedToListShareUrls: () => {
|
|
90354
90336
|
return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to list preview URLs." });
|
|
90337
|
+
},
|
|
90338
|
+
FailedToParseNextVersion: ({ version }) => {
|
|
90339
|
+
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90340
|
+
SystemErrorMessage,
|
|
90341
|
+
{
|
|
90342
|
+
message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
90343
|
+
}
|
|
90344
|
+
);
|
|
90355
90345
|
}
|
|
90356
90346
|
});
|
|
90357
90347
|
}
|
|
@@ -93862,7 +93852,7 @@ function wixCliCliError(params) {
|
|
|
93862
93852
|
var package_default = {
|
|
93863
93853
|
name: "@wix/create-headless-site",
|
|
93864
93854
|
description: "Headless site creation wizard",
|
|
93865
|
-
version: "0.0.
|
|
93855
|
+
version: "0.0.12",
|
|
93866
93856
|
bin: "bin/index.cjs",
|
|
93867
93857
|
devDependencies: {
|
|
93868
93858
|
"@commander-js/extra-typings": "^13.0.0",
|
|
@@ -96792,6 +96782,7 @@ var _componentData = {
|
|
|
96792
96782
|
};
|
|
96793
96783
|
var _componentsMultilineAddress = { description: "_richContent" };
|
|
96794
96784
|
var _conditionNode = { and: "_andCondition", or: "_orCondition" };
|
|
96785
|
+
var _cssCustomPropertyItem = { number: "_cssNumber" };
|
|
96795
96786
|
var _cssNumber = {
|
|
96796
96787
|
minimum: "google.protobuf.FloatValue",
|
|
96797
96788
|
maximum: "google.protobuf.FloatValue",
|
|
@@ -96819,7 +96810,8 @@ var _editorElement = {
|
|
|
96819
96810
|
style: "Map#_styleItem",
|
|
96820
96811
|
data: "Map#_dataItem",
|
|
96821
96812
|
elements: "Map#_elementItem",
|
|
96822
|
-
presets: "Map#_presetItem"
|
|
96813
|
+
presets: "Map#_presetItem",
|
|
96814
|
+
cssCustomProperties: "Map#_cssCustomPropertyItem"
|
|
96823
96815
|
};
|
|
96824
96816
|
var _editorPresence = { presetsEditorPresence: "_presetEditorPresence" };
|
|
96825
96817
|
var _editorReactComponent = { editorElement: "_editorElement" };
|
|
@@ -96860,7 +96852,8 @@ var _inlineElement = {
|
|
|
96860
96852
|
style: "Map#_styleItem",
|
|
96861
96853
|
data: "Map#_dataItem",
|
|
96862
96854
|
elements: "Map#_elementItem",
|
|
96863
|
-
presets: "Map#_presetItem"
|
|
96855
|
+
presets: "Map#_presetItem",
|
|
96856
|
+
cssCustomProperties: "Map#_cssCustomPropertyItem"
|
|
96864
96857
|
};
|
|
96865
96858
|
var _inputField = {
|
|
96866
96859
|
stringOptions: "__String",
|
|
@@ -96944,9 +96937,14 @@ var _predefinedExpectedInputConfiguration = {
|
|
|
96944
96937
|
textInput: "_adminConfigurableTextInput"
|
|
96945
96938
|
};
|
|
96946
96939
|
var _presetEditorPresence = { wixMediaThumbnail: "_wixCommonImage" };
|
|
96940
|
+
var _presetElementDefaults = { elements: "Map#_presetInnerElementDefaults" };
|
|
96941
|
+
var _presetInnerElementDefaults = {
|
|
96942
|
+
elements: "Map#_presetInnerElementDefaults"
|
|
96943
|
+
};
|
|
96947
96944
|
var _presetItem = {
|
|
96948
96945
|
styleDefaults: "_presetStyleDefaults",
|
|
96949
|
-
styleOverrides: "_breakpointPresetStyleOverrides"
|
|
96946
|
+
styleOverrides: "_breakpointPresetStyleOverrides",
|
|
96947
|
+
presetDefaults: "_presetElementDefaults"
|
|
96950
96948
|
};
|
|
96951
96949
|
var _presetStyleDefaults = { elements: "Map#_elementStyleDefaults" };
|
|
96952
96950
|
var _presetStyleOverrides = { elements: "Map#_elementStyleOverrides" };
|
|
@@ -97154,6 +97152,7 @@ function getAppByVersion(payload5) {
|
|
|
97154
97152
|
_componentData,
|
|
97155
97153
|
_componentsMultilineAddress,
|
|
97156
97154
|
_conditionNode,
|
|
97155
|
+
_cssCustomPropertyItem,
|
|
97157
97156
|
_cssNumber,
|
|
97158
97157
|
_dataItem,
|
|
97159
97158
|
_dataItems,
|
|
@@ -97214,6 +97213,8 @@ function getAppByVersion(payload5) {
|
|
|
97214
97213
|
_predefinedExpectedInput,
|
|
97215
97214
|
_predefinedExpectedInputConfiguration,
|
|
97216
97215
|
_presetEditorPresence,
|
|
97216
|
+
_presetElementDefaults,
|
|
97217
|
+
_presetInnerElementDefaults,
|
|
97217
97218
|
_presetItem,
|
|
97218
97219
|
_presetStyleDefaults,
|
|
97219
97220
|
_presetStyleOverrides,
|
|
@@ -97534,176 +97535,6 @@ function updateOAuthApp(payload5) {
|
|
|
97534
97535
|
return __updateOAuthApp;
|
|
97535
97536
|
}
|
|
97536
97537
|
|
|
97537
|
-
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
|
|
97538
|
-
init_esm_shims();
|
|
97539
|
-
var _appVersion = {
|
|
97540
|
-
createdDate: "google.protobuf.Timestamp",
|
|
97541
|
-
updatedDate: "google.protobuf.Timestamp"
|
|
97542
|
-
};
|
|
97543
|
-
var _queryAppVersionRequest = {};
|
|
97544
|
-
var _queryAppVersionResponse = { appVersions: "_appVersion" };
|
|
97545
|
-
function resolveWixDevcenterAppsVersionsV1AppVersionsServiceUrl(opts) {
|
|
97546
|
-
var domainToMappings = {
|
|
97547
|
-
"bo._base_domain_": [
|
|
97548
|
-
{
|
|
97549
|
-
srcPath: "/app-versions",
|
|
97550
|
-
destPath: ""
|
|
97551
|
-
}
|
|
97552
|
-
],
|
|
97553
|
-
"wixbo.ai": [
|
|
97554
|
-
{
|
|
97555
|
-
srcPath: "/app-versions",
|
|
97556
|
-
destPath: ""
|
|
97557
|
-
}
|
|
97558
|
-
],
|
|
97559
|
-
"wix-bo.com": [
|
|
97560
|
-
{
|
|
97561
|
-
srcPath: "/app-versions",
|
|
97562
|
-
destPath: ""
|
|
97563
|
-
}
|
|
97564
|
-
],
|
|
97565
|
-
"dev._base_domain_": [
|
|
97566
|
-
{
|
|
97567
|
-
srcPath: "/app-versions",
|
|
97568
|
-
destPath: ""
|
|
97569
|
-
}
|
|
97570
|
-
],
|
|
97571
|
-
"editor._base_domain_": [
|
|
97572
|
-
{
|
|
97573
|
-
srcPath: "/_api/app-versions",
|
|
97574
|
-
destPath: ""
|
|
97575
|
-
}
|
|
97576
|
-
],
|
|
97577
|
-
"blocks._base_domain_": [
|
|
97578
|
-
{
|
|
97579
|
-
srcPath: "/_api/app-versions",
|
|
97580
|
-
destPath: ""
|
|
97581
|
-
}
|
|
97582
|
-
],
|
|
97583
|
-
"create.editorx": [
|
|
97584
|
-
{
|
|
97585
|
-
srcPath: "/_api/app-versions",
|
|
97586
|
-
destPath: ""
|
|
97587
|
-
}
|
|
97588
|
-
],
|
|
97589
|
-
"manage._base_domain_": [
|
|
97590
|
-
{
|
|
97591
|
-
srcPath: "/_api/app-versions",
|
|
97592
|
-
destPath: ""
|
|
97593
|
-
}
|
|
97594
|
-
]
|
|
97595
|
-
};
|
|
97596
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
97597
|
-
}
|
|
97598
|
-
function queryAppVersion(payload5) {
|
|
97599
|
-
var _a3 = serializer(_queryAppVersionRequest, {}), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
|
|
97600
|
-
var fromRes = serializer(_queryAppVersionResponse, {
|
|
97601
|
-
_appVersion
|
|
97602
|
-
}).fromJSON;
|
|
97603
|
-
function __queryAppVersion(_a4) {
|
|
97604
|
-
var host = _a4.host;
|
|
97605
|
-
var serializedData = toReq(payload5);
|
|
97606
|
-
var metadata = {
|
|
97607
|
-
entityFqdn: "wix.devcenter.apps.v1.app_version",
|
|
97608
|
-
method: "POST",
|
|
97609
|
-
methodFqn: "wix.devcenter.apps.versions.v1.AppVersionsService.QueryAppVersion",
|
|
97610
|
-
url: resolveWixDevcenterAppsVersionsV1AppVersionsServiceUrl({
|
|
97611
|
-
protoPath: "/v1/app-versions/query",
|
|
97612
|
-
data: serializedData,
|
|
97613
|
-
host
|
|
97614
|
-
}),
|
|
97615
|
-
data: serializedData,
|
|
97616
|
-
transformResponse: fromRes
|
|
97617
|
-
};
|
|
97618
|
-
return metadata;
|
|
97619
|
-
}
|
|
97620
|
-
__queryAppVersion.fromReq = fromReq;
|
|
97621
|
-
__queryAppVersion.__isAmbassador = true;
|
|
97622
|
-
return __queryAppVersion;
|
|
97623
|
-
}
|
|
97624
|
-
|
|
97625
|
-
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/types.impl.js
|
|
97626
|
-
init_esm_shims();
|
|
97627
|
-
var State;
|
|
97628
|
-
(function(State3) {
|
|
97629
|
-
State3["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
97630
|
-
State3["UNLOCKED_DRAFT"] = "UNLOCKED_DRAFT";
|
|
97631
|
-
State3["LOCKED_DRAFT"] = "LOCKED_DRAFT";
|
|
97632
|
-
State3["PRODUCTION"] = "PRODUCTION";
|
|
97633
|
-
})(State || (State = {}));
|
|
97634
|
-
var Status;
|
|
97635
|
-
(function(Status5) {
|
|
97636
|
-
Status5["UNKNOWN"] = "UNKNOWN";
|
|
97637
|
-
Status5["DEPRECATED"] = "DEPRECATED";
|
|
97638
|
-
Status5["ARCHIVED"] = "ARCHIVED";
|
|
97639
|
-
})(Status || (Status = {}));
|
|
97640
|
-
var CreatedByType;
|
|
97641
|
-
(function(CreatedByType3) {
|
|
97642
|
-
CreatedByType3["UNKNOWN_CREATED_BY"] = "UNKNOWN_CREATED_BY";
|
|
97643
|
-
CreatedByType3["USER"] = "USER";
|
|
97644
|
-
CreatedByType3["SERVICE"] = "SERVICE";
|
|
97645
|
-
CreatedByType3["ACCOUNT"] = "ACCOUNT";
|
|
97646
|
-
})(CreatedByType || (CreatedByType = {}));
|
|
97647
|
-
var PromoteStrategy;
|
|
97648
|
-
(function(PromoteStrategy2) {
|
|
97649
|
-
PromoteStrategy2["UNKNOWN_STRATEGY"] = "UNKNOWN_STRATEGY";
|
|
97650
|
-
PromoteStrategy2["ENTIRE_APP"] = "ENTIRE_APP";
|
|
97651
|
-
})(PromoteStrategy || (PromoteStrategy = {}));
|
|
97652
|
-
var VersionStatus;
|
|
97653
|
-
(function(VersionStatus3) {
|
|
97654
|
-
VersionStatus3["NONE_STATUS"] = "NONE_STATUS";
|
|
97655
|
-
VersionStatus3["DRAFT"] = "DRAFT";
|
|
97656
|
-
VersionStatus3["SUBMITTED"] = "SUBMITTED";
|
|
97657
|
-
VersionStatus3["IN_REVIEW"] = "IN_REVIEW";
|
|
97658
|
-
VersionStatus3["APPROVED"] = "APPROVED";
|
|
97659
|
-
VersionStatus3["PUBLISHED"] = "PUBLISHED";
|
|
97660
|
-
VersionStatus3["DECLINED"] = "DECLINED";
|
|
97661
|
-
VersionStatus3["ARCHIVED"] = "ARCHIVED";
|
|
97662
|
-
VersionStatus3["HIDDEN"] = "HIDDEN";
|
|
97663
|
-
VersionStatus3["RELEASED"] = "RELEASED";
|
|
97664
|
-
})(VersionStatus || (VersionStatus = {}));
|
|
97665
|
-
var SortOrder;
|
|
97666
|
-
(function(SortOrder2) {
|
|
97667
|
-
SortOrder2["ASC"] = "ASC";
|
|
97668
|
-
SortOrder2["DESC"] = "DESC";
|
|
97669
|
-
})(SortOrder || (SortOrder = {}));
|
|
97670
|
-
var PlanStatus;
|
|
97671
|
-
(function(PlanStatus3) {
|
|
97672
|
-
PlanStatus3["UNKNOWN"] = "UNKNOWN";
|
|
97673
|
-
PlanStatus3["VISIBLE"] = "VISIBLE";
|
|
97674
|
-
PlanStatus3["HIDDEN"] = "HIDDEN";
|
|
97675
|
-
})(PlanStatus || (PlanStatus = {}));
|
|
97676
|
-
var PlanDescription;
|
|
97677
|
-
(function(PlanDescription3) {
|
|
97678
|
-
PlanDescription3["UNKNOWN_DESCRIPTION"] = "UNKNOWN_DESCRIPTION";
|
|
97679
|
-
PlanDescription3["BENEFITS"] = "BENEFITS";
|
|
97680
|
-
PlanDescription3["CUSTOM_TEXT"] = "CUSTOM_TEXT";
|
|
97681
|
-
})(PlanDescription || (PlanDescription = {}));
|
|
97682
|
-
var BusinessModel;
|
|
97683
|
-
(function(BusinessModel3) {
|
|
97684
|
-
BusinessModel3["None"] = "None";
|
|
97685
|
-
BusinessModel3["FREEMIUM"] = "FREEMIUM";
|
|
97686
|
-
BusinessModel3["PREMIUM"] = "PREMIUM";
|
|
97687
|
-
BusinessModel3["FREE"] = "FREE";
|
|
97688
|
-
BusinessModel3["WIX_PREMIUM"] = "WIX_PREMIUM";
|
|
97689
|
-
BusinessModel3["DYNAMIC"] = "DYNAMIC";
|
|
97690
|
-
})(BusinessModel || (BusinessModel = {}));
|
|
97691
|
-
var Action;
|
|
97692
|
-
(function(Action2) {
|
|
97693
|
-
Action2["CREATED"] = "CREATED";
|
|
97694
|
-
Action2["UPDATED"] = "UPDATED";
|
|
97695
|
-
Action2["RESTORED"] = "RESTORED";
|
|
97696
|
-
Action2["DELETED"] = "DELETED";
|
|
97697
|
-
})(Action || (Action = {}));
|
|
97698
|
-
var WebhookIdentityType;
|
|
97699
|
-
(function(WebhookIdentityType4) {
|
|
97700
|
-
WebhookIdentityType4["UNKNOWN"] = "UNKNOWN";
|
|
97701
|
-
WebhookIdentityType4["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
97702
|
-
WebhookIdentityType4["MEMBER"] = "MEMBER";
|
|
97703
|
-
WebhookIdentityType4["WIX_USER"] = "WIX_USER";
|
|
97704
|
-
WebhookIdentityType4["APP"] = "APP";
|
|
97705
|
-
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
97706
|
-
|
|
97707
97538
|
// ../../node_modules/@wix/ambassador-devcenter-myapps-v1-my-app/build/es/http.impl.js
|
|
97708
97539
|
init_esm_shims();
|
|
97709
97540
|
var _myApp = {
|
|
@@ -98258,6 +98089,7 @@ var _componentData2 = {
|
|
|
98258
98089
|
editorReactComponent: "_editorReactComponent"
|
|
98259
98090
|
};
|
|
98260
98091
|
var _conditionNode2 = { and: "_andCondition", or: "_orCondition" };
|
|
98092
|
+
var _cssCustomPropertyItem2 = { number: "_cssNumber" };
|
|
98261
98093
|
var _cssNumber2 = {
|
|
98262
98094
|
minimum: "google.protobuf.FloatValue",
|
|
98263
98095
|
maximum: "google.protobuf.FloatValue",
|
|
@@ -98286,7 +98118,8 @@ var _editorElement2 = {
|
|
|
98286
98118
|
style: "Map#_styleItem",
|
|
98287
98119
|
data: "Map#_dataItem",
|
|
98288
98120
|
elements: "Map#_elementItem",
|
|
98289
|
-
presets: "Map#_presetItem"
|
|
98121
|
+
presets: "Map#_presetItem",
|
|
98122
|
+
cssCustomProperties: "Map#_cssCustomPropertyItem"
|
|
98290
98123
|
};
|
|
98291
98124
|
var _editorPresence2 = { presetsEditorPresence: "_presetEditorPresence" };
|
|
98292
98125
|
var _editorReactComponent2 = { editorElement: "_editorElement" };
|
|
@@ -98324,7 +98157,8 @@ var _inlineElement2 = {
|
|
|
98324
98157
|
style: "Map#_styleItem",
|
|
98325
98158
|
data: "Map#_dataItem",
|
|
98326
98159
|
elements: "Map#_elementItem",
|
|
98327
|
-
presets: "Map#_presetItem"
|
|
98160
|
+
presets: "Map#_presetItem",
|
|
98161
|
+
cssCustomProperties: "Map#_cssCustomPropertyItem"
|
|
98328
98162
|
};
|
|
98329
98163
|
var _inputField2 = {
|
|
98330
98164
|
stringOptions: "__String",
|
|
@@ -98408,9 +98242,14 @@ var _predefinedExpectedInputConfiguration2 = {
|
|
|
98408
98242
|
};
|
|
98409
98243
|
var _premiumInfo = { freeTrialData: "_freeTrialData" };
|
|
98410
98244
|
var _presetEditorPresence2 = { wixMediaThumbnail: "_commonImage" };
|
|
98245
|
+
var _presetElementDefaults2 = { elements: "Map#_presetInnerElementDefaults" };
|
|
98246
|
+
var _presetInnerElementDefaults2 = {
|
|
98247
|
+
elements: "Map#_presetInnerElementDefaults"
|
|
98248
|
+
};
|
|
98411
98249
|
var _presetItem2 = {
|
|
98412
98250
|
styleDefaults: "_presetStyleDefaults",
|
|
98413
|
-
styleOverrides: "_breakpointPresetStyleOverrides"
|
|
98251
|
+
styleOverrides: "_breakpointPresetStyleOverrides",
|
|
98252
|
+
presetDefaults: "_presetElementDefaults"
|
|
98414
98253
|
};
|
|
98415
98254
|
var _presetStyleDefaults2 = { elements: "Map#_elementStyleDefaults" };
|
|
98416
98255
|
var _presetStyleOverrides2 = { elements: "Map#_elementStyleOverrides" };
|
|
@@ -98569,6 +98408,7 @@ function managedApps(payload5) {
|
|
|
98569
98408
|
_component: _component2,
|
|
98570
98409
|
_componentData: _componentData2,
|
|
98571
98410
|
_conditionNode: _conditionNode2,
|
|
98411
|
+
_cssCustomPropertyItem: _cssCustomPropertyItem2,
|
|
98572
98412
|
_cssNumber: _cssNumber2,
|
|
98573
98413
|
_dataItem: _dataItem2,
|
|
98574
98414
|
_dataItems: _dataItems2,
|
|
@@ -98633,6 +98473,8 @@ function managedApps(payload5) {
|
|
|
98633
98473
|
_predefinedExpectedInputConfiguration: _predefinedExpectedInputConfiguration2,
|
|
98634
98474
|
_premiumInfo,
|
|
98635
98475
|
_presetEditorPresence: _presetEditorPresence2,
|
|
98476
|
+
_presetElementDefaults: _presetElementDefaults2,
|
|
98477
|
+
_presetInnerElementDefaults: _presetInnerElementDefaults2,
|
|
98636
98478
|
_presetItem: _presetItem2,
|
|
98637
98479
|
_presetStyleDefaults: _presetStyleDefaults2,
|
|
98638
98480
|
_presetStyleOverrides: _presetStyleOverrides2,
|
|
@@ -98929,7 +98771,7 @@ var ComponentType;
|
|
|
98929
98771
|
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
98930
98772
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
98931
98773
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
98932
|
-
ComponentType3["
|
|
98774
|
+
ComponentType3["SITE_MIGRATION"] = "SITE_MIGRATION";
|
|
98933
98775
|
})(ComponentType || (ComponentType = {}));
|
|
98934
98776
|
var WidgetVertical;
|
|
98935
98777
|
(function(WidgetVertical3) {
|
|
@@ -99281,11 +99123,11 @@ var Domain;
|
|
|
99281
99123
|
Domain3["USER"] = "USER";
|
|
99282
99124
|
Domain3["WIX"] = "WIX";
|
|
99283
99125
|
})(Domain || (Domain = {}));
|
|
99284
|
-
var
|
|
99285
|
-
(function(
|
|
99286
|
-
|
|
99287
|
-
|
|
99288
|
-
})(
|
|
99126
|
+
var Status;
|
|
99127
|
+
(function(Status4) {
|
|
99128
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
99129
|
+
Status4["INACTIVE"] = "INACTIVE";
|
|
99130
|
+
})(Status || (Status = {}));
|
|
99289
99131
|
var TextInputDisplayType;
|
|
99290
99132
|
(function(TextInputDisplayType3) {
|
|
99291
99133
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -99698,13 +99540,13 @@ var NavigationType;
|
|
|
99698
99540
|
NavigationType3["NAVIGATE"] = "NAVIGATE";
|
|
99699
99541
|
NavigationType3["MODAL"] = "MODAL";
|
|
99700
99542
|
})(NavigationType || (NavigationType = {}));
|
|
99701
|
-
var
|
|
99702
|
-
(function(
|
|
99703
|
-
|
|
99704
|
-
|
|
99705
|
-
|
|
99706
|
-
|
|
99707
|
-
})(
|
|
99543
|
+
var State;
|
|
99544
|
+
(function(State2) {
|
|
99545
|
+
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
99546
|
+
State2["DEFAULT_ON"] = "DEFAULT_ON";
|
|
99547
|
+
State2["DEFAULT_OFF"] = "DEFAULT_OFF";
|
|
99548
|
+
State2["ALWAYS_ON"] = "ALWAYS_ON";
|
|
99549
|
+
})(State || (State = {}));
|
|
99708
99550
|
var NotificationTopicState;
|
|
99709
99551
|
(function(NotificationTopicState3) {
|
|
99710
99552
|
NotificationTopicState3["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
@@ -100718,6 +100560,8 @@ var ActionType;
|
|
|
100718
100560
|
ActionType3["forward"] = "forward";
|
|
100719
100561
|
ActionType3["style"] = "style";
|
|
100720
100562
|
ActionType3["displayGroup"] = "displayGroup";
|
|
100563
|
+
ActionType3["cssProperty"] = "cssProperty";
|
|
100564
|
+
ActionType3["cssCustomProperty"] = "cssCustomProperty";
|
|
100721
100565
|
})(ActionType || (ActionType = {}));
|
|
100722
100566
|
var PanelType;
|
|
100723
100567
|
(function(PanelType3) {
|
|
@@ -100814,6 +100658,7 @@ var GroupType;
|
|
|
100814
100658
|
GroupType3["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
|
|
100815
100659
|
GroupType3["cssDataType"] = "cssDataType";
|
|
100816
100660
|
GroupType3["dataType"] = "dataType";
|
|
100661
|
+
GroupType3["preset"] = "preset";
|
|
100817
100662
|
GroupType3["background"] = "background";
|
|
100818
100663
|
GroupType3["margin"] = "margin";
|
|
100819
100664
|
GroupType3["padding"] = "padding";
|
|
@@ -100828,7 +100673,127 @@ var GroupType;
|
|
|
100828
100673
|
GroupType3["font"] = "font";
|
|
100829
100674
|
GroupType3["textDecoration"] = "textDecoration";
|
|
100830
100675
|
GroupType3["gap"] = "gap";
|
|
100676
|
+
GroupType3["arrayItems"] = "arrayItems";
|
|
100677
|
+
GroupType3["arrayItem"] = "arrayItem";
|
|
100831
100678
|
})(GroupType || (GroupType = {}));
|
|
100679
|
+
var CssPropertyEnumCssPropertyType;
|
|
100680
|
+
(function(CssPropertyEnumCssPropertyType3) {
|
|
100681
|
+
CssPropertyEnumCssPropertyType3["UNKNOWN_CssPropertyType"] = "UNKNOWN_CssPropertyType";
|
|
100682
|
+
CssPropertyEnumCssPropertyType3["number"] = "number";
|
|
100683
|
+
CssPropertyEnumCssPropertyType3["string"] = "string";
|
|
100684
|
+
CssPropertyEnumCssPropertyType3["angle"] = "angle";
|
|
100685
|
+
CssPropertyEnumCssPropertyType3["length"] = "length";
|
|
100686
|
+
CssPropertyEnumCssPropertyType3["percentage"] = "percentage";
|
|
100687
|
+
CssPropertyEnumCssPropertyType3["lengthPercentage"] = "lengthPercentage";
|
|
100688
|
+
CssPropertyEnumCssPropertyType3["blendMode"] = "blendMode";
|
|
100689
|
+
CssPropertyEnumCssPropertyType3["customEnum"] = "customEnum";
|
|
100690
|
+
CssPropertyEnumCssPropertyType3["time"] = "time";
|
|
100691
|
+
CssPropertyEnumCssPropertyType3["background"] = "background";
|
|
100692
|
+
CssPropertyEnumCssPropertyType3["backgroundSize"] = "backgroundSize";
|
|
100693
|
+
CssPropertyEnumCssPropertyType3["backgroundColor"] = "backgroundColor";
|
|
100694
|
+
CssPropertyEnumCssPropertyType3["backgroundImage"] = "backgroundImage";
|
|
100695
|
+
CssPropertyEnumCssPropertyType3["backgroundClip"] = "backgroundClip";
|
|
100696
|
+
CssPropertyEnumCssPropertyType3["backgroundOrigin"] = "backgroundOrigin";
|
|
100697
|
+
CssPropertyEnumCssPropertyType3["backgroundPosition"] = "backgroundPosition";
|
|
100698
|
+
CssPropertyEnumCssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
|
|
100699
|
+
CssPropertyEnumCssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
|
|
100700
|
+
CssPropertyEnumCssPropertyType3["margin"] = "margin";
|
|
100701
|
+
CssPropertyEnumCssPropertyType3["marginTop"] = "marginTop";
|
|
100702
|
+
CssPropertyEnumCssPropertyType3["marginRight"] = "marginRight";
|
|
100703
|
+
CssPropertyEnumCssPropertyType3["marginBottom"] = "marginBottom";
|
|
100704
|
+
CssPropertyEnumCssPropertyType3["marginLeft"] = "marginLeft";
|
|
100705
|
+
CssPropertyEnumCssPropertyType3["marginInlineStart"] = "marginInlineStart";
|
|
100706
|
+
CssPropertyEnumCssPropertyType3["marginInlineEnd"] = "marginInlineEnd";
|
|
100707
|
+
CssPropertyEnumCssPropertyType3["padding"] = "padding";
|
|
100708
|
+
CssPropertyEnumCssPropertyType3["paddingTop"] = "paddingTop";
|
|
100709
|
+
CssPropertyEnumCssPropertyType3["paddingRight"] = "paddingRight";
|
|
100710
|
+
CssPropertyEnumCssPropertyType3["paddingBottom"] = "paddingBottom";
|
|
100711
|
+
CssPropertyEnumCssPropertyType3["paddingLeft"] = "paddingLeft";
|
|
100712
|
+
CssPropertyEnumCssPropertyType3["paddingInlineStart"] = "paddingInlineStart";
|
|
100713
|
+
CssPropertyEnumCssPropertyType3["paddingInlineEnd"] = "paddingInlineEnd";
|
|
100714
|
+
CssPropertyEnumCssPropertyType3["border"] = "border";
|
|
100715
|
+
CssPropertyEnumCssPropertyType3["borderWidth"] = "borderWidth";
|
|
100716
|
+
CssPropertyEnumCssPropertyType3["borderStyle"] = "borderStyle";
|
|
100717
|
+
CssPropertyEnumCssPropertyType3["borderColor"] = "borderColor";
|
|
100718
|
+
CssPropertyEnumCssPropertyType3["borderTop"] = "borderTop";
|
|
100719
|
+
CssPropertyEnumCssPropertyType3["borderTopColor"] = "borderTopColor";
|
|
100720
|
+
CssPropertyEnumCssPropertyType3["borderTopWidth"] = "borderTopWidth";
|
|
100721
|
+
CssPropertyEnumCssPropertyType3["borderTopStyle"] = "borderTopStyle";
|
|
100722
|
+
CssPropertyEnumCssPropertyType3["borderRight"] = "borderRight";
|
|
100723
|
+
CssPropertyEnumCssPropertyType3["borderRightColor"] = "borderRightColor";
|
|
100724
|
+
CssPropertyEnumCssPropertyType3["borderRightWidth"] = "borderRightWidth";
|
|
100725
|
+
CssPropertyEnumCssPropertyType3["borderRightStyle"] = "borderRightStyle";
|
|
100726
|
+
CssPropertyEnumCssPropertyType3["borderBottom"] = "borderBottom";
|
|
100727
|
+
CssPropertyEnumCssPropertyType3["borderBottomColor"] = "borderBottomColor";
|
|
100728
|
+
CssPropertyEnumCssPropertyType3["borderBottomWidth"] = "borderBottomWidth";
|
|
100729
|
+
CssPropertyEnumCssPropertyType3["borderBottomStyle"] = "borderBottomStyle";
|
|
100730
|
+
CssPropertyEnumCssPropertyType3["borderLeft"] = "borderLeft";
|
|
100731
|
+
CssPropertyEnumCssPropertyType3["borderLeftColor"] = "borderLeftColor";
|
|
100732
|
+
CssPropertyEnumCssPropertyType3["borderLeftWidth"] = "borderLeftWidth";
|
|
100733
|
+
CssPropertyEnumCssPropertyType3["borderLeftStyle"] = "borderLeftStyle";
|
|
100734
|
+
CssPropertyEnumCssPropertyType3["borderInlineStart"] = "borderInlineStart";
|
|
100735
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartColor"] = "borderInlineStartColor";
|
|
100736
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartWidth"] = "borderInlineStartWidth";
|
|
100737
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartStyle"] = "borderInlineStartStyle";
|
|
100738
|
+
CssPropertyEnumCssPropertyType3["borderInlineEnd"] = "borderInlineEnd";
|
|
100739
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndColor"] = "borderInlineEndColor";
|
|
100740
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndWidth"] = "borderInlineEndWidth";
|
|
100741
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndStyle"] = "borderInlineEndStyle";
|
|
100742
|
+
CssPropertyEnumCssPropertyType3["borderRadius"] = "borderRadius";
|
|
100743
|
+
CssPropertyEnumCssPropertyType3["borderTopLeftRadius"] = "borderTopLeftRadius";
|
|
100744
|
+
CssPropertyEnumCssPropertyType3["borderTopRightRadius"] = "borderTopRightRadius";
|
|
100745
|
+
CssPropertyEnumCssPropertyType3["borderBottomRightRadius"] = "borderBottomRightRadius";
|
|
100746
|
+
CssPropertyEnumCssPropertyType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
|
|
100747
|
+
CssPropertyEnumCssPropertyType3["borderStartStartRadius"] = "borderStartStartRadius";
|
|
100748
|
+
CssPropertyEnumCssPropertyType3["borderStartEndRadius"] = "borderStartEndRadius";
|
|
100749
|
+
CssPropertyEnumCssPropertyType3["borderEndStartRadius"] = "borderEndStartRadius";
|
|
100750
|
+
CssPropertyEnumCssPropertyType3["borderEndEndRadius"] = "borderEndEndRadius";
|
|
100751
|
+
CssPropertyEnumCssPropertyType3["font"] = "font";
|
|
100752
|
+
CssPropertyEnumCssPropertyType3["fontFamily"] = "fontFamily";
|
|
100753
|
+
CssPropertyEnumCssPropertyType3["fontSize"] = "fontSize";
|
|
100754
|
+
CssPropertyEnumCssPropertyType3["fontStretch"] = "fontStretch";
|
|
100755
|
+
CssPropertyEnumCssPropertyType3["fontStyle"] = "fontStyle";
|
|
100756
|
+
CssPropertyEnumCssPropertyType3["fontVariant"] = "fontVariant";
|
|
100757
|
+
CssPropertyEnumCssPropertyType3["fontWeight"] = "fontWeight";
|
|
100758
|
+
CssPropertyEnumCssPropertyType3["lineHeight"] = "lineHeight";
|
|
100759
|
+
CssPropertyEnumCssPropertyType3["color"] = "color";
|
|
100760
|
+
CssPropertyEnumCssPropertyType3["letterSpacing"] = "letterSpacing";
|
|
100761
|
+
CssPropertyEnumCssPropertyType3["writingMode"] = "writingMode";
|
|
100762
|
+
CssPropertyEnumCssPropertyType3["textAlign"] = "textAlign";
|
|
100763
|
+
CssPropertyEnumCssPropertyType3["textTransform"] = "textTransform";
|
|
100764
|
+
CssPropertyEnumCssPropertyType3["textShadow"] = "textShadow";
|
|
100765
|
+
CssPropertyEnumCssPropertyType3["textOverflow"] = "textOverflow";
|
|
100766
|
+
CssPropertyEnumCssPropertyType3["textIndent"] = "textIndent";
|
|
100767
|
+
CssPropertyEnumCssPropertyType3["textDecoration"] = "textDecoration";
|
|
100768
|
+
CssPropertyEnumCssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
100769
|
+
CssPropertyEnumCssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
100770
|
+
CssPropertyEnumCssPropertyType3["textDecorationStyle"] = "textDecorationStyle";
|
|
100771
|
+
CssPropertyEnumCssPropertyType3["textDecorationThickness"] = "textDecorationThickness";
|
|
100772
|
+
CssPropertyEnumCssPropertyType3["boxShadow"] = "boxShadow";
|
|
100773
|
+
CssPropertyEnumCssPropertyType3["opacity"] = "opacity";
|
|
100774
|
+
CssPropertyEnumCssPropertyType3["overflow"] = "overflow";
|
|
100775
|
+
CssPropertyEnumCssPropertyType3["display"] = "display";
|
|
100776
|
+
CssPropertyEnumCssPropertyType3["alignSelf"] = "alignSelf";
|
|
100777
|
+
CssPropertyEnumCssPropertyType3["justifyContent"] = "justifyContent";
|
|
100778
|
+
CssPropertyEnumCssPropertyType3["alignItems"] = "alignItems";
|
|
100779
|
+
CssPropertyEnumCssPropertyType3["flexDirection"] = "flexDirection";
|
|
100780
|
+
CssPropertyEnumCssPropertyType3["height"] = "height";
|
|
100781
|
+
CssPropertyEnumCssPropertyType3["width"] = "width";
|
|
100782
|
+
CssPropertyEnumCssPropertyType3["gap"] = "gap";
|
|
100783
|
+
CssPropertyEnumCssPropertyType3["columnGap"] = "columnGap";
|
|
100784
|
+
CssPropertyEnumCssPropertyType3["rowGap"] = "rowGap";
|
|
100785
|
+
CssPropertyEnumCssPropertyType3["filter"] = "filter";
|
|
100786
|
+
CssPropertyEnumCssPropertyType3["backdropFilter"] = "backdropFilter";
|
|
100787
|
+
CssPropertyEnumCssPropertyType3["objectFit"] = "objectFit";
|
|
100788
|
+
CssPropertyEnumCssPropertyType3["objectPosition"] = "objectPosition";
|
|
100789
|
+
CssPropertyEnumCssPropertyType3["mixBlendMode"] = "mixBlendMode";
|
|
100790
|
+
CssPropertyEnumCssPropertyType3["isolation"] = "isolation";
|
|
100791
|
+
CssPropertyEnumCssPropertyType3["stroke"] = "stroke";
|
|
100792
|
+
CssPropertyEnumCssPropertyType3["strokeWidth"] = "strokeWidth";
|
|
100793
|
+
CssPropertyEnumCssPropertyType3["strokeOpacity"] = "strokeOpacity";
|
|
100794
|
+
CssPropertyEnumCssPropertyType3["fill"] = "fill";
|
|
100795
|
+
CssPropertyEnumCssPropertyType3["fillOpacity"] = "fillOpacity";
|
|
100796
|
+
})(CssPropertyEnumCssPropertyType || (CssPropertyEnumCssPropertyType = {}));
|
|
100832
100797
|
var InteractionsTrigger;
|
|
100833
100798
|
(function(InteractionsTrigger3) {
|
|
100834
100799
|
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
@@ -101123,14 +101088,14 @@ var VersionType;
|
|
|
101123
101088
|
VersionType2["LATEST_VERSION"] = "LATEST_VERSION";
|
|
101124
101089
|
VersionType2["DEV_VERSION"] = "DEV_VERSION";
|
|
101125
101090
|
})(VersionType || (VersionType = {}));
|
|
101126
|
-
var
|
|
101127
|
-
(function(
|
|
101128
|
-
|
|
101129
|
-
|
|
101130
|
-
|
|
101131
|
-
|
|
101132
|
-
|
|
101133
|
-
})(
|
|
101091
|
+
var WebhookIdentityType;
|
|
101092
|
+
(function(WebhookIdentityType3) {
|
|
101093
|
+
WebhookIdentityType3["UNKNOWN"] = "UNKNOWN";
|
|
101094
|
+
WebhookIdentityType3["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
101095
|
+
WebhookIdentityType3["MEMBER"] = "MEMBER";
|
|
101096
|
+
WebhookIdentityType3["WIX_USER"] = "WIX_USER";
|
|
101097
|
+
WebhookIdentityType3["APP"] = "APP";
|
|
101098
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
101134
101099
|
|
|
101135
101100
|
// ../dev-center-client/src/schemas.ts
|
|
101136
101101
|
init_esm_shims();
|
|
@@ -101146,19 +101111,19 @@ var Classification;
|
|
|
101146
101111
|
Classification2["HEADLESS"] = "HEADLESS";
|
|
101147
101112
|
Classification2["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
|
|
101148
101113
|
})(Classification || (Classification = {}));
|
|
101149
|
-
var
|
|
101150
|
-
(function(
|
|
101151
|
-
|
|
101152
|
-
|
|
101153
|
-
|
|
101154
|
-
|
|
101155
|
-
|
|
101156
|
-
|
|
101157
|
-
|
|
101158
|
-
|
|
101159
|
-
|
|
101160
|
-
|
|
101161
|
-
})(
|
|
101114
|
+
var VersionStatus;
|
|
101115
|
+
(function(VersionStatus2) {
|
|
101116
|
+
VersionStatus2["NONE_STATUS"] = "NONE_STATUS";
|
|
101117
|
+
VersionStatus2["DRAFT"] = "DRAFT";
|
|
101118
|
+
VersionStatus2["SUBMITTED"] = "SUBMITTED";
|
|
101119
|
+
VersionStatus2["IN_REVIEW"] = "IN_REVIEW";
|
|
101120
|
+
VersionStatus2["APPROVED"] = "APPROVED";
|
|
101121
|
+
VersionStatus2["PUBLISHED"] = "PUBLISHED";
|
|
101122
|
+
VersionStatus2["DECLINED"] = "DECLINED";
|
|
101123
|
+
VersionStatus2["ARCHIVED"] = "ARCHIVED";
|
|
101124
|
+
VersionStatus2["HIDDEN"] = "HIDDEN";
|
|
101125
|
+
VersionStatus2["RELEASED"] = "RELEASED";
|
|
101126
|
+
})(VersionStatus || (VersionStatus = {}));
|
|
101162
101127
|
var ComponentType2;
|
|
101163
101128
|
(function(ComponentType3) {
|
|
101164
101129
|
ComponentType3["NONE"] = "NONE";
|
|
@@ -101705,11 +101670,11 @@ var Domain2;
|
|
|
101705
101670
|
Domain3["USER"] = "USER";
|
|
101706
101671
|
Domain3["WIX"] = "WIX";
|
|
101707
101672
|
})(Domain2 || (Domain2 = {}));
|
|
101708
|
-
var
|
|
101709
|
-
(function(
|
|
101710
|
-
|
|
101711
|
-
|
|
101712
|
-
})(
|
|
101673
|
+
var Status2;
|
|
101674
|
+
(function(Status4) {
|
|
101675
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
101676
|
+
Status4["INACTIVE"] = "INACTIVE";
|
|
101677
|
+
})(Status2 || (Status2 = {}));
|
|
101713
101678
|
var TextInputDisplayType2;
|
|
101714
101679
|
(function(TextInputDisplayType3) {
|
|
101715
101680
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -103142,6 +103107,8 @@ var ActionType2;
|
|
|
103142
103107
|
ActionType3["forward"] = "forward";
|
|
103143
103108
|
ActionType3["style"] = "style";
|
|
103144
103109
|
ActionType3["displayGroup"] = "displayGroup";
|
|
103110
|
+
ActionType3["cssProperty"] = "cssProperty";
|
|
103111
|
+
ActionType3["cssCustomProperty"] = "cssCustomProperty";
|
|
103145
103112
|
})(ActionType2 || (ActionType2 = {}));
|
|
103146
103113
|
var PanelType2;
|
|
103147
103114
|
(function(PanelType3) {
|
|
@@ -103253,6 +103220,124 @@ var GroupType2;
|
|
|
103253
103220
|
GroupType3["textDecoration"] = "textDecoration";
|
|
103254
103221
|
GroupType3["gap"] = "gap";
|
|
103255
103222
|
})(GroupType2 || (GroupType2 = {}));
|
|
103223
|
+
var CssPropertyEnumCssPropertyType2;
|
|
103224
|
+
(function(CssPropertyEnumCssPropertyType3) {
|
|
103225
|
+
CssPropertyEnumCssPropertyType3["UNKNOWN_CssPropertyType"] = "UNKNOWN_CssPropertyType";
|
|
103226
|
+
CssPropertyEnumCssPropertyType3["number"] = "number";
|
|
103227
|
+
CssPropertyEnumCssPropertyType3["string"] = "string";
|
|
103228
|
+
CssPropertyEnumCssPropertyType3["angle"] = "angle";
|
|
103229
|
+
CssPropertyEnumCssPropertyType3["length"] = "length";
|
|
103230
|
+
CssPropertyEnumCssPropertyType3["percentage"] = "percentage";
|
|
103231
|
+
CssPropertyEnumCssPropertyType3["lengthPercentage"] = "lengthPercentage";
|
|
103232
|
+
CssPropertyEnumCssPropertyType3["blendMode"] = "blendMode";
|
|
103233
|
+
CssPropertyEnumCssPropertyType3["customEnum"] = "customEnum";
|
|
103234
|
+
CssPropertyEnumCssPropertyType3["time"] = "time";
|
|
103235
|
+
CssPropertyEnumCssPropertyType3["background"] = "background";
|
|
103236
|
+
CssPropertyEnumCssPropertyType3["backgroundSize"] = "backgroundSize";
|
|
103237
|
+
CssPropertyEnumCssPropertyType3["backgroundColor"] = "backgroundColor";
|
|
103238
|
+
CssPropertyEnumCssPropertyType3["backgroundImage"] = "backgroundImage";
|
|
103239
|
+
CssPropertyEnumCssPropertyType3["backgroundClip"] = "backgroundClip";
|
|
103240
|
+
CssPropertyEnumCssPropertyType3["backgroundOrigin"] = "backgroundOrigin";
|
|
103241
|
+
CssPropertyEnumCssPropertyType3["backgroundPosition"] = "backgroundPosition";
|
|
103242
|
+
CssPropertyEnumCssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
|
|
103243
|
+
CssPropertyEnumCssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
|
|
103244
|
+
CssPropertyEnumCssPropertyType3["margin"] = "margin";
|
|
103245
|
+
CssPropertyEnumCssPropertyType3["marginTop"] = "marginTop";
|
|
103246
|
+
CssPropertyEnumCssPropertyType3["marginRight"] = "marginRight";
|
|
103247
|
+
CssPropertyEnumCssPropertyType3["marginBottom"] = "marginBottom";
|
|
103248
|
+
CssPropertyEnumCssPropertyType3["marginLeft"] = "marginLeft";
|
|
103249
|
+
CssPropertyEnumCssPropertyType3["marginInlineStart"] = "marginInlineStart";
|
|
103250
|
+
CssPropertyEnumCssPropertyType3["marginInlineEnd"] = "marginInlineEnd";
|
|
103251
|
+
CssPropertyEnumCssPropertyType3["padding"] = "padding";
|
|
103252
|
+
CssPropertyEnumCssPropertyType3["paddingTop"] = "paddingTop";
|
|
103253
|
+
CssPropertyEnumCssPropertyType3["paddingRight"] = "paddingRight";
|
|
103254
|
+
CssPropertyEnumCssPropertyType3["paddingBottom"] = "paddingBottom";
|
|
103255
|
+
CssPropertyEnumCssPropertyType3["paddingLeft"] = "paddingLeft";
|
|
103256
|
+
CssPropertyEnumCssPropertyType3["paddingInlineStart"] = "paddingInlineStart";
|
|
103257
|
+
CssPropertyEnumCssPropertyType3["paddingInlineEnd"] = "paddingInlineEnd";
|
|
103258
|
+
CssPropertyEnumCssPropertyType3["border"] = "border";
|
|
103259
|
+
CssPropertyEnumCssPropertyType3["borderWidth"] = "borderWidth";
|
|
103260
|
+
CssPropertyEnumCssPropertyType3["borderStyle"] = "borderStyle";
|
|
103261
|
+
CssPropertyEnumCssPropertyType3["borderColor"] = "borderColor";
|
|
103262
|
+
CssPropertyEnumCssPropertyType3["borderTop"] = "borderTop";
|
|
103263
|
+
CssPropertyEnumCssPropertyType3["borderTopColor"] = "borderTopColor";
|
|
103264
|
+
CssPropertyEnumCssPropertyType3["borderTopWidth"] = "borderTopWidth";
|
|
103265
|
+
CssPropertyEnumCssPropertyType3["borderTopStyle"] = "borderTopStyle";
|
|
103266
|
+
CssPropertyEnumCssPropertyType3["borderRight"] = "borderRight";
|
|
103267
|
+
CssPropertyEnumCssPropertyType3["borderRightColor"] = "borderRightColor";
|
|
103268
|
+
CssPropertyEnumCssPropertyType3["borderRightWidth"] = "borderRightWidth";
|
|
103269
|
+
CssPropertyEnumCssPropertyType3["borderRightStyle"] = "borderRightStyle";
|
|
103270
|
+
CssPropertyEnumCssPropertyType3["borderBottom"] = "borderBottom";
|
|
103271
|
+
CssPropertyEnumCssPropertyType3["borderBottomColor"] = "borderBottomColor";
|
|
103272
|
+
CssPropertyEnumCssPropertyType3["borderBottomWidth"] = "borderBottomWidth";
|
|
103273
|
+
CssPropertyEnumCssPropertyType3["borderBottomStyle"] = "borderBottomStyle";
|
|
103274
|
+
CssPropertyEnumCssPropertyType3["borderLeft"] = "borderLeft";
|
|
103275
|
+
CssPropertyEnumCssPropertyType3["borderLeftColor"] = "borderLeftColor";
|
|
103276
|
+
CssPropertyEnumCssPropertyType3["borderLeftWidth"] = "borderLeftWidth";
|
|
103277
|
+
CssPropertyEnumCssPropertyType3["borderLeftStyle"] = "borderLeftStyle";
|
|
103278
|
+
CssPropertyEnumCssPropertyType3["borderInlineStart"] = "borderInlineStart";
|
|
103279
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartColor"] = "borderInlineStartColor";
|
|
103280
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartWidth"] = "borderInlineStartWidth";
|
|
103281
|
+
CssPropertyEnumCssPropertyType3["borderInlineStartStyle"] = "borderInlineStartStyle";
|
|
103282
|
+
CssPropertyEnumCssPropertyType3["borderInlineEnd"] = "borderInlineEnd";
|
|
103283
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndColor"] = "borderInlineEndColor";
|
|
103284
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndWidth"] = "borderInlineEndWidth";
|
|
103285
|
+
CssPropertyEnumCssPropertyType3["borderInlineEndStyle"] = "borderInlineEndStyle";
|
|
103286
|
+
CssPropertyEnumCssPropertyType3["borderRadius"] = "borderRadius";
|
|
103287
|
+
CssPropertyEnumCssPropertyType3["borderTopLeftRadius"] = "borderTopLeftRadius";
|
|
103288
|
+
CssPropertyEnumCssPropertyType3["borderTopRightRadius"] = "borderTopRightRadius";
|
|
103289
|
+
CssPropertyEnumCssPropertyType3["borderBottomRightRadius"] = "borderBottomRightRadius";
|
|
103290
|
+
CssPropertyEnumCssPropertyType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
|
|
103291
|
+
CssPropertyEnumCssPropertyType3["borderStartStartRadius"] = "borderStartStartRadius";
|
|
103292
|
+
CssPropertyEnumCssPropertyType3["borderStartEndRadius"] = "borderStartEndRadius";
|
|
103293
|
+
CssPropertyEnumCssPropertyType3["borderEndStartRadius"] = "borderEndStartRadius";
|
|
103294
|
+
CssPropertyEnumCssPropertyType3["borderEndEndRadius"] = "borderEndEndRadius";
|
|
103295
|
+
CssPropertyEnumCssPropertyType3["font"] = "font";
|
|
103296
|
+
CssPropertyEnumCssPropertyType3["fontFamily"] = "fontFamily";
|
|
103297
|
+
CssPropertyEnumCssPropertyType3["fontSize"] = "fontSize";
|
|
103298
|
+
CssPropertyEnumCssPropertyType3["fontStretch"] = "fontStretch";
|
|
103299
|
+
CssPropertyEnumCssPropertyType3["fontStyle"] = "fontStyle";
|
|
103300
|
+
CssPropertyEnumCssPropertyType3["fontVariant"] = "fontVariant";
|
|
103301
|
+
CssPropertyEnumCssPropertyType3["fontWeight"] = "fontWeight";
|
|
103302
|
+
CssPropertyEnumCssPropertyType3["lineHeight"] = "lineHeight";
|
|
103303
|
+
CssPropertyEnumCssPropertyType3["color"] = "color";
|
|
103304
|
+
CssPropertyEnumCssPropertyType3["letterSpacing"] = "letterSpacing";
|
|
103305
|
+
CssPropertyEnumCssPropertyType3["writingMode"] = "writingMode";
|
|
103306
|
+
CssPropertyEnumCssPropertyType3["textAlign"] = "textAlign";
|
|
103307
|
+
CssPropertyEnumCssPropertyType3["textTransform"] = "textTransform";
|
|
103308
|
+
CssPropertyEnumCssPropertyType3["textShadow"] = "textShadow";
|
|
103309
|
+
CssPropertyEnumCssPropertyType3["textOverflow"] = "textOverflow";
|
|
103310
|
+
CssPropertyEnumCssPropertyType3["textIndent"] = "textIndent";
|
|
103311
|
+
CssPropertyEnumCssPropertyType3["textDecoration"] = "textDecoration";
|
|
103312
|
+
CssPropertyEnumCssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
103313
|
+
CssPropertyEnumCssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
103314
|
+
CssPropertyEnumCssPropertyType3["textDecorationStyle"] = "textDecorationStyle";
|
|
103315
|
+
CssPropertyEnumCssPropertyType3["textDecorationThickness"] = "textDecorationThickness";
|
|
103316
|
+
CssPropertyEnumCssPropertyType3["boxShadow"] = "boxShadow";
|
|
103317
|
+
CssPropertyEnumCssPropertyType3["opacity"] = "opacity";
|
|
103318
|
+
CssPropertyEnumCssPropertyType3["overflow"] = "overflow";
|
|
103319
|
+
CssPropertyEnumCssPropertyType3["display"] = "display";
|
|
103320
|
+
CssPropertyEnumCssPropertyType3["alignSelf"] = "alignSelf";
|
|
103321
|
+
CssPropertyEnumCssPropertyType3["justifyContent"] = "justifyContent";
|
|
103322
|
+
CssPropertyEnumCssPropertyType3["alignItems"] = "alignItems";
|
|
103323
|
+
CssPropertyEnumCssPropertyType3["flexDirection"] = "flexDirection";
|
|
103324
|
+
CssPropertyEnumCssPropertyType3["height"] = "height";
|
|
103325
|
+
CssPropertyEnumCssPropertyType3["width"] = "width";
|
|
103326
|
+
CssPropertyEnumCssPropertyType3["gap"] = "gap";
|
|
103327
|
+
CssPropertyEnumCssPropertyType3["columnGap"] = "columnGap";
|
|
103328
|
+
CssPropertyEnumCssPropertyType3["rowGap"] = "rowGap";
|
|
103329
|
+
CssPropertyEnumCssPropertyType3["filter"] = "filter";
|
|
103330
|
+
CssPropertyEnumCssPropertyType3["backdropFilter"] = "backdropFilter";
|
|
103331
|
+
CssPropertyEnumCssPropertyType3["objectFit"] = "objectFit";
|
|
103332
|
+
CssPropertyEnumCssPropertyType3["objectPosition"] = "objectPosition";
|
|
103333
|
+
CssPropertyEnumCssPropertyType3["mixBlendMode"] = "mixBlendMode";
|
|
103334
|
+
CssPropertyEnumCssPropertyType3["isolation"] = "isolation";
|
|
103335
|
+
CssPropertyEnumCssPropertyType3["stroke"] = "stroke";
|
|
103336
|
+
CssPropertyEnumCssPropertyType3["strokeWidth"] = "strokeWidth";
|
|
103337
|
+
CssPropertyEnumCssPropertyType3["strokeOpacity"] = "strokeOpacity";
|
|
103338
|
+
CssPropertyEnumCssPropertyType3["fill"] = "fill";
|
|
103339
|
+
CssPropertyEnumCssPropertyType3["fillOpacity"] = "fillOpacity";
|
|
103340
|
+
})(CssPropertyEnumCssPropertyType2 || (CssPropertyEnumCssPropertyType2 = {}));
|
|
103256
103341
|
var InteractionsTrigger2;
|
|
103257
103342
|
(function(InteractionsTrigger3) {
|
|
103258
103343
|
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
@@ -103376,40 +103461,40 @@ var MediaType;
|
|
|
103376
103461
|
MediaType2["IMAGE"] = "IMAGE";
|
|
103377
103462
|
MediaType2["YOUTUBE"] = "YOUTUBE";
|
|
103378
103463
|
})(MediaType || (MediaType = {}));
|
|
103379
|
-
var
|
|
103380
|
-
(function(
|
|
103381
|
-
|
|
103382
|
-
|
|
103383
|
-
|
|
103384
|
-
})(
|
|
103385
|
-
var
|
|
103386
|
-
(function(
|
|
103387
|
-
|
|
103388
|
-
|
|
103389
|
-
|
|
103390
|
-
})(
|
|
103391
|
-
var
|
|
103392
|
-
(function(
|
|
103393
|
-
|
|
103394
|
-
|
|
103395
|
-
|
|
103396
|
-
|
|
103397
|
-
|
|
103398
|
-
|
|
103399
|
-
})(
|
|
103464
|
+
var PlanStatus;
|
|
103465
|
+
(function(PlanStatus2) {
|
|
103466
|
+
PlanStatus2["UNKNOWN"] = "UNKNOWN";
|
|
103467
|
+
PlanStatus2["VISIBLE"] = "VISIBLE";
|
|
103468
|
+
PlanStatus2["HIDDEN"] = "HIDDEN";
|
|
103469
|
+
})(PlanStatus || (PlanStatus = {}));
|
|
103470
|
+
var PlanDescription;
|
|
103471
|
+
(function(PlanDescription2) {
|
|
103472
|
+
PlanDescription2["UNKNOWN_DESCRIPTION"] = "UNKNOWN_DESCRIPTION";
|
|
103473
|
+
PlanDescription2["BENEFITS"] = "BENEFITS";
|
|
103474
|
+
PlanDescription2["CUSTOM_TEXT"] = "CUSTOM_TEXT";
|
|
103475
|
+
})(PlanDescription || (PlanDescription = {}));
|
|
103476
|
+
var BusinessModel;
|
|
103477
|
+
(function(BusinessModel2) {
|
|
103478
|
+
BusinessModel2["None"] = "None";
|
|
103479
|
+
BusinessModel2["FREEMIUM"] = "FREEMIUM";
|
|
103480
|
+
BusinessModel2["PREMIUM"] = "PREMIUM";
|
|
103481
|
+
BusinessModel2["FREE"] = "FREE";
|
|
103482
|
+
BusinessModel2["WIX_PREMIUM"] = "WIX_PREMIUM";
|
|
103483
|
+
BusinessModel2["DYNAMIC"] = "DYNAMIC";
|
|
103484
|
+
})(BusinessModel || (BusinessModel = {}));
|
|
103400
103485
|
var TranslationType;
|
|
103401
103486
|
(function(TranslationType2) {
|
|
103402
103487
|
TranslationType2["UNINITIALIZED"] = "UNINITIALIZED";
|
|
103403
103488
|
TranslationType2["COMPONENT"] = "COMPONENT";
|
|
103404
103489
|
})(TranslationType || (TranslationType = {}));
|
|
103405
|
-
var
|
|
103406
|
-
(function(
|
|
103407
|
-
|
|
103408
|
-
|
|
103409
|
-
|
|
103410
|
-
|
|
103411
|
-
|
|
103412
|
-
})(
|
|
103490
|
+
var WebhookIdentityType2;
|
|
103491
|
+
(function(WebhookIdentityType3) {
|
|
103492
|
+
WebhookIdentityType3["UNKNOWN"] = "UNKNOWN";
|
|
103493
|
+
WebhookIdentityType3["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
103494
|
+
WebhookIdentityType3["MEMBER"] = "MEMBER";
|
|
103495
|
+
WebhookIdentityType3["WIX_USER"] = "WIX_USER";
|
|
103496
|
+
WebhookIdentityType3["APP"] = "APP";
|
|
103497
|
+
})(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
|
|
103413
103498
|
|
|
103414
103499
|
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-template/build/es/types.impl.js
|
|
103415
103500
|
init_esm_shims();
|
|
@@ -103438,12 +103523,12 @@ var NamespaceType;
|
|
|
103438
103523
|
NamespaceType2["ACCOUNT"] = "ACCOUNT";
|
|
103439
103524
|
NamespaceType2["COMPANY"] = "COMPANY";
|
|
103440
103525
|
})(NamespaceType || (NamespaceType = {}));
|
|
103441
|
-
var
|
|
103442
|
-
(function(
|
|
103443
|
-
|
|
103444
|
-
|
|
103445
|
-
|
|
103446
|
-
})(
|
|
103526
|
+
var Status3;
|
|
103527
|
+
(function(Status4) {
|
|
103528
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
103529
|
+
Status4["DEPRECATED"] = "DEPRECATED";
|
|
103530
|
+
Status4["ARCHIVED"] = "ARCHIVED";
|
|
103531
|
+
})(Status3 || (Status3 = {}));
|
|
103447
103532
|
var AppType3;
|
|
103448
103533
|
(function(AppType4) {
|
|
103449
103534
|
AppType4["SITE_APP"] = "SITE_APP";
|
|
@@ -103453,11 +103538,11 @@ var AppType3;
|
|
|
103453
103538
|
AppType4["HEADLESS"] = "HEADLESS";
|
|
103454
103539
|
AppType4["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
|
|
103455
103540
|
})(AppType3 || (AppType3 = {}));
|
|
103456
|
-
var
|
|
103457
|
-
(function(
|
|
103458
|
-
|
|
103459
|
-
|
|
103460
|
-
})(
|
|
103541
|
+
var CreatedByType;
|
|
103542
|
+
(function(CreatedByType2) {
|
|
103543
|
+
CreatedByType2["USER"] = "USER";
|
|
103544
|
+
CreatedByType2["APP"] = "APP";
|
|
103545
|
+
})(CreatedByType || (CreatedByType = {}));
|
|
103461
103546
|
var ShowConsentBehaviour;
|
|
103462
103547
|
(function(ShowConsentBehaviour2) {
|
|
103463
103548
|
ShowConsentBehaviour2["DEFAULT_BEHAVIOUR"] = "DEFAULT_BEHAVIOUR";
|
|
@@ -103518,19 +103603,6 @@ var appByVersionSchema = z.object({
|
|
|
103518
103603
|
components: componentsSchema
|
|
103519
103604
|
})
|
|
103520
103605
|
});
|
|
103521
|
-
var appVersionSchema = z.object({
|
|
103522
|
-
appVersions: z.array(
|
|
103523
|
-
z.object({
|
|
103524
|
-
/** Application ID */
|
|
103525
|
-
id: z.string(),
|
|
103526
|
-
fullVersion: z.string().optional().default("0.0.0"),
|
|
103527
|
-
/** indicates if this is the draft instance of the version. */
|
|
103528
|
-
state: z.string().optional(),
|
|
103529
|
-
/** status of the app */
|
|
103530
|
-
status: z.string().optional()
|
|
103531
|
-
})
|
|
103532
|
-
)
|
|
103533
|
-
});
|
|
103534
103606
|
var appSecretsSchema = z.object({
|
|
103535
103607
|
appSecret: z.string(),
|
|
103536
103608
|
webhookPublicKey: z.string()
|
|
@@ -103731,55 +103803,8 @@ var DevCenterClient = class {
|
|
|
103731
103803
|
});
|
|
103732
103804
|
}
|
|
103733
103805
|
};
|
|
103734
|
-
queryAppVersion = async ({ appId }) => {
|
|
103735
|
-
try {
|
|
103736
|
-
const { data } = await pRetry(
|
|
103737
|
-
() => this.httpClient.request(
|
|
103738
|
-
queryAppVersion({
|
|
103739
|
-
query: {
|
|
103740
|
-
paging: {
|
|
103741
|
-
limit: 1
|
|
103742
|
-
},
|
|
103743
|
-
filter: { appId },
|
|
103744
|
-
sort: [{ fieldName: "updatedDate", order: SortOrder.DESC }]
|
|
103745
|
-
}
|
|
103746
|
-
})
|
|
103747
|
-
),
|
|
103748
|
-
this.retryOptions
|
|
103749
|
-
);
|
|
103750
|
-
const parsedData = appVersionSchema.parse(data);
|
|
103751
|
-
const lastVersion = parsedData.appVersions[0];
|
|
103752
|
-
if (!lastVersion) {
|
|
103753
|
-
throw new CliError({
|
|
103754
|
-
code: CliErrorCode.AppForVersionNotFound({
|
|
103755
|
-
version: "latest"
|
|
103756
|
-
}),
|
|
103757
|
-
cause: null
|
|
103758
|
-
});
|
|
103759
|
-
}
|
|
103760
|
-
return {
|
|
103761
|
-
latestVersion: lastVersion.fullVersion,
|
|
103762
|
-
isPublished: lastVersion.state === State.PRODUCTION,
|
|
103763
|
-
isLocked: lastVersion.state === State.LOCKED_DRAFT
|
|
103764
|
-
};
|
|
103765
|
-
} catch (cause) {
|
|
103766
|
-
if (isHttpError(cause) && cause.response?.status === 404) {
|
|
103767
|
-
throw new CliError({
|
|
103768
|
-
code: CliErrorCode.AppForVersionNotFound({
|
|
103769
|
-
version: "latest"
|
|
103770
|
-
}),
|
|
103771
|
-
cause
|
|
103772
|
-
});
|
|
103773
|
-
}
|
|
103774
|
-
throw new CliError({
|
|
103775
|
-
code: CliErrorCode.FailedToFetchAppForVersion(),
|
|
103776
|
-
cause
|
|
103777
|
-
});
|
|
103778
|
-
}
|
|
103779
|
-
};
|
|
103780
103806
|
/**
|
|
103781
103807
|
* This method is deprecated.
|
|
103782
|
-
* Use `queryAppVersion()` if you need to get information about app version.
|
|
103783
103808
|
*/
|
|
103784
103809
|
getAppByVersion = async ({
|
|
103785
103810
|
appId,
|