@wix/cli-app 1.1.193 → 1.1.195
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/{AddPermissionCommand-FZV4DX5E.js → AddPermissionCommand-CPZQDMIC.js} +2 -2
- package/build/{DevCommand-XUP3WBNG.js → DevCommand-YATR2Z23.js} +10 -10
- package/build/{GenerateCommand-M2SOUNVC.js → GenerateCommand-A44I65YE.js} +7 -7
- package/build/{LogsCommand-Z2IT7W5I.js → LogsCommand-5RGV3J3N.js} +3 -3
- package/build/PreviewCommand-OBVPAUB6.js +19 -0
- package/build/ReleaseCommand-NOJKX4H4.js +23 -0
- package/build/{ServeCommand-BWTS7EZE.js → ServeCommand-5J4DNLHD.js} +3 -3
- package/build/{build-G5OGDEHL.js → build-TT5PFXZ4.js} +6 -6
- package/build/{chunk-VWFIZYS5.js → chunk-4MWJVDBY.js} +203 -195
- package/build/{chunk-VWFIZYS5.js.map → chunk-4MWJVDBY.js.map} +1 -1
- package/build/{chunk-KNQPW4OC.js → chunk-ALPGGVOI.js} +2 -2
- package/build/{chunk-IXS7AV6B.js → chunk-BK4PC6IQ.js} +2 -2
- package/build/{chunk-GOWKUWZ2.js → chunk-BLYJ6LU5.js} +6 -6
- package/build/{chunk-7GTTQF5T.js → chunk-E3RP4IXF.js} +4 -4
- package/build/{chunk-7GTTQF5T.js.map → chunk-E3RP4IXF.js.map} +1 -1
- package/build/{chunk-ZK3GMS3W.js → chunk-EYOQZYIU.js} +6 -6
- package/build/{chunk-NMMXBWQ6.js → chunk-GCRAGNNG.js} +2 -2
- package/build/{chunk-BSD3ISQC.js → chunk-GZ36ZFJ7.js} +2 -2
- package/build/{chunk-KM2IDZ3N.js → chunk-IJI6N7FX.js} +2 -2
- package/build/{chunk-WTV3TMLI.js → chunk-LQG6VJCS.js} +2 -2
- package/build/{chunk-Z7T3WXBE.js → chunk-LQYMKZBH.js} +2 -2
- package/build/{chunk-A74CGPII.js → chunk-MZLPROIX.js} +2 -2
- package/build/{chunk-NRNW7KOO.js → chunk-QUBBX57R.js} +2 -2
- package/build/{chunk-45ZORJ3N.js → chunk-R6EJZZPK.js} +4 -4
- package/build/{chunk-7OAA3XIK.js → chunk-V74CFJHI.js} +3 -3
- package/build/{chunk-QJKM72UJ.js → chunk-X4DWQ2TE.js} +4 -4
- package/build/{chunk-MJ7CW3YI.js → chunk-YGOQTTCZ.js} +19 -19
- package/build/{chunk-MJ7CW3YI.js.map → chunk-YGOQTTCZ.js.map} +1 -1
- package/build/cloudflare-runtime/entry.js +1 -1
- package/build/index.js +23 -23
- package/build/{preview-RZBS2XKF.js → preview-LHIXHH5R.js} +12 -12
- package/build/{release-VIHBRJZL.js → release-S6A5R4NQ.js} +14 -14
- package/build/{render-command-PL6LKFON.js → render-command-7HDBFLR3.js} +5 -5
- package/package.json +2 -2
- package/schemas/custom-element.json +1 -1
- package/schemas/dashboard-menu-plugin.json +1 -1
- package/schemas/dashboard-modal.json +1 -1
- package/schemas/embedded-script.json +1 -1
- package/schemas/site-plugin.json +1 -1
- package/build/PreviewCommand-UR254LYV.js +0 -19
- package/build/ReleaseCommand-HXFASAO7.js +0 -23
- /package/build/{AddPermissionCommand-FZV4DX5E.js.map → AddPermissionCommand-CPZQDMIC.js.map} +0 -0
- /package/build/{DevCommand-XUP3WBNG.js.map → DevCommand-YATR2Z23.js.map} +0 -0
- /package/build/{GenerateCommand-M2SOUNVC.js.map → GenerateCommand-A44I65YE.js.map} +0 -0
- /package/build/{LogsCommand-Z2IT7W5I.js.map → LogsCommand-5RGV3J3N.js.map} +0 -0
- /package/build/{PreviewCommand-UR254LYV.js.map → PreviewCommand-OBVPAUB6.js.map} +0 -0
- /package/build/{ReleaseCommand-HXFASAO7.js.map → ReleaseCommand-NOJKX4H4.js.map} +0 -0
- /package/build/{ServeCommand-BWTS7EZE.js.map → ServeCommand-5J4DNLHD.js.map} +0 -0
- /package/build/{build-G5OGDEHL.js.map → build-TT5PFXZ4.js.map} +0 -0
- /package/build/{chunk-KNQPW4OC.js.map → chunk-ALPGGVOI.js.map} +0 -0
- /package/build/{chunk-IXS7AV6B.js.map → chunk-BK4PC6IQ.js.map} +0 -0
- /package/build/{chunk-GOWKUWZ2.js.map → chunk-BLYJ6LU5.js.map} +0 -0
- /package/build/{chunk-ZK3GMS3W.js.map → chunk-EYOQZYIU.js.map} +0 -0
- /package/build/{chunk-NMMXBWQ6.js.map → chunk-GCRAGNNG.js.map} +0 -0
- /package/build/{chunk-BSD3ISQC.js.map → chunk-GZ36ZFJ7.js.map} +0 -0
- /package/build/{chunk-KM2IDZ3N.js.map → chunk-IJI6N7FX.js.map} +0 -0
- /package/build/{chunk-WTV3TMLI.js.map → chunk-LQG6VJCS.js.map} +0 -0
- /package/build/{chunk-Z7T3WXBE.js.map → chunk-LQYMKZBH.js.map} +0 -0
- /package/build/{chunk-A74CGPII.js.map → chunk-MZLPROIX.js.map} +0 -0
- /package/build/{chunk-NRNW7KOO.js.map → chunk-QUBBX57R.js.map} +0 -0
- /package/build/{chunk-45ZORJ3N.js.map → chunk-R6EJZZPK.js.map} +0 -0
- /package/build/{chunk-7OAA3XIK.js.map → chunk-V74CFJHI.js.map} +0 -0
- /package/build/{chunk-QJKM72UJ.js.map → chunk-X4DWQ2TE.js.map} +0 -0
- /package/build/{preview-RZBS2XKF.js.map → preview-LHIXHH5R.js.map} +0 -0
- /package/build/{release-VIHBRJZL.js.map → release-S6A5R4NQ.js.map} +0 -0
- /package/build/{render-command-PL6LKFON.js.map → render-command-7HDBFLR3.js.map} +0 -0
|
@@ -142968,7 +142968,7 @@ var require_chokidar = __commonJS({
|
|
|
142968
142968
|
var package_default = {
|
|
142969
142969
|
name: "@wix/cli-app",
|
|
142970
142970
|
description: "CLI tool for Wix apps",
|
|
142971
|
-
version: "1.1.
|
|
142971
|
+
version: "1.1.195",
|
|
142972
142972
|
author: "Amit Dahan",
|
|
142973
142973
|
dependencies: {
|
|
142974
142974
|
esbuild: "^0.25.0",
|
|
@@ -161841,30 +161841,30 @@ var import_react78 = __toESM(require_react(), 1);
|
|
|
161841
161841
|
var ServeDeprecationMessage = ({
|
|
161842
161842
|
packageManagerRunCmd
|
|
161843
161843
|
}) => {
|
|
161844
|
-
return /* @__PURE__ */ import_react78.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react78.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react78.default.createElement(Text2, null, /* @__PURE__ */ import_react78.default.createElement(Text2, { skin: "info" }, "serve"), " command is being replaced by", " ", /* @__PURE__ */ import_react78.default.createElement(Text2, { skin: "info" }, "preview"), " command."), /* @__PURE__ */ import_react78.default.createElement(Text2, null, "
|
|
161844
|
+
return /* @__PURE__ */ import_react78.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react78.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react78.default.createElement(Text2, null, /* @__PURE__ */ import_react78.default.createElement(Text2, { skin: "info" }, "`serve`"), " command is being replaced by", " ", /* @__PURE__ */ import_react78.default.createElement(Text2, { skin: "info" }, "`preview`"), " command."), /* @__PURE__ */ import_react78.default.createElement(Text2, null, "Run", " ", /* @__PURE__ */ import_react78.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd ? `\`${packageManagerRunCmd} wix app preview\`` : "`wix app preview`"), " ", "instead."));
|
|
161845
161845
|
};
|
|
161846
161846
|
|
|
161847
161847
|
// ../cli-error-reporting/src/get-error-component.tsx
|
|
161848
161848
|
function getErrorComponent(code, cause) {
|
|
161849
161849
|
return (0, import_variant15.match)(code, {
|
|
161850
161850
|
UnknownFailure: ({ error }) => {
|
|
161851
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, /* @__PURE__ */ import_react79.default.createElement(Text2, { skin: "error" }, "
|
|
161851
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, /* @__PURE__ */ import_react79.default.createElement(Text2, { skin: "error" }, "The CLI encountered an unexpected error:"), error instanceof Error ? /* @__PURE__ */ import_react79.default.createElement(Text2, { skin: "error" }, error.message) : /* @__PURE__ */ import_react79.default.createElement(Text2, null, JSON.stringify(error)));
|
|
161852
161852
|
},
|
|
161853
161853
|
FailedToGetDeviceCode: () => {
|
|
161854
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue a login device code" });
|
|
161854
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue a login device code." });
|
|
161855
161855
|
},
|
|
161856
161856
|
FailedToGetAuthToken: () => {
|
|
161857
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token" });
|
|
161857
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token." });
|
|
161858
161858
|
},
|
|
161859
161859
|
FailedToRefreshTokenForSite: () => {
|
|
161860
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token for site" });
|
|
161860
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token for site." });
|
|
161861
161861
|
},
|
|
161862
161862
|
FailedToRemoveDir: ({ dirPath }) => {
|
|
161863
161863
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161864
161864
|
ErrorMessage,
|
|
161865
161865
|
{
|
|
161866
|
-
message: `
|
|
161867
|
-
hint: `
|
|
161866
|
+
message: `Couldn't delete the directory ${dirPath}.`,
|
|
161867
|
+
hint: `Delete this directory manually and try again.`
|
|
161868
161868
|
}
|
|
161869
161869
|
);
|
|
161870
161870
|
},
|
|
@@ -161879,7 +161879,7 @@ function getErrorComponent(code, cause) {
|
|
|
161879
161879
|
ErrorMessage,
|
|
161880
161880
|
{
|
|
161881
161881
|
message: "No translation published contents found.",
|
|
161882
|
-
hint: `
|
|
161882
|
+
hint: `Make sure the "Wix Multilingual" app has published content.`
|
|
161883
161883
|
}
|
|
161884
161884
|
);
|
|
161885
161885
|
},
|
|
@@ -161891,7 +161891,7 @@ function getErrorComponent(code, cause) {
|
|
|
161891
161891
|
ErrorMessage,
|
|
161892
161892
|
{
|
|
161893
161893
|
message: `Translation file not found at \`${filePath}\`.`,
|
|
161894
|
-
hint: `
|
|
161894
|
+
hint: `Create a \`${filePath}\` file in your project and run the command again.`,
|
|
161895
161895
|
explanation: `The translation file is used to store the translation keys and values for your project.`
|
|
161896
161896
|
}
|
|
161897
161897
|
);
|
|
@@ -161918,8 +161918,8 @@ function getErrorComponent(code, cause) {
|
|
|
161918
161918
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161919
161919
|
ErrorMessage,
|
|
161920
161920
|
{
|
|
161921
|
-
message: `Authenticate failed, your configured development site (${siteId}) could not be accessed
|
|
161922
|
-
hint: "Make sure the site exists and you still have access to it"
|
|
161921
|
+
message: `Authenticate failed, your configured development site (${siteId}) could not be accessed.`,
|
|
161922
|
+
hint: "Make sure the site exists and you still have access to it."
|
|
161923
161923
|
}
|
|
161924
161924
|
);
|
|
161925
161925
|
},
|
|
@@ -161927,8 +161927,8 @@ function getErrorComponent(code, cause) {
|
|
|
161927
161927
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161928
161928
|
ErrorMessage,
|
|
161929
161929
|
{
|
|
161930
|
-
message: "Failed to renew access token: refresh token has been revoked",
|
|
161931
|
-
hint: "
|
|
161930
|
+
message: "Failed to renew access token: refresh token has been revoked.",
|
|
161931
|
+
hint: "Log in again to get a new refresh token."
|
|
161932
161932
|
}
|
|
161933
161933
|
);
|
|
161934
161934
|
},
|
|
@@ -161936,8 +161936,8 @@ function getErrorComponent(code, cause) {
|
|
|
161936
161936
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161937
161937
|
ErrorMessage,
|
|
161938
161938
|
{
|
|
161939
|
-
message: "Failed to login with refresh token",
|
|
161940
|
-
hint: "
|
|
161939
|
+
message: "Failed to login with refresh token.",
|
|
161940
|
+
hint: "Check that your refresh token is valid and not revoked, then try again."
|
|
161941
161941
|
}
|
|
161942
161942
|
);
|
|
161943
161943
|
},
|
|
@@ -161945,8 +161945,8 @@ function getErrorComponent(code, cause) {
|
|
|
161945
161945
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161946
161946
|
SystemErrorMessage,
|
|
161947
161947
|
{
|
|
161948
|
-
message: "
|
|
161949
|
-
explanation: `Wix CLI is still logged in to account ${email}
|
|
161948
|
+
message: "Couldn't log out: Failed to revoke refresh token.",
|
|
161949
|
+
explanation: `Wix CLI is still logged in to account ${email}.`
|
|
161950
161950
|
}
|
|
161951
161951
|
);
|
|
161952
161952
|
},
|
|
@@ -161971,7 +161971,7 @@ function getErrorComponent(code, cause) {
|
|
|
161971
161971
|
ErrorMessage,
|
|
161972
161972
|
{
|
|
161973
161973
|
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Generating a Wix App is only supported using the latest version (", latestVersion, ") of ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "@wix/create-app"), " (current:", " ", currentVersion, ")"),
|
|
161974
|
-
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Make sure you are using the following command:", /* @__PURE__ */ import_react79.default.createElement(Newline, null), /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, updateCommand), /* @__PURE__ */ import_react79.default.createElement(Newline, null), "If the problem persists, try clearing your package manager's cache")
|
|
161974
|
+
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Make sure you are using the following command:", /* @__PURE__ */ import_react79.default.createElement(Newline, null), /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, updateCommand), /* @__PURE__ */ import_react79.default.createElement(Newline, null), "If the problem persists, try clearing your package manager's cache.")
|
|
161975
161975
|
}
|
|
161976
161976
|
);
|
|
161977
161977
|
},
|
|
@@ -161979,8 +161979,8 @@ function getErrorComponent(code, cause) {
|
|
|
161979
161979
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161980
161980
|
ErrorMessage,
|
|
161981
161981
|
{
|
|
161982
|
-
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Generating a Wix App requires an empty directory but", " ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, folder), " already exists and isn't empty"),
|
|
161983
|
-
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "
|
|
161982
|
+
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Generating a Wix App requires an empty directory but", " ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, folder), " already exists and isn't empty."),
|
|
161983
|
+
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Select a different project name or delete the existing", " ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, folder), " folder.")
|
|
161984
161984
|
}
|
|
161985
161985
|
);
|
|
161986
161986
|
},
|
|
@@ -161988,18 +161988,13 @@ function getErrorComponent(code, cause) {
|
|
|
161988
161988
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161989
161989
|
ErrorMessage,
|
|
161990
161990
|
{
|
|
161991
|
-
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Generating a Wix App requires a valid
|
|
161992
|
-
hint: `
|
|
161991
|
+
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Generating a Wix App requires a valid NPM package name for the generated ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "package.json"), " ", /* @__PURE__ */ import_react79.default.createElement(Newline, null), "The name ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, packageName), " failed the following validations:", /* @__PURE__ */ import_react79.default.createElement(Newline, null), validations.map((validation, id) => /* @__PURE__ */ import_react79.default.createElement(Text2, { key: id }, /* @__PURE__ */ import_react79.default.createElement(Newline, null), "- ", validation))),
|
|
161992
|
+
hint: `Select a different project name that follows the validations above.`
|
|
161993
161993
|
}
|
|
161994
161994
|
);
|
|
161995
161995
|
},
|
|
161996
161996
|
SiteSelectorTimedout: () => {
|
|
161997
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
161998
|
-
ErrorMessage,
|
|
161999
|
-
{
|
|
162000
|
-
message: `Waiting for application installation timed out.`
|
|
162001
|
-
}
|
|
162002
|
-
);
|
|
161997
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Waiting for app installation timed out.` });
|
|
162003
161998
|
},
|
|
162004
161999
|
TypeErrorInvalidUrl: () => {
|
|
162005
162000
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Invalid assets URL.` });
|
|
@@ -162008,8 +162003,8 @@ function getErrorComponent(code, cause) {
|
|
|
162008
162003
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162009
162004
|
ErrorMessage,
|
|
162010
162005
|
{
|
|
162011
|
-
message: `Unsupported package manager detected.
|
|
162012
|
-
hint: `Expected Yarn or NPM but ${packageManagerName ? `got ${packageManagerName}
|
|
162006
|
+
message: `Unsupported package manager detected. Use a supported one.`,
|
|
162007
|
+
hint: `Expected Yarn or NPM but ${packageManagerName ? `got ${packageManagerName}.` : `failed to detect a package manager.`}`
|
|
162013
162008
|
}
|
|
162014
162009
|
);
|
|
162015
162010
|
},
|
|
@@ -162017,49 +162012,49 @@ function getErrorComponent(code, cause) {
|
|
|
162017
162012
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162018
162013
|
ErrorMessage,
|
|
162019
162014
|
{
|
|
162020
|
-
message: `Generating a Wix App inside ${packageManagerName} workspaces is not supported
|
|
162015
|
+
message: `Generating a Wix App inside ${packageManagerName} workspaces is not supported.`
|
|
162021
162016
|
}
|
|
162022
162017
|
);
|
|
162023
162018
|
},
|
|
162024
162019
|
FailedToGetDeveloperApps: () => {
|
|
162025
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get the list of your applications" });
|
|
162020
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get the list of your applications." });
|
|
162026
162021
|
},
|
|
162027
162022
|
FailedToCreateDevCenterApp: () => {
|
|
162028
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your
|
|
162023
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your app in Wix." });
|
|
162029
162024
|
},
|
|
162030
162025
|
FailedToCreateDevCenterOAuthApp: () => {
|
|
162031
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth
|
|
162026
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth app in Wix." });
|
|
162032
162027
|
},
|
|
162033
162028
|
FailedToUpdateDevCenterOAuthApp: () => {
|
|
162034
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth
|
|
162029
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth app in Wix." });
|
|
162035
162030
|
},
|
|
162036
162031
|
FailedToAddPermission: () => {
|
|
162037
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
|
|
162032
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to add permission." });
|
|
162038
162033
|
},
|
|
162039
162034
|
FailedToGetPlacements: () => {
|
|
162040
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get placements" });
|
|
162035
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get placements." });
|
|
162041
162036
|
},
|
|
162042
162037
|
FailedToCreateTunnel: () => {
|
|
162043
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create tunnel" });
|
|
162038
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create tunnel." });
|
|
162044
162039
|
},
|
|
162045
162040
|
FailedToDeleteTunnel: () => {
|
|
162046
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to delete tunnel" });
|
|
162041
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to delete tunnel." });
|
|
162047
162042
|
},
|
|
162048
162043
|
FailedToGetBlocksExtensionsData: () => {
|
|
162049
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to get blocks extensions data" });
|
|
162044
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to get blocks extensions data." });
|
|
162050
162045
|
},
|
|
162051
162046
|
FailedToGetBlocksStructure: () => {
|
|
162052
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get blocks structure" });
|
|
162047
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get blocks structure." });
|
|
162053
162048
|
},
|
|
162054
162049
|
FailedToUpdateBlocksAfterSync: () => {
|
|
162055
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed updating blocks service after changes
|
|
162050
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed updating blocks service after changes occurred." });
|
|
162056
162051
|
},
|
|
162057
162052
|
SitePermissionDenied: ({ siteId }) => {
|
|
162058
162053
|
return () => {
|
|
162059
162054
|
return /* @__PURE__ */ import_react79.default.createElement(
|
|
162060
162055
|
ErrorMessage,
|
|
162061
162056
|
{
|
|
162062
|
-
message: `You don't have permissions to site ${siteId}
|
|
162057
|
+
message: `You don't have permissions to site ${siteId}.`
|
|
162063
162058
|
}
|
|
162064
162059
|
);
|
|
162065
162060
|
};
|
|
@@ -162069,28 +162064,28 @@ function getErrorComponent(code, cause) {
|
|
|
162069
162064
|
return /* @__PURE__ */ import_react79.default.createElement(
|
|
162070
162065
|
ErrorMessage,
|
|
162071
162066
|
{
|
|
162072
|
-
message: `You don't have permissions to
|
|
162067
|
+
message: `You don't have permissions to app ${appId}.`
|
|
162073
162068
|
}
|
|
162074
162069
|
);
|
|
162075
162070
|
};
|
|
162076
162071
|
},
|
|
162077
162072
|
FailedToUpdateTelemetryConfig: () => {
|
|
162078
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to change telemetry preferences" });
|
|
162073
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to change telemetry preferences." });
|
|
162079
162074
|
},
|
|
162080
162075
|
FailedToInstallPackage: ({ packageName }) => {
|
|
162081
162076
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162082
162077
|
ErrorMessage,
|
|
162083
162078
|
{
|
|
162084
162079
|
cause,
|
|
162085
|
-
message: `Failed to install
|
|
162080
|
+
message: `Failed to install NPM package ${packageName}.`
|
|
162086
162081
|
}
|
|
162087
162082
|
);
|
|
162088
162083
|
},
|
|
162089
162084
|
FailedToResolveNpmDependencies: () => {
|
|
162090
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to resolve
|
|
162085
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to resolve NPM dependencies." });
|
|
162091
162086
|
},
|
|
162092
162087
|
FailedToInstallPackages: () => {
|
|
162093
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { cause, message: "Failed to install
|
|
162088
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { cause, message: "Failed to install NPM packages." });
|
|
162094
162089
|
},
|
|
162095
162090
|
FailedToRunExternalCommand: ({ file, args }) => {
|
|
162096
162091
|
const commandString = [file, ...args].join(" ");
|
|
@@ -162098,7 +162093,7 @@ function getErrorComponent(code, cause) {
|
|
|
162098
162093
|
ErrorMessage,
|
|
162099
162094
|
{
|
|
162100
162095
|
cause,
|
|
162101
|
-
message: `Failed to run external command: ${commandString}
|
|
162096
|
+
message: `Failed to run external command: ${commandString}.`,
|
|
162102
162097
|
hint: "Make sure the command is available on your machine and try again."
|
|
162103
162098
|
}
|
|
162104
162099
|
);
|
|
@@ -162107,9 +162102,9 @@ function getErrorComponent(code, cause) {
|
|
|
162107
162102
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162108
162103
|
ErrorMessage,
|
|
162109
162104
|
{
|
|
162110
|
-
message: "Could not start the migration process",
|
|
162111
|
-
explanation: "Make sure your `package.json` does not contain any packages under `dependencies`, as the migration
|
|
162112
|
-
hint: "If you need to keep any of these packages, move them to `devDependencies` before
|
|
162105
|
+
message: "Could not start the migration process.",
|
|
162106
|
+
explanation: "Make sure your `package.json` does not contain any packages under `dependencies`, as the migration can't continue if any are present.",
|
|
162107
|
+
hint: "If you need to keep any of these packages, move them to `devDependencies` before continuing."
|
|
162113
162108
|
}
|
|
162114
162109
|
);
|
|
162115
162110
|
},
|
|
@@ -162118,7 +162113,7 @@ function getErrorComponent(code, cause) {
|
|
|
162118
162113
|
ErrorMessage,
|
|
162119
162114
|
{
|
|
162120
162115
|
cause,
|
|
162121
|
-
message: `Failed to uninstall
|
|
162116
|
+
message: `Failed to uninstall NPM package ${packageName}.`
|
|
162122
162117
|
}
|
|
162123
162118
|
);
|
|
162124
162119
|
},
|
|
@@ -162126,7 +162121,7 @@ function getErrorComponent(code, cause) {
|
|
|
162126
162121
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162127
162122
|
ErrorMessage,
|
|
162128
162123
|
{
|
|
162129
|
-
message: `Failed to sync the local project to revision ${revision}
|
|
162124
|
+
message: `Failed to sync the local project to revision ${revision}.`
|
|
162130
162125
|
}
|
|
162131
162126
|
);
|
|
162132
162127
|
},
|
|
@@ -162137,13 +162132,13 @@ function getErrorComponent(code, cause) {
|
|
|
162137
162132
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Failed to write cache file at ${path5}.` });
|
|
162138
162133
|
},
|
|
162139
162134
|
UploadApplicationFailed: () => {
|
|
162140
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to upload the
|
|
162135
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to upload the app." });
|
|
162141
162136
|
},
|
|
162142
162137
|
BuiltProjectNeeded: () => {
|
|
162143
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Can
|
|
162138
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Can't find build output. Execute `wix app build` to build your app before continuing." });
|
|
162144
162139
|
},
|
|
162145
162140
|
WixUninstallMissingPackageName: () => {
|
|
162146
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "
|
|
162141
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Specify a package name." });
|
|
162147
162142
|
},
|
|
162148
162143
|
FailedToReadJson: ({ filePath }) => {
|
|
162149
162144
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { cause, message: `Failed to read ${filePath}.` });
|
|
@@ -162161,13 +162156,13 @@ function getErrorComponent(code, cause) {
|
|
|
162161
162156
|
);
|
|
162162
162157
|
},
|
|
162163
162158
|
FailedToWriteWixLock: () => {
|
|
162164
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Failed to write 'wix.lock'
|
|
162159
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Failed to write 'wix.lock'.` });
|
|
162165
162160
|
},
|
|
162166
162161
|
FailedToWriteDependenciesMetadata: () => {
|
|
162167
162162
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162168
162163
|
ErrorMessage,
|
|
162169
162164
|
{
|
|
162170
|
-
message: `Failed to write 'dependencies-metadata.json'
|
|
162165
|
+
message: `Failed to write 'dependencies-metadata.json'.`
|
|
162171
162166
|
}
|
|
162172
162167
|
);
|
|
162173
162168
|
},
|
|
@@ -162184,7 +162179,7 @@ function getErrorComponent(code, cause) {
|
|
|
162184
162179
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162185
162180
|
ErrorMessage,
|
|
162186
162181
|
{
|
|
162187
|
-
message: `Dashboard page config not found at ${configPath}
|
|
162182
|
+
message: `Dashboard page config not found at ${configPath}.`
|
|
162188
162183
|
}
|
|
162189
162184
|
);
|
|
162190
162185
|
},
|
|
@@ -162192,7 +162187,7 @@ function getErrorComponent(code, cause) {
|
|
|
162192
162187
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162193
162188
|
ErrorMessage,
|
|
162194
162189
|
{
|
|
162195
|
-
message: `Embedded script config not found at ${configPath}
|
|
162190
|
+
message: `Embedded script config not found at ${configPath}.`
|
|
162196
162191
|
}
|
|
162197
162192
|
);
|
|
162198
162193
|
},
|
|
@@ -162200,7 +162195,7 @@ function getErrorComponent(code, cause) {
|
|
|
162200
162195
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162201
162196
|
ErrorMessage,
|
|
162202
162197
|
{
|
|
162203
|
-
message: `Site widget config not found at ${configPath}
|
|
162198
|
+
message: `Site widget config not found at ${configPath}.`
|
|
162204
162199
|
}
|
|
162205
162200
|
);
|
|
162206
162201
|
},
|
|
@@ -162208,7 +162203,7 @@ function getErrorComponent(code, cause) {
|
|
|
162208
162203
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162209
162204
|
ErrorMessage,
|
|
162210
162205
|
{
|
|
162211
|
-
message: `Site plugin config not found at ${configPath}
|
|
162206
|
+
message: `Site plugin config not found at ${configPath}.`
|
|
162212
162207
|
}
|
|
162213
162208
|
);
|
|
162214
162209
|
},
|
|
@@ -162216,7 +162211,7 @@ function getErrorComponent(code, cause) {
|
|
|
162216
162211
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162217
162212
|
ErrorMessage,
|
|
162218
162213
|
{
|
|
162219
|
-
message: `Blocks widget
|
|
162214
|
+
message: `Blocks widget API file not found at ${folderPath}.`
|
|
162220
162215
|
}
|
|
162221
162216
|
);
|
|
162222
162217
|
},
|
|
@@ -162224,7 +162219,7 @@ function getErrorComponent(code, cause) {
|
|
|
162224
162219
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162225
162220
|
ErrorMessage,
|
|
162226
162221
|
{
|
|
162227
|
-
message: `Blocks widget config not found at ${configPath}
|
|
162222
|
+
message: `Blocks widget config not found at ${configPath}.`
|
|
162228
162223
|
}
|
|
162229
162224
|
);
|
|
162230
162225
|
},
|
|
@@ -162232,7 +162227,7 @@ function getErrorComponent(code, cause) {
|
|
|
162232
162227
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162233
162228
|
ErrorMessage,
|
|
162234
162229
|
{
|
|
162235
|
-
message: `Blocks widget panel config not found at ${configPath}
|
|
162230
|
+
message: `Blocks widget panel config not found at ${configPath}.`
|
|
162236
162231
|
}
|
|
162237
162232
|
);
|
|
162238
162233
|
},
|
|
@@ -162259,7 +162254,7 @@ function getErrorComponent(code, cause) {
|
|
|
162259
162254
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162260
162255
|
ErrorMessage,
|
|
162261
162256
|
{
|
|
162262
|
-
message: `Dashboard plugin config not found at ${configPath}
|
|
162257
|
+
message: `Dashboard plugin config not found at ${configPath}.`
|
|
162263
162258
|
}
|
|
162264
162259
|
);
|
|
162265
162260
|
},
|
|
@@ -162267,7 +162262,7 @@ function getErrorComponent(code, cause) {
|
|
|
162267
162262
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162268
162263
|
ErrorMessage,
|
|
162269
162264
|
{
|
|
162270
|
-
message: `Dashboard menu plugin config not found at ${configPath}
|
|
162265
|
+
message: `Dashboard menu plugin config not found at ${configPath}.`
|
|
162271
162266
|
}
|
|
162272
162267
|
);
|
|
162273
162268
|
},
|
|
@@ -162275,7 +162270,7 @@ function getErrorComponent(code, cause) {
|
|
|
162275
162270
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162276
162271
|
ErrorMessage,
|
|
162277
162272
|
{
|
|
162278
|
-
message: `Service plugin config not found at ${configPath}
|
|
162273
|
+
message: `Service plugin config not found at ${configPath}.`
|
|
162279
162274
|
}
|
|
162280
162275
|
);
|
|
162281
162276
|
},
|
|
@@ -162283,7 +162278,7 @@ function getErrorComponent(code, cause) {
|
|
|
162283
162278
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162284
162279
|
ErrorMessage,
|
|
162285
162280
|
{
|
|
162286
|
-
message: `Dashboard modal config not found at ${configPath}
|
|
162281
|
+
message: `Dashboard modal config not found at ${configPath}.`
|
|
162287
162282
|
}
|
|
162288
162283
|
);
|
|
162289
162284
|
},
|
|
@@ -162291,7 +162286,7 @@ function getErrorComponent(code, cause) {
|
|
|
162291
162286
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162292
162287
|
ErrorMessage,
|
|
162293
162288
|
{
|
|
162294
|
-
message: `TypeScript config not found at \`${configPath}
|
|
162289
|
+
message: `TypeScript config not found at \`${configPath}\`.`
|
|
162295
162290
|
}
|
|
162296
162291
|
);
|
|
162297
162292
|
},
|
|
@@ -162300,7 +162295,7 @@ function getErrorComponent(code, cause) {
|
|
|
162300
162295
|
ErrorMessage,
|
|
162301
162296
|
{
|
|
162302
162297
|
message: defaultOutdent`
|
|
162303
|
-
Invalid TypeScript configuration found at \`${configPath}
|
|
162298
|
+
Invalid TypeScript configuration found at \`${configPath}\`.`
|
|
162304
162299
|
}
|
|
162305
162300
|
);
|
|
162306
162301
|
},
|
|
@@ -162312,7 +162307,7 @@ function getErrorComponent(code, cause) {
|
|
|
162312
162307
|
Invalid configuration found at \`${configPath}\`:
|
|
162313
162308
|
The following errors were found:
|
|
162314
162309
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
162315
|
-
hint: "Fix the errors above for your configurations to be applied
|
|
162310
|
+
hint: "Fix the errors above for your configurations to be applied."
|
|
162316
162311
|
}
|
|
162317
162312
|
);
|
|
162318
162313
|
},
|
|
@@ -162324,7 +162319,7 @@ function getErrorComponent(code, cause) {
|
|
|
162324
162319
|
Invalid params override found at \`${paramsOverridePath}\`:
|
|
162325
162320
|
The following errors were found:
|
|
162326
162321
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
162327
|
-
hint: "Fix the errors above for your params override to be applied
|
|
162322
|
+
hint: "Fix the errors above for your params override to be applied."
|
|
162328
162323
|
}
|
|
162329
162324
|
);
|
|
162330
162325
|
},
|
|
@@ -162336,12 +162331,12 @@ function getErrorComponent(code, cause) {
|
|
|
162336
162331
|
Invalid configuration found at \`${path5}\`:
|
|
162337
162332
|
The following errors were found:
|
|
162338
162333
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
162339
|
-
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Try to re-install ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " dependency")
|
|
162334
|
+
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Try to re-install ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " dependency.")
|
|
162340
162335
|
}
|
|
162341
162336
|
);
|
|
162342
162337
|
},
|
|
162343
162338
|
PermissionDenied: () => {
|
|
162344
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Forbidden operation. Missing permissions" });
|
|
162339
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Forbidden operation. Missing permissions." });
|
|
162345
162340
|
},
|
|
162346
162341
|
FailedToReadProjectFiles: () => {
|
|
162347
162342
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162353,7 +162348,7 @@ function getErrorComponent(code, cause) {
|
|
|
162353
162348
|
);
|
|
162354
162349
|
},
|
|
162355
162350
|
GridAppFilesMaxLengthExceeded: ({ maxSizeViolationsData, filePaths }) => {
|
|
162356
|
-
let errorMessage = "Found
|
|
162351
|
+
let errorMessage = "Found 1 or more project files that are bigger than the allowed limit.";
|
|
162357
162352
|
if (maxSizeViolationsData?.files.length) {
|
|
162358
162353
|
errorMessage += ` (${maxSizeViolationsData.expectedSize}KB): ${maxSizeViolationsData.files.map((f) => `${filePaths[f.fileIndex]} (${f.receivedSize}KB)`).join(", ")}`;
|
|
162359
162354
|
}
|
|
@@ -162384,7 +162379,7 @@ function getErrorComponent(code, cause) {
|
|
|
162384
162379
|
);
|
|
162385
162380
|
},
|
|
162386
162381
|
DeviceCodeTimedOut: () => {
|
|
162387
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "The device code
|
|
162382
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "The device code wasn't approved in the time allocated. Start the login process again." });
|
|
162388
162383
|
},
|
|
162389
162384
|
DuplicateComponentIdsError: ({ issues }) => {
|
|
162390
162385
|
const Issue = ({ issue }) => {
|
|
@@ -162409,7 +162404,7 @@ function getErrorComponent(code, cause) {
|
|
|
162409
162404
|
return () => /* @__PURE__ */ import_react79.default.createElement(Box_default, { flexDirection: "column", rowGap: 1 }, /* @__PURE__ */ import_react79.default.createElement(
|
|
162410
162405
|
ErrorMessage,
|
|
162411
162406
|
{
|
|
162412
|
-
message: "Found multiple extensions with the same
|
|
162407
|
+
message: "Found multiple extensions with the same ID, this might happen if you copy paste folders.",
|
|
162413
162408
|
hint: "You can use the provided suggested GUIDs as the ID of the newly created extension."
|
|
162414
162409
|
}
|
|
162415
162410
|
), issues.map((issue) => /* @__PURE__ */ import_react79.default.createElement(Issue, { issue, key: issue.id })));
|
|
@@ -162424,39 +162419,39 @@ function getErrorComponent(code, cause) {
|
|
|
162424
162419
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Make sure you are running a supported version of the Velo CLI." });
|
|
162425
162420
|
},
|
|
162426
162421
|
InvalidGetDeploymentResponse: () => {
|
|
162427
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Got unexpected response from server.
|
|
162422
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Try again later." });
|
|
162428
162423
|
},
|
|
162429
162424
|
InvalidGetDeploymentPipelineDescriptionResponse: () => {
|
|
162430
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server" });
|
|
162425
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server." });
|
|
162431
162426
|
},
|
|
162432
162427
|
FailedToGetPagesDiff: () => {
|
|
162433
162428
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to request pages diff." });
|
|
162434
162429
|
},
|
|
162435
162430
|
InvalidViteBuildOutput: () => {
|
|
162436
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Invalid vite build output" });
|
|
162431
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Invalid vite build output." });
|
|
162437
162432
|
},
|
|
162438
162433
|
ViteModuleBundleNotFound: () => {
|
|
162439
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Could not find module bundle in vite build output" });
|
|
162434
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Could not find module bundle in vite build output." });
|
|
162440
162435
|
},
|
|
162441
162436
|
ViteFileNotFoundInOutput: ({ fileName }) => {
|
|
162442
162437
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162443
162438
|
ErrorMessage,
|
|
162444
162439
|
{
|
|
162445
|
-
message: `Could not find ${fileName} in vite build output
|
|
162440
|
+
message: `Could not find ${fileName} in vite build output.`
|
|
162446
162441
|
}
|
|
162447
162442
|
);
|
|
162448
162443
|
},
|
|
162449
162444
|
FailedToCreateBackendDeployment: () => {
|
|
162450
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create backend deployment" });
|
|
162445
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create backend deployment." });
|
|
162451
162446
|
},
|
|
162452
162447
|
FailedToUpdateBackendDeployment: () => {
|
|
162453
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to update backend deployment" });
|
|
162448
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to update backend deployment." });
|
|
162454
162449
|
},
|
|
162455
162450
|
FailedToGetBackendDeployment: () => {
|
|
162456
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to get backend deployment" });
|
|
162451
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to get backend deployment." });
|
|
162457
162452
|
},
|
|
162458
162453
|
FailedToDeployBackend: () => {
|
|
162459
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to deploy backend" });
|
|
162454
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to deploy backend." });
|
|
162460
162455
|
},
|
|
162461
162456
|
FailedToGetUserInfo: () => {
|
|
162462
162457
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to get user information." });
|
|
@@ -162465,10 +162460,10 @@ function getErrorComponent(code, cause) {
|
|
|
162465
162460
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get account information." });
|
|
162466
162461
|
},
|
|
162467
162462
|
FailedToCreateDevelopmentSite: () => {
|
|
162468
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "
|
|
162463
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Couldn't create a development site." });
|
|
162469
162464
|
},
|
|
162470
162465
|
FailedToCreateMetaSiteFromTemplate: () => {
|
|
162471
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create a metasite from template" });
|
|
162466
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to create a metasite from template." });
|
|
162472
162467
|
},
|
|
162473
162468
|
FailedToGetDevelopmentSites: () => {
|
|
162474
162469
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to request development sites." });
|
|
@@ -162489,7 +162484,7 @@ function getErrorComponent(code, cause) {
|
|
|
162489
162484
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to request sites list." });
|
|
162490
162485
|
},
|
|
162491
162486
|
FailedToGetSite: () => {
|
|
162492
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "
|
|
162487
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Couldn't get information about your configured development site." });
|
|
162493
162488
|
},
|
|
162494
162489
|
FailedToDeploySite: () => {
|
|
162495
162490
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to deploy site." });
|
|
@@ -162505,7 +162500,7 @@ function getErrorComponent(code, cause) {
|
|
|
162505
162500
|
ErrorMessage,
|
|
162506
162501
|
{
|
|
162507
162502
|
message: "Failed to save the current development site.",
|
|
162508
|
-
hint: `Make sure the \`${path5}\` file has proper permissions and is accessible
|
|
162503
|
+
hint: `Make sure the \`${path5}\` file has proper permissions and is accessible.`
|
|
162509
162504
|
}
|
|
162510
162505
|
);
|
|
162511
162506
|
},
|
|
@@ -162513,8 +162508,8 @@ function getErrorComponent(code, cause) {
|
|
|
162513
162508
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162514
162509
|
ErrorMessage,
|
|
162515
162510
|
{
|
|
162516
|
-
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Failed to build the
|
|
162517
|
-
hint: "
|
|
162511
|
+
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Failed to build the app.", /* @__PURE__ */ import_react79.default.createElement(Newline, null), cause?.message),
|
|
162512
|
+
hint: "Check the build output for more information."
|
|
162518
162513
|
}
|
|
162519
162514
|
);
|
|
162520
162515
|
},
|
|
@@ -162531,7 +162526,7 @@ function getErrorComponent(code, cause) {
|
|
|
162531
162526
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162532
162527
|
SystemErrorMessage,
|
|
162533
162528
|
{
|
|
162534
|
-
message: `Failed to fetch site installation details for app ${appId}
|
|
162529
|
+
message: `Failed to fetch site installation details for app ${appId}.`
|
|
162535
162530
|
}
|
|
162536
162531
|
);
|
|
162537
162532
|
},
|
|
@@ -162572,7 +162567,7 @@ function getErrorComponent(code, cause) {
|
|
|
162572
162567
|
ErrorMessage,
|
|
162573
162568
|
{
|
|
162574
162569
|
cause,
|
|
162575
|
-
message: "Failed to save
|
|
162570
|
+
message: "Failed to save API key auth data."
|
|
162576
162571
|
}
|
|
162577
162572
|
);
|
|
162578
162573
|
},
|
|
@@ -162607,12 +162602,12 @@ function getErrorComponent(code, cause) {
|
|
|
162607
162602
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162608
162603
|
SystemErrorMessage,
|
|
162609
162604
|
{
|
|
162610
|
-
message: `Template path not found: ${templatePath}
|
|
162605
|
+
message: `Template path not found: ${templatePath}.`
|
|
162611
162606
|
}
|
|
162612
162607
|
);
|
|
162613
162608
|
},
|
|
162614
162609
|
LocalTemplatePathNotFound: ({ path: path5 }) => {
|
|
162615
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Local template path not found: ${path5}
|
|
162610
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: `Local template path not found: ${path5}.` });
|
|
162616
162611
|
},
|
|
162617
162612
|
FailedToCloneRepo: () => {
|
|
162618
162613
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162620,12 +162615,12 @@ function getErrorComponent(code, cause) {
|
|
|
162620
162615
|
{
|
|
162621
162616
|
cause,
|
|
162622
162617
|
message: "Failed to clone repo.",
|
|
162623
|
-
hint: "Make sure the Git URL is correct and that your local Git is configured properly to access the remote repository"
|
|
162618
|
+
hint: "Make sure the Git URL is correct and that your local Git is configured properly to access the remote repository."
|
|
162624
162619
|
}
|
|
162625
162620
|
);
|
|
162626
162621
|
},
|
|
162627
162622
|
InvalidGitUrl: ({ url }) => {
|
|
162628
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: `Invalid Git URL: ${url}
|
|
162623
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: `Invalid Git URL: ${url}.` });
|
|
162629
162624
|
},
|
|
162630
162625
|
AuthenticationRequired: () => {
|
|
162631
162626
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "You have to already be logged in to run this command." });
|
|
@@ -162637,14 +162632,14 @@ function getErrorComponent(code, cause) {
|
|
|
162637
162632
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "The account you are trying to log in to has been deleted." });
|
|
162638
162633
|
},
|
|
162639
162634
|
SiteConfiguredRequired: () => {
|
|
162640
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "You must
|
|
162635
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "You must enter a `--site` in the command options." });
|
|
162641
162636
|
},
|
|
162642
162637
|
FailedAddingPackageToWorkspace: () => {
|
|
162643
162638
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162644
162639
|
ErrorMessage,
|
|
162645
162640
|
{
|
|
162646
|
-
message: "
|
|
162647
|
-
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Full error can be found in ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "wix-error.log"))
|
|
162641
|
+
message: "Couldn't add package to the workspaces configuration. Add it as instructed by your package manager.",
|
|
162642
|
+
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Full error can be found in ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "wix-error.log"), ".")
|
|
162648
162643
|
}
|
|
162649
162644
|
);
|
|
162650
162645
|
},
|
|
@@ -162655,7 +162650,7 @@ function getErrorComponent(code, cause) {
|
|
|
162655
162650
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "This command is not supported in non-interactive terminals. Run with --help to see flags for non-interactive usage, or use an interactive terminal (TTY)." });
|
|
162656
162651
|
},
|
|
162657
162652
|
FailedToResolveViteOrigin: () => {
|
|
162658
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to resolve the base url for CSS asset urls" });
|
|
162653
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Failed to resolve the base url for CSS asset urls." });
|
|
162659
162654
|
},
|
|
162660
162655
|
FailedToCreateAppRelease: () => {
|
|
162661
162656
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create an app configuration." });
|
|
@@ -162664,7 +162659,7 @@ function getErrorComponent(code, cause) {
|
|
|
162664
162659
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Unexpected response from server." });
|
|
162665
162660
|
},
|
|
162666
162661
|
FailedToReleaseHeadlessProject: () => {
|
|
162667
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed releasing a headless site and app" });
|
|
162662
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed releasing a headless site and app." });
|
|
162668
162663
|
},
|
|
162669
162664
|
AppReleaseConfigViolations: () => {
|
|
162670
162665
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162679,7 +162674,7 @@ function getErrorComponent(code, cause) {
|
|
|
162679
162674
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to update an app configuration." });
|
|
162680
162675
|
},
|
|
162681
162676
|
FailedToCreateComponents: () => {
|
|
162682
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create components" });
|
|
162677
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create components." });
|
|
162683
162678
|
},
|
|
162684
162679
|
FailedToFetchPackageDetails: () => {
|
|
162685
162680
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to fetch cli package details." });
|
|
@@ -162692,7 +162687,7 @@ function getErrorComponent(code, cause) {
|
|
|
162692
162687
|
ErrorMessage,
|
|
162693
162688
|
{
|
|
162694
162689
|
message: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "The versions of ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "@wix/cli"), " (", cliVersion, ") and", " ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " (", cliAppVersion, ") dependencies do not match"),
|
|
162695
|
-
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Align their versions in your ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "package.json"), " and re-install dependencies")
|
|
162690
|
+
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "Align their versions in your ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "package.json"), " and re-install dependencies.")
|
|
162696
162691
|
}
|
|
162697
162692
|
);
|
|
162698
162693
|
},
|
|
@@ -162700,7 +162695,7 @@ function getErrorComponent(code, cause) {
|
|
|
162700
162695
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162701
162696
|
ErrorMessage,
|
|
162702
162697
|
{
|
|
162703
|
-
message: `Invalid dashboard page route: ${route}
|
|
162698
|
+
message: `Invalid dashboard page route: ${route}.`,
|
|
162704
162699
|
hint: errorMessage
|
|
162705
162700
|
}
|
|
162706
162701
|
);
|
|
@@ -162709,7 +162704,7 @@ function getErrorComponent(code, cause) {
|
|
|
162709
162704
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162710
162705
|
ErrorMessage,
|
|
162711
162706
|
{
|
|
162712
|
-
message: `Invalid embedded script folder: ${path5}
|
|
162707
|
+
message: `Invalid embedded script folder: ${path5}.`,
|
|
162713
162708
|
hint: errorMessage
|
|
162714
162709
|
}
|
|
162715
162710
|
);
|
|
@@ -162718,7 +162713,7 @@ function getErrorComponent(code, cause) {
|
|
|
162718
162713
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162719
162714
|
ErrorMessage,
|
|
162720
162715
|
{
|
|
162721
|
-
message: `Invalid embedded script template in ${templateFilename}
|
|
162716
|
+
message: `Invalid embedded script template in ${templateFilename}.`,
|
|
162722
162717
|
hint: errorMessage
|
|
162723
162718
|
}
|
|
162724
162719
|
);
|
|
@@ -162727,7 +162722,7 @@ function getErrorComponent(code, cause) {
|
|
|
162727
162722
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162728
162723
|
ErrorMessage,
|
|
162729
162724
|
{
|
|
162730
|
-
message: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "
|
|
162725
|
+
message: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "The folder name is used as tagName for your custom element. Unfortunately, ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, tagName), " is invalid tagName. Reason: ", errorMessage),
|
|
162731
162726
|
hint: /* @__PURE__ */ import_react79.default.createElement(Text2, null, "You can find rules for tagName here:", " ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, "https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names"))
|
|
162732
162727
|
}
|
|
162733
162728
|
);
|
|
@@ -162742,13 +162737,13 @@ function getErrorComponent(code, cause) {
|
|
|
162742
162737
|
);
|
|
162743
162738
|
},
|
|
162744
162739
|
FailedToCreateSiteOverride: () => {
|
|
162745
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create site override configuration" });
|
|
162740
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create site override configuration." });
|
|
162746
162741
|
},
|
|
162747
162742
|
FailedToGetDeploymentPipelineDescription: () => {
|
|
162748
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get deployment pipeline details" });
|
|
162743
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get deployment pipeline details." });
|
|
162749
162744
|
},
|
|
162750
162745
|
FailedToGetDeploymentStatus: () => {
|
|
162751
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get deployment status" });
|
|
162746
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get deployment status." });
|
|
162752
162747
|
},
|
|
162753
162748
|
NetworkError: () => {
|
|
162754
162749
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162761,10 +162756,10 @@ function getErrorComponent(code, cause) {
|
|
|
162761
162756
|
);
|
|
162762
162757
|
},
|
|
162763
162758
|
FailedToGenerateAppMarketQueryParam: () => {
|
|
162764
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get generate appMarket query parameter" });
|
|
162759
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get generate appMarket query parameter." });
|
|
162765
162760
|
},
|
|
162766
162761
|
FailedToParseLog: () => {
|
|
162767
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server" });
|
|
162762
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server." });
|
|
162768
162763
|
},
|
|
162769
162764
|
AppForVersionNotFound: ({ version }) => {
|
|
162770
162765
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162776,13 +162771,13 @@ function getErrorComponent(code, cause) {
|
|
|
162776
162771
|
);
|
|
162777
162772
|
},
|
|
162778
162773
|
FailedToFetchAppForVersion: () => {
|
|
162779
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: `Failed to fetch app configuration
|
|
162774
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: `Failed to fetch app configuration.` });
|
|
162780
162775
|
},
|
|
162781
162776
|
FailedToGetAppSecret: () => {
|
|
162782
162777
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162783
162778
|
SystemErrorMessage,
|
|
162784
162779
|
{
|
|
162785
|
-
message: `Failed to fetch app keys and configuration
|
|
162780
|
+
message: `Failed to fetch app keys and configuration.`
|
|
162786
162781
|
}
|
|
162787
162782
|
);
|
|
162788
162783
|
},
|
|
@@ -162831,7 +162826,7 @@ function getErrorComponent(code, cause) {
|
|
|
162831
162826
|
ErrorMessage,
|
|
162832
162827
|
{
|
|
162833
162828
|
message: `Multilingual app is not installed.`,
|
|
162834
|
-
hint: `
|
|
162829
|
+
hint: `Install the "Wix Multilingual" app in your site dashboard to use this command.`
|
|
162835
162830
|
}
|
|
162836
162831
|
);
|
|
162837
162832
|
},
|
|
@@ -162840,7 +162835,7 @@ function getErrorComponent(code, cause) {
|
|
|
162840
162835
|
ErrorMessage,
|
|
162841
162836
|
{
|
|
162842
162837
|
message: "Failed to fetch the primary language for your site.",
|
|
162843
|
-
hint: "
|
|
162838
|
+
hint: "Ensure Wix Multilingual is installed and configured on your site."
|
|
162844
162839
|
}
|
|
162845
162840
|
);
|
|
162846
162841
|
},
|
|
@@ -162849,7 +162844,7 @@ function getErrorComponent(code, cause) {
|
|
|
162849
162844
|
ErrorMessage,
|
|
162850
162845
|
{
|
|
162851
162846
|
message: "Failed to push translations to Wix Multilingual.",
|
|
162852
|
-
hint: `
|
|
162847
|
+
hint: `Ensure the "Wix Multilingual" app is installed on your site and try again.`
|
|
162853
162848
|
}
|
|
162854
162849
|
);
|
|
162855
162850
|
},
|
|
@@ -162858,7 +162853,7 @@ function getErrorComponent(code, cause) {
|
|
|
162858
162853
|
ErrorMessage,
|
|
162859
162854
|
{
|
|
162860
162855
|
message: "Failed to pull translations from Wix Multilingual.",
|
|
162861
|
-
hint: "
|
|
162856
|
+
hint: "Check your internet connection and try again."
|
|
162862
162857
|
}
|
|
162863
162858
|
);
|
|
162864
162859
|
},
|
|
@@ -162866,7 +162861,7 @@ function getErrorComponent(code, cause) {
|
|
|
162866
162861
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162867
162862
|
ErrorMessage,
|
|
162868
162863
|
{
|
|
162869
|
-
message: `Invalid folder for service plugin in \`${relativePath}
|
|
162864
|
+
message: `Invalid folder for service plugin in \`${relativePath}\`.`
|
|
162870
162865
|
}
|
|
162871
162866
|
);
|
|
162872
162867
|
},
|
|
@@ -162875,7 +162870,7 @@ function getErrorComponent(code, cause) {
|
|
|
162875
162870
|
ErrorMessage,
|
|
162876
162871
|
{
|
|
162877
162872
|
message: `Failed to read devSiteOverrideId from local app configurations.`,
|
|
162878
|
-
hint: `Restart the
|
|
162873
|
+
hint: `Restart the development environment and make sure that the .wix/app.config.json file exists.`
|
|
162879
162874
|
}
|
|
162880
162875
|
);
|
|
162881
162876
|
},
|
|
@@ -162883,8 +162878,8 @@ function getErrorComponent(code, cause) {
|
|
|
162883
162878
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162884
162879
|
ErrorMessage,
|
|
162885
162880
|
{
|
|
162886
|
-
message: `Failed to find file in ESBuild output
|
|
162887
|
-
hint: `Restart the
|
|
162881
|
+
message: `Failed to find file in ESBuild output.`,
|
|
162882
|
+
hint: `Restart the development environment and try again.`
|
|
162888
162883
|
}
|
|
162889
162884
|
);
|
|
162890
162885
|
},
|
|
@@ -162894,7 +162889,7 @@ function getErrorComponent(code, cause) {
|
|
|
162894
162889
|
{
|
|
162895
162890
|
cause,
|
|
162896
162891
|
message: `Failed to optimize dependency with ESBuild.`,
|
|
162897
|
-
explanation: `Restart the
|
|
162892
|
+
explanation: `Restart the development environment and try again.`
|
|
162898
162893
|
}
|
|
162899
162894
|
);
|
|
162900
162895
|
},
|
|
@@ -162902,8 +162897,8 @@ function getErrorComponent(code, cause) {
|
|
|
162902
162897
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162903
162898
|
ErrorMessage,
|
|
162904
162899
|
{
|
|
162905
|
-
message: `Failed to read ESBuild's output file
|
|
162906
|
-
hint: `Restart the
|
|
162900
|
+
message: `Failed to read ESBuild's output file.`,
|
|
162901
|
+
hint: `Restart the development environment and try again.`
|
|
162907
162902
|
}
|
|
162908
162903
|
);
|
|
162909
162904
|
},
|
|
@@ -162912,7 +162907,7 @@ function getErrorComponent(code, cause) {
|
|
|
162912
162907
|
ErrorMessage,
|
|
162913
162908
|
{
|
|
162914
162909
|
message: /* @__PURE__ */ import_react79.default.createElement(import_react79.default.Fragment, null, "Template with ID ", /* @__PURE__ */ import_react79.default.createElement(Text2, { bold: true }, id), " not found."),
|
|
162915
|
-
hint: "Make sure you are using the correct template ID"
|
|
162910
|
+
hint: "Make sure you are using the correct template ID."
|
|
162916
162911
|
}
|
|
162917
162912
|
);
|
|
162918
162913
|
},
|
|
@@ -162920,31 +162915,31 @@ function getErrorComponent(code, cause) {
|
|
|
162920
162915
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162921
162916
|
SystemErrorMessage,
|
|
162922
162917
|
{
|
|
162923
|
-
message: "Failed to fetch available app templates"
|
|
162918
|
+
message: "Failed to fetch available app templates."
|
|
162924
162919
|
}
|
|
162925
162920
|
);
|
|
162926
162921
|
},
|
|
162927
162922
|
FailedToCreateDevCenterAppFromTemplate: () => {
|
|
162928
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your
|
|
162923
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to register your app in Wix." });
|
|
162929
162924
|
},
|
|
162930
162925
|
FailedToQueryApps: () => {
|
|
162931
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to query apps" });
|
|
162926
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to query apps." });
|
|
162932
162927
|
},
|
|
162933
162928
|
FailedToGetSiteInstalledApps: () => {
|
|
162934
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps" });
|
|
162929
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps." });
|
|
162935
162930
|
},
|
|
162936
162931
|
FailedToGetSiteInstalledAppInstanceId: () => {
|
|
162937
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site installed app instance
|
|
162932
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site installed app instance ID." });
|
|
162938
162933
|
},
|
|
162939
162934
|
FailedToGetClientSpecMap: () => {
|
|
162940
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map" });
|
|
162935
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map." });
|
|
162941
162936
|
},
|
|
162942
162937
|
DeniedPermissionToGetAppSecret: () => {
|
|
162943
162938
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
162944
162939
|
ErrorMessage,
|
|
162945
162940
|
{
|
|
162946
|
-
message: "Insufficient permissions",
|
|
162947
|
-
hint: "
|
|
162941
|
+
message: "Insufficient permissions.",
|
|
162942
|
+
hint: "Log in with an account that has the required permissions to access this app."
|
|
162948
162943
|
}
|
|
162949
162944
|
);
|
|
162950
162945
|
},
|
|
@@ -162952,10 +162947,10 @@ function getErrorComponent(code, cause) {
|
|
|
162952
162947
|
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to create an isolated environment." });
|
|
162953
162948
|
},
|
|
162954
162949
|
FailedToUpdateVeloAppFiles: () => {
|
|
162955
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to update files in the isolated environment" });
|
|
162950
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to update files in the isolated environment." });
|
|
162956
162951
|
},
|
|
162957
162952
|
FailedToGetFilesFromVelo: () => {
|
|
162958
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get initial project files" });
|
|
162953
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to get initial project files." });
|
|
162959
162954
|
},
|
|
162960
162955
|
FailedToOpenBrowser: () => {
|
|
162961
162956
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -162963,7 +162958,7 @@ function getErrorComponent(code, cause) {
|
|
|
162963
162958
|
{
|
|
162964
162959
|
cause,
|
|
162965
162960
|
message: "Failed to open browser.",
|
|
162966
|
-
hint: "
|
|
162961
|
+
hint: "Make sure you have a browser installed, and it's appropriately configured."
|
|
162967
162962
|
}
|
|
162968
162963
|
);
|
|
162969
162964
|
},
|
|
@@ -162984,7 +162979,7 @@ function getErrorComponent(code, cause) {
|
|
|
162984
162979
|
);
|
|
162985
162980
|
},
|
|
162986
162981
|
FailedToSyncPagesTypes: () => {
|
|
162987
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to sync pages types" });
|
|
162982
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to sync pages types." });
|
|
162988
162983
|
},
|
|
162989
162984
|
FailedToInitializeSiteFsManager: () => {
|
|
162990
162985
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -163047,8 +163042,8 @@ function getErrorComponent(code, cause) {
|
|
|
163047
163042
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163048
163043
|
ErrorMessage,
|
|
163049
163044
|
{
|
|
163050
|
-
message: `Failed to load asset ${asset}
|
|
163051
|
-
hint: `Make sure the asset is correctly configured in \`${configPath}\` under the field \`${field}
|
|
163045
|
+
message: `Failed to load asset ${asset}.`,
|
|
163046
|
+
hint: `Make sure the asset is correctly configured in \`${configPath}\` under the field \`${field}\`.`
|
|
163052
163047
|
}
|
|
163053
163048
|
);
|
|
163054
163049
|
},
|
|
@@ -163083,16 +163078,16 @@ function getErrorComponent(code, cause) {
|
|
|
163083
163078
|
);
|
|
163084
163079
|
},
|
|
163085
163080
|
FailedToCreateDraftVersion: () => {
|
|
163086
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to retrieve release options available for your
|
|
163081
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to retrieve release options available for your app." });
|
|
163087
163082
|
},
|
|
163088
163083
|
FailedToReleaseDraftVersion: () => {
|
|
163089
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to release a new version of your
|
|
163084
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to release a new version of your app." });
|
|
163090
163085
|
},
|
|
163091
163086
|
WaitForEditorInstallationStateFailure: () => {
|
|
163092
163087
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163093
163088
|
SystemErrorMessage,
|
|
163094
163089
|
{
|
|
163095
|
-
message: `Waiting for the Editor to finish installation timed out
|
|
163090
|
+
message: `Waiting for the Editor to finish installation timed out.`
|
|
163096
163091
|
}
|
|
163097
163092
|
);
|
|
163098
163093
|
},
|
|
@@ -163100,7 +163095,7 @@ function getErrorComponent(code, cause) {
|
|
|
163100
163095
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163101
163096
|
SystemErrorMessage,
|
|
163102
163097
|
{
|
|
163103
|
-
message: `Editor installation details check timed out
|
|
163098
|
+
message: `Editor installation details check timed out.`
|
|
163104
163099
|
}
|
|
163105
163100
|
);
|
|
163106
163101
|
},
|
|
@@ -163108,7 +163103,7 @@ function getErrorComponent(code, cause) {
|
|
|
163108
163103
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163109
163104
|
SystemErrorMessage,
|
|
163110
163105
|
{
|
|
163111
|
-
message: `Unable to retrieve slot details to extend
|
|
163106
|
+
message: `Unable to retrieve slot details to extend.`
|
|
163112
163107
|
}
|
|
163113
163108
|
);
|
|
163114
163109
|
},
|
|
@@ -163116,7 +163111,7 @@ function getErrorComponent(code, cause) {
|
|
|
163116
163111
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163117
163112
|
SystemErrorMessage,
|
|
163118
163113
|
{
|
|
163119
|
-
message: `Unable to retrieve the list of available extensions for your
|
|
163114
|
+
message: `Unable to retrieve the list of available extensions for your app.`
|
|
163120
163115
|
}
|
|
163121
163116
|
);
|
|
163122
163117
|
},
|
|
@@ -163124,12 +163119,17 @@ function getErrorComponent(code, cause) {
|
|
|
163124
163119
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163125
163120
|
SystemErrorMessage,
|
|
163126
163121
|
{
|
|
163127
|
-
message: `Failed to parse backoffice extension containers data
|
|
163122
|
+
message: `Failed to parse backoffice extension containers data.`
|
|
163128
163123
|
}
|
|
163129
163124
|
);
|
|
163130
163125
|
},
|
|
163131
163126
|
FailedToParseBackofficePages: () => {
|
|
163132
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163127
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163128
|
+
SystemErrorMessage,
|
|
163129
|
+
{
|
|
163130
|
+
message: `Failed to parse backoffice pages data.`
|
|
163131
|
+
}
|
|
163132
|
+
);
|
|
163133
163133
|
},
|
|
163134
163134
|
FailedToCleanDistFolder: () => {
|
|
163135
163135
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
@@ -163164,7 +163164,7 @@ ${errorMessage}`
|
|
|
163164
163164
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163165
163165
|
ErrorMessage,
|
|
163166
163166
|
{
|
|
163167
|
-
message: `Release command in non-interactive mode requires following parameter: --version-type
|
|
163167
|
+
message: `Release command in non-interactive mode requires following parameter: --version-type.`
|
|
163168
163168
|
}
|
|
163169
163169
|
);
|
|
163170
163170
|
},
|
|
@@ -163194,7 +163194,7 @@ ${errorMessage}`
|
|
|
163194
163194
|
ErrorMessage,
|
|
163195
163195
|
{
|
|
163196
163196
|
message: errorMessage,
|
|
163197
|
-
hint: "
|
|
163197
|
+
hint: "Couldn't create a new app with the specified parameters. Modify the parameters or switch to interactive mode."
|
|
163198
163198
|
}
|
|
163199
163199
|
);
|
|
163200
163200
|
},
|
|
@@ -163203,7 +163203,7 @@ ${errorMessage}`
|
|
|
163203
163203
|
ErrorMessage,
|
|
163204
163204
|
{
|
|
163205
163205
|
message: errorMessage,
|
|
163206
|
-
hint: "
|
|
163206
|
+
hint: "Couldn't create a new app with the specified parameters. Modify the parameters or switch to interactive mode."
|
|
163207
163207
|
}
|
|
163208
163208
|
);
|
|
163209
163209
|
},
|
|
@@ -163212,7 +163212,7 @@ ${errorMessage}`
|
|
|
163212
163212
|
ErrorMessage,
|
|
163213
163213
|
{
|
|
163214
163214
|
message: errorMessage,
|
|
163215
|
-
hint: "
|
|
163215
|
+
hint: "Couldn't create a new app with provided Business Name. Modify the parameters or switch to interactive mode."
|
|
163216
163216
|
}
|
|
163217
163217
|
);
|
|
163218
163218
|
},
|
|
@@ -163221,7 +163221,7 @@ ${errorMessage}`
|
|
|
163221
163221
|
ErrorMessage,
|
|
163222
163222
|
{
|
|
163223
163223
|
message: `Minor version release is not allowed.`,
|
|
163224
|
-
hint: `
|
|
163224
|
+
hint: `Release major version.`
|
|
163225
163225
|
}
|
|
163226
163226
|
);
|
|
163227
163227
|
},
|
|
@@ -163229,7 +163229,7 @@ ${errorMessage}`
|
|
|
163229
163229
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163230
163230
|
ErrorMessage,
|
|
163231
163231
|
{
|
|
163232
|
-
message: `Site component config not found at ${configPath}
|
|
163232
|
+
message: `Site component config not found at ${configPath}.`
|
|
163233
163233
|
}
|
|
163234
163234
|
);
|
|
163235
163235
|
},
|
|
@@ -163237,7 +163237,7 @@ ${errorMessage}`
|
|
|
163237
163237
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163238
163238
|
ErrorMessage,
|
|
163239
163239
|
{
|
|
163240
|
-
message: `Site component panel config not found at ${configPath}
|
|
163240
|
+
message: `Site component panel config not found at ${configPath}.`
|
|
163241
163241
|
}
|
|
163242
163242
|
);
|
|
163243
163243
|
},
|
|
@@ -163245,7 +163245,7 @@ ${errorMessage}`
|
|
|
163245
163245
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163246
163246
|
ErrorMessage,
|
|
163247
163247
|
{
|
|
163248
|
-
message: `Site component panel with name ${panelName}
|
|
163248
|
+
message: `Site component panel with name ${panelName} does not exist.`
|
|
163249
163249
|
}
|
|
163250
163250
|
);
|
|
163251
163251
|
},
|
|
@@ -163296,7 +163296,7 @@ ${errorMessage}`
|
|
|
163296
163296
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
163297
163297
|
ErrorMessage,
|
|
163298
163298
|
{
|
|
163299
|
-
message: "Project build output is missing",
|
|
163299
|
+
message: "Project build output is missing.",
|
|
163300
163300
|
explanation: reason,
|
|
163301
163301
|
hint: "Build the project before proceeding."
|
|
163302
163302
|
}
|
|
@@ -163313,7 +163313,7 @@ ${errorMessage}`
|
|
|
163313
163313
|
);
|
|
163314
163314
|
},
|
|
163315
163315
|
FailedToFindAstroConfig: () => {
|
|
163316
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "No valid configuration file found.
|
|
163316
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "No valid configuration file found. Ensure that an astro.config.{js,cjs,mjs,ts} file exists in your project directory." });
|
|
163317
163317
|
},
|
|
163318
163318
|
ProjectIsAlreadyLinked: () => {
|
|
163319
163319
|
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "This project is already connected to Wix, so no changes were made." });
|
|
@@ -163389,7 +163389,7 @@ ${errorMessage}`
|
|
|
163389
163389
|
ErrorMessage,
|
|
163390
163390
|
{
|
|
163391
163391
|
cause,
|
|
163392
|
-
message: `Site component element config is invalid at ${elementPath}
|
|
163392
|
+
message: `Site component element config is invalid at ${elementPath}.`
|
|
163393
163393
|
}
|
|
163394
163394
|
);
|
|
163395
163395
|
},
|
|
@@ -163398,7 +163398,7 @@ ${errorMessage}`
|
|
|
163398
163398
|
ErrorMessage,
|
|
163399
163399
|
{
|
|
163400
163400
|
message: "Your component configuration is incorrect. It's encountering the error 'scriptAsset is not supported'. This typically indicates that your app isn't recognized as a Wix App.",
|
|
163401
|
-
hint: "To resolve this,
|
|
163401
|
+
hint: "To resolve this, visit your app dashboard in Dev Center and ensure the app is marked as 'Developed by Wix'."
|
|
163402
163402
|
}
|
|
163403
163403
|
);
|
|
163404
163404
|
},
|
|
@@ -163407,7 +163407,7 @@ ${errorMessage}`
|
|
|
163407
163407
|
ErrorMessage,
|
|
163408
163408
|
{
|
|
163409
163409
|
cause,
|
|
163410
|
-
message: "The Vibe repository setup timed out.
|
|
163410
|
+
message: "The Vibe repository setup timed out. Try again."
|
|
163411
163411
|
}
|
|
163412
163412
|
);
|
|
163413
163413
|
},
|
|
@@ -163416,7 +163416,7 @@ ${errorMessage}`
|
|
|
163416
163416
|
ErrorMessage,
|
|
163417
163417
|
{
|
|
163418
163418
|
cause,
|
|
163419
|
-
message: "The development command failed to execute.
|
|
163419
|
+
message: "The development command failed to execute. Review the output log above for details."
|
|
163420
163420
|
}
|
|
163421
163421
|
);
|
|
163422
163422
|
},
|
|
@@ -165358,11 +165358,11 @@ var import_variant22 = __toESM(require_lib(), 1);
|
|
|
165358
165358
|
// ../cli-auth/src/messages.json
|
|
165359
165359
|
var messages_default2 = {
|
|
165360
165360
|
"login.instructions_title": "Authorize the CLI to access your Wix account:",
|
|
165361
|
-
"login.instructions_details": "1. Copy this code to the clipboard: <0>{code}</0>\n2.
|
|
165362
|
-
"login.have_wix_account": "Already have an account? Press <0/> to <1>log in</1> and then paste the code",
|
|
165363
|
-
"login.new_to_wix": "New to Wix? Press <0/> to <1>sign up</1> and then paste the code",
|
|
165364
|
-
"login.legacy_auth_notice": "
|
|
165365
|
-
"login.error_opening_browser": "Failed to open browser
|
|
165361
|
+
"login.instructions_details": "1. Copy this code to the clipboard: <0>{code}</0>\n2. Select an option:",
|
|
165362
|
+
"login.have_wix_account": "Already have an account? Press <0/> to <1>log in</1> and then paste the code.",
|
|
165363
|
+
"login.new_to_wix": "New to Wix? Press <0/> to <1>sign up</1> and then paste the code.",
|
|
165364
|
+
"login.legacy_auth_notice": "A new and more secure login method is available. You'll need to re-login to continue using the CLI.",
|
|
165365
|
+
"login.error_opening_browser": "Failed to open browser. Try opening <0/> manually."
|
|
165366
165366
|
};
|
|
165367
165367
|
|
|
165368
165368
|
// ../cli-auth/src/auth-strategies/index.ts
|
|
@@ -165865,17 +165865,25 @@ async function openBrowser(url) {
|
|
|
165865
165865
|
// ../cli-auth/src/useColoredVerificationUri.ts
|
|
165866
165866
|
init_esm_shims();
|
|
165867
165867
|
var import_react83 = __toESM(require_react(), 1);
|
|
165868
|
+
|
|
165869
|
+
// ../cli-auth/src/verfication-uri.ts
|
|
165870
|
+
init_esm_shims();
|
|
165871
|
+
function buildVerificationUris(verificationUri) {
|
|
165872
|
+
const coloredUri = new URL(verificationUri);
|
|
165873
|
+
coloredUri.searchParams.set("color", "developer");
|
|
165874
|
+
coloredUri.searchParams.set("studio", "true");
|
|
165875
|
+
const signupUri = new URL("https://users.wix.com/login/signup/password");
|
|
165876
|
+
signupUri.searchParams.set("redirectTo", coloredUri.href);
|
|
165877
|
+
return {
|
|
165878
|
+
coloredVerificationUri: coloredUri.toString(),
|
|
165879
|
+
signupUri: signupUri.toString()
|
|
165880
|
+
};
|
|
165881
|
+
}
|
|
165882
|
+
|
|
165883
|
+
// ../cli-auth/src/useColoredVerificationUri.ts
|
|
165868
165884
|
function useColoredVerificationUri(verificationUri) {
|
|
165869
165885
|
return (0, import_react83.useMemo)(() => {
|
|
165870
|
-
|
|
165871
|
-
coloredUri.searchParams.set("color", "developer");
|
|
165872
|
-
coloredUri.searchParams.set("studio", "true");
|
|
165873
|
-
const signupUri = new URL("https://users.wix.com/login/signup/password");
|
|
165874
|
-
signupUri.searchParams.set("redirectTo", coloredUri.href);
|
|
165875
|
-
return {
|
|
165876
|
-
coloredVerificationUri: coloredUri.toString(),
|
|
165877
|
-
signupUri: signupUri.toString()
|
|
165878
|
-
};
|
|
165886
|
+
return buildVerificationUris(verificationUri);
|
|
165879
165887
|
}, [verificationUri]);
|
|
165880
165888
|
}
|
|
165881
165889
|
|
|
@@ -169268,7 +169276,7 @@ var baseConfig = {
|
|
|
169268
169276
|
var monitoringPublicConfigSchema = external_exports.object({
|
|
169269
169277
|
sentry: external_exports.object({
|
|
169270
169278
|
dsn: external_exports.string().refine(import_monitoring_buildtime.isValidSentryDsn, {
|
|
169271
|
-
message: "Invalid Sentry DSN
|
|
169279
|
+
message: "Invalid Sentry DSN. Make sure the Sentry DSN is correct."
|
|
169272
169280
|
})
|
|
169273
169281
|
})
|
|
169274
169282
|
});
|
|
@@ -169366,10 +169374,10 @@ var dashboardPageConfigSchema = dashboardPagePublicConfigSchema.extend({
|
|
|
169366
169374
|
var dashboardModalPublicConfigSchema = external_exports.object({
|
|
169367
169375
|
...baseConfig,
|
|
169368
169376
|
id: external_exports.string().uuid().describe(
|
|
169369
|
-
"The ID (GUID) is used to register the modal in the
|
|
169377
|
+
"The ID (GUID) is used to register the modal in the app dashboard. The ID must be unique across all pages in the app."
|
|
169370
169378
|
),
|
|
169371
169379
|
title: external_exports.string().min(1).describe(
|
|
169372
|
-
"The title is used to refer to the modal in the
|
|
169380
|
+
"The title is used to refer to the modal in the app dashboard."
|
|
169373
169381
|
),
|
|
169374
169382
|
width: external_exports.number().optional().describe("Initial width of the modal while loading, in pixels."),
|
|
169375
169383
|
height: external_exports.number().optional().describe("Initial height of the modal while loading, in pixels.")
|
|
@@ -169435,7 +169443,7 @@ var actionSchema = external_exports.object({
|
|
|
169435
169443
|
var dashboardMenuPluginPublicConfigSchema = external_exports.object({
|
|
169436
169444
|
...baseConfig,
|
|
169437
169445
|
id: external_exports.string().uuid().describe(
|
|
169438
|
-
"The ID (GUID) is used to register the page in the
|
|
169446
|
+
"The ID (GUID) is used to register the page in the app dashboard and must be unique across all extensions in the app."
|
|
169439
169447
|
),
|
|
169440
169448
|
title: external_exports.string().min(1).describe("Text of the menu item the extension adds."),
|
|
169441
169449
|
subtitle: external_exports.string().max(200).optional().describe(
|
|
@@ -169454,7 +169462,7 @@ var embeddedScriptConfigSchema = external_exports.object({
|
|
|
169454
169462
|
...baseConfig,
|
|
169455
169463
|
id: external_exports.string().uuid().describe("The ID (GUID) is a unique identifier for your script."),
|
|
169456
169464
|
name: external_exports.string().min(1).describe(
|
|
169457
|
-
"The name of your script as it will appear in the
|
|
169465
|
+
"The name of your script as it will appear in the app dashboard."
|
|
169458
169466
|
),
|
|
169459
169467
|
scriptType: external_exports.enum([
|
|
169460
169468
|
EmbedCategory.FUNCTIONAL,
|
|
@@ -169486,7 +169494,7 @@ var customElementConfigSchema = external_exports.object({
|
|
|
169486
169494
|
...baseConfig,
|
|
169487
169495
|
id: external_exports.string().uuid().describe("The ID (GUID) is a unique identifier for your element."),
|
|
169488
169496
|
name: external_exports.string().min(1).max(30).describe(
|
|
169489
|
-
"The name of your element as it will appear in the
|
|
169497
|
+
"The name of your element as it will appear in the app dashboard."
|
|
169490
169498
|
),
|
|
169491
169499
|
height: external_exports.object({
|
|
169492
169500
|
defaultHeight: external_exports.number().describe(
|
|
@@ -169512,10 +169520,10 @@ var customElementConfigSchema = external_exports.object({
|
|
|
169512
169520
|
"Marks the widget as crucial to your app's functionality or not. If true and a user deletes the widget, the entire app will also be deleted."
|
|
169513
169521
|
)
|
|
169514
169522
|
}).strict().optional(),
|
|
169515
|
-
presets: external_exports.array(customElementPresetSchema).length(1, "Only
|
|
169523
|
+
presets: external_exports.array(customElementPresetSchema).length(1, "Only 1 preset is allowed at the moment.").optional(),
|
|
169516
169524
|
behaviors: external_exports.object({
|
|
169517
169525
|
dashboard: external_exports.object({
|
|
169518
|
-
dashboardPageComponentId: external_exports.string().uuid().describe("The ID of the dashboard page component")
|
|
169526
|
+
dashboardPageComponentId: external_exports.string().uuid().describe("The ID of the dashboard page component.")
|
|
169519
169527
|
}).strict().optional()
|
|
169520
169528
|
}).strict().optional()
|
|
169521
169529
|
}).strict();
|
|
@@ -169532,30 +169540,30 @@ var sitePluginConfigSchema = external_exports.object({
|
|
|
169532
169540
|
),
|
|
169533
169541
|
marketData: external_exports.object({
|
|
169534
169542
|
name: external_exports.string().max(30).describe(
|
|
169535
|
-
"The name of your plugin as it will appear in the plugin explorer"
|
|
169543
|
+
"The name of your plugin as it will appear in the plugin explorer."
|
|
169536
169544
|
),
|
|
169537
169545
|
description: external_exports.string().optional().describe(
|
|
169538
|
-
"The description of your plugin as it will appear in the plugin explorer"
|
|
169546
|
+
"The description of your plugin as it will appear in the plugin explorer."
|
|
169539
169547
|
),
|
|
169540
169548
|
logoUrl: external_exports.string().optional().transform((val, ctx) => {
|
|
169541
169549
|
if (val?.includes("{{PUBLIC_URL}}")) {
|
|
169542
169550
|
ctx.addIssue({
|
|
169543
169551
|
code: external_exports.ZodIssueCode.custom,
|
|
169544
|
-
message: "`{{PUBLIC_URL}}` is no longer supported
|
|
169552
|
+
message: "`{{PUBLIC_URL}}` is no longer supported. Update `marketData.logoUrl` to a relative path."
|
|
169545
169553
|
});
|
|
169546
169554
|
return external_exports.NEVER;
|
|
169547
169555
|
}
|
|
169548
169556
|
return val;
|
|
169549
169557
|
}).pipe(
|
|
169550
169558
|
staticAssetConfigSchema.optional().describe(
|
|
169551
|
-
"The logo of your plugin as it will appear in the plugin explorer"
|
|
169559
|
+
"The logo of your plugin as it will appear in the plugin explorer."
|
|
169552
169560
|
)
|
|
169553
169561
|
)
|
|
169554
169562
|
}).strict(),
|
|
169555
169563
|
placements: external_exports.array(sitePluginPlacementSchema),
|
|
169556
169564
|
installation: external_exports.object({
|
|
169557
169565
|
autoAddToSite: external_exports.boolean().optional().describe(
|
|
169558
|
-
"Automatically adds the plugin to a site selected slot upon installation if true"
|
|
169566
|
+
"Automatically adds the plugin to a site selected slot upon installation if true."
|
|
169559
169567
|
)
|
|
169560
169568
|
}).strict().optional()
|
|
169561
169569
|
}).strict();
|
|
@@ -180809,4 +180817,4 @@ mustache/mustache.mjs:
|
|
|
180809
180817
|
* http://github.com/janl/mustache.js
|
|
180810
180818
|
*)
|
|
180811
180819
|
*/
|
|
180812
|
-
//# sourceMappingURL=chunk-
|
|
180820
|
+
//# sourceMappingURL=chunk-4MWJVDBY.js.map
|