@wix/cli-app 1.1.58 → 1.1.60
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/{CreateVersionCommand-NNN5WEDG.js → CreateVersionCommand-Z6F5IKH5.js} +16 -16
- package/build/{DevCommand-DTV4QLZX.js → DevCommand-YFEZ4QV5.js} +15 -15
- package/build/DevCommand-YFEZ4QV5.js.map +1 -0
- package/build/{GenerateCommand-3EILY6GU.js → GenerateCommand-KCV4YDNN.js} +303 -183
- package/build/GenerateCommand-KCV4YDNN.js.map +1 -0
- package/build/{LogsCommand-GBLWWXA4.js → LogsCommand-VBMGVYNU.js} +4 -4
- package/build/PreviewCommand-3OMHWDW6.js +23 -0
- package/build/ReleaseCommand-5F3FPBXT.js +91 -0
- package/build/ReleaseCommand-5F3FPBXT.js.map +1 -0
- package/build/{ServeCommand-HBKGVBCD.js → ServeCommand-G4FF4PT3.js} +13 -13
- package/build/{build-NYCCEFPM.js → build-XZI3USNB.js} +10 -9
- package/build/build-XZI3USNB.js.map +1 -0
- package/build/{chunk-RFDDKVTR.js → chunk-2PTCXTKF.js} +5 -5
- package/build/{chunk-2ROHQF53.js → chunk-36W5H7IG.js} +484 -486
- package/build/chunk-36W5H7IG.js.map +1 -0
- package/build/{chunk-CDB46GX7.js → chunk-4VTDNX5T.js} +2 -2
- package/build/{chunk-FQ554CIC.js → chunk-5QZS3HT7.js} +3 -3
- package/build/{chunk-DKKXEKW7.js → chunk-7CGRTCDC.js} +3 -3
- package/build/{chunk-MVNY3M6D.js → chunk-CNZ3Q5PF.js} +5 -5
- package/build/{chunk-P5P6YINI.js → chunk-DGTJGIY2.js} +2466 -1175
- package/build/chunk-DGTJGIY2.js.map +1 -0
- package/build/{chunk-XIKZ45R2.js → chunk-FTC5AK3Y.js} +56 -12
- package/build/chunk-FTC5AK3Y.js.map +1 -0
- package/build/{chunk-UGZFZOEU.js → chunk-HUWYF2ET.js} +8 -8
- package/build/{chunk-ZDKKDXHS.js → chunk-IG6IV6VM.js} +3 -3
- package/build/{chunk-XRPBC4UX.js → chunk-O42QDBJU.js} +3 -3
- package/build/{chunk-PUIMS4NQ.js → chunk-PKSGXFYA.js} +3 -3
- package/build/{chunk-SE6QML7T.js → chunk-QVGYU6D4.js} +17 -7
- package/build/chunk-QVGYU6D4.js.map +1 -0
- package/build/{chunk-QVLKHYBX.js → chunk-USAOCISL.js} +3 -3
- package/build/{chunk-JSDDG7MC.js → chunk-VXE3IWKR.js} +2 -2
- package/build/{chunk-NTTJJSCK.js → chunk-VZJZSWRE.js} +3 -3
- package/build/{chunk-IWJPJJEU.js → chunk-WRPV7SLY.js} +2067 -370
- package/build/chunk-WRPV7SLY.js.map +1 -0
- package/build/{chunk-TQB6XTPS.js → chunk-WRWNJYKZ.js} +6 -3
- package/build/chunk-WRWNJYKZ.js.map +1 -0
- package/build/cloudflare-runtime/entry.js +314 -253
- package/build/cloudflare-runtime/getRegisteredExtensions.js +21 -273
- package/build/index.js +444 -134
- package/build/index.js.map +1 -1
- package/build/platform-sdk/chunk-42XIZ4MH.js +2 -0
- package/build/platform-sdk/chunk-42XIZ4MH.js.map +1 -0
- package/build/platform-sdk/chunk-7EYXEF6M.js +2 -0
- package/build/platform-sdk/chunk-7EYXEF6M.js.map +1 -0
- package/build/platform-sdk/chunk-EERHWVVD.js +2 -0
- package/build/platform-sdk/chunk-EERHWVVD.js.map +1 -0
- package/build/platform-sdk/chunk-QV4VBCJB.js +2 -0
- package/build/platform-sdk/chunk-QV4VBCJB.js.map +1 -0
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/dashboard.js.map +1 -1
- package/build/platform-sdk/editor.js +4 -4
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/platform-sdk/sdk-context.js +2 -0
- package/build/platform-sdk/sdk-context.js.map +1 -0
- package/build/platform-sdk/site.js +1 -1
- package/build/platform-sdk/site.js.map +1 -1
- package/build/platform-sdk/web-methods.js +2 -0
- package/build/platform-sdk/web-methods.js.map +1 -0
- package/build/{preview-CCEFGOHW.js → preview-VAHHFTRZ.js} +13 -13
- package/build/preview-VAHHFTRZ.js.map +1 -0
- package/build/{render-command-T2HCJX3F.js → render-command-3AYSQXHN.js} +6 -6
- package/package.json +14 -11
- package/schemas/site-plugin.json +1 -1
- package/schemas/wix-config.json +1 -1
- package/templates/web-method/files/placeholder.ts.ejs +17 -0
- package/build/DevCommand-DTV4QLZX.js.map +0 -1
- package/build/GenerateCommand-3EILY6GU.js.map +0 -1
- package/build/PreviewCommand-A2C52TVM.js +0 -23
- package/build/build-NYCCEFPM.js.map +0 -1
- package/build/chunk-2ROHQF53.js.map +0 -1
- package/build/chunk-IWJPJJEU.js.map +0 -1
- package/build/chunk-P5P6YINI.js.map +0 -1
- package/build/chunk-SE6QML7T.js.map +0 -1
- package/build/chunk-TQB6XTPS.js.map +0 -1
- package/build/chunk-XIKZ45R2.js.map +0 -1
- package/build/platform-sdk/chunk-DGX4CFXG.js +0 -2
- package/build/platform-sdk/chunk-DGX4CFXG.js.map +0 -1
- package/build/platform-sdk/chunk-TN6HYRXL.js +0 -2
- package/build/platform-sdk/chunk-TN6HYRXL.js.map +0 -1
- package/build/preview-CCEFGOHW.js.map +0 -1
- /package/build/{CreateVersionCommand-NNN5WEDG.js.map → CreateVersionCommand-Z6F5IKH5.js.map} +0 -0
- /package/build/{LogsCommand-GBLWWXA4.js.map → LogsCommand-VBMGVYNU.js.map} +0 -0
- /package/build/{PreviewCommand-A2C52TVM.js.map → PreviewCommand-3OMHWDW6.js.map} +0 -0
- /package/build/{ServeCommand-HBKGVBCD.js.map → ServeCommand-G4FF4PT3.js.map} +0 -0
- /package/build/{chunk-RFDDKVTR.js.map → chunk-2PTCXTKF.js.map} +0 -0
- /package/build/{chunk-CDB46GX7.js.map → chunk-4VTDNX5T.js.map} +0 -0
- /package/build/{chunk-FQ554CIC.js.map → chunk-5QZS3HT7.js.map} +0 -0
- /package/build/{chunk-DKKXEKW7.js.map → chunk-7CGRTCDC.js.map} +0 -0
- /package/build/{chunk-MVNY3M6D.js.map → chunk-CNZ3Q5PF.js.map} +0 -0
- /package/build/{chunk-UGZFZOEU.js.map → chunk-HUWYF2ET.js.map} +0 -0
- /package/build/{chunk-ZDKKDXHS.js.map → chunk-IG6IV6VM.js.map} +0 -0
- /package/build/{chunk-XRPBC4UX.js.map → chunk-O42QDBJU.js.map} +0 -0
- /package/build/{chunk-PUIMS4NQ.js.map → chunk-PKSGXFYA.js.map} +0 -0
- /package/build/{chunk-QVLKHYBX.js.map → chunk-USAOCISL.js.map} +0 -0
- /package/build/{chunk-JSDDG7MC.js.map → chunk-VXE3IWKR.js.map} +0 -0
- /package/build/{chunk-NTTJJSCK.js.map → chunk-VZJZSWRE.js.map} +0 -0
- /package/build/{render-command-T2HCJX3F.js.map → render-command-3AYSQXHN.js.map} +0 -0
|
@@ -2,13 +2,13 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
useBackendComponents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WRWNJYKZ.js";
|
|
6
6
|
import {
|
|
7
7
|
useTunnel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-USAOCISL.js";
|
|
9
9
|
import {
|
|
10
10
|
useDebugLog
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5QZS3HT7.js";
|
|
12
12
|
import {
|
|
13
13
|
createAppManifest,
|
|
14
14
|
getComponentSourceBuilder,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getViteConfig2,
|
|
17
17
|
getViteServerUrl,
|
|
18
18
|
updateAppManifestWithBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WRPV7SLY.js";
|
|
20
20
|
import {
|
|
21
21
|
DevCenterComponent,
|
|
22
22
|
ErrorViewer,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
useErrorReporter,
|
|
34
34
|
useHttpClient,
|
|
35
35
|
useProjectModel
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DGTJGIY2.js";
|
|
37
37
|
import {
|
|
38
38
|
Alert,
|
|
39
39
|
CliError,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
useExit,
|
|
51
51
|
useTranslation,
|
|
52
52
|
z
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-36W5H7IG.js";
|
|
54
54
|
import {
|
|
55
55
|
__toESM,
|
|
56
56
|
init_esm_shims
|
|
@@ -255,6 +255,9 @@ function promoteAppReleaseToDevCenter(payload) {
|
|
|
255
255
|
// ../arm-client/src/client.ts
|
|
256
256
|
var import_variant = __toESM(require_lib(), 1);
|
|
257
257
|
|
|
258
|
+
// ../arm-client/src/fieldValidations.ts
|
|
259
|
+
init_esm_shims();
|
|
260
|
+
|
|
258
261
|
// ../arm-client/src/schemas.ts
|
|
259
262
|
init_esm_shims();
|
|
260
263
|
var promoteAppReleaseSchema = z.object({
|
|
@@ -263,6 +266,27 @@ var promoteAppReleaseSchema = z.object({
|
|
|
263
266
|
var createAppReleaseSchema = z.object({
|
|
264
267
|
tag: z.string()
|
|
265
268
|
});
|
|
269
|
+
var fieldValidationsSchema = z.array(
|
|
270
|
+
z.object({
|
|
271
|
+
data: z.object({
|
|
272
|
+
type: z.string()
|
|
273
|
+
}),
|
|
274
|
+
description: z.string(),
|
|
275
|
+
field: z.string(),
|
|
276
|
+
violatedRule: z.string()
|
|
277
|
+
})
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
// ../arm-client/src/fieldValidations.ts
|
|
281
|
+
var parseFieldValidationError = (err) => {
|
|
282
|
+
if (isHttpError(err)) {
|
|
283
|
+
const fieldViolations = err.response?.data?.details?.validationError?.fieldViolations;
|
|
284
|
+
if (fieldViolations) {
|
|
285
|
+
return fieldValidationsSchema.parse(fieldViolations);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return [];
|
|
289
|
+
};
|
|
266
290
|
|
|
267
291
|
// ../arm-client/src/client.ts
|
|
268
292
|
var { AppPermissionDenied } = CliErrorCode;
|
|
@@ -326,6 +350,15 @@ var ARMClient = class {
|
|
|
326
350
|
code: AppPermissionDenied({ appId: manifest.appId })
|
|
327
351
|
});
|
|
328
352
|
}
|
|
353
|
+
const violations = parseFieldValidationError(e);
|
|
354
|
+
if (violations.length > 0) {
|
|
355
|
+
throw new CliError({
|
|
356
|
+
cause: e,
|
|
357
|
+
code: CliErrorCode.AppReleaseConfigViolations({
|
|
358
|
+
violations
|
|
359
|
+
})
|
|
360
|
+
});
|
|
361
|
+
}
|
|
329
362
|
throw new CliError({
|
|
330
363
|
cause: e,
|
|
331
364
|
code: CliErrorCode.FailedToCreateAppRelease()
|
|
@@ -383,14 +416,15 @@ function useARMClient() {
|
|
|
383
416
|
}
|
|
384
417
|
|
|
385
418
|
// src/components/DevCommand/useArmUpdater.ts
|
|
386
|
-
var createAppManifestWithBaseUrl = async (model, clientDevServerUrl, backendServerUrl) => {
|
|
419
|
+
var createAppManifestWithBaseUrl = async (model, clientDevServerUrl, backendServerUrl, blocksData) => {
|
|
387
420
|
const manifest = await createAppManifest({
|
|
388
421
|
appId: model.config.appId,
|
|
389
422
|
components: model.components,
|
|
390
423
|
componentSourceBuilder: getComponentSourceBuilder(
|
|
391
424
|
model,
|
|
392
425
|
{ clientDevServerUrl },
|
|
393
|
-
{ backendDevServerUrl: backendServerUrl?.localUrl }
|
|
426
|
+
{ backendDevServerUrl: backendServerUrl?.localUrl },
|
|
427
|
+
blocksData ?? []
|
|
394
428
|
)
|
|
395
429
|
});
|
|
396
430
|
return updateAppManifestWithBaseUrl(
|
|
@@ -407,6 +441,7 @@ function useArmUpdater() {
|
|
|
407
441
|
async ({
|
|
408
442
|
backendServerUrl,
|
|
409
443
|
devServerUrl,
|
|
444
|
+
blocksData,
|
|
410
445
|
projectModelWatcher,
|
|
411
446
|
onChange,
|
|
412
447
|
onError
|
|
@@ -415,7 +450,8 @@ function useArmUpdater() {
|
|
|
415
450
|
const appManifest = await createAppManifestWithBaseUrl(
|
|
416
451
|
model,
|
|
417
452
|
devServerUrl,
|
|
418
|
-
backendServerUrl
|
|
453
|
+
backendServerUrl,
|
|
454
|
+
blocksData
|
|
419
455
|
);
|
|
420
456
|
const appConfig = await readAppConfig(model.projectFolder, writeDebugLog);
|
|
421
457
|
const createOrUpdateAppRelease = async (tag) => {
|
|
@@ -446,7 +482,8 @@ function useArmUpdater() {
|
|
|
446
482
|
const updatedAppManifest = await createAppManifestWithBaseUrl(
|
|
447
483
|
newModel,
|
|
448
484
|
devServerUrl,
|
|
449
|
-
backendServerUrl
|
|
485
|
+
backendServerUrl,
|
|
486
|
+
blocksData
|
|
450
487
|
);
|
|
451
488
|
if (!deepEqual(appManifest, updatedAppManifest)) {
|
|
452
489
|
await updateAppRelease2(updatedAppManifest, armTag);
|
|
@@ -843,10 +880,11 @@ var DevEnvironmentProvider = ({ https, logger, children }) => {
|
|
|
843
880
|
const { backendComponents, backendComponentsByType } = useBackendComponents();
|
|
844
881
|
const createClientDevServer = useClientDevServer({ https });
|
|
845
882
|
const createBackendDevServer = useBackendDevServer({ https });
|
|
883
|
+
const { getAppByVersion } = useDevCenterClient();
|
|
846
884
|
const startTunnel = useTunnel();
|
|
847
885
|
const createArmUpdater = useArmUpdater();
|
|
848
886
|
const createSiteOverrideUpdater = useSiteOverrideUpdater();
|
|
849
|
-
const { watcher: projectModelWatcher } = useProjectModel();
|
|
887
|
+
const { watcher: projectModelWatcher, model } = useProjectModel();
|
|
850
888
|
const { status } = useAsync(async () => {
|
|
851
889
|
let backendDevServerUrl;
|
|
852
890
|
if (backendComponents.length > 0) {
|
|
@@ -867,9 +905,15 @@ var DevEnvironmentProvider = ({ https, logger, children }) => {
|
|
|
867
905
|
projectModelWatcher,
|
|
868
906
|
customLogger: logger
|
|
869
907
|
});
|
|
908
|
+
const blocksData = model.components.some(
|
|
909
|
+
(component) => (0, import_variant4.isType)(component, DevCenterComponent.BlocksWidget)
|
|
910
|
+
) ? (await getAppByVersion({
|
|
911
|
+
appId: model.config.appId
|
|
912
|
+
})).data.components : [];
|
|
870
913
|
const armTag = await createArmUpdater({
|
|
871
914
|
backendServerUrl: backendDevServerUrl,
|
|
872
915
|
devServerUrl: clientDevServerUrl,
|
|
916
|
+
blocksData,
|
|
873
917
|
projectModelWatcher,
|
|
874
918
|
onChange(changeType) {
|
|
875
919
|
(0, import_variant4.match)(changeType, {
|
|
@@ -1320,4 +1364,4 @@ export {
|
|
|
1320
1364
|
resolveDashboardExtensionUrl,
|
|
1321
1365
|
useOpenPage
|
|
1322
1366
|
};
|
|
1323
|
-
//# sourceMappingURL=chunk-
|
|
1367
|
+
//# sourceMappingURL=chunk-FTC5AK3Y.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/DevCommand/DevEnvironment.tsx","../src/components/DevCommand/useArmUpdater.ts","../../arm-client/src/index.ts","../../arm-client/src/client.ts","../../../node_modules/@wix/ambassador-ctp-gradual-rollout-v1-app-config/http.impl.ts","../../arm-client/src/fieldValidations.ts","../../arm-client/src/schemas.ts","../../arm-client/src/useARMClient.ts","../src/components/DevCommand/useDevServer.ts","../src/context/armTag.tsx","../src/components/DevCommand/useSiteOverrideUpdater.ts","../../site-override-client/src/index.ts","../../site-override-client/src/client.ts","../../../node_modules/@wix/ambassador-cli-site-override-service-v1-site-override/http.impl.ts","../../site-override-client/src/schemas.ts","../../site-override-client/src/useSiteOverrideClient.ts","../src/site-override/createSiteOverrides.ts","../../../node_modules/@wix/ambassador-cli-site-override-service-v1-site-override/types.impl.ts","../src/site/useSite.ts","../src/site/context.ts","../src/context/siteOverride.tsx","../../site-list-client/src/site-list-client.ts","../../../node_modules/@wix/ambassador-site-list-v2-site/http.impl.ts","../../site-list-client/src/schemas.ts","../../site-list-client/src/useSiteListClient.ts","../../site-list-client/src/index.ts","../src/site/site-state.ts","../src/site/resolve-configured-site.ts","../src/components/extensions/utils.tsx"],"sourcesContent":["import React, { createContext, useContext } from 'react';\nimport type { FC, ReactNode } from 'react';\nimport { isType, match } from 'variant';\nimport { useTranslation } from '@wix/cli-i18n';\nimport { Spinner, useAsync, Alert } from '@wix/cli-ui-kit';\nimport { ErrorViewer, useErrorReporter } from '@wix/cli-error-reporting';\nimport { useTunnel } from '@wix/cli-tunnel';\nimport { useDevCenterClient } from '@wix/dev-center-client';\nimport { useProjectModel } from '../../model.js';\nimport { useArmUpdater } from './useArmUpdater.js';\nimport type { BackendUrls } from './useArmUpdater.js';\nimport { useClientDevServer, useBackendDevServer } from './useDevServer.js';\nimport { ArmTagProvider } from '../../context/armTag.js';\nimport { useSiteOverrideUpdater } from './useSiteOverrideUpdater.js';\nimport { useBackendComponents } from '../../backend/useBackendComponents.js';\nimport { SiteOverrideProvider } from '../../context/siteOverride.js';\nimport type { Logger } from '../../vite/logger.js';\nimport { DevCenterComponent } from '../../dev-center/components/dev-center-component.js';\n\ninterface DevEnvironment {\n https: boolean;\n logger: Logger;\n clientDevServerUrl: string;\n backendDevServerUrl?: string;\n}\n\nconst DevEnvironmentContext = createContext<DevEnvironment | null>(null);\n\nexport const DevEnvironmentProvider: FC<{\n https: boolean;\n logger: Logger;\n children: ReactNode;\n}> = ({ https, logger, children }) => {\n const { t } = useTranslation();\n const { reportError } = useErrorReporter();\n const { backendComponents, backendComponentsByType } = useBackendComponents();\n const createClientDevServer = useClientDevServer({ https });\n const createBackendDevServer = useBackendDevServer({ https });\n const { getAppByVersion } = useDevCenterClient();\n const startTunnel = useTunnel();\n const createArmUpdater = useArmUpdater();\n const createSiteOverrideUpdater = useSiteOverrideUpdater();\n const { watcher: projectModelWatcher, model } = useProjectModel();\n\n const { status } = useAsync(async () => {\n let backendDevServerUrl: BackendUrls | undefined;\n\n if (backendComponents.length > 0) {\n backendDevServerUrl = await createBackendDevServer({\n projectModelWatcher,\n customLogger: logger,\n }).then(async ({ devServerUrl }) => {\n let tunnelUrl: string | undefined;\n if (\n backendComponentsByType.Event.length > 0 ||\n backendComponentsByType.ServicePlugin.length > 0\n ) {\n const { url } = await startTunnel(Number(new URL(devServerUrl).port));\n tunnelUrl = url;\n }\n return { localUrl: devServerUrl, tunnelUrl };\n });\n }\n\n const { devServerUrl: clientDevServerUrl, devServer: clientDevServer } =\n await createClientDevServer({\n baseBackendUrl: backendDevServerUrl?.localUrl,\n projectModelWatcher,\n customLogger: logger,\n });\n\n // TODO: Change this part as soon as we will have proper service to call\n const blocksData = model.components.some((component) =>\n isType(component, DevCenterComponent.BlocksWidget)\n )\n ? (\n await getAppByVersion({\n appId: model.config.appId,\n })\n ).data.components\n : [];\n\n const armTag = await createArmUpdater({\n backendServerUrl: backendDevServerUrl,\n devServerUrl: clientDevServerUrl,\n blocksData,\n projectModelWatcher,\n onChange(changeType) {\n match(changeType, {\n 'change-received': () => {\n logger.info(t('dev_command.config_change'));\n },\n 'model-did-not-change': () => {\n logger.info(t('dev_command.config_didnt_update'));\n },\n 'model-updated': () => {\n clientDevServer.ws.send({ type: 'full-reload' });\n logger.info(t('dev_command.config_update'));\n },\n });\n },\n onError(error) {\n reportError(error);\n\n logger.error(<ErrorViewer error={error} />);\n logger.info(t('dev_command.config_didnt_update'));\n },\n });\n\n const siteOverrideId = await createSiteOverrideUpdater({\n projectModelWatcher,\n });\n\n logger.info(\n <Alert type=\"success\">{t('dev_command.dev_environment.started')}</Alert>\n );\n\n return {\n clientDevServerUrl,\n armTag,\n siteOverrideId,\n https,\n };\n }, []);\n\n return match(status, {\n Error: () => null,\n Loading: () => <Spinner text={t('dev_command.dev_environment.loading')} />,\n Success: ({\n result: { clientDevServerUrl, https, armTag, siteOverrideId },\n }) => (\n <DevEnvironmentContext.Provider\n value={{ clientDevServerUrl, https, logger }}\n >\n <SiteOverrideProvider siteOverrideId={siteOverrideId}>\n <ArmTagProvider armTag={armTag}>{children}</ArmTagProvider>\n </SiteOverrideProvider>\n </DevEnvironmentContext.Provider>\n ),\n });\n};\n\nexport function useDevEnvironment(): DevEnvironment {\n const context = useContext(DevEnvironmentContext);\n if (context == null) {\n throw new Error(\n 'useDevEnvironment() cannot be used without an <DevEnvironmentProvider>'\n );\n }\n return context;\n}\n","import { useCallback } from 'react';\nimport { match } from 'variant';\nimport { deepEqual } from 'fast-equals';\nimport { updateAppManifestWithBaseUrl } from '@wix/cli-app-manifest';\nimport { useARMClient } from '@wix/arm-client';\nimport { useDebugLog } from '@wix/cli-debug-log';\nimport type { Component } from '@wix/ambassador-devcenter-apps-v1-app/types';\nimport { createAppManifest } from '../../app-manifest/create.js';\nimport { getComponentSourceBuilder } from '../../app-manifest/component-source.js';\nimport type {\n ChangeType,\n ProjectModelWatcher,\n} from '../../app-manifest/project-model-watcher.js';\nimport { readAppConfig, saveAppConfig } from '../../files/app.config.js';\nimport { useProjectModel } from '../../model.js';\nimport type { ProjectModel } from '../../model.js';\n\nexport interface BackendUrls {\n tunnelUrl?: string;\n localUrl: string;\n}\n\nconst createAppManifestWithBaseUrl = async (\n model: ProjectModel,\n clientDevServerUrl: string,\n backendServerUrl: BackendUrls | undefined,\n blocksData: Component[] | undefined\n) => {\n const manifest = await createAppManifest({\n appId: model.config.appId,\n components: model.components,\n componentSourceBuilder: getComponentSourceBuilder(\n model,\n { clientDevServerUrl },\n { backendDevServerUrl: backendServerUrl?.localUrl },\n blocksData ?? []\n ),\n });\n\n return updateAppManifestWithBaseUrl(\n manifest,\n clientDevServerUrl,\n backendServerUrl?.tunnelUrl\n );\n};\n\ninterface CreateOptions {\n devServerUrl: string;\n backendServerUrl?: BackendUrls;\n blocksData?: Component[];\n projectModelWatcher: ProjectModelWatcher;\n onChange: (changeType: ChangeType) => void;\n onError: (e: unknown) => void;\n}\n\nexport function useArmUpdater() {\n const { model } = useProjectModel();\n const writeDebugLog = useDebugLog();\n const { createAppRelease, updateAppRelease } = useARMClient();\n\n return useCallback(\n async ({\n backendServerUrl,\n devServerUrl,\n blocksData,\n projectModelWatcher,\n onChange,\n onError,\n }: CreateOptions) => {\n const { projectId } = model.config;\n\n const appManifest = await createAppManifestWithBaseUrl(\n model,\n devServerUrl,\n backendServerUrl,\n blocksData\n );\n\n const appConfig = await readAppConfig(model.projectFolder, writeDebugLog);\n\n const createOrUpdateAppRelease = async (tag?: string) => {\n if (tag) {\n const updateState = await updateAppRelease(appManifest, tag);\n return match(updateState, {\n TagUpdated: () => tag,\n TagNotFound: ({ cause }) => {\n writeDebugLog(cause);\n return createAppRelease(appManifest, projectId);\n },\n });\n }\n return createAppRelease(appManifest, projectId);\n };\n\n const armTag = await createOrUpdateAppRelease(appConfig?.devArmTag);\n\n if (armTag !== appConfig?.devArmTag) {\n await saveAppConfig(model.projectFolder, { devArmTag: armTag }).catch(\n (error: unknown) => writeDebugLog(error)\n );\n }\n\n projectModelWatcher\n .onChange(async (newModel, changeType) => {\n try {\n if (changeType === 'model-updated') {\n if (newModel.components.length === 0) {\n return;\n }\n\n const updatedAppManifest = await createAppManifestWithBaseUrl(\n newModel,\n devServerUrl,\n backendServerUrl,\n blocksData\n );\n\n if (!deepEqual(appManifest, updatedAppManifest)) {\n await updateAppRelease(updatedAppManifest, armTag);\n }\n }\n onChange(changeType);\n } catch (e) {\n onError(e);\n }\n })\n .onError(onError);\n\n return armTag;\n },\n [createAppRelease, model, updateAppRelease, writeDebugLog]\n );\n}\n","export { ARMClient } from './client.js';\nexport { useARMClient } from './useARMClient.js';\n","import type {\n ComponentConfig,\n VersionType,\n} from '@wix/ambassador-ctp-gradual-rollout-v1-app-config/types';\nimport type { AppManifest } from '@wix/cli-app-manifest';\nimport type { HttpClient, HttpError } from '@wix/cli-http-client';\nimport type { Options } from 'p-retry';\nimport {\n createAppRelease,\n createComponents,\n promoteAppReleaseToDevCenter,\n updateAppRelease,\n} from '@wix/ambassador-ctp-gradual-rollout-v1-app-config/http';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { isHttpError } from '@wix/cli-http-client';\nimport { getTestOverrides } from '@wix/cli-test-overrides';\nimport pRetry from 'p-retry';\nimport { fields, variant } from 'variant';\nimport { parseFieldValidationError } from './fieldValidations.js';\nimport { createAppReleaseSchema, promoteAppReleaseSchema } from './schemas.js';\n\nconst { AppPermissionDenied } = CliErrorCode;\n\nconst UpdateAppReleaseData = variant({\n TagNotFound: fields<{ cause: HttpError }>(),\n TagUpdated: {},\n});\n\nexport class ARMClient {\n private readonly retryOptions: Options;\n\n constructor(private readonly httpClient: HttpClient) {\n const { minRetryTimeout } = getTestOverrides();\n\n this.retryOptions = {\n maxTimeout: 3 * 1000,\n minTimeout: minRetryTimeout,\n retries: 3,\n };\n }\n\n createComponents = async (\n appId: string,\n componentConfigs: ComponentConfig[],\n projectId: string\n ) => {\n try {\n await pRetry(\n () =>\n this.httpClient.request(\n createComponents({\n appId,\n componentConfigs,\n projectId,\n })\n ),\n this.retryOptions\n );\n } catch (e) {\n if (isHttpError(e) && e.response?.status === 403) {\n throw new CliError({\n cause: e,\n code: AppPermissionDenied({ appId }),\n });\n }\n throw new CliError({\n cause: e,\n code: CliErrorCode.FailedToCreateComponents(),\n });\n }\n };\n\n createAppRelease = async (manifest: AppManifest, projectId: string) => {\n try {\n const { data } = await pRetry(\n () =>\n this.httpClient.request(\n createAppRelease({\n appId: manifest.appId,\n componentConfigs: manifest.components,\n projectId,\n })\n ),\n this.retryOptions\n );\n\n return createAppReleaseSchema.parse(data).tag;\n } catch (e) {\n if (isHttpError(e) && e.response?.status === 403) {\n throw new CliError({\n cause: e,\n code: AppPermissionDenied({ appId: manifest.appId }),\n });\n }\n const violations = parseFieldValidationError(e);\n if (violations.length > 0) {\n throw new CliError({\n cause: e,\n code: CliErrorCode.AppReleaseConfigViolations({\n violations,\n }),\n });\n }\n throw new CliError({\n cause: e,\n code: CliErrorCode.FailedToCreateAppRelease(),\n });\n }\n };\n\n updateAppRelease = async (manifest: AppManifest, tag: string) => {\n try {\n await pRetry(\n () =>\n this.httpClient.request(\n updateAppRelease({\n appId: manifest.appId,\n componentConfigs: manifest.components,\n tag,\n })\n ),\n this.retryOptions\n );\n\n return UpdateAppReleaseData.TagUpdated();\n } catch (e) {\n if (isHttpError(e)) {\n if (e.response?.status === 404) {\n return UpdateAppReleaseData.TagNotFound({ cause: e });\n }\n if (e.response?.status === 403) {\n throw new CliError({\n cause: e,\n code: AppPermissionDenied({ appId: manifest.appId }),\n });\n }\n }\n throw new CliError({\n cause: e,\n code: CliErrorCode.FailedToUpdateAppRelease(),\n });\n }\n };\n\n promoteToDevCenter = async (\n appId: string,\n tag: string,\n versionType: VersionType\n ) => {\n const { data } = await pRetry(\n () =>\n this.httpClient.request(\n promoteAppReleaseToDevCenter({ appId, tag, versionType })\n ),\n this.retryOptions\n );\n\n return promoteAppReleaseSchema.parse(data);\n };\n}\n",null,"import { isHttpError } from '@wix/cli-http-client';\nimport { fieldValidationsSchema } from './schemas.js';\n\nexport const parseFieldValidationError = (err: unknown) => {\n if (isHttpError(err)) {\n const fieldViolations =\n err.response?.data?.details?.validationError?.fieldViolations;\n if (fieldViolations) {\n return fieldValidationsSchema.parse(fieldViolations);\n }\n }\n return [];\n};\n","import { z } from 'zod';\n\nexport const promoteAppReleaseSchema = z.object({\n newVersion: z.string(),\n});\n\nexport const createAppReleaseSchema = z.object({\n tag: z.string(),\n});\n\nexport const fieldValidationsSchema = z.array(\n z.object({\n data: z.object({\n type: z.string(),\n }),\n description: z.string(),\n field: z.string(),\n violatedRule: z.string(),\n })\n);\n","import { useMemo } from 'react';\nimport { useHttpClient } from '@wix/cli-http-client-react';\nimport { ARMClient } from './client.js';\n\nexport function useARMClient(): ARMClient {\n const httpClient = useHttpClient({ type: 'backoffice' });\n return useMemo(() => new ARMClient(httpClient), [httpClient]);\n}\n","import { useRef, useCallback, useEffect } from 'react';\nimport { createServer } from 'vite';\nimport type { InlineConfig, ViteDevServer } from 'vite';\nimport { useDevCenterClient } from '@wix/dev-center-client';\nimport { useErrorReporter } from '@wix/cli-error-reporting';\nimport type { ClientViteConfigOptions } from '../../vite/index.js';\nimport { getClientViteConfig, getBackendViteConfig } from '../../vite/index.js';\nimport { getViteServerUrl } from '../../vite/vite-server-url.js';\nimport type { ProjectModelWatcher } from '../../app-manifest/project-model-watcher.js';\nimport { useProjectModel } from '../../model.js';\nimport { ConfigType } from '../../vite/vite-config-options.js';\nimport type { Logger } from '../../vite/logger.js';\n\ninterface Options {\n projectModelWatcher: ProjectModelWatcher;\n customLogger: Logger;\n}\n\nfunction useViteDevServer<T>({\n createConfig,\n}: {\n createConfig: (options: T) => Promise<InlineConfig>;\n}) {\n const { reportError } = useErrorReporter();\n const devServerRef = useRef<ViteDevServer>();\n\n useEffect(() => {\n return () => {\n devServerRef.current?.close().catch(reportError);\n };\n }, [reportError]);\n\n return useCallback(\n async (options: T) => {\n const config = await createConfig(options);\n const devServer = await createServer(config);\n\n devServerRef.current = devServer;\n\n await devServer.listen();\n\n return { devServerUrl: getViteServerUrl(devServer), devServer };\n },\n [createConfig]\n );\n}\n\nexport function useClientDevServer({ https }: { https: boolean }) {\n const { model } = useProjectModel();\n\n const createDevServer = useViteDevServer<Options & ClientViteConfigOptions>({\n createConfig: ({ projectModelWatcher, baseBackendUrl, customLogger }) => {\n return getClientViteConfig(\n model,\n {\n type: ConfigType.dev,\n https,\n projectModelWatcher,\n customLogger,\n },\n { baseBackendUrl }\n );\n },\n });\n\n return createDevServer;\n}\n\nexport function useBackendDevServer({ https }: { https: boolean }) {\n const { model } = useProjectModel();\n const { getAppSecret } = useDevCenterClient();\n\n const createDevServer = useViteDevServer<Options>({\n createConfig: async ({ projectModelWatcher, customLogger }) => {\n const appSecret = await getAppSecret({\n appId: model.config.appId,\n });\n\n return getBackendViteConfig(\n model,\n {\n type: ConfigType.dev,\n https,\n customLogger,\n projectModelWatcher,\n },\n appSecret\n );\n },\n });\n\n return createDevServer;\n}\n","import React, { useContext, createContext } from 'react';\nimport type { FC, ReactNode } from 'react';\n\ninterface ArmTag {\n armTag: string;\n}\n\nconst ArmTagContext = createContext<ArmTag | null>(null);\n\nexport const ArmTagProvider: FC<{ children: ReactNode; armTag: string }> = ({\n children,\n armTag,\n}) => {\n return (\n <ArmTagContext.Provider value={{ armTag }}>\n {children}\n </ArmTagContext.Provider>\n );\n};\n\nexport const useArmTag = () => {\n const context = useContext(ArmTagContext);\n\n if (context == null) {\n throw new Error('useArmTag() cannot be used without an <ArmTagProvider>');\n }\n\n return context;\n};\n","import { useCallback, useEffect, useRef } from 'react';\nimport { deepEqual } from 'fast-equals';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { useSiteOverrideClient } from '@wix/site-override-client';\nimport { useDebugLog } from '@wix/cli-debug-log';\nimport { useExit } from '@wix/cli-ui-kit';\nimport type { ProjectModelWatcher } from '../../app-manifest/project-model-watcher.js';\nimport { useProjectModel } from '../../model.js';\nimport { createSiteOverrides } from '../../site-override/createSiteOverrides.js';\nimport { useSite } from '../../site/useSite.js';\nimport { readAppConfig, saveAppConfig } from '../../files/app.config.js';\n\nexport function useSiteOverrideUpdater() {\n const { model } = useProjectModel();\n const { site } = useSite();\n const exit = useExit();\n const writeDebugLog = useDebugLog();\n const { createOverride } = useSiteOverrideClient();\n const { appId } = model.config;\n\n const siteRef = useRef(site);\n const isUpdaterInitialized = useRef(false);\n\n useEffect(() => {\n siteRef.current = site;\n\n const updateSiteOverrides = async () => {\n const overrides = createSiteOverrides(model) ?? {};\n const appConfig = await readAppConfig(model.projectFolder, writeDebugLog);\n const siteOverrideId = appConfig?.devSiteOverrideId;\n\n if (!siteOverrideId) {\n throw new CliError({\n code: CliErrorCode.InvalidSiteOverrideID(),\n cause: null,\n });\n }\n\n await createOverride({\n appId,\n siteId: site.id,\n overrides,\n siteOverrideId,\n });\n };\n\n if (isUpdaterInitialized.current) {\n updateSiteOverrides().catch(exit);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [site]);\n\n return useCallback(\n async ({\n projectModelWatcher,\n }: {\n projectModelWatcher: ProjectModelWatcher;\n }) => {\n const appConfig = await readAppConfig(model.projectFolder, writeDebugLog);\n let overrides = createSiteOverrides(model) ?? {};\n\n const { id: siteOverrideId } = await createOverride({\n appId,\n siteId: site.id,\n overrides,\n siteOverrideId: appConfig?.devSiteOverrideId,\n });\n\n projectModelWatcher.onChange(async (newModel, changeType) => {\n if (changeType === 'model-updated') {\n const updatedOverrides = createSiteOverrides(newModel) ?? {};\n\n if (!deepEqual(overrides, updatedOverrides)) {\n await createOverride({\n appId,\n siteId: siteRef.current.id,\n overrides: updatedOverrides,\n siteOverrideId,\n });\n\n overrides = updatedOverrides;\n }\n }\n });\n\n if (siteOverrideId !== appConfig?.devSiteOverrideId) {\n await saveAppConfig(model.projectFolder, {\n devSiteOverrideId: siteOverrideId,\n }).catch((error: unknown) => writeDebugLog(error));\n }\n\n isUpdaterInitialized.current = true;\n\n return siteOverrideId;\n },\n [model, writeDebugLog, createOverride, appId, site]\n );\n}\n","export { SiteOverrideClient } from './client.js';\nexport type { ComponentsForSiteOverride } from './client.js';\nexport { useSiteOverrideClient } from './useSiteOverrideClient.js';\n","import type { HttpClient } from '@wix/cli-http-client';\nimport type { Options } from 'p-retry';\nimport pRetry from 'p-retry';\nimport { createOverride } from '@wix/ambassador-cli-site-override-service-v1-site-override/http';\nimport { isHttpError } from '@wix/cli-http-client';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { getTestOverrides } from '@wix/cli-test-overrides';\nimport type { ComponentOverride } from '@wix/ambassador-cli-site-override-service-v1-site-override/types';\nimport { createOverrideSchema } from './schemas.js';\n\nexport type ComponentsForSiteOverride = Record<string, ComponentOverride>;\n\nexport class SiteOverrideClient {\n private readonly retryOptions: Options;\n\n constructor(private readonly httpClient: HttpClient) {\n const { minRetryTimeout } = getTestOverrides();\n\n this.retryOptions = {\n retries: 3,\n minTimeout: minRetryTimeout,\n maxTimeout: 3 * 1000,\n };\n }\n\n public createOverride = async ({\n appId,\n siteId,\n overrides,\n siteOverrideId,\n }: {\n appId: string;\n siteId: string;\n overrides: ComponentsForSiteOverride;\n siteOverrideId?: string;\n }) => {\n try {\n const { data } = await pRetry(\n () =>\n this.httpClient.request(\n createOverride({\n siteOverride: {\n id: siteOverrideId,\n appId,\n siteId,\n overrides,\n },\n })\n ),\n this.retryOptions\n );\n\n return createOverrideSchema.parse(data).siteOverride;\n } catch (error) {\n if (isHttpError(error) && error.response?.status === 403) {\n if (\n error.response.data?.details?.applicationError?.code ===\n 'PERMISSION_DENIED_FOR_SITE'\n ) {\n throw new CliError({\n code: CliErrorCode.SitePermissionDenied({ siteId }),\n cause: error,\n });\n }\n\n throw new CliError({\n code: CliErrorCode.AppPermissionDenied({ appId }),\n cause: error,\n });\n }\n\n throw new CliError({\n code: CliErrorCode.FailedToCreateSiteOverride(),\n cause: error,\n });\n }\n };\n}\n",null,"import { z } from 'zod';\n\nexport const createOverrideSchema = z.object({\n siteOverride: z.object({\n id: z.string(),\n }),\n});\n","import { useMemo } from 'react';\nimport { useHttpClient } from '@wix/cli-http-client-react';\nimport { SiteOverrideClient } from './client.js';\n\nexport function useSiteOverrideClient() {\n const httpClient = useHttpClient({ type: 'backoffice' });\n return useMemo(() => new SiteOverrideClient(httpClient), [httpClient]);\n}\n","import { isType } from 'variant';\nimport { Type } from '@wix/ambassador-cli-site-override-service-v1-site-override/types';\nimport type { ComponentOverride } from '@wix/ambassador-cli-site-override-service-v1-site-override/types';\nimport type { ProjectModel } from '../model.js';\nimport { DevCenterComponent } from '../dev-center/components/dev-center-component.js';\n\nexport function createSiteOverrides(model: ProjectModel) {\n const componentsToOverride = model.components.filter(\n isType(DevCenterComponent.EmbeddedScript)\n );\n\n if (componentsToOverride.length === 0) {\n return null;\n }\n\n return componentsToOverride.reduce<Record<string, ComponentOverride>>(\n (acc, component) => {\n const paramsOverride = component.paramsOverride ?? {};\n\n return {\n ...acc,\n [component.id]: {\n type: Type.EMBEDDED_SCRIPT,\n componentId: component.id,\n embeddedScriptOptions: { parameters: paramsOverride },\n },\n };\n },\n {}\n );\n}\n",null,"import { useContext } from 'react';\nimport { SiteContext } from './context.js';\nimport type { SiteState } from './context.js';\n\nexport function useSite(): SiteState {\n const context = useContext(SiteContext);\n if (context == null) {\n throw new Error('useSite() cannot be used without an <SiteProvider>');\n }\n return context;\n}\n","import { createContext } from 'react';\nimport type { Site } from '@wix/site-list-client';\n\nexport interface SiteState {\n site: Site;\n setSite: (site: Site) => Promise<void>;\n}\n\nexport const SiteContext = createContext<SiteState | null>(null);\n","import React, { useContext, createContext } from 'react';\nimport type { FC, ReactNode } from 'react';\n\ninterface SiteOverride {\n siteOverrideId?: string;\n}\n\nconst SiteOverrideContext = createContext<SiteOverride | null>(null);\n\nexport const SiteOverrideProvider: FC<{\n children: ReactNode;\n siteOverrideId?: string;\n}> = ({ children, siteOverrideId }) => {\n return (\n <SiteOverrideContext.Provider value={{ siteOverrideId }}>\n {children}\n </SiteOverrideContext.Provider>\n );\n};\n\nexport const useSiteOverrideId = () => {\n const context = useContext(SiteOverrideContext);\n\n if (context == null) {\n throw new Error(\n 'useSiteOverrideId() cannot be used without an <SiteOverrideProvider>'\n );\n }\n\n return context;\n};\n","import pRetry from 'p-retry';\nimport type { Options } from 'p-retry';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport type { QuerySitesRequest } from '@wix/ambassador-site-list-v2-site/types';\nimport { querySites } from '@wix/ambassador-site-list-v2-site/http';\nimport type { HttpClient } from '@wix/cli-http-client';\nimport { getTestOverrides } from '@wix/cli-test-overrides';\nimport { querySitesSchema } from './schemas.js';\n\nexport class SiteListClient {\n private readonly retryOptions: Options;\n\n constructor(private readonly httpClient: HttpClient) {\n const { minRetryTimeout } = getTestOverrides();\n\n this.retryOptions = {\n retries: 3,\n minTimeout: minRetryTimeout,\n maxTimeout: 3 * 1000,\n };\n }\n\n querySites = async (opts: QuerySitesRequest = {}) => {\n try {\n const { data } = await pRetry(\n () => this.httpClient.request(querySites(opts)),\n this.retryOptions\n );\n\n return querySitesSchema.parse(data).sites;\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToQuerySites(),\n cause: e,\n info: { ...opts },\n });\n }\n };\n\n getSite = async (id: string) => {\n try {\n const { data } = await pRetry(\n () =>\n this.httpClient.request(\n querySites({ query: { filter: { id: { $in: [id] } } } })\n ),\n this.retryOptions\n );\n\n const { sites } = querySitesSchema.parse(data);\n return sites.at(0) ?? null;\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToGetSite(),\n cause: e,\n info: { id },\n });\n }\n };\n}\n",null,"import { z } from 'zod';\n\nconst siteSchema = z.object({\n id: z.string(),\n displayName: z.string(),\n viewUrl: z.union([z.string().url(), z.literal('')]).optional(),\n});\n\nexport const querySitesSchema = z.object({\n sites: z.array(siteSchema),\n});\n\nexport type Site = z.TypeOf<typeof siteSchema>;\n","import { useMemo } from 'react';\nimport { useHttpClient } from '@wix/cli-http-client-react';\nimport { SiteListClient } from './site-list-client.js';\n\nexport function useSiteListClient(): SiteListClient {\n const httpClient = useHttpClient({ type: 'backoffice' });\n return useMemo(() => new SiteListClient(httpClient), [httpClient]);\n}\n","export { SiteListClient } from './site-list-client.js';\nexport type { Site } from './schemas.js';\nexport { useSiteListClient } from './useSiteListClient.js';\n","import { variant, fields } from 'variant';\nimport type { VariantOf, TypeNames } from 'variant';\nimport type { Site } from '@wix/site-list-client';\n\nexport const SiteState = variant({\n NotConfigured: {},\n NotFound: fields<{ id: string }>(),\n Resolved: fields<{ site: Site }>(),\n});\n\nexport type SiteState<T extends TypeNames<typeof SiteState> = undefined> =\n VariantOf<typeof SiteState, T>;\n","import type { SiteListClient } from '@wix/site-list-client';\nimport type { WriteDebugLogFn } from '@wix/cli-debug-log';\nimport { readAppConfig } from '../files/app.config.js';\nimport { SiteState } from './site-state.js';\n\nexport async function resolveConfiguredSite({\n projectFolder,\n siteListClient: { getSite },\n siteId,\n writeDebugLog,\n}: {\n projectFolder: string;\n siteListClient: SiteListClient;\n siteId?: string;\n writeDebugLog?: WriteDebugLogFn;\n}) {\n const resolvedSiteId = !siteId\n ? (await readAppConfig(projectFolder, writeDebugLog))?.siteId\n : siteId;\n\n if (!resolvedSiteId) {\n return SiteState.NotConfigured();\n }\n\n const site = await getSite(resolvedSiteId);\n\n if (!site) {\n return SiteState.NotFound({ id: resolvedSiteId });\n }\n\n return SiteState.Resolved({ site });\n}\n","import React, { useCallback } from 'react';\nimport { Trans } from '@wix/cli-i18n';\nimport { matcher, match, isOfVariant, variantList, isType } from 'variant';\nimport { openBrowser } from '@wix/user-browser';\nimport type { Site } from '@wix/site-list-client';\nimport { Alert, Link, Text, Newline } from '@wix/cli-ui-kit';\nimport { PlatformType } from '@wix/cli-app-definitions';\nimport { URL } from 'node:url';\nimport { useProjectModel } from '../../model.js';\nimport { useSite } from '../../site/useSite.js';\nimport { useArmTag } from '../../context/armTag.js';\nimport type { DevCenterComponent } from '../../dev-center/components/dev-center-component.js';\nimport type { DashboardExtension } from './useExtensions.js';\nimport { useSiteOverrideId } from '../../context/siteOverride.js';\nimport { useDevEnvironment } from '../DevCommand/DevEnvironment.js';\n\n/*\nThis function is a workaround to open the new CSM v2 experience to external users before the experiment is open to external users.\n\nIn the *editor and viewer* we are using elgar to redirect the user to the editor with the overrides in his cookie - since there is no support for query params overrides in certain flows.\n*/\nexport const redirectWithCSMv2FTs = (\n url: URL,\n platformType: PlatformType\n): URL => {\n const elgarBaseURL = isType(platformType, PlatformType.Site)\n ? `${url.origin}/_api`\n : 'https://apps.wix.com';\n const elgarRedirectUrl = new URL(`${elgarBaseURL}/elgar-server/redirect`);\n\n const petriOvr = [\n 'specs.UseAppsRuntimeCache',\n 'specs.ApplyQueryParamsOverrides',\n 'specs.thunderbolt.passWidgetBundleUrls',\n 'specs.blocks-client.useBundledWidgetCode',\n ];\n\n for (const spec of petriOvr) {\n elgarRedirectUrl.searchParams.append('experiments', `${spec}#true`);\n }\n elgarRedirectUrl.searchParams.append('redirectToUrl', url.toString());\n elgarRedirectUrl.searchParams.append('staticsVersions', '{}');\n\n return elgarRedirectUrl;\n};\n\nfunction wrapWithRedirectUrl({\n url,\n clientDevServerUrl,\n}: {\n url: string;\n clientDevServerUrl: string;\n}) {\n const redirectUrl = new URL('/redirect', clientDevServerUrl);\n redirectUrl.searchParams.append('url', url);\n\n return redirectUrl.href;\n}\n\nexport function useResolvePlatformUrl() {\n const { model } = useProjectModel();\n const { site } = useSite();\n const { armTag } = useArmTag();\n const { siteOverrideId } = useSiteOverrideId();\n\n return useCallback(\n (platformType: PlatformType) => {\n return resolvePlatformUrl(platformType, {\n site,\n appId: model.config.appId,\n tag: armTag,\n siteOverrideId,\n });\n },\n [site, model.config.appId, armTag, siteOverrideId]\n );\n}\n\nexport function useResolvePlatformDevUrl() {\n const resolvePlatformUrl = useResolvePlatformUrl();\n const { https, clientDevServerUrl } = useDevEnvironment();\n\n return useCallback(\n (platformType: PlatformType) => {\n let url = resolvePlatformUrl(platformType);\n\n if (https) {\n url = wrapWithRedirectUrl({ url, clientDevServerUrl });\n }\n\n return url;\n },\n [resolvePlatformUrl, https, clientDevServerUrl]\n );\n}\n\nexport function resolvePlatformUrl(\n platformType: PlatformType,\n options: {\n site: Site;\n appId: string;\n tag: string;\n siteOverrideId?: string;\n }\n) {\n const { site, tag, siteOverrideId } = options;\n\n const url = match(platformType, {\n Dashboard: () => new URL(`dashboard/${site.id}`, 'https://manage.wix.com/'),\n Editor: () => new URL(`https://wix.com/editor/${site.id}`),\n Site: () => {\n const siteUrl = new URL(site.viewUrl!);\n if (siteOverrideId) {\n siteUrl.searchParams.append('site-override', siteOverrideId);\n }\n return siteUrl;\n },\n });\n\n url.searchParams.append('apps-override', tag);\n\n return isOfVariant(\n platformType,\n variantList([PlatformType.Editor, PlatformType.Site])\n )\n ? redirectWithCSMv2FTs(url, platformType).toString()\n : url.toString();\n}\n\nexport function useResolveDashboardExtensionUrl() {\n const { model } = useProjectModel();\n const { site } = useSite();\n const { armTag } = useArmTag();\n const { siteOverrideId } = useSiteOverrideId();\n\n return useCallback(\n (extension: DevCenterComponent<DashboardExtension>) => {\n return resolveDashboardExtensionUrl(extension, {\n site,\n appId: model.config.appId,\n tag: armTag,\n siteOverrideId,\n });\n },\n [site, model.config.appId, armTag, siteOverrideId]\n );\n}\n\nexport function useResolveDashboardExtensionDevUrl() {\n const resolveDashboardExtensionUrl = useResolveDashboardExtensionUrl();\n const { https, clientDevServerUrl } = useDevEnvironment();\n\n return useCallback(\n (extension: DevCenterComponent<DashboardExtension>) => {\n let url = resolveDashboardExtensionUrl(extension);\n\n if (https) {\n url = wrapWithRedirectUrl({ url, clientDevServerUrl });\n }\n\n return url;\n },\n [resolveDashboardExtensionUrl, https, clientDevServerUrl]\n );\n}\n\nexport function resolveDashboardExtensionUrl(\n extension: DevCenterComponent<DashboardExtension>,\n options: {\n site: Site;\n appId: string;\n tag: string;\n siteOverrideId?: string;\n }\n) {\n const { appId, site, tag } = options;\n\n const url = matcher(extension)\n .with({\n DashboardPage: () =>\n new URL(\n `dashboard/${site.id}/app/${appId}${extension.route}`,\n 'https://manage.wix.com/'\n ),\n })\n .when(\n ['DashboardMenuPlugin', 'DashboardPlugin', 'DashboardModal'],\n () =>\n new URL(\n `dashboard/${site.id}${extension.route}`,\n 'https://manage.wix.com/'\n )\n )\n .complete();\n\n url.searchParams.append('apps-override', tag);\n\n return url.toString();\n}\n\nexport const useOpenPage = () => {\n const { logger } = useDevEnvironment();\n\n return useCallback(\n async ({ url, title }: { url: string; title: string }) => {\n try {\n await openBrowser(url);\n } catch {\n logger.error(\n <Alert type=\"error\">\n <Trans\n i18nKey=\"general.open_page_error\"\n components={[<Text bold />]}\n values={{ title }}\n />\n <Newline />\n <Link url={url} />\n </Alert>\n );\n }\n },\n [logger]\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,IAAAA,iBAAiD;AAEjD,IAAAC,kBAA8B;;;ACF9B;AAAA,IAAAC,gBAA4B;AAC5B,IAAAC,kBAAsB;;;ACDtB;;;ACAA;;;ACcA;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AA;AAAA,cACC,SAAQ;AAAA,cACR,YAAY,CAAC,+BAAAA,QAAA,cAAC,QAAK,MAAI,MAAC,CAAE;AAAA,cAC1B,QAAQ,EAAE,MAAM;AAAA;AAAA,UAClB,GACA,+BAAAA,QAAA,cAAC,aAAQ,GACT,+BAAAA,QAAA,cAAC,QAAK,KAAU,CAClB;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC,MAAM;AAAA,EACT;AACF;","names":["import_react","import_variant","import_react","import_variant","_a","_a","createAppRelease","updateAppRelease","import_react","getViteConfig","import_react","React","import_react","_a","import_react","import_variant","Type","WebhookIdentityType","import_react","import_react","createOverride","import_react","React","React","https","_a","import_react","import_variant","import_react","import_variant","URL","URL","resolvePlatformUrl","resolveDashboardExtensionUrl","React"]}
|
|
@@ -3,13 +3,13 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PlatformViewer,
|
|
5
5
|
assertBuildOutputExists
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2PTCXTKF.js";
|
|
7
7
|
import {
|
|
8
8
|
SiteProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CNZ3Q5PF.js";
|
|
10
10
|
import {
|
|
11
11
|
createPreviewTag
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VZJZSWRE.js";
|
|
13
13
|
import {
|
|
14
14
|
ArmTagProvider,
|
|
15
15
|
SiteOverrideProvider,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
useARMClient,
|
|
18
18
|
useSite,
|
|
19
19
|
useSiteOverrideClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FTC5AK3Y.js";
|
|
21
21
|
import {
|
|
22
22
|
useBackendComponents
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WRWNJYKZ.js";
|
|
24
24
|
import {
|
|
25
25
|
ComponentType2 as ComponentType,
|
|
26
26
|
saveAppConfig,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
useDevCenterClient,
|
|
30
30
|
useHttpClient,
|
|
31
31
|
useProjectModel
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DGTJGIY2.js";
|
|
33
33
|
import {
|
|
34
34
|
Alert,
|
|
35
35
|
Box_default,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
useAsync,
|
|
43
43
|
useAsyncCallback,
|
|
44
44
|
useTranslation
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-36W5H7IG.js";
|
|
46
46
|
import {
|
|
47
47
|
__toESM,
|
|
48
48
|
init_esm_shims
|
|
@@ -180,4 +180,4 @@ var PreviewCommand = ({ baseUrl, siteIdOverride, onPreviewCreated }) => {
|
|
|
180
180
|
export {
|
|
181
181
|
PreviewCommand
|
|
182
182
|
};
|
|
183
|
-
//# sourceMappingURL=chunk-
|
|
183
|
+
//# sourceMappingURL=chunk-HUWYF2ET.js.map
|
|
@@ -2,11 +2,11 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WRPV7SLY.js";
|
|
6
6
|
import {
|
|
7
7
|
getAppManifestPath,
|
|
8
8
|
writeJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DGTJGIY2.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esm_shims
|
|
12
12
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
writeAppManifestFile,
|
|
30
30
|
readAppManifestFile
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-IG6IV6VM.js.map
|
|
@@ -2,10 +2,10 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
messages_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QVGYU6D4.js";
|
|
6
6
|
import {
|
|
7
7
|
createI18n
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-36W5H7IG.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -20,4 +20,4 @@ function createI18nT() {
|
|
|
20
20
|
export {
|
|
21
21
|
createI18nT
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-O42QDBJU.js.map
|
|
@@ -3,10 +3,10 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
useBiLogger,
|
|
5
5
|
wixCliAppBiEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DGTJGIY2.js";
|
|
7
7
|
import {
|
|
8
8
|
require_react
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-36W5H7IG.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
@@ -26,4 +26,4 @@ init_esm_shims();
|
|
|
26
26
|
export {
|
|
27
27
|
useWixCliAppBi
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-PKSGXFYA.js.map
|
|
@@ -62,7 +62,7 @@ var messages_default = {
|
|
|
62
62
|
"dev_command.config_didnt_update": "No App Manifest update occurred",
|
|
63
63
|
"dev_command.tunneling.confirm": "To proceed, we'll set up a secure tunnel from your machine for development purposes",
|
|
64
64
|
"dev_command.tunneling.abort_dev": "Operation aborted. Tunneling is necessary to run your application.",
|
|
65
|
-
"dev_command.new_custom_element.warning": "New site widget detected. Press <0/> to open the Site Editor
|
|
65
|
+
"dev_command.new_custom_element.warning": "New site widget detected. Press <0/> to open the Site Editor, then click <1>Complete Setup</1> to display your widget.",
|
|
66
66
|
"dev_command.new_custom_element.confirm_reinstall": "Press <0/> when you reinstalled app on your dev site",
|
|
67
67
|
"dev_command.new_custom_element.reinstall_error": "We had troubles with adding your new site widget. You can try to do it by yourself. Press <0/> to continue",
|
|
68
68
|
"serve_command.starting_serve_environment": "Starting serve environment...",
|
|
@@ -107,6 +107,7 @@ var messages_default = {
|
|
|
107
107
|
"generate_command.flow.site_plugin": "Site Plugin",
|
|
108
108
|
"generate_command.flow.event": "Event",
|
|
109
109
|
"generate_command.flow.api.title": "API",
|
|
110
|
+
"generate_command.flow.web_method.title": "Web Method",
|
|
110
111
|
"generate_command.flow.dashboard_modal": "Dashboard Modal",
|
|
111
112
|
"generate_command.flow.custom_element": "Site Widget",
|
|
112
113
|
"generate_command.flow.service_plugin": "Service Plugin",
|
|
@@ -128,14 +129,14 @@ var messages_default = {
|
|
|
128
129
|
"generate_command.sidebar_category.label_placeholder": "My App",
|
|
129
130
|
"generate_command.custom_element.validation.element_exists": "The {extensionType} folder must be unique, please choose a name that has yet to be used in your application.",
|
|
130
131
|
"generate_command.custom_element.validation.element_invalid": "The {extensionType} folder name must include a hyphen (-) and contain only lowercase letters and numbers.",
|
|
131
|
-
"generate_command.custom_element.choose_folder": "
|
|
132
|
+
"generate_command.custom_element.choose_folder": "Enter a folder name for your site widget:",
|
|
132
133
|
"generate_command.custom_element.folder_placeholder": "my-widget",
|
|
133
|
-
"generate_command.custom_element.choose_name": "
|
|
134
|
+
"generate_command.custom_element.choose_name": "Enter a name for your site widget:",
|
|
134
135
|
"generate_command.custom_element.choose_name.error": "Enter a name that is shorter than 30 characters.",
|
|
135
136
|
"generate_command.custom_element.name_placeholder": "My Widget",
|
|
136
|
-
"generate_command.site_plugin.choose_folder": "
|
|
137
|
+
"generate_command.site_plugin.choose_folder": "Enter a folder name for your site plugin:",
|
|
137
138
|
"generate_command.site_plugin.folder_placeholder": "my-site-plugin",
|
|
138
|
-
"generate_command.site_plugin.choose_name": "
|
|
139
|
+
"generate_command.site_plugin.choose_name": "Enter a name for your site plugin:",
|
|
139
140
|
"generate_command.site_plugin.name_placeholder": "My Site Plugin",
|
|
140
141
|
"generate_command.site_plugin.plugin_app": "Select a Wix app to view its plugin slots",
|
|
141
142
|
"generate_command.site_plugin.plugin_app.description": "(<0>read more</0>)",
|
|
@@ -198,6 +199,9 @@ var messages_default = {
|
|
|
198
199
|
"generate_command.api.choose_folder": "API folder (relative to src/backend/api):",
|
|
199
200
|
"generate_command.api.choose_api_name.error": "API name must be unique, can not include special characters or spaces, and must be shorter than 20 characters",
|
|
200
201
|
"generate_command.api.choose_method": "Choose an API method",
|
|
202
|
+
"generate_command.web_method.choose_filename.placeholder": "backend/my-web-method",
|
|
203
|
+
"generate_command.web_method.choose_filename": "Web Method file name (relative to the src folder):",
|
|
204
|
+
"generate_command.web_method.choose_filename.error": "Web Method file name must be unique, can not include special characters or spaces, and must be shorter than 20 characters",
|
|
201
205
|
"generate_command.event.choose_folder": "Event folder (relative to src/backend/events):",
|
|
202
206
|
"generate_command.event.folder_placeholder": "my-event",
|
|
203
207
|
"generate_command.event.choose_folder.error": "Event name must be unique, can not include special characters or spaces, and must be shorter than 20 characters",
|
|
@@ -214,10 +218,16 @@ var messages_default = {
|
|
|
214
218
|
"logs_command_def.option.version": "Specify the app version to fetch production logs from",
|
|
215
219
|
"logs_command.connecting": "Connecting to the log server...",
|
|
216
220
|
"logs_command.listening_to_logs": "Listening to logs from the server.",
|
|
217
|
-
"logs_command.prod_env_logs": "Prod Environment logs for the version: {version}"
|
|
221
|
+
"logs_command.prod_env_logs": "Prod Environment logs for the version: {version}",
|
|
222
|
+
"release_command_def.description": "Release a new version of your application",
|
|
223
|
+
"release_command_def.option.site": "The site id to use for Application Preview urls, defaults to the current selected development site",
|
|
224
|
+
"release_command_def.option.base_url": "The base url for when static files have been uploaded to an external cdn",
|
|
225
|
+
"release_command.loading_app_details": "Loading application details...",
|
|
226
|
+
"release_command.check_preview_before_version_release": "Before creating a new version, let's create a preview of your app",
|
|
227
|
+
"release_command.confirm_version_events_warning": "Any configured events will be deployed to production and take effect once a new version of your app is created."
|
|
218
228
|
};
|
|
219
229
|
|
|
220
230
|
export {
|
|
221
231
|
messages_default
|
|
222
232
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-QVGYU6D4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/messages.json"],"sourcesContent":["{\n \"create_version_command_def.option.version_type\": \"The type of version you would like to create\",\n \"create_version_command_def.option.approve_preview\": \"Approve preview automatically\",\n \"create_version_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"create_version_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"dev_command_def.option.https\": \"Start local dev server on https\",\n \"app_preview_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"app_preview_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"app_preview_command_def.option.no_input\": \"Disable command interactivity\",\n \"general.loading\": \"Loading...\",\n \"general.no_site_id_configured\": \"You don't have a Development Site currently configured\",\n \"general.site_id_not_found\": \"Your currently configured Development Site was not found ({id})\\nThis may happen because the site was deleted or your access has been revoked.\\n\\nPlease select another Development Site to continue\",\n \"general.dashboard_page_text\": \"<0>Click here</0> to open your application in the Wix Dashboard\",\n \"general.dashboard_page_click_here\": \"Click here\",\n \"general.close_screen\": \"Press <0/> to close\",\n \"logs.backend.clear\": \"Press <0/> to clear\",\n \"general.open_page_error\": \"Failed to open the browser for <0>{title}</0>, use the following URL to open it in your browser:\",\n \"general.dashboard_pages_viewer.title\": \"Press a number key to open a dashboard page:\",\n \"general.dashboard_plugins_viewer.title\": \"Press a number key to open a dashboard plugin:\",\n \"general.dashboard_menu_plugins_viewer.title\": \"Press a number key to open a dashboard menu plugin:\",\n \"general.backend_api_viewer.title\": \"Press a number key to trigger an api:\",\n \"general.backend_plugin_viewer.title\": \"Press a number key to trigger an plugin:\",\n \"general.backend_events_viewer.title\": \"Press a number key to trigger an event:\",\n \"general.numeric_viewer.show_more\": \"View more...\",\n \"general.platform.site\": \"Site\",\n \"general.platform.unpublished_site\": \"Site (publish the site to enable site preview)\",\n \"general.platform.editor\": \"Editor\",\n \"general.platform.dashboard\": \"Dashboard\",\n \"general.platform.backend\": \"Backend\",\n \"general.platform.none\": \"Your project doesn't seem to have any extensions.\\n\\nExtensions are the building blocks of your app.\\nMake sure it is configured properly, or read our <0>documentation</0> to start developing your first extension.\",\n \"general.dev_site.current\": \"Current Development Site: {name}\",\n \"general.view_changes\": \"View your local changes: <0>(Press a key to open)</0>\",\n \"general.open_preview.title_single\": \"Open the preview on the\",\n \"general.open_preview.title_multiple\": \"Open the preview on:\",\n \"preview_command.creating_preview\": \"Creating a preview...\",\n \"preview_command.creating_preview_success\": \"Preview created successfully!\",\n \"preview_command.uploading_files\": \"Uploading your application files...\",\n \"preview_command.uploading_files_success\": \"Uploaded successfully!\",\n \"dev_command.site_provider.loading\": \"Resolving development site...\",\n \"dev_command.custom_elements_migration.loading\": \"Checking site widgets installation...\",\n \"preview_command.note_about_temporary_backend\": \"This preview URL will be available for three days. Afterward, you can create a new preview if you need to.\",\n \"dev_command.dev_environment.loading\": \"Starting dev environment...\",\n \"dev_command.dev_environment.started\": \"Development environment ready\",\n \"dev_command.dev_site.change\": \"(Press <0/> to switch)\",\n \"dev_command.dev_site.current\": \"Current Dev Site: <0>{siteName}</0>\",\n \"dev_command.site_selector.error\": \"Failed to change Development Site!\",\n \"dev_command.dashboard_pages_screen.select_label\": \"Select a dashboard page to open\",\n \"dev_command.dashboard_menu_plugin_screen.select_label\": \"Select a dashboard menu plugin to open\",\n \"dev_command.dashboard_page_plugin_screen.select_label\": \"Select a dashboard plugin to open\",\n \"dev_command.dashboard_modal_screen.select_label\": \"Select a dashboard modal to open\",\n \"dev_command.backend_apis_screen.select_label\": \"Select api to trigger\",\n \"dev_command.backend_events_screen.select_label\": \"Select event to trigger\",\n \"dev_command.backend_plugins_screen.select_label\": \"Select plugin to trigger\",\n \"dev_command.required_apps.loading\": \"Checking required apps...\",\n \"dev_command.required_apps.warning\": \"Make sure you have {requiredAppNames} installed on your site\",\n \"dev_command.config_change\": \"Loading App Manifest changes...\",\n \"dev_command.config_update\": \"App Manifest updated. Refresh existing browser tabs to view the latest changes.\",\n \"dev_command.config_didnt_update\": \"No App Manifest update occurred\",\n \"dev_command.tunneling.confirm\": \"To proceed, we'll set up a secure tunnel from your machine for development purposes\",\n \"dev_command.tunneling.abort_dev\": \"Operation aborted. Tunneling is necessary to run your application.\",\n \"dev_command.new_custom_element.warning\": \"New site widget detected. Press <0/> to open the Site Editor, then click <1>Complete Setup</1> to display your widget.\",\n \"dev_command.new_custom_element.confirm_reinstall\": \"Press <0/> when you reinstalled app on your dev site\",\n \"dev_command.new_custom_element.reinstall_error\": \"We had troubles with adding your new site widget. You can try to do it by yourself. Press <0/> to continue\",\n \"serve_command.starting_serve_environment\": \"Starting serve environment...\",\n \"serve_command.starting_serve_environment_success\": \"Serve environment started! <0/>\",\n \"serve_command.production_build\": \"Application is using a production build\",\n \"create_version_command.creating_version\": \"Creating a version...\",\n \"create_version_command.creating_version_success\": \"Successfully created v{version}\",\n \"create_version_command.current_version\": \"Your current version is: v{version}\",\n \"create_version_command.confirm_version_events_warning\": \"Any configured events will be deployed to production and take effect once a new version of your app is created.\",\n \"create_version_command.confirm_version_creation\": \"Continue with creating the new version?\",\n \"create_version_command.confirm_version_creation_aborted\": \"Version creation aborted\",\n \"create_version_command.version_type_question\": \"What type of version would you like to create?\",\n \"create_version_command.version_type_question_minor\": \"Minor (v{version})\",\n \"create_version_command.version_type_question_major\": \"Major (v{version})\",\n \"create_version_command.check_preview_before_version_release\": \"Before creating a new version, let's create a preview of your app\",\n \"create_version_command.checking_validation_status\": \"Checking if this version can be submitted…\",\n \"create_version_command.version_validation_ok\": \"This version can be submitted for review in the <0>App Dashboard</0>\",\n \"create_version_command.version_validation_has_failures\": \"This version has blockers preventing it from being submitted for review.\\nPlease fix them and submit your app in the <0>App Dashboard</0>.\",\n \"embedded_script.type.essential\": \"Essential\",\n \"embedded_script.type.essential.description\": \"Must load regardless of policy\",\n \"embedded_script.type.functional\": \"Functional\",\n \"embedded_script.type.functional.description\": \"Adds optional functionality to the site\",\n \"embedded_script.type.analytics\": \"Analytics\",\n \"embedded_script.type.analytics.description\": \"Adds analytics abilities to the site\",\n \"embedded_script.type.advertising\": \"Advertising\",\n \"embedded_script.type.advertising.description\": \"Adds advertising content or advertising tracking to the site\",\n \"embedded_script.placement.head\": \"Head\",\n \"embedded_script.placement.head.description\": \"In the document head\",\n \"embedded_script.placement.body_start\": \"Body Start\",\n \"embedded_script.placement.body_start.description\": \"Prepended in the body\",\n \"embedded_script.placement.body_end\": \"Body End\",\n \"embedded_script.placement.body_end.description\": \"Appended in the body\",\n \"generate_command.description\": \"Add new extensions to your application\",\n \"generate_command.flow.dashboard_category\": \"Dashboard\",\n \"generate_command.flow.site_category\": \"Site\",\n \"generate_command.flow.backend_category\": \"Backend\",\n \"generate_command.flow.dashboard_page\": \"Dashboard Page\",\n \"generate_command.flow.sidebar_category\": \"Sidebar Category\",\n \"generate_command.flow.dashboard_plugin\": \"Dashboard Plugin\",\n \"generate_command.flow.dashboard_menu_plugin\": \"Dashboard Menu Plugin\",\n \"generate_command.flow.embedded_script\": \"Embedded Script\",\n \"generate_command.flow.site_plugin\": \"Site Plugin\",\n \"generate_command.flow.event\": \"Event\",\n \"generate_command.flow.api.title\": \"API\",\n \"generate_command.flow.web_method.title\": \"Web Method\",\n \"generate_command.flow.dashboard_modal\": \"Dashboard Modal\",\n \"generate_command.flow.custom_element\": \"Site Widget\",\n \"generate_command.flow.service_plugin\": \"Service Plugin\",\n \"generate_command.flow.choose_flow\": \"What kind of extension would you like to generate?\",\n \"generate_command.generation.loading\": \"Generating {subject}...\",\n \"generate_command.generation.done\": \"🚀 The new {extensionType} has been generated successfully.\",\n \"generate_command.generation.ecommerce_notification\": \"ℹ️ eCommerce plugins can require more than one business solution to be installed. To add additional required business solutions, navigate to your app's dashboard.\",\n \"generate_command.generation.learn_more\": \"📚 Learn more about {extensionType}: <0/>\",\n \"generate_command.generation.install_dependencies_question\": \"Would you like to install dependencies now?\",\n \"generate_command.generation.new_dependencies\": \"⚠️ New app dependencies have been added. Please run <0>{pkgManagerName} install</0> before continuing to work.\",\n \"generate_command.generation.dependencies_installed\": \"✅ Dependencies installed\",\n \"generate_command.dashboard_page.choose_route\": \"Enter the route for the new page:\",\n \"generate_command.dashboard_page.route_placeholder\": \"my-page\",\n \"generate_command.dashboard_page.choose_title\": \"Page title:\",\n \"generate_command.dashboard_page.title_placeholder\": \"My Page\",\n \"generate_command.dashboard_page.add_to_category\": \"Add to a sidebar category?\",\n \"generate_command.dashboard_page.choose_category\": \"Sidebar category:\",\n \"generate_command.sidebar_category.choose_label\": \"Enter the label for the new category:\",\n \"generate_command.sidebar_category.label_placeholder\": \"My App\",\n \"generate_command.custom_element.validation.element_exists\": \"The {extensionType} folder must be unique, please choose a name that has yet to be used in your application.\",\n \"generate_command.custom_element.validation.element_invalid\": \"The {extensionType} folder name must include a hyphen (-) and contain only lowercase letters and numbers.\",\n \"generate_command.custom_element.choose_folder\": \"Enter a folder name for your site widget:\",\n \"generate_command.custom_element.folder_placeholder\": \"my-widget\",\n \"generate_command.custom_element.choose_name\": \"Enter a name for your site widget:\",\n \"generate_command.custom_element.choose_name.error\": \"Enter a name that is shorter than 30 characters.\",\n \"generate_command.custom_element.name_placeholder\": \"My Widget\",\n \"generate_command.site_plugin.choose_folder\": \"Enter a folder name for your site plugin:\",\n \"generate_command.site_plugin.folder_placeholder\": \"my-site-plugin\",\n \"generate_command.site_plugin.choose_name\": \"Enter a name for your site plugin:\",\n \"generate_command.site_plugin.name_placeholder\": \"My Site Plugin\",\n \"generate_command.site_plugin.plugin_app\": \"Select a Wix app to view its plugin slots\",\n \"generate_command.site_plugin.plugin_app.description\": \"(<0>read more</0>)\",\n \"generate_command.site_plugin.choose_placement\": \"Select the slot in which you’d like to place your plugin\",\n \"generate_command.site_plugin.widget_docs\": \"<0>read more</0>\",\n \"generate_command.embedded_script.validation.script_exists\": \"The script folder must be unique, please choose a name that has not been used yet in your application.\",\n \"generate_command.embedded_script.validation.script_invalid\": \"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.\",\n \"generate_command.embedded_script.choose_folder\": \"Script folder (relative to src/site/embedded-scripts):\",\n \"generate_command.embedded_script.folder_placeholder\": \"my-script\",\n \"generate_command.embedded_script.choose_name\": \"Script name:\",\n \"generate_command.embedded_script.name_placeholder\": \"My Script\",\n \"generate_command.embedded_script.choose_type\": \"Script type:\",\n \"generate_command.embedded_script.type_info\": \"Determine if site visitors' consent is needed to run the script, <0>read more</0>\",\n \"generate_command.embedded_script.choose_placement\": \"Placement:\",\n \"generate_command.embedded_script.placement_info\": \"Will determine where the script is embedded\",\n \"generate_command.dashboard_modal.validation.folder_exists\": \"The modal folder must be unique, please choose a folder name that has not been used yet in your application.\",\n \"generate_command.dashboard_modal.validation.folder_invalid\": \"The modal folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.\",\n \"generate_command.dashboard_modal.choose_folder\": \"Enter the folder name for the new modal:\",\n \"generate_command.dashboard_modal.folder_placeholder\": \"my-modal\",\n \"generate_command.dashboard_modal.choose_title\": \"Modal title:\",\n \"generate_command.dashboard_modal.title_placeholder\": \"My Modal\",\n \"generate_command.dashboard_plugin.what_to_extend\": \"What would you like to extend?\",\n \"generate_command.dashboard_plugin.what_to_extend.description\": \"Plugins let you extend Wix apps by embedding your UI inside dedicated slots within a dashboard page (<0>read more</0>)\",\n \"generate_command.dashboard_plugin.what_to_extend.item_description\": \"<0>read more</0>\",\n \"generate_command.dashboard_plugin.choose_folder\": \"Plugin folder (relative to src/dashboard/plugins)\",\n \"generate_command.dashboard_plugin.folder_placeholder\": \"my-plugin\",\n \"generate_command.dashboard_plugin.choose_title\": \"Plugin title\",\n \"generate_command.dashboard_plugin.title_placeholder\": \"My Plugin\",\n \"generate_command.required_app\": \"Would you like to set {appsNames} as a requirement for your app?\",\n \"generate_command.required_app.description\": \"This means sites must have {appsNames} installed before installing your app (<0>read more</0>)\",\n \"generate_command.required_business_solution\": \"Select a business solution your extension requires\",\n \"generate_command.required_business_solution.loading\": \"Checking required apps...\",\n \"generate_command.required_business_solution.none\": \"None\",\n \"generate_command.required_business_solution.already_required\": \"app is already configured as required\",\n \"generate_command.required_business_solution.description\": \"(you can add more required business solutions later)\",\n \"generate_command.required_business_solution.error\": \"Unable to retrieve the required apps from the App Dashboard\",\n \"generate_command.required_business_solution.error.hint\": \"Please manually add required apps directly from the <0>app audience page</0>\",\n \"generate_command.dashboard_menu_plugin.what_to_extend\": \"What would you like to extend?\",\n \"generate_command.dashboard_menu_plugin.what_to_extend.description\": \"Menu Plugins let you extend Wix apps by adding a menu item in a pre-defined slot in a menu on a dashboard page (<0>read more</0>)\",\n \"generate_command.dashboard_menu_plugin.what_to_extend.item_description\": \"<0>read more</0>\",\n \"generate_command.dashboard_menu_plugin.what_to_do\": \"What action will happen after clicking on the menu item?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page\": \"Navigate to a page\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal\": \"Open a modal\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page\": \"Choose a page the menu item will navigate to:\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.info\": \"Choose from a list of available pages in your project or manually add a page from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other\": \"Use a page from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.choose_page_id\": \"What is the unique id of the page?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.page_id_invalid\": \"Page id has to be in the format of a uuid\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component\": \"Choose the modal to open:\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.info\": \"Choose from a list of available modals in your project or manually add a modal from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other\": \"Use a modal from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.choose_component_id\": \"What is the unique id of the modal?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.component_id_invalid\": \"Modal id has to be in the format of a uuid\",\n \"generate_command.dashboard_menu_plugin.choose_folder\": \"Menu Plugin folder (relative to src/dashboard/menu-plugins)\",\n \"generate_command.dashboard_menu_plugin.folder_placeholder\": \"my-plugin\",\n \"generate_command.dashboard_menu_plugin.choose_title\": \"Menu Plugin title\",\n \"generate_command.dashboard_menu_plugin.title_placeholder\": \"My Plugin\",\n \"generate_command.api.api_placeholder\": \"my-api\",\n \"generate_command.api.choose_api_name\": \"How would you like to name your API?\",\n \"generate_command.api.choose_folder\": \"API folder (relative to src/backend/api):\",\n \"generate_command.api.choose_api_name.error\": \"API name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\n \"generate_command.api.choose_method\": \"Choose an API method\",\n \"generate_command.web_method.choose_filename.placeholder\": \"backend/my-web-method\",\n \"generate_command.web_method.choose_filename\": \"Web Method file name (relative to the src folder):\",\n \"generate_command.web_method.choose_filename.error\": \"Web Method file name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\n \"generate_command.event.choose_folder\": \"Event folder (relative to src/backend/events):\",\n \"generate_command.event.folder_placeholder\": \"my-event\",\n \"generate_command.event.choose_folder.error\": \"Event name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\n \"generate_command.service_plugin.choose_type\": \"Which service plugin do you want to create\",\n \"generate_command.service_plugin.choose_name\": \"How would you like to name your service plugin\",\n \"generate_command.service_plugin.name_placeholder\": \"my-service-plugin\",\n \"generate_command.service_plugin.groups.stores\": \"Stores\",\n \"generate_command.service_plugin.ecom_additional_fees\": \"Ecom Additional Fees\",\n \"generate_command.service_plugin.ecom_shipping_rates\": \"Ecom Shipping Rates\",\n \"generate_command.service_plugin.ecom_discount_triggers\": \"Ecom Discount Triggers\",\n \"generate_command.service_plugin.ecom_validations\": \"Ecom Validations\",\n \"generate_command.service_plugin.ecom_payment_settings\": \"Ecom Payment Settings\",\n \"generate_command.service_plugin.ecom_gift_cards_provider\": \"Ecom Gift Cards Provider\",\n \"logs_command_def.option.version\": \"Specify the app version to fetch production logs from\",\n \"logs_command.connecting\": \"Connecting to the log server...\",\n \"logs_command.listening_to_logs\": \"Listening to logs from the server.\",\n \"logs_command.prod_env_logs\": \"Prod Environment logs for the version: {version}\",\n \"release_command_def.description\": \"Release a new version of your application\",\n \"release_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"release_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"release_command.loading_app_details\": \"Loading application details...\",\n \"release_command.check_preview_before_version_release\": \"Before creating a new version, let's create a preview of your app\",\n \"release_command.confirm_version_events_warning\": \"Any configured events will be deployed to production and take effect once a new version of your app is created.\"\n}\n"],"mappings":";;;;AAAA;AAAA,EACE,kDAAkD;AAAA,EAClD,qDAAqD;AAAA,EACrD,8CAA8C;AAAA,EAC9C,0CAA0C;AAAA,EAC1C,gCAAgC;AAAA,EAChC,uCAAuC;AAAA,EACvC,2CAA2C;AAAA,EAC3C,2CAA2C;AAAA,EAC3C,mBAAmB;AAAA,EACnB,iCAAiC;AAAA,EACjC,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,qCAAqC;AAAA,EACrC,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,2BAA2B;AAAA,EAC3B,wCAAwC;AAAA,EACxC,0CAA0C;AAAA,EAC1C,+CAA+C;AAAA,EAC/C,oCAAoC;AAAA,EACpC,uCAAuC;AAAA,EACvC,uCAAuC;AAAA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wC;AAAA,EACxC,6CAA6C;AAAA,EAC7C,8CAA8C;AAAA,EAC9C,+CAA+C;AAAA,EAC/C,+CAA+C;AAAA,EAC/C,oDAAoD;AAAA,EACpD,iDAAiD;AAAA,EACjD,wDAAwD;AAAA,EACxD,uDAAuD;AAAA,EACvD,0DAA0D;AAAA,EAC1D,oDAAoD;AAAA,EACpD,yDAAyD;AAAA,EACzD,4DAA4D;AAAA,EAC5D,mCAAmC;AAAA,EACnC,2BAA2B;AAAA,EAC3B,kCAAkC;AAAA,EAClC,8BAA8B;AAAA,EAC9B,mCAAmC;AAAA,EACnC,mCAAmC;AAAA,EACnC,uCAAuC;AAAA,EACvC,uCAAuC;AAAA,EACvC,wDAAwD;AAAA,EACxD,kDAAkD;AACpD;","names":[]}
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useBiLogger,
|
|
13
13
|
useHttpClient,
|
|
14
14
|
wixCliAppsFlowTunnelCreationStatusSrc11Evid5233
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DGTJGIY2.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
CliErrorCode,
|
|
19
19
|
getTestOverrides,
|
|
20
20
|
require_react,
|
|
21
21
|
z
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-36W5H7IG.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__dirname,
|
|
@@ -894,4 +894,4 @@ init_esm_shims();
|
|
|
894
894
|
export {
|
|
895
895
|
useTunnel
|
|
896
896
|
};
|
|
897
|
-
//# sourceMappingURL=chunk-
|
|
897
|
+
//# sourceMappingURL=chunk-USAOCISL.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
require_SetCache,
|
|
6
6
|
require_cacheHas,
|
|
7
7
|
require_setToArray
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DGTJGIY2.js";
|
|
9
9
|
import {
|
|
10
10
|
__commonJS,
|
|
11
11
|
init_esm_shims
|
|
@@ -192,4 +192,4 @@ var require_baseUniq = __commonJS({
|
|
|
192
192
|
export {
|
|
193
193
|
require_baseUniq
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=chunk-
|
|
195
|
+
//# sourceMappingURL=chunk-VXE3IWKR.js.map
|
|
@@ -2,12 +2,12 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IG6IV6VM.js";
|
|
6
6
|
import {
|
|
7
7
|
updateAppManifestWithBaseUrl,
|
|
8
8
|
updateMonitoring,
|
|
9
9
|
updateTopology
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WRPV7SLY.js";
|
|
11
11
|
import {
|
|
12
12
|
init_esm_shims
|
|
13
13
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -43,4 +43,4 @@ var createPreviewTag = async ({
|
|
|
43
43
|
export {
|
|
44
44
|
createPreviewTag
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-VZJZSWRE.js.map
|