@wix/create-headless-site 0.0.12 → 0.0.14
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 +61 -5
- package/build/index.js.map +1 -1
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -79500,7 +79500,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
79500
79500
|
ProjectIsAlreadyLinked: {},
|
|
79501
79501
|
ProjectIsNotLinkable: {},
|
|
79502
79502
|
MissingPresetCssForSiteComponent: (0, import_variant11.fields)(),
|
|
79503
|
-
AppInstallerSiteNotFound: (0, import_variant11.fields)()
|
|
79503
|
+
AppInstallerSiteNotFound: (0, import_variant11.fields)(),
|
|
79504
|
+
EAccessPermissionDenied: {}
|
|
79504
79505
|
});
|
|
79505
79506
|
var CliErrorCode = (0, import_variant11.variant)({
|
|
79506
79507
|
...CliSystemErrorCode,
|
|
@@ -80338,6 +80339,18 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
|
|
|
80338
80339
|
{
|
|
80339
80340
|
srcPath: "/v1/oauth/authorize",
|
|
80340
80341
|
destPath: "/v1/oauth/authorize"
|
|
80342
|
+
},
|
|
80343
|
+
{
|
|
80344
|
+
srcPath: "/v1/oauth/user-info",
|
|
80345
|
+
destPath: "/v1/oauth/user-info"
|
|
80346
|
+
},
|
|
80347
|
+
{
|
|
80348
|
+
srcPath: "/iam/wix-idp/v1/oauth/token",
|
|
80349
|
+
destPath: "/v1/oauth/token"
|
|
80350
|
+
},
|
|
80351
|
+
{
|
|
80352
|
+
srcPath: "/iam/wix-idp/v1/oauth/user-info",
|
|
80353
|
+
destPath: "/v1/oauth/user-info"
|
|
80341
80354
|
}
|
|
80342
80355
|
],
|
|
80343
80356
|
_: [
|
|
@@ -80357,6 +80370,30 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
|
|
|
80357
80370
|
srcPath: "/oauth2-ng",
|
|
80358
80371
|
destPath: ""
|
|
80359
80372
|
}
|
|
80373
|
+
],
|
|
80374
|
+
"apps._base_domain_": [
|
|
80375
|
+
{
|
|
80376
|
+
srcPath: "/oauth2/callback",
|
|
80377
|
+
destPath: "/oauth2/callback"
|
|
80378
|
+
}
|
|
80379
|
+
],
|
|
80380
|
+
"editor._base_domain_": [
|
|
80381
|
+
{
|
|
80382
|
+
srcPath: "/oauth2/callback",
|
|
80383
|
+
destPath: "/oauth2/callback"
|
|
80384
|
+
}
|
|
80385
|
+
],
|
|
80386
|
+
"blocks._base_domain_": [
|
|
80387
|
+
{
|
|
80388
|
+
srcPath: "/oauth2/callback",
|
|
80389
|
+
destPath: "/oauth2/callback"
|
|
80390
|
+
}
|
|
80391
|
+
],
|
|
80392
|
+
"create.editorx": [
|
|
80393
|
+
{
|
|
80394
|
+
srcPath: "/oauth2/callback",
|
|
80395
|
+
destPath: "/oauth2/callback"
|
|
80396
|
+
}
|
|
80360
80397
|
]
|
|
80361
80398
|
};
|
|
80362
80399
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -90329,6 +90366,15 @@ ${errorMessage}`
|
|
|
90329
90366
|
}
|
|
90330
90367
|
);
|
|
90331
90368
|
},
|
|
90369
|
+
EAccessPermissionDenied: () => {
|
|
90370
|
+
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90371
|
+
ErrorMessage,
|
|
90372
|
+
{
|
|
90373
|
+
message: `Wix CLI doesn't have enough permission to modify files.`,
|
|
90374
|
+
cause
|
|
90375
|
+
}
|
|
90376
|
+
);
|
|
90377
|
+
},
|
|
90332
90378
|
FailedToCreateShareUrl: () => {
|
|
90333
90379
|
return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to create preview URL." });
|
|
90334
90380
|
},
|
|
@@ -93852,16 +93898,16 @@ function wixCliCliError(params) {
|
|
|
93852
93898
|
var package_default = {
|
|
93853
93899
|
name: "@wix/create-headless-site",
|
|
93854
93900
|
description: "Headless site creation wizard",
|
|
93855
|
-
version: "0.0.
|
|
93901
|
+
version: "0.0.14",
|
|
93856
93902
|
bin: "bin/index.cjs",
|
|
93857
93903
|
devDependencies: {
|
|
93858
93904
|
"@commander-js/extra-typings": "^13.0.0",
|
|
93859
93905
|
"@types/react": "^18.3.3",
|
|
93860
93906
|
"@types/semver": "^7.5.8",
|
|
93861
93907
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
93862
|
-
"@wix/ambassador-funnel-projects-v1-project": "^1.0.
|
|
93908
|
+
"@wix/ambassador-funnel-projects-v1-project": "^1.0.9",
|
|
93863
93909
|
"@wix/backend-as-a-service-client": "workspace:*",
|
|
93864
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
93910
|
+
"@wix/bi-logger-dev-tools-data": "^1.116.0",
|
|
93865
93911
|
"@wix/cli-astro-definitions": "workspace:*",
|
|
93866
93912
|
"@wix/cli-auth": "workspace:*",
|
|
93867
93913
|
"@wix/cli-core-definitions": "workspace:*",
|
|
@@ -96615,6 +96661,7 @@ var Type;
|
|
|
96615
96661
|
Type5["WIX"] = "WIX";
|
|
96616
96662
|
Type5["HEADLESS"] = "HEADLESS";
|
|
96617
96663
|
Type5["BRANDED_APP"] = "BRANDED_APP";
|
|
96664
|
+
Type5["VIBE"] = "VIBE";
|
|
96618
96665
|
})(Type || (Type = {}));
|
|
96619
96666
|
|
|
96620
96667
|
// src/clients/funnel-projects/schemas.ts
|
|
@@ -99071,6 +99118,8 @@ var BackOfficeHostingPlatforms;
|
|
|
99071
99118
|
BackOfficeHostingPlatforms3["DATA"] = "DATA";
|
|
99072
99119
|
BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
99073
99120
|
BackOfficeHostingPlatforms3["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
99121
|
+
BackOfficeHostingPlatforms3["BASE44_DASHBOARD_POC"] = "BASE44_DASHBOARD_POC";
|
|
99122
|
+
BackOfficeHostingPlatforms3["WIXEL_EDITOR"] = "WIXEL_EDITOR";
|
|
99074
99123
|
})(BackOfficeHostingPlatforms || (BackOfficeHostingPlatforms = {}));
|
|
99075
99124
|
var DtsDefinitionType;
|
|
99076
99125
|
(function(DtsDefinitionType3) {
|
|
@@ -100675,6 +100724,7 @@ var GroupType;
|
|
|
100675
100724
|
GroupType3["gap"] = "gap";
|
|
100676
100725
|
GroupType3["arrayItems"] = "arrayItems";
|
|
100677
100726
|
GroupType3["arrayItem"] = "arrayItem";
|
|
100727
|
+
GroupType3["listItem"] = "listItem";
|
|
100678
100728
|
})(GroupType || (GroupType = {}));
|
|
100679
100729
|
var CssPropertyEnumCssPropertyType;
|
|
100680
100730
|
(function(CssPropertyEnumCssPropertyType3) {
|
|
@@ -101618,6 +101668,8 @@ var BackOfficeHostingPlatforms2;
|
|
|
101618
101668
|
BackOfficeHostingPlatforms3["DATA"] = "DATA";
|
|
101619
101669
|
BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
101620
101670
|
BackOfficeHostingPlatforms3["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
101671
|
+
BackOfficeHostingPlatforms3["BASE44_DASHBOARD_POC"] = "BASE44_DASHBOARD_POC";
|
|
101672
|
+
BackOfficeHostingPlatforms3["WIXEL_EDITOR"] = "WIXEL_EDITOR";
|
|
101621
101673
|
})(BackOfficeHostingPlatforms2 || (BackOfficeHostingPlatforms2 = {}));
|
|
101622
101674
|
var DtsDefinitionType2;
|
|
101623
101675
|
(function(DtsDefinitionType3) {
|
|
@@ -103205,6 +103257,7 @@ var GroupType2;
|
|
|
103205
103257
|
GroupType3["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
|
|
103206
103258
|
GroupType3["cssDataType"] = "cssDataType";
|
|
103207
103259
|
GroupType3["dataType"] = "dataType";
|
|
103260
|
+
GroupType3["preset"] = "preset";
|
|
103208
103261
|
GroupType3["background"] = "background";
|
|
103209
103262
|
GroupType3["margin"] = "margin";
|
|
103210
103263
|
GroupType3["padding"] = "padding";
|
|
@@ -103219,6 +103272,9 @@ var GroupType2;
|
|
|
103219
103272
|
GroupType3["font"] = "font";
|
|
103220
103273
|
GroupType3["textDecoration"] = "textDecoration";
|
|
103221
103274
|
GroupType3["gap"] = "gap";
|
|
103275
|
+
GroupType3["arrayItems"] = "arrayItems";
|
|
103276
|
+
GroupType3["arrayItem"] = "arrayItem";
|
|
103277
|
+
GroupType3["listItem"] = "listItem";
|
|
103222
103278
|
})(GroupType2 || (GroupType2 = {}));
|
|
103223
103279
|
var CssPropertyEnumCssPropertyType2;
|
|
103224
103280
|
(function(CssPropertyEnumCssPropertyType3) {
|
|
@@ -104600,7 +104656,7 @@ var StaticFileUploadSchema = z.object({
|
|
|
104600
104656
|
|
|
104601
104657
|
// ../backend-as-a-service-client/src/backend-as-a-service-client.ts
|
|
104602
104658
|
var { minRetryTimeout: minRetryTimeout2 } = getTestOverrides();
|
|
104603
|
-
var APP_PROJECT_TYPE_ID = "
|
|
104659
|
+
var APP_PROJECT_TYPE_ID = "eb363dea-85a0-4159-9b05-949542be5079";
|
|
104604
104660
|
var BackendAsAServiceClient = class {
|
|
104605
104661
|
constructor(httpClient) {
|
|
104606
104662
|
this.httpClient = httpClient;
|