@wix/create-app 0.0.112 → 0.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -15653,6 +15653,343 @@ var require_index_node = __commonJS({
15653
15653
  }
15654
15654
  });
15655
15655
 
15656
+ // ../../node_modules/dotenv/package.json
15657
+ var require_package2 = __commonJS({
15658
+ "../../node_modules/dotenv/package.json"(exports, module2) {
15659
+ module2.exports = {
15660
+ name: "dotenv",
15661
+ version: "16.5.0",
15662
+ description: "Loads environment variables from .env file",
15663
+ main: "lib/main.js",
15664
+ types: "lib/main.d.ts",
15665
+ exports: {
15666
+ ".": {
15667
+ types: "./lib/main.d.ts",
15668
+ require: "./lib/main.js",
15669
+ default: "./lib/main.js"
15670
+ },
15671
+ "./config": "./config.js",
15672
+ "./config.js": "./config.js",
15673
+ "./lib/env-options": "./lib/env-options.js",
15674
+ "./lib/env-options.js": "./lib/env-options.js",
15675
+ "./lib/cli-options": "./lib/cli-options.js",
15676
+ "./lib/cli-options.js": "./lib/cli-options.js",
15677
+ "./package.json": "./package.json"
15678
+ },
15679
+ scripts: {
15680
+ "dts-check": "tsc --project tests/types/tsconfig.json",
15681
+ lint: "standard",
15682
+ pretest: "npm run lint && npm run dts-check",
15683
+ test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
15684
+ "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
15685
+ prerelease: "npm test",
15686
+ release: "standard-version"
15687
+ },
15688
+ repository: {
15689
+ type: "git",
15690
+ url: "git://github.com/motdotla/dotenv.git"
15691
+ },
15692
+ homepage: "https://github.com/motdotla/dotenv#readme",
15693
+ funding: "https://dotenvx.com",
15694
+ keywords: [
15695
+ "dotenv",
15696
+ "env",
15697
+ ".env",
15698
+ "environment",
15699
+ "variables",
15700
+ "config",
15701
+ "settings"
15702
+ ],
15703
+ readmeFilename: "README.md",
15704
+ license: "BSD-2-Clause",
15705
+ devDependencies: {
15706
+ "@types/node": "^18.11.3",
15707
+ decache: "^4.6.2",
15708
+ sinon: "^14.0.1",
15709
+ standard: "^17.0.0",
15710
+ "standard-version": "^9.5.0",
15711
+ tap: "^19.2.0",
15712
+ typescript: "^4.8.4"
15713
+ },
15714
+ engines: {
15715
+ node: ">=12"
15716
+ },
15717
+ browser: {
15718
+ fs: false
15719
+ }
15720
+ };
15721
+ }
15722
+ });
15723
+
15724
+ // ../../node_modules/dotenv/lib/main.js
15725
+ var require_main = __commonJS({
15726
+ "../../node_modules/dotenv/lib/main.js"(exports, module2) {
15727
+ "use strict";
15728
+ init_esm_shims();
15729
+ var fs11 = __require("fs");
15730
+ var path8 = __require("path");
15731
+ var os8 = __require("os");
15732
+ var crypto2 = __require("crypto");
15733
+ var packageJson2 = require_package2();
15734
+ var version = packageJson2.version;
15735
+ var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
15736
+ function parse2(src) {
15737
+ const obj = {};
15738
+ let lines = src.toString();
15739
+ lines = lines.replace(/\r\n?/mg, "\n");
15740
+ let match22;
15741
+ while ((match22 = LINE.exec(lines)) != null) {
15742
+ const key = match22[1];
15743
+ let value2 = match22[2] || "";
15744
+ value2 = value2.trim();
15745
+ const maybeQuote = value2[0];
15746
+ value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
15747
+ if (maybeQuote === '"') {
15748
+ value2 = value2.replace(/\\n/g, "\n");
15749
+ value2 = value2.replace(/\\r/g, "\r");
15750
+ }
15751
+ obj[key] = value2;
15752
+ }
15753
+ return obj;
15754
+ }
15755
+ function _parseVault(options) {
15756
+ const vaultPath = _vaultPath(options);
15757
+ const result = DotenvModule.configDotenv({ path: vaultPath });
15758
+ if (!result.parsed) {
15759
+ const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
15760
+ err.code = "MISSING_DATA";
15761
+ throw err;
15762
+ }
15763
+ const keys = _dotenvKey(options).split(",");
15764
+ const length = keys.length;
15765
+ let decrypted;
15766
+ for (let i2 = 0; i2 < length; i2++) {
15767
+ try {
15768
+ const key = keys[i2].trim();
15769
+ const attrs = _instructions(result, key);
15770
+ decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
15771
+ break;
15772
+ } catch (error) {
15773
+ if (i2 + 1 >= length) {
15774
+ throw error;
15775
+ }
15776
+ }
15777
+ }
15778
+ return DotenvModule.parse(decrypted);
15779
+ }
15780
+ function _warn(message) {
15781
+ console.log(`[dotenv@${version}][WARN] ${message}`);
15782
+ }
15783
+ function _debug(message) {
15784
+ console.log(`[dotenv@${version}][DEBUG] ${message}`);
15785
+ }
15786
+ function _dotenvKey(options) {
15787
+ if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
15788
+ return options.DOTENV_KEY;
15789
+ }
15790
+ if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
15791
+ return process.env.DOTENV_KEY;
15792
+ }
15793
+ return "";
15794
+ }
15795
+ function _instructions(result, dotenvKey) {
15796
+ let uri;
15797
+ try {
15798
+ uri = new URL(dotenvKey);
15799
+ } catch (error) {
15800
+ if (error.code === "ERR_INVALID_URL") {
15801
+ const err = new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
15802
+ err.code = "INVALID_DOTENV_KEY";
15803
+ throw err;
15804
+ }
15805
+ throw error;
15806
+ }
15807
+ const key = uri.password;
15808
+ if (!key) {
15809
+ const err = new Error("INVALID_DOTENV_KEY: Missing key part");
15810
+ err.code = "INVALID_DOTENV_KEY";
15811
+ throw err;
15812
+ }
15813
+ const environment = uri.searchParams.get("environment");
15814
+ if (!environment) {
15815
+ const err = new Error("INVALID_DOTENV_KEY: Missing environment part");
15816
+ err.code = "INVALID_DOTENV_KEY";
15817
+ throw err;
15818
+ }
15819
+ const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
15820
+ const ciphertext = result.parsed[environmentKey];
15821
+ if (!ciphertext) {
15822
+ const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
15823
+ err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
15824
+ throw err;
15825
+ }
15826
+ return { ciphertext, key };
15827
+ }
15828
+ function _vaultPath(options) {
15829
+ let possibleVaultPath = null;
15830
+ if (options && options.path && options.path.length > 0) {
15831
+ if (Array.isArray(options.path)) {
15832
+ for (const filepath of options.path) {
15833
+ if (fs11.existsSync(filepath)) {
15834
+ possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
15835
+ }
15836
+ }
15837
+ } else {
15838
+ possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
15839
+ }
15840
+ } else {
15841
+ possibleVaultPath = path8.resolve(process.cwd(), ".env.vault");
15842
+ }
15843
+ if (fs11.existsSync(possibleVaultPath)) {
15844
+ return possibleVaultPath;
15845
+ }
15846
+ return null;
15847
+ }
15848
+ function _resolveHome(envPath) {
15849
+ return envPath[0] === "~" ? path8.join(os8.homedir(), envPath.slice(1)) : envPath;
15850
+ }
15851
+ function _configVault(options) {
15852
+ const debug3 = Boolean(options && options.debug);
15853
+ if (debug3) {
15854
+ _debug("Loading env from encrypted .env.vault");
15855
+ }
15856
+ const parsed = DotenvModule._parseVault(options);
15857
+ let processEnv = process.env;
15858
+ if (options && options.processEnv != null) {
15859
+ processEnv = options.processEnv;
15860
+ }
15861
+ DotenvModule.populate(processEnv, parsed, options);
15862
+ return { parsed };
15863
+ }
15864
+ function configDotenv(options) {
15865
+ const dotenvPath = path8.resolve(process.cwd(), ".env");
15866
+ let encoding = "utf8";
15867
+ const debug3 = Boolean(options && options.debug);
15868
+ if (options && options.encoding) {
15869
+ encoding = options.encoding;
15870
+ } else {
15871
+ if (debug3) {
15872
+ _debug("No encoding is specified. UTF-8 is used by default");
15873
+ }
15874
+ }
15875
+ let optionPaths = [dotenvPath];
15876
+ if (options && options.path) {
15877
+ if (!Array.isArray(options.path)) {
15878
+ optionPaths = [_resolveHome(options.path)];
15879
+ } else {
15880
+ optionPaths = [];
15881
+ for (const filepath of options.path) {
15882
+ optionPaths.push(_resolveHome(filepath));
15883
+ }
15884
+ }
15885
+ }
15886
+ let lastError;
15887
+ const parsedAll = {};
15888
+ for (const path9 of optionPaths) {
15889
+ try {
15890
+ const parsed = DotenvModule.parse(fs11.readFileSync(path9, { encoding }));
15891
+ DotenvModule.populate(parsedAll, parsed, options);
15892
+ } catch (e2) {
15893
+ if (debug3) {
15894
+ _debug(`Failed to load ${path9} ${e2.message}`);
15895
+ }
15896
+ lastError = e2;
15897
+ }
15898
+ }
15899
+ let processEnv = process.env;
15900
+ if (options && options.processEnv != null) {
15901
+ processEnv = options.processEnv;
15902
+ }
15903
+ DotenvModule.populate(processEnv, parsedAll, options);
15904
+ if (lastError) {
15905
+ return { parsed: parsedAll, error: lastError };
15906
+ } else {
15907
+ return { parsed: parsedAll };
15908
+ }
15909
+ }
15910
+ function config(options) {
15911
+ if (_dotenvKey(options).length === 0) {
15912
+ return DotenvModule.configDotenv(options);
15913
+ }
15914
+ const vaultPath = _vaultPath(options);
15915
+ if (!vaultPath) {
15916
+ _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
15917
+ return DotenvModule.configDotenv(options);
15918
+ }
15919
+ return DotenvModule._configVault(options);
15920
+ }
15921
+ function decrypt(encrypted, keyStr) {
15922
+ const key = Buffer.from(keyStr.slice(-64), "hex");
15923
+ let ciphertext = Buffer.from(encrypted, "base64");
15924
+ const nonce = ciphertext.subarray(0, 12);
15925
+ const authTag = ciphertext.subarray(-16);
15926
+ ciphertext = ciphertext.subarray(12, -16);
15927
+ try {
15928
+ const aesgcm = crypto2.createDecipheriv("aes-256-gcm", key, nonce);
15929
+ aesgcm.setAuthTag(authTag);
15930
+ return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
15931
+ } catch (error) {
15932
+ const isRange = error instanceof RangeError;
15933
+ const invalidKeyLength = error.message === "Invalid key length";
15934
+ const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
15935
+ if (isRange || invalidKeyLength) {
15936
+ const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
15937
+ err.code = "INVALID_DOTENV_KEY";
15938
+ throw err;
15939
+ } else if (decryptionFailed) {
15940
+ const err = new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
15941
+ err.code = "DECRYPTION_FAILED";
15942
+ throw err;
15943
+ } else {
15944
+ throw error;
15945
+ }
15946
+ }
15947
+ }
15948
+ function populate(processEnv, parsed, options = {}) {
15949
+ const debug3 = Boolean(options && options.debug);
15950
+ const override = Boolean(options && options.override);
15951
+ if (typeof parsed !== "object") {
15952
+ const err = new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
15953
+ err.code = "OBJECT_REQUIRED";
15954
+ throw err;
15955
+ }
15956
+ for (const key of Object.keys(parsed)) {
15957
+ if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
15958
+ if (override === true) {
15959
+ processEnv[key] = parsed[key];
15960
+ }
15961
+ if (debug3) {
15962
+ if (override === true) {
15963
+ _debug(`"${key}" is already defined and WAS overwritten`);
15964
+ } else {
15965
+ _debug(`"${key}" is already defined and was NOT overwritten`);
15966
+ }
15967
+ }
15968
+ } else {
15969
+ processEnv[key] = parsed[key];
15970
+ }
15971
+ }
15972
+ }
15973
+ var DotenvModule = {
15974
+ configDotenv,
15975
+ _configVault,
15976
+ _parseVault,
15977
+ config,
15978
+ decrypt,
15979
+ parse: parse2,
15980
+ populate
15981
+ };
15982
+ module2.exports.configDotenv = DotenvModule.configDotenv;
15983
+ module2.exports._configVault = DotenvModule._configVault;
15984
+ module2.exports._parseVault = DotenvModule._parseVault;
15985
+ module2.exports.config = DotenvModule.config;
15986
+ module2.exports.decrypt = DotenvModule.decrypt;
15987
+ module2.exports.parse = DotenvModule.parse;
15988
+ module2.exports.populate = DotenvModule.populate;
15989
+ module2.exports = DotenvModule;
15990
+ }
15991
+ });
15992
+
15656
15993
  // ../../node_modules/void-elements/index.js
15657
15994
  var require_void_elements = __commonJS({
15658
15995
  "../../node_modules/void-elements/index.js"(exports, module2) {
@@ -21574,7 +21911,7 @@ var require_module_details_from_path = __commonJS({
21574
21911
  });
21575
21912
 
21576
21913
  // ../../node_modules/require-in-the-middle/package.json
21577
- var require_package2 = __commonJS({
21914
+ var require_package3 = __commonJS({
21578
21915
  "../../node_modules/require-in-the-middle/package.json"(exports, module2) {
21579
21916
  module2.exports = {
21580
21917
  name: "require-in-the-middle",
@@ -21715,7 +22052,7 @@ var require_require_in_the_middle = __commonJS({
21715
22052
  }
21716
22053
  if (typeof Module._resolveFilename !== "function") {
21717
22054
  console.error("Error: Expected Module._resolveFilename to be a function (was: %s) - aborting!", typeof Module._resolveFilename);
21718
- console.error("Please report this error as an issue related to Node.js %s at %s", process.version, require_package2().bugs.url);
22055
+ console.error("Please report this error as an issue related to Node.js %s at %s", process.version, require_package3().bugs.url);
21719
22056
  return;
21720
22057
  }
21721
22058
  this._cache = new ExportsCache();
@@ -43036,7 +43373,7 @@ function encode_char(c) {
43036
43373
  });
43037
43374
 
43038
43375
  // ../../node_modules/ejs/package.json
43039
- var require_package3 = __commonJS({
43376
+ var require_package4 = __commonJS({
43040
43377
  "../../node_modules/ejs/package.json"(exports, module2) {
43041
43378
  module2.exports = {
43042
43379
  name: "ejs",
@@ -43092,7 +43429,7 @@ var require_ejs = __commonJS({
43092
43429
  var path8 = __require("path");
43093
43430
  var utils = require_utils21();
43094
43431
  var scopeOptionWarned = false;
43095
- var _VERSION_STRING = require_package3().version;
43432
+ var _VERSION_STRING = require_package4().version;
43096
43433
  var _DEFAULT_OPEN_DELIMITER = "<";
43097
43434
  var _DEFAULT_CLOSE_DELIMITER = ">";
43098
43435
  var _DEFAULT_DELIMITER = "%";
@@ -57099,6 +57436,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57099
57436
  FailedToWriteCache: (0, import_variant11.fields)(),
57100
57437
  UploadApplicationFailed: {},
57101
57438
  FailedToCreateDevCenterApp: {},
57439
+ FailedToCreateDevCenterOAuthApp: {},
57102
57440
  FailedToAddPermission: {},
57103
57441
  FailedToGetPlacements: {},
57104
57442
  FailedToGetAppSecret: {},
@@ -57125,6 +57463,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57125
57463
  FailedToGetUserInfo: {},
57126
57464
  FailedToGetMyAccount: {},
57127
57465
  FailedToCreateDevelopmentSite: {},
57466
+ FailedToCreateMetaSiteFromTemplate: {},
57128
57467
  FailedToGetDevelopmentSites: {},
57129
57468
  FailedToGetDevelopmentSitesLimit: {},
57130
57469
  FailedToGetRequiredApps: {},
@@ -57166,6 +57505,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57166
57505
  FailedToQueryCliAppTemplates: {},
57167
57506
  FailedToCreateDevCenterAppFromTemplate: {},
57168
57507
  FailedToGetSiteInstalledApps: {},
57508
+ FailedToGetSiteInstalledAppInstanceId: {},
57169
57509
  FailedToGetClientSpecMap: {},
57170
57510
  FailedToCreateVeloApp: {},
57171
57511
  FailedToUpdateVeloAppFiles: {},
@@ -57187,6 +57527,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57187
57527
  FailedToSetEnvironmentVariable: {},
57188
57528
  FailedToRemoveEnvironmentVariable: {},
57189
57529
  FailedToUploadStaticFiles: {},
57530
+ FailedCreatingAppProject: {},
57190
57531
  FailedCreatingAppDeployment: {},
57191
57532
  FailedFinalizingAppDeployment: {}
57192
57533
  });
@@ -57291,10 +57632,13 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57291
57632
  AppNameArgumentIsInvalid: (0, import_variant11.fields)(),
57292
57633
  CannotReleaseMinorInNoninteractive: {},
57293
57634
  SiteComponentConfigNotFound: (0, import_variant11.fields)(),
57635
+ SiteComponentPanelConfigNotFound: (0, import_variant11.fields)(),
57636
+ SiteComponentPanelDoNotExists: (0, import_variant11.fields)(),
57294
57637
  FailedToImportCliApp: {},
57295
57638
  FailedToCleanDistFolder: {},
57296
57639
  FailedToIdentifyProgramFlow: (0, import_variant11.fields)(),
57297
- BuildOutputMissing: (0, import_variant11.fields)()
57640
+ BuildOutputMissing: (0, import_variant11.fields)(),
57641
+ FailedToCreateMonitoringVitePlugin: (0, import_variant11.fields)()
57298
57642
  });
57299
57643
  var CliErrorCode = (0, import_variant11.variant)({
57300
57644
  ...CliSystemErrorCode,
@@ -58139,6 +58483,12 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
58139
58483
  srcPath: "/oauth2",
58140
58484
  destPath: "/v1/oauth"
58141
58485
  }
58486
+ ],
58487
+ "api._api_base_domain_": [
58488
+ {
58489
+ srcPath: "/oauth2-ng",
58490
+ destPath: ""
58491
+ }
58142
58492
  ]
58143
58493
  };
58144
58494
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -58563,6 +58913,7 @@ import {
58563
58913
  } from "node:fs/promises";
58564
58914
  import { dirname as dirname2, join, relative } from "node:path";
58565
58915
  import { EOL } from "node:os";
58916
+ var import_dotenv = __toESM(require_main(), 1);
58566
58917
  function toJsonString(object, opts) {
58567
58918
  return JSON.stringify(object, null, opts?.spaces).concat(EOL);
58568
58919
  }
@@ -66629,6 +66980,9 @@ function getErrorComponent(code, cause) {
66629
66980
  FailedToCreateDevCenterApp: () => {
66630
66981
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to register your application in Wix" });
66631
66982
  },
66983
+ FailedToCreateDevCenterOAuthApp: () => {
66984
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth application in Wix" });
66985
+ },
66632
66986
  FailedToAddPermission: () => {
66633
66987
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
66634
66988
  },
@@ -66978,7 +67332,8 @@ function getErrorComponent(code, cause) {
66978
67332
  topology: () => "topology",
66979
67333
  "site-plugin": () => "site plugin",
66980
67334
  monitoring: () => "monitoring",
66981
- "site-component": () => "site component"
67335
+ "site-component": () => "site component",
67336
+ "site-component-panel": () => "site component panel"
66982
67337
  });
66983
67338
  return /* @__PURE__ */ import_react78.default.createElement(Box_default, { flexDirection: "column" }, /* @__PURE__ */ import_react78.default.createElement(Text2, null, /* @__PURE__ */ import_react78.default.createElement(Text2, { bold: true }, "Duplicate ID: "), issue.id), /* @__PURE__ */ import_react78.default.createElement(Text2, { bold: true }, "Extensions:"), issue.components.map(({ name, path: path8, type }) => /* @__PURE__ */ import_react78.default.createElement(Text2, { key: path8 }, "[", typeToName(type), "] ", name, " (", path8, ")")), /* @__PURE__ */ import_react78.default.createElement(Text2, null, /* @__PURE__ */ import_react78.default.createElement(Text2, { bold: true }, "Possible GUID: "), issue.suggestedId));
66984
67339
  };
@@ -67043,6 +67398,9 @@ function getErrorComponent(code, cause) {
67043
67398
  FailedToCreateDevelopmentSite: () => {
67044
67399
  return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Failed to create a Development Site" });
67045
67400
  },
67401
+ FailedToCreateMetaSiteFromTemplate: () => {
67402
+ return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Failed to create a metasite from template" });
67403
+ },
67046
67404
  FailedToGetDevelopmentSites: () => {
67047
67405
  return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Failed to request development sites." });
67048
67406
  },
@@ -67455,6 +67813,9 @@ function getErrorComponent(code, cause) {
67455
67813
  FailedToGetSiteInstalledApps: () => {
67456
67814
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps" });
67457
67815
  },
67816
+ FailedToGetSiteInstalledAppInstanceId: () => {
67817
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to get site installed app instance id" });
67818
+ },
67458
67819
  FailedToGetClientSpecMap: () => {
67459
67820
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map" });
67460
67821
  },
@@ -67750,6 +68111,22 @@ ${errorMessage2}`
67750
68111
  }
67751
68112
  );
67752
68113
  },
68114
+ SiteComponentPanelConfigNotFound: ({ configPath }) => {
68115
+ return () => /* @__PURE__ */ import_react78.default.createElement(
68116
+ ErrorMessage,
68117
+ {
68118
+ message: `Site component panel config not found at ${configPath}`
68119
+ }
68120
+ );
68121
+ },
68122
+ SiteComponentPanelDoNotExists: ({ panelName }) => {
68123
+ return () => /* @__PURE__ */ import_react78.default.createElement(
68124
+ ErrorMessage,
68125
+ {
68126
+ message: `Site component panel with name ${panelName} do not exist`
68127
+ }
68128
+ );
68129
+ },
67753
68130
  FailedToImportCliApp: () => {
67754
68131
  return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { cause, message: "Failed to load `@wix/cli-app`." });
67755
68132
  },
@@ -67775,6 +68152,9 @@ ${errorMessage2}`
67775
68152
  FailedToUploadStaticFiles: () => {
67776
68153
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to upload static files." });
67777
68154
  },
68155
+ FailedCreatingAppProject: () => {
68156
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "An error occoured while creating an app project." });
68157
+ },
67778
68158
  FailedCreatingAppDeployment: () => {
67779
68159
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "An error occoured while creating an app deployment." });
67780
68160
  },
@@ -67790,6 +68170,16 @@ ${errorMessage2}`
67790
68170
  hint: "Build the project before proceeding."
67791
68171
  }
67792
68172
  );
68173
+ },
68174
+ FailedToCreateMonitoringVitePlugin: ({ configPath }) => {
68175
+ return () => /* @__PURE__ */ import_react78.default.createElement(
68176
+ ErrorMessage,
68177
+ {
68178
+ cause,
68179
+ message: "Failed to setup monitoring vite plugin.",
68180
+ hint: `Make sure you have the correct \`monitoring\` configuration in \`${configPath}\`.`
68181
+ }
68182
+ );
67793
68183
  }
67794
68184
  });
67795
68185
  }
@@ -71283,7 +71673,7 @@ function reportCommandStartEvent({
71283
71673
  var package_default = {
71284
71674
  name: "@wix/create-app",
71285
71675
  description: "Create Wix apps",
71286
- version: "0.0.112",
71676
+ version: "0.0.114",
71287
71677
  author: "Ihor Machuzhak",
71288
71678
  bin: "bin/index.cjs",
71289
71679
  devDependencies: {
@@ -74781,6 +75171,11 @@ var _componentData = {
74781
75171
  };
74782
75172
  var _componentsMultilineAddress = { description: "_richContent" };
74783
75173
  var _conditionNode = { and: "_andCondition", or: "_orCondition" };
75174
+ var _cssNumber = {
75175
+ minimum: "google.protobuf.FloatValue",
75176
+ maximum: "google.protobuf.FloatValue",
75177
+ multipleOf: "google.protobuf.FloatValue"
75178
+ };
74784
75179
  var _dataItem = { number: "__Number", arrayItems: "_arrayItems" };
74785
75180
  var _dataItems = { items: "Map#_dataItem" };
74786
75181
  var _dateInput = { description: "_richContent" };
@@ -74800,6 +75195,7 @@ var _displayField = { richContentOptions: "_richContentOptions" };
74800
75195
  var _donationInput = { description: "_richContent" };
74801
75196
  var _dropdown = { description: "_richContent" };
74802
75197
  var _editorElement = {
75198
+ style: "Map#_styleItem",
74803
75199
  data: "Map#_dataItem",
74804
75200
  elements: "Map#_elementItem",
74805
75201
  presets: "Map#_presetItem",
@@ -74843,6 +75239,7 @@ var _getAppResponse = {
74843
75239
  var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
74844
75240
  var _imageData = { image: "_media" };
74845
75241
  var _inlineElement = {
75242
+ style: "Map#_styleItem",
74846
75243
  data: "Map#_dataItem",
74847
75244
  elements: "Map#_elementItem",
74848
75245
  presets: "Map#_presetItem",
@@ -74962,6 +75359,7 @@ var _studioWidgetComponentData = {
74962
75359
  widgetDisplay: "_widgetDisplay",
74963
75360
  editorPresence: "_editorPresence"
74964
75361
  };
75362
+ var _styleItem = { number: "_cssNumber" };
74965
75363
  var _submitSettings = { thankYouMessageOptions: "_thankYouMessageOptions" };
74966
75364
  var _textInput = { description: "_richContent" };
74967
75365
  var _thankYouMessageOptions = { richContent: "_richContent" };
@@ -75128,6 +75526,7 @@ function getAppByVersion(payload5) {
75128
75526
  _componentData,
75129
75527
  _componentsMultilineAddress,
75130
75528
  _conditionNode,
75529
+ _cssNumber,
75131
75530
  _dataItem,
75132
75531
  _dataItems,
75133
75532
  _dateInput,
@@ -75203,6 +75602,7 @@ function getAppByVersion(payload5) {
75203
75602
  _shippingProviderConfig,
75204
75603
  _signature,
75205
75604
  _studioWidgetComponentData,
75605
+ _styleItem,
75206
75606
  _submitSettings,
75207
75607
  _textInput,
75208
75608
  _thankYouMessageOptions,
@@ -75413,6 +75813,65 @@ function queryApp(payload5) {
75413
75813
  return __queryApp;
75414
75814
  }
75415
75815
 
75816
+ // ../../node_modules/@wix/ambassador-headless-v1-o-auth-app/build/es/http.impl.js
75817
+ init_esm_shims();
75818
+ var _createOAuthAppRequest = { oAuthApp: "_oAuthApp" };
75819
+ var _createOAuthAppResponse = { oAuthApp: "_oAuthApp" };
75820
+ var _oAuthApp = { createdDate: "google.protobuf.Timestamp" };
75821
+ function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
75822
+ var domainToMappings = {
75823
+ "manage._base_domain_": [
75824
+ {
75825
+ srcPath: "/oauth-app-service",
75826
+ destPath: ""
75827
+ },
75828
+ {
75829
+ srcPath: "/oauth-app",
75830
+ destPath: ""
75831
+ }
75832
+ ],
75833
+ "www.wixapis.com": [
75834
+ {
75835
+ srcPath: "/oauth-app",
75836
+ destPath: ""
75837
+ }
75838
+ ],
75839
+ "api._api_base_domain_": [
75840
+ {
75841
+ srcPath: "/oauth-app-service",
75842
+ destPath: ""
75843
+ }
75844
+ ]
75845
+ };
75846
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
75847
+ }
75848
+ function createOAuthApp(payload5) {
75849
+ var _a3 = serializer(_createOAuthAppRequest, { _oAuthApp }), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
75850
+ var fromRes = serializer(_createOAuthAppResponse, {
75851
+ _oAuthApp
75852
+ }).fromJSON;
75853
+ function __createOAuthApp(_a4) {
75854
+ var host = _a4.host;
75855
+ var serializedData = toReq(payload5);
75856
+ var metadata = {
75857
+ entityFqdn: "wix.headless.v1.o_auth_app",
75858
+ method: "POST",
75859
+ methodFqn: "wix.headless.v1.OAuthAppService.CreateOAuthApp",
75860
+ url: resolveWixHeadlessV1OAuthAppServiceUrl({
75861
+ protoPath: "/v1/oauth-apps",
75862
+ data: serializedData,
75863
+ host
75864
+ }),
75865
+ data: serializedData,
75866
+ transformResponse: fromRes
75867
+ };
75868
+ return metadata;
75869
+ }
75870
+ __createOAuthApp.fromReq = fromReq;
75871
+ __createOAuthApp.__isAmbassador = true;
75872
+ return __createOAuthApp;
75873
+ }
75874
+
75416
75875
  // ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
75417
75876
  init_esm_shims();
75418
75877
  var _appVersion = {
@@ -76108,8 +76567,6 @@ var _arrayType2 = { items: "_arrayItems" };
76108
76567
  var _audioData2 = { audio: "_media", coverImage: "_media" };
76109
76568
  var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
76110
76569
  var _background2 = { image: "_media" };
76111
- var _backOfficeCustomization = { sidebarConfig: "_sidebarConfig" };
76112
- var _category = { children: "_sidebarChildItem" };
76113
76570
  var _checkbox2 = { label: "_richContent" };
76114
76571
  var _checkboxGroup2 = { description: "_richContent", options: "_option" };
76115
76572
  var _commonImage2 = {
@@ -76132,10 +76589,14 @@ var _componentData2 = {
76132
76589
  function: "_function",
76133
76590
  papiProvider: "_pluginConfig",
76134
76591
  multilingualTranslationSchemaGroup: "_schemaGroup",
76135
- editorReactComponent: "_editorReactComponent",
76136
- backOfficeCustomization: "_backOfficeCustomization"
76592
+ editorReactComponent: "_editorReactComponent"
76137
76593
  };
76138
76594
  var _conditionNode2 = { and: "_andCondition", or: "_orCondition" };
76595
+ var _cssNumber2 = {
76596
+ minimum: "google.protobuf.FloatValue",
76597
+ maximum: "google.protobuf.FloatValue",
76598
+ multipleOf: "google.protobuf.FloatValue"
76599
+ };
76139
76600
  var _dataItem2 = { number: "_api_Number", arrayItems: "_apiArrayItems" };
76140
76601
  var _dataItems2 = { items: "Map#_dataItem" };
76141
76602
  var _dateInput2 = { description: "_richContent" };
@@ -76156,6 +76617,7 @@ var _displayField2 = { richContentOptions: "_richContentOptions" };
76156
76617
  var _donationInput2 = { description: "_richContent" };
76157
76618
  var _dropdown2 = { description: "_richContent" };
76158
76619
  var _editorElement2 = {
76620
+ style: "Map#_styleItem",
76159
76621
  data: "Map#_dataItem",
76160
76622
  elements: "Map#_elementItem",
76161
76623
  presets: "Map#_presetItem",
@@ -76196,6 +76658,7 @@ var _galleryOptions2 = { item: "_itemStyle" };
76196
76658
  var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
76197
76659
  var _imageData2 = { image: "_media" };
76198
76660
  var _inlineElement2 = {
76661
+ style: "Map#_styleItem",
76199
76662
  data: "Map#_dataItem",
76200
76663
  elements: "Map#_elementItem",
76201
76664
  presets: "Map#_presetItem",
@@ -76314,14 +76777,12 @@ var _schemaGroup2 = {
76314
76777
  };
76315
76778
  var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
76316
76779
  var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
76317
- var _sidebarChildItem = { category: "_category" };
76318
- var _sidebarConfig = { sidebarItems: "_sidebarRootItem" };
76319
- var _sidebarRootItem = { category: "_category" };
76320
76780
  var _signature2 = { description: "_richContent" };
76321
76781
  var _studioWidgetComponentData2 = {
76322
76782
  widgetDisplay: "_widgetDisplay",
76323
76783
  editorPresence: "_editorPresence"
76324
76784
  };
76785
+ var _styleItem2 = { number: "_cssNumber" };
76325
76786
  var _submitSettings2 = { thankYouMessageOptions: "_thankYouMessageOptions" };
76326
76787
  var _textInput2 = { description: "_richContent" };
76327
76788
  var _thankYouMessageOptions2 = { richContent: "_richContent" };
@@ -76428,15 +76889,14 @@ function managedApps(payload5) {
76428
76889
  _arrayType: _arrayType2,
76429
76890
  _audioData: _audioData2,
76430
76891
  _authenticatorConfig: _authenticatorConfig2,
76431
- _backOfficeCustomization,
76432
76892
  _background: _background2,
76433
- _category,
76434
76893
  _checkbox: _checkbox2,
76435
76894
  _checkboxGroup: _checkboxGroup2,
76436
76895
  _commonImage: _commonImage2,
76437
76896
  _component: _component2,
76438
76897
  _componentData: _componentData2,
76439
76898
  _conditionNode: _conditionNode2,
76899
+ _cssNumber: _cssNumber2,
76440
76900
  _dataItem: _dataItem2,
76441
76901
  _dataItems: _dataItems2,
76442
76902
  _dateInput: _dateInput2,
@@ -76515,11 +76975,9 @@ function managedApps(payload5) {
76515
76975
  _schemaGroup: _schemaGroup2,
76516
76976
  _shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
76517
76977
  _shippingProviderConfig: _shippingProviderConfig2,
76518
- _sidebarChildItem,
76519
- _sidebarConfig,
76520
- _sidebarRootItem,
76521
76978
  _signature: _signature2,
76522
76979
  _studioWidgetComponentData: _studioWidgetComponentData2,
76980
+ _styleItem: _styleItem2,
76523
76981
  _submitSettings: _submitSettings2,
76524
76982
  _textInput: _textInput2,
76525
76983
  _thankYouMessageOptions: _thankYouMessageOptions2,
@@ -76782,6 +77240,14 @@ var ComponentType;
76782
77240
  ComponentType3["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
76783
77241
  ComponentType3["BILLING_OPERATION"] = "BILLING_OPERATION";
76784
77242
  ComponentType3["BACK_OFFICE_CUSTOMIZATION"] = "BACK_OFFICE_CUSTOMIZATION";
77243
+ ComponentType3["COMPONENT_ENRICHER_PROVIDER"] = "COMPONENT_ENRICHER_PROVIDER";
77244
+ ComponentType3["BACK_OFFICE_RESTRICTED_CUSTOMIZATION"] = "BACK_OFFICE_RESTRICTED_CUSTOMIZATION";
77245
+ ComponentType3["EDITOR_APP_PREVIEWS_POC"] = "EDITOR_APP_PREVIEWS_POC";
77246
+ ComponentType3["LEGENDS_PERSONA_CONFIGURATION"] = "LEGENDS_PERSONA_CONFIGURATION";
77247
+ ComponentType3["WIX_HOSTING_APP_DEPLOYMENT_PROVIDER"] = "WIX_HOSTING_APP_DEPLOYMENT_PROVIDER";
77248
+ ComponentType3["BACKEND_WORKER"] = "BACKEND_WORKER";
77249
+ ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
77250
+ ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
76785
77251
  })(ComponentType || (ComponentType = {}));
76786
77252
  var WidgetVertical;
76787
77253
  (function(WidgetVertical3) {
@@ -77424,6 +77890,7 @@ var DecorationType;
77424
77890
  DecorationType3["COLOR"] = "COLOR";
77425
77891
  DecorationType3["FONT_SIZE"] = "FONT_SIZE";
77426
77892
  DecorationType3["EXTERNAL"] = "EXTERNAL";
77893
+ DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
77427
77894
  })(DecorationType || (DecorationType = {}));
77428
77895
  var FontType;
77429
77896
  (function(FontType3) {
@@ -77940,6 +78407,19 @@ var EditableProperties;
77940
78407
  EditableProperties3["INPUT_VALUE_LIMITS"] = "INPUT_VALUE_LIMITS";
77941
78408
  EditableProperties3["DEFAULT_VALUE"] = "DEFAULT_VALUE";
77942
78409
  })(EditableProperties || (EditableProperties = {}));
78410
+ var RequiredIndicator;
78411
+ (function(RequiredIndicator3) {
78412
+ RequiredIndicator3["UNKNOWN_INDICATOR"] = "UNKNOWN_INDICATOR";
78413
+ RequiredIndicator3["ASTERISK"] = "ASTERISK";
78414
+ RequiredIndicator3["TEXT"] = "TEXT";
78415
+ RequiredIndicator3["NONE"] = "NONE";
78416
+ })(RequiredIndicator || (RequiredIndicator = {}));
78417
+ var RequiredIndicatorPlacement;
78418
+ (function(RequiredIndicatorPlacement3) {
78419
+ RequiredIndicatorPlacement3["UNKNOWN_PLACEMENT"] = "UNKNOWN_PLACEMENT";
78420
+ RequiredIndicatorPlacement3["AFTER_FIELD_TITLE"] = "AFTER_FIELD_TITLE";
78421
+ RequiredIndicatorPlacement3["BEFORE_FIELD_TITLE"] = "BEFORE_FIELD_TITLE";
78422
+ })(RequiredIndicatorPlacement || (RequiredIndicatorPlacement = {}));
77943
78423
  var WixCodePublishTaskName;
77944
78424
  (function(WixCodePublishTaskName3) {
77945
78425
  WixCodePublishTaskName3["UNKNOWN"] = "UNKNOWN";
@@ -77986,6 +78466,7 @@ var MonitoringType;
77986
78466
  (function(MonitoringType3) {
77987
78467
  MonitoringType3["UNKNOWN_PROVIDER"] = "UNKNOWN_PROVIDER";
77988
78468
  MonitoringType3["SENTRY"] = "SENTRY";
78469
+ MonitoringType3["PANORAMA"] = "PANORAMA";
77989
78470
  })(MonitoringType || (MonitoringType = {}));
77990
78471
  var Escalation;
77991
78472
  (function(Escalation3) {
@@ -78074,6 +78555,7 @@ var CssPropertyType;
78074
78555
  CssPropertyType3["backgroundPosition"] = "backgroundPosition";
78075
78556
  CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
78076
78557
  CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
78558
+ CssPropertyType3["fill"] = "fill";
78077
78559
  CssPropertyType3["margin"] = "margin";
78078
78560
  CssPropertyType3["marginTop"] = "marginTop";
78079
78561
  CssPropertyType3["marginRight"] = "marginRight";
@@ -78135,9 +78617,11 @@ var CssPropertyType;
78135
78617
  CssPropertyType3["lineHeight"] = "lineHeight";
78136
78618
  CssPropertyType3["color"] = "color";
78137
78619
  CssPropertyType3["letterSpacing"] = "letterSpacing";
78620
+ CssPropertyType3["writingMode"] = "writingMode";
78138
78621
  CssPropertyType3["textAlign"] = "textAlign";
78139
78622
  CssPropertyType3["textTransform"] = "textTransform";
78140
78623
  CssPropertyType3["textShadow"] = "textShadow";
78624
+ CssPropertyType3["textOverflow"] = "textOverflow";
78141
78625
  CssPropertyType3["textDecoration"] = "textDecoration";
78142
78626
  CssPropertyType3["textDecorationColor"] = "textDecorationColor";
78143
78627
  CssPropertyType3["textDecorationLine"] = "textDecorationLine";
@@ -78146,6 +78630,7 @@ var CssPropertyType;
78146
78630
  CssPropertyType3["boxShadow"] = "boxShadow";
78147
78631
  CssPropertyType3["opacity"] = "opacity";
78148
78632
  CssPropertyType3["overflow"] = "overflow";
78633
+ CssPropertyType3["display"] = "display";
78149
78634
  CssPropertyType3["alignSelf"] = "alignSelf";
78150
78635
  CssPropertyType3["justifyContent"] = "justifyContent";
78151
78636
  CssPropertyType3["alignItems"] = "alignItems";
@@ -78153,6 +78638,14 @@ var CssPropertyType;
78153
78638
  CssPropertyType3["gap"] = "gap";
78154
78639
  CssPropertyType3["height"] = "height";
78155
78640
  CssPropertyType3["width"] = "width";
78641
+ CssPropertyType3["columnGap"] = "columnGap";
78642
+ CssPropertyType3["rowGap"] = "rowGap";
78643
+ CssPropertyType3["filter"] = "filter";
78644
+ CssPropertyType3["backdropFilter"] = "backdropFilter";
78645
+ CssPropertyType3["objectFit"] = "objectFit";
78646
+ CssPropertyType3["objectPosition"] = "objectPosition";
78647
+ CssPropertyType3["mixBlendMode"] = "mixBlendMode";
78648
+ CssPropertyType3["isolation"] = "isolation";
78156
78649
  })(CssPropertyType || (CssPropertyType = {}));
78157
78650
  var CssDataType;
78158
78651
  (function(CssDataType3) {
@@ -78164,7 +78657,50 @@ var CssDataType;
78164
78657
  CssDataType3["percentage"] = "percentage";
78165
78658
  CssDataType3["lengthPercentage"] = "lengthPercentage";
78166
78659
  CssDataType3["blendMode"] = "blendMode";
78660
+ CssDataType3["customEnum"] = "customEnum";
78661
+ CssDataType3["string"] = "string";
78167
78662
  })(CssDataType || (CssDataType = {}));
78663
+ var FilterFunction;
78664
+ (function(FilterFunction3) {
78665
+ FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
78666
+ FilterFunction3["blur"] = "blur";
78667
+ FilterFunction3["brightness"] = "brightness";
78668
+ FilterFunction3["contrast"] = "contrast";
78669
+ FilterFunction3["drop_shadow"] = "drop_shadow";
78670
+ FilterFunction3["grayscale"] = "grayscale";
78671
+ FilterFunction3["hue_rotate"] = "hue_rotate";
78672
+ FilterFunction3["invert"] = "invert";
78673
+ FilterFunction3["opacity"] = "opacity";
78674
+ FilterFunction3["sepia"] = "sepia";
78675
+ FilterFunction3["saturate"] = "saturate";
78676
+ })(FilterFunction || (FilterFunction = {}));
78677
+ var DisplayValueEnumDisplayValue;
78678
+ (function(DisplayValueEnumDisplayValue3) {
78679
+ DisplayValueEnumDisplayValue3["UNKNOWN_DisplayValue"] = "UNKNOWN_DisplayValue";
78680
+ DisplayValueEnumDisplayValue3["none"] = "none";
78681
+ DisplayValueEnumDisplayValue3["block"] = "block";
78682
+ DisplayValueEnumDisplayValue3["inline"] = "inline";
78683
+ DisplayValueEnumDisplayValue3["flow"] = "flow";
78684
+ DisplayValueEnumDisplayValue3["flowRoot"] = "flowRoot";
78685
+ DisplayValueEnumDisplayValue3["table"] = "table";
78686
+ DisplayValueEnumDisplayValue3["flex"] = "flex";
78687
+ DisplayValueEnumDisplayValue3["grid"] = "grid";
78688
+ DisplayValueEnumDisplayValue3["list_item"] = "list_item";
78689
+ DisplayValueEnumDisplayValue3["contents"] = "contents";
78690
+ DisplayValueEnumDisplayValue3["inline_block"] = "inline_block";
78691
+ DisplayValueEnumDisplayValue3["inline_table"] = "inline_table";
78692
+ DisplayValueEnumDisplayValue3["inline_flex"] = "inline_flex";
78693
+ DisplayValueEnumDisplayValue3["inline_grid"] = "inline_grid";
78694
+ })(DisplayValueEnumDisplayValue || (DisplayValueEnumDisplayValue = {}));
78695
+ var WritingModeValue;
78696
+ (function(WritingModeValue3) {
78697
+ WritingModeValue3["UNKNOWN_WritingModeValue"] = "UNKNOWN_WritingModeValue";
78698
+ WritingModeValue3["horizontalTb"] = "horizontalTb";
78699
+ WritingModeValue3["verticalRl"] = "verticalRl";
78700
+ WritingModeValue3["verticalLr"] = "verticalLr";
78701
+ WritingModeValue3["sidewaysRl"] = "sidewaysRl";
78702
+ WritingModeValue3["sidewaysLr"] = "sidewaysLr";
78703
+ })(WritingModeValue || (WritingModeValue = {}));
78168
78704
  var DataType;
78169
78705
  (function(DataType3) {
78170
78706
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -78258,6 +78794,7 @@ var ActionType;
78258
78794
  ActionType3["event"] = "event";
78259
78795
  ActionType3["panel"] = "panel";
78260
78796
  ActionType3["forward"] = "forward";
78797
+ ActionType3["style"] = "style";
78261
78798
  })(ActionType || (ActionType = {}));
78262
78799
  var PanelType;
78263
78800
  (function(PanelType3) {
@@ -78275,23 +78812,13 @@ var ActionName;
78275
78812
  ActionName3["dashboard"] = "dashboard";
78276
78813
  ActionName3["custom"] = "custom";
78277
78814
  })(ActionName || (ActionName = {}));
78278
- var ResizeDirection;
78279
- (function(ResizeDirection3) {
78280
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
78281
- ResizeDirection3["horizontal"] = "horizontal";
78282
- ResizeDirection3["vertical"] = "vertical";
78283
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78284
- ResizeDirection3["aspectRatio"] = "aspectRatio";
78285
- ResizeDirection3["none"] = "none";
78286
- })(ResizeDirection || (ResizeDirection = {}));
78287
- var ContentResizeDirection;
78288
- (function(ContentResizeDirection3) {
78289
- ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
78290
- ContentResizeDirection3["horizontal"] = "horizontal";
78291
- ContentResizeDirection3["vertical"] = "vertical";
78292
- ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78293
- ContentResizeDirection3["none"] = "none";
78294
- })(ContentResizeDirection || (ContentResizeDirection = {}));
78815
+ var SizingType;
78816
+ (function(SizingType3) {
78817
+ SizingType3["UNKNOWN_SizingType"] = "UNKNOWN_SizingType";
78818
+ SizingType3["content"] = "content";
78819
+ SizingType3["stretched"] = "stretched";
78820
+ SizingType3["pixels"] = "pixels";
78821
+ })(SizingType || (SizingType = {}));
78295
78822
  var Archetype;
78296
78823
  (function(Archetype3) {
78297
78824
  Archetype3["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
@@ -78333,18 +78860,35 @@ var Archetype;
78333
78860
  Archetype3["VectorArt"] = "VectorArt";
78334
78861
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
78335
78862
  })(Archetype || (Archetype = {}));
78863
+ var ResizeDirection;
78864
+ (function(ResizeDirection3) {
78865
+ ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
78866
+ ResizeDirection3["horizontal"] = "horizontal";
78867
+ ResizeDirection3["vertical"] = "vertical";
78868
+ ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78869
+ ResizeDirection3["aspectRatio"] = "aspectRatio";
78870
+ ResizeDirection3["none"] = "none";
78871
+ })(ResizeDirection || (ResizeDirection = {}));
78872
+ var ContentResizeDirection;
78873
+ (function(ContentResizeDirection3) {
78874
+ ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
78875
+ ContentResizeDirection3["horizontal"] = "horizontal";
78876
+ ContentResizeDirection3["vertical"] = "vertical";
78877
+ ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78878
+ ContentResizeDirection3["none"] = "none";
78879
+ })(ContentResizeDirection || (ContentResizeDirection = {}));
78336
78880
  var RestrictionLevel;
78337
78881
  (function(RestrictionLevel3) {
78338
78882
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
78339
78883
  RestrictionLevel3["WARNING"] = "WARNING";
78340
78884
  RestrictionLevel3["LOCKED"] = "LOCKED";
78341
78885
  })(RestrictionLevel || (RestrictionLevel = {}));
78342
- var Theme;
78343
- (function(Theme2) {
78344
- Theme2["UNKNOWN_THEME"] = "UNKNOWN_THEME";
78345
- Theme2["DARK"] = "DARK";
78346
- Theme2["LIGHT"] = "LIGHT";
78347
- })(Theme || (Theme = {}));
78886
+ var ElementDisplayOption;
78887
+ (function(ElementDisplayOption3) {
78888
+ ElementDisplayOption3["UNKNOWN_OPTION"] = "UNKNOWN_OPTION";
78889
+ ElementDisplayOption3["REMOVE"] = "REMOVE";
78890
+ ElementDisplayOption3["CUSTOMIZED"] = "CUSTOMIZED";
78891
+ })(ElementDisplayOption || (ElementDisplayOption = {}));
78348
78892
  var SidebarDataType;
78349
78893
  (function(SidebarDataType3) {
78350
78894
  SidebarDataType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
@@ -78352,6 +78896,13 @@ var SidebarDataType;
78352
78896
  SidebarDataType3["PAGE"] = "PAGE";
78353
78897
  SidebarDataType3["SEPARATOR"] = "SEPARATOR";
78354
78898
  })(SidebarDataType || (SidebarDataType = {}));
78899
+ var SidebarEntityType;
78900
+ (function(SidebarEntityType3) {
78901
+ SidebarEntityType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
78902
+ SidebarEntityType3["CATEGORY"] = "CATEGORY";
78903
+ SidebarEntityType3["PAGE"] = "PAGE";
78904
+ SidebarEntityType3["APP"] = "APP";
78905
+ })(SidebarEntityType || (SidebarEntityType = {}));
78355
78906
  var SaleType;
78356
78907
  (function(SaleType2) {
78357
78908
  SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
@@ -78394,6 +78945,24 @@ function resolveWixDevcenterAppsPermissionsV1AppPermissionsServiceUrl(opts) {
78394
78945
  srcPath: "/_api/app-permissions-service",
78395
78946
  destPath: ""
78396
78947
  }
78948
+ ],
78949
+ "www.wixapis.com": [
78950
+ {
78951
+ srcPath: "/apps/v1/app-permissions",
78952
+ destPath: ""
78953
+ }
78954
+ ],
78955
+ "*.dev.wix-code.com": [
78956
+ {
78957
+ srcPath: "/_api/app-permissions-service",
78958
+ destPath: ""
78959
+ }
78960
+ ],
78961
+ _: [
78962
+ {
78963
+ srcPath: "/_api/app-permissions-service",
78964
+ destPath: ""
78965
+ }
78397
78966
  ]
78398
78967
  };
78399
78968
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -79799,19 +80368,19 @@ var EditableProperties2;
79799
80368
  EditableProperties3["INPUT_VALUE_LIMITS"] = "INPUT_VALUE_LIMITS";
79800
80369
  EditableProperties3["DEFAULT_VALUE"] = "DEFAULT_VALUE";
79801
80370
  })(EditableProperties2 || (EditableProperties2 = {}));
79802
- var RequiredIndicator;
79803
- (function(RequiredIndicator2) {
79804
- RequiredIndicator2["UNKNOWN_INDICATOR"] = "UNKNOWN_INDICATOR";
79805
- RequiredIndicator2["ASTERISK"] = "ASTERISK";
79806
- RequiredIndicator2["TEXT"] = "TEXT";
79807
- RequiredIndicator2["NONE"] = "NONE";
79808
- })(RequiredIndicator || (RequiredIndicator = {}));
79809
- var RequiredIndicatorPlacement;
79810
- (function(RequiredIndicatorPlacement2) {
79811
- RequiredIndicatorPlacement2["UNKNOWN_PLACEMENT"] = "UNKNOWN_PLACEMENT";
79812
- RequiredIndicatorPlacement2["AFTER_FIELD_TITLE"] = "AFTER_FIELD_TITLE";
79813
- RequiredIndicatorPlacement2["BEFORE_FIELD_TITLE"] = "BEFORE_FIELD_TITLE";
79814
- })(RequiredIndicatorPlacement || (RequiredIndicatorPlacement = {}));
80371
+ var RequiredIndicator2;
80372
+ (function(RequiredIndicator3) {
80373
+ RequiredIndicator3["UNKNOWN_INDICATOR"] = "UNKNOWN_INDICATOR";
80374
+ RequiredIndicator3["ASTERISK"] = "ASTERISK";
80375
+ RequiredIndicator3["TEXT"] = "TEXT";
80376
+ RequiredIndicator3["NONE"] = "NONE";
80377
+ })(RequiredIndicator2 || (RequiredIndicator2 = {}));
80378
+ var RequiredIndicatorPlacement2;
80379
+ (function(RequiredIndicatorPlacement3) {
80380
+ RequiredIndicatorPlacement3["UNKNOWN_PLACEMENT"] = "UNKNOWN_PLACEMENT";
80381
+ RequiredIndicatorPlacement3["AFTER_FIELD_TITLE"] = "AFTER_FIELD_TITLE";
80382
+ RequiredIndicatorPlacement3["BEFORE_FIELD_TITLE"] = "BEFORE_FIELD_TITLE";
80383
+ })(RequiredIndicatorPlacement2 || (RequiredIndicatorPlacement2 = {}));
79815
80384
  var WixCodePublishTaskName2;
79816
80385
  (function(WixCodePublishTaskName3) {
79817
80386
  WixCodePublishTaskName3["UNKNOWN"] = "UNKNOWN";
@@ -80009,6 +80578,7 @@ var CssPropertyType2;
80009
80578
  CssPropertyType3["lineHeight"] = "lineHeight";
80010
80579
  CssPropertyType3["color"] = "color";
80011
80580
  CssPropertyType3["letterSpacing"] = "letterSpacing";
80581
+ CssPropertyType3["writingMode"] = "writingMode";
80012
80582
  CssPropertyType3["textAlign"] = "textAlign";
80013
80583
  CssPropertyType3["textTransform"] = "textTransform";
80014
80584
  CssPropertyType3["textShadow"] = "textShadow";
@@ -80021,6 +80591,7 @@ var CssPropertyType2;
80021
80591
  CssPropertyType3["boxShadow"] = "boxShadow";
80022
80592
  CssPropertyType3["opacity"] = "opacity";
80023
80593
  CssPropertyType3["overflow"] = "overflow";
80594
+ CssPropertyType3["display"] = "display";
80024
80595
  CssPropertyType3["alignSelf"] = "alignSelf";
80025
80596
  CssPropertyType3["justifyContent"] = "justifyContent";
80026
80597
  CssPropertyType3["alignItems"] = "alignItems";
@@ -80050,20 +80621,47 @@ var CssDataType2;
80050
80621
  CssDataType3["customEnum"] = "customEnum";
80051
80622
  CssDataType3["string"] = "string";
80052
80623
  })(CssDataType2 || (CssDataType2 = {}));
80053
- var FilterFunction;
80054
- (function(FilterFunction2) {
80055
- FilterFunction2["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
80056
- FilterFunction2["blur"] = "blur";
80057
- FilterFunction2["brightness"] = "brightness";
80058
- FilterFunction2["contrast"] = "contrast";
80059
- FilterFunction2["drop_shadow"] = "drop_shadow";
80060
- FilterFunction2["grayscale"] = "grayscale";
80061
- FilterFunction2["hue_rotate"] = "hue_rotate";
80062
- FilterFunction2["invert"] = "invert";
80063
- FilterFunction2["opacity"] = "opacity";
80064
- FilterFunction2["sepia"] = "sepia";
80065
- FilterFunction2["saturate"] = "saturate";
80066
- })(FilterFunction || (FilterFunction = {}));
80624
+ var FilterFunction2;
80625
+ (function(FilterFunction3) {
80626
+ FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
80627
+ FilterFunction3["blur"] = "blur";
80628
+ FilterFunction3["brightness"] = "brightness";
80629
+ FilterFunction3["contrast"] = "contrast";
80630
+ FilterFunction3["drop_shadow"] = "drop_shadow";
80631
+ FilterFunction3["grayscale"] = "grayscale";
80632
+ FilterFunction3["hue_rotate"] = "hue_rotate";
80633
+ FilterFunction3["invert"] = "invert";
80634
+ FilterFunction3["opacity"] = "opacity";
80635
+ FilterFunction3["sepia"] = "sepia";
80636
+ FilterFunction3["saturate"] = "saturate";
80637
+ })(FilterFunction2 || (FilterFunction2 = {}));
80638
+ var DisplayValueEnumDisplayValue2;
80639
+ (function(DisplayValueEnumDisplayValue3) {
80640
+ DisplayValueEnumDisplayValue3["UNKNOWN_DisplayValue"] = "UNKNOWN_DisplayValue";
80641
+ DisplayValueEnumDisplayValue3["none"] = "none";
80642
+ DisplayValueEnumDisplayValue3["block"] = "block";
80643
+ DisplayValueEnumDisplayValue3["inline"] = "inline";
80644
+ DisplayValueEnumDisplayValue3["flow"] = "flow";
80645
+ DisplayValueEnumDisplayValue3["flowRoot"] = "flowRoot";
80646
+ DisplayValueEnumDisplayValue3["table"] = "table";
80647
+ DisplayValueEnumDisplayValue3["flex"] = "flex";
80648
+ DisplayValueEnumDisplayValue3["grid"] = "grid";
80649
+ DisplayValueEnumDisplayValue3["list_item"] = "list_item";
80650
+ DisplayValueEnumDisplayValue3["contents"] = "contents";
80651
+ DisplayValueEnumDisplayValue3["inline_block"] = "inline_block";
80652
+ DisplayValueEnumDisplayValue3["inline_table"] = "inline_table";
80653
+ DisplayValueEnumDisplayValue3["inline_flex"] = "inline_flex";
80654
+ DisplayValueEnumDisplayValue3["inline_grid"] = "inline_grid";
80655
+ })(DisplayValueEnumDisplayValue2 || (DisplayValueEnumDisplayValue2 = {}));
80656
+ var WritingModeValue2;
80657
+ (function(WritingModeValue3) {
80658
+ WritingModeValue3["UNKNOWN_WritingModeValue"] = "UNKNOWN_WritingModeValue";
80659
+ WritingModeValue3["horizontalTb"] = "horizontalTb";
80660
+ WritingModeValue3["verticalRl"] = "verticalRl";
80661
+ WritingModeValue3["verticalLr"] = "verticalLr";
80662
+ WritingModeValue3["sidewaysRl"] = "sidewaysRl";
80663
+ WritingModeValue3["sidewaysLr"] = "sidewaysLr";
80664
+ })(WritingModeValue2 || (WritingModeValue2 = {}));
80067
80665
  var DataType2;
80068
80666
  (function(DataType3) {
80069
80667
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -80175,30 +80773,13 @@ var ActionName2;
80175
80773
  ActionName3["dashboard"] = "dashboard";
80176
80774
  ActionName3["custom"] = "custom";
80177
80775
  })(ActionName2 || (ActionName2 = {}));
80178
- var SizingType;
80179
- (function(SizingType2) {
80180
- SizingType2["UNKNOWN_SizingType"] = "UNKNOWN_SizingType";
80181
- SizingType2["content"] = "content";
80182
- SizingType2["stretched"] = "stretched";
80183
- SizingType2["pixels"] = "pixels";
80184
- })(SizingType || (SizingType = {}));
80185
- var ResizeDirection2;
80186
- (function(ResizeDirection3) {
80187
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
80188
- ResizeDirection3["horizontal"] = "horizontal";
80189
- ResizeDirection3["vertical"] = "vertical";
80190
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80191
- ResizeDirection3["aspectRatio"] = "aspectRatio";
80192
- ResizeDirection3["none"] = "none";
80193
- })(ResizeDirection2 || (ResizeDirection2 = {}));
80194
- var ContentResizeDirection2;
80195
- (function(ContentResizeDirection3) {
80196
- ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
80197
- ContentResizeDirection3["horizontal"] = "horizontal";
80198
- ContentResizeDirection3["vertical"] = "vertical";
80199
- ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80200
- ContentResizeDirection3["none"] = "none";
80201
- })(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
80776
+ var SizingType2;
80777
+ (function(SizingType3) {
80778
+ SizingType3["UNKNOWN_SizingType"] = "UNKNOWN_SizingType";
80779
+ SizingType3["content"] = "content";
80780
+ SizingType3["stretched"] = "stretched";
80781
+ SizingType3["pixels"] = "pixels";
80782
+ })(SizingType2 || (SizingType2 = {}));
80202
80783
  var Archetype2;
80203
80784
  (function(Archetype3) {
80204
80785
  Archetype3["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
@@ -80240,12 +80821,35 @@ var Archetype2;
80240
80821
  Archetype3["VectorArt"] = "VectorArt";
80241
80822
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
80242
80823
  })(Archetype2 || (Archetype2 = {}));
80824
+ var ResizeDirection2;
80825
+ (function(ResizeDirection3) {
80826
+ ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
80827
+ ResizeDirection3["horizontal"] = "horizontal";
80828
+ ResizeDirection3["vertical"] = "vertical";
80829
+ ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80830
+ ResizeDirection3["aspectRatio"] = "aspectRatio";
80831
+ ResizeDirection3["none"] = "none";
80832
+ })(ResizeDirection2 || (ResizeDirection2 = {}));
80833
+ var ContentResizeDirection2;
80834
+ (function(ContentResizeDirection3) {
80835
+ ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
80836
+ ContentResizeDirection3["horizontal"] = "horizontal";
80837
+ ContentResizeDirection3["vertical"] = "vertical";
80838
+ ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80839
+ ContentResizeDirection3["none"] = "none";
80840
+ })(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
80243
80841
  var RestrictionLevel2;
80244
80842
  (function(RestrictionLevel3) {
80245
80843
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
80246
80844
  RestrictionLevel3["WARNING"] = "WARNING";
80247
80845
  RestrictionLevel3["LOCKED"] = "LOCKED";
80248
80846
  })(RestrictionLevel2 || (RestrictionLevel2 = {}));
80847
+ var ElementDisplayOption2;
80848
+ (function(ElementDisplayOption3) {
80849
+ ElementDisplayOption3["UNKNOWN_OPTION"] = "UNKNOWN_OPTION";
80850
+ ElementDisplayOption3["REMOVE"] = "REMOVE";
80851
+ ElementDisplayOption3["CUSTOMIZED"] = "CUSTOMIZED";
80852
+ })(ElementDisplayOption2 || (ElementDisplayOption2 = {}));
80249
80853
  var SidebarDataType2;
80250
80854
  (function(SidebarDataType3) {
80251
80855
  SidebarDataType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
@@ -80253,13 +80857,13 @@ var SidebarDataType2;
80253
80857
  SidebarDataType3["PAGE"] = "PAGE";
80254
80858
  SidebarDataType3["SEPARATOR"] = "SEPARATOR";
80255
80859
  })(SidebarDataType2 || (SidebarDataType2 = {}));
80256
- var SidebarEntityType;
80257
- (function(SidebarEntityType2) {
80258
- SidebarEntityType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
80259
- SidebarEntityType2["CATEGORY"] = "CATEGORY";
80260
- SidebarEntityType2["PAGE"] = "PAGE";
80261
- SidebarEntityType2["APP"] = "APP";
80262
- })(SidebarEntityType || (SidebarEntityType = {}));
80860
+ var SidebarEntityType2;
80861
+ (function(SidebarEntityType3) {
80862
+ SidebarEntityType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
80863
+ SidebarEntityType3["CATEGORY"] = "CATEGORY";
80864
+ SidebarEntityType3["PAGE"] = "PAGE";
80865
+ SidebarEntityType3["APP"] = "APP";
80866
+ })(SidebarEntityType2 || (SidebarEntityType2 = {}));
80263
80867
  var OpenConsentIn2;
80264
80868
  (function(OpenConsentIn3) {
80265
80869
  OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
@@ -80385,6 +80989,11 @@ var createAppSchema = z.object({
80385
80989
  id: z.string()
80386
80990
  })
80387
80991
  });
80992
+ var createOAuthAppSchema = z.object({
80993
+ oAuthApp: z.object({
80994
+ id: z.string()
80995
+ })
80996
+ });
80388
80997
  var topologySchema = z.object({
80389
80998
  compId: z.string(),
80390
80999
  compName: z.string(),
@@ -80397,41 +81006,10 @@ var topologySchema = z.object({
80397
81006
  })
80398
81007
  })
80399
81008
  }).passthrough();
80400
- var monitoringSchema = z.object({
80401
- compType: z.literal(ComponentType2.MONITORING),
80402
- compId: z.string(),
80403
- compName: z.string().optional(),
80404
- compData: z.object({
80405
- monitoring: z.discriminatedUnion("type", [
80406
- z.object({
80407
- type: z.literal(MonitoringType2.SENTRY),
80408
- sentryOptions: z.object({
80409
- dsn: z.string().url()
80410
- })
80411
- }),
80412
- z.object({
80413
- type: z.literal(MonitoringType2.PANORAMA),
80414
- panoramaOptions: z.object({
80415
- sentry: z.object({
80416
- dsn: z.string().url()
80417
- }).optional(),
80418
- project: z.object({
80419
- groupId: z.string(),
80420
- artifactId: z.string(),
80421
- fingerprint: z.string()
80422
- })
80423
- })
80424
- })
80425
- ])
80426
- })
80427
- });
80428
81009
  var componentsSchema = z.array(
80429
81010
  z.discriminatedUnion("compType", [
80430
81011
  topologySchema,
80431
- monitoringSchema,
80432
- ...Object.values(ComponentType2).filter(
80433
- (type) => type !== ComponentType2.TOPOLOGY && type !== ComponentType2.MONITORING
80434
- ).map((type) => {
81012
+ ...Object.values(ComponentType2).filter((type) => type !== ComponentType2.TOPOLOGY).map((type) => {
80435
81013
  return z.object({
80436
81014
  compId: z.string(),
80437
81015
  compName: z.string().optional(),
@@ -80591,6 +81169,19 @@ var DevCenterClient = class {
80591
81169
  });
80592
81170
  }
80593
81171
  };
81172
+ createOAuthApp = async (oAuthApp) => {
81173
+ try {
81174
+ const { data } = await this.httpClient.request(
81175
+ createOAuthApp({ oAuthApp })
81176
+ );
81177
+ return createOAuthAppSchema.parse(data).oAuthApp;
81178
+ } catch (e2) {
81179
+ throw new CliError({
81180
+ code: CliErrorCode.FailedToCreateDevCenterOAuthApp(),
81181
+ cause: e2
81182
+ });
81183
+ }
81184
+ };
80594
81185
  getAppSecret = async (req) => {
80595
81186
  try {
80596
81187
  const { data } = await pRetry(
@@ -81713,7 +82304,9 @@ function getFiles(cwd3) {
81713
82304
  // ../gena/src/generator.ts
81714
82305
  var fm = import_front_matter.default;
81715
82306
  function shouldSkipParsing(file) {
81716
- return [".png", ".jpg", ".gif"].includes(extname(file).toLowerCase());
82307
+ return [".png", ".jpg", ".gif", ".astro"].includes(
82308
+ extname(file).toLowerCase()
82309
+ );
81717
82310
  }
81718
82311
  async function justCopy({
81719
82312
  cwd: cwd3,