twenty-sdk 2.35.0 → 2.37.0
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/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{catalog-sync-Cn-gDxAz.js → catalog-sync-Szx_4267.js} +1 -1
- package/dist/{catalog-sync-C0Td21sN.mjs → catalog-sync-mAO3vmdp.mjs} +1 -1
- package/dist/cli/utilities/api/api-service.d.ts +2 -0
- package/dist/cli/utilities/api/file-api.d.ts +41 -0
- package/dist/cli/utilities/dev/orchestrator/steps/upload-files-orchestrator-step.d.ts +1 -0
- package/dist/cli/utilities/file/file-uploader.d.ts +13 -4
- package/dist/cli/utilities/file/put-file-to-upload-url.d.ts +5 -0
- package/dist/cli.cjs +15 -15
- package/dist/cli.mjs +249 -235
- package/dist/define/index.cjs +14 -14
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +259 -21
- package/dist/define/index.mjs +3142 -3021
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +1 -0
- package/dist/front-component/index.mjs +2 -2
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/{get-front-component-build-plugins-CcV3Cown.js → get-front-component-build-plugins-DZIleilT.js} +8 -8
- package/dist/{get-front-component-build-plugins-BZ1HBS5Y.mjs → get-front-component-build-plugins-WU9ATS3e.mjs} +98 -92
- package/dist/{get-function-input-schema-GNk3NRLJ-Byssjp8I.js → get-function-input-schema-GNk3NRLJ-DKoJBhuO.js} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-BimwLfRN.mjs → get-function-input-schema-GNk3NRLJ-H7iWzfXn.mjs} +1 -1
- package/dist/logic-function/index.cjs +2 -0
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +1 -0
- package/dist/logic-function/index.mjs +2 -2
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/{login-Cl-mw1L0.js → login-4PI5lTOa.js} +61 -31
- package/dist/{login-CuJiHYwZ.mjs → login-CNByz3vi.mjs} +5411 -5151
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import { fileURLToPath as t } from "node:url";
|
|
|
4
4
|
import { dirname as n } from "node:path";
|
|
5
5
|
e(import.meta.url);
|
|
6
6
|
const r = t(import.meta.url), i = n(r);
|
|
7
|
-
import {
|
|
8
|
-
import { $ as b, B as x, C as S, Ct as C, Dt as w, E as T, Et as E, F as D, G as O, H as k, I as A, J as ee, K as j, L as M, M as te, N as ne, O as N, P, Q as F, R as re, S as ie, St as ae, Tt as oe, U as se, V as ce, W as le, Z as ue, _ as de, _t as fe, a as I, at as pe, b as me, bt as he, c as ge, ct as _e, d as ve, dt as ye, et as be, f as xe, ft as Se, g as Ce, gt as we, h as Te, ht as Ee, i as De, it as Oe, k as ke, l as Ae, lt as je, m as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as ze, rt as Be, s as Ve, st as He, t as Ue, u as We, ut as Ge, v as Ke, vt as qe, w as Je, wt as Ye, x as Xe, xt as Ze, y as Qe, yt as $e, z as et } from "./login-
|
|
7
|
+
import { Ct as a, K as o, O as s, Q as c, St as l, Tt as u, U as d, X as f, et as p, i as m, m as h, o as g, s as _, t as v, tt as y } from "./get-front-component-build-plugins-WU9ATS3e.mjs";
|
|
8
|
+
import { $ as b, B as x, C as S, Ct as C, Dt as w, E as T, Et as E, F as D, G as O, H as k, I as A, J as ee, K as j, L as M, M as te, N as ne, O as N, P, Q as F, R as re, S as ie, St as ae, Tt as oe, U as se, V as ce, W as le, Z as ue, _ as de, _t as fe, a as I, at as pe, b as me, bt as he, c as ge, ct as _e, d as ve, dt as ye, et as be, f as xe, ft as Se, g as Ce, gt as we, h as Te, ht as Ee, i as De, it as Oe, k as ke, l as Ae, lt as je, m as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as ze, rt as Be, s as Ve, st as He, t as Ue, u as We, ut as Ge, v as Ke, vt as qe, w as Je, wt as Ye, x as Xe, xt as Ze, y as Qe, yt as $e, z as et } from "./login-CNByz3vi.mjs";
|
|
9
9
|
import tt, { dirname as nt, join as rt, relative as it } from "path";
|
|
10
10
|
import { readFile as at, readdir as ot, writeFile as st } from "node:fs/promises";
|
|
11
11
|
import { isNonEmptyArray as ct } from "@sniptt/guards";
|
|
@@ -151,7 +151,7 @@ var Dt = (e) => e && !e?.startsWith("/") ? rt(w, e) : e, Ot = async (e) => {
|
|
|
151
151
|
});
|
|
152
152
|
if (!n?.universalIdentifier) throw Error(`defineApplication in ${t} must declare a universalIdentifier before generating entities.`);
|
|
153
153
|
return n.universalIdentifier;
|
|
154
|
-
}, Lt = (/* @__PURE__ */
|
|
154
|
+
}, Lt = (/* @__PURE__ */ a(((e, t) => {
|
|
155
155
|
(function() {
|
|
156
156
|
var n, r = "4.18.1", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", s = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", l = "__lodash_hash_undefined__", u = 500, d = "__lodash_placeholder__", f = 1, p = 2, m = 4, h = 1, g = 2, _ = 1, v = 2, y = 4, b = 8, x = 16, S = 32, C = 64, w = 128, T = 256, E = 512, D = 30, O = "...", k = 800, A = 16, ee = 1, j = 2, M = 3, te = Infinity, ne = 9007199254740991, N = 17976931348623157e292, P = NaN, F = 4294967295, re = F - 1, ie = F >>> 1, ae = [
|
|
157
157
|
["ary", w],
|
|
@@ -3472,8 +3472,8 @@ var Dt = (e) => e && !e?.startsWith("/") ? rt(w, e) : e, Ot = async (e) => {
|
|
|
3472
3472
|
});
|
|
3473
3473
|
}, Ht = (e) => e.map(({ name: e, description: t, isSecret: n }) => ` ${e}: {\n description: ${JSON.stringify(t)},\n isSecret: ${n},\n isRequired: true,\n },`).join("\n"), Ut = (e, t) => `serverVariables: {\n${e.map(({ name: e, description: n, isSecret: r }) => `${t} ${e}: {\n${t} description: ${JSON.stringify(n)},\n${t} isSecret: ${r},\n${t} isRequired: true,\n${t} },`).join("\n")}\n${t}},`, Wt = ({ data: e }) => {
|
|
3474
3474
|
let t = lt(), n = e.description ? `\n description: '${e.description}',` : "";
|
|
3475
|
-
if (e.type ===
|
|
3476
|
-
let r = e.onDelete && e.onDelete !== "None", i = `import { defineField, FieldType, RelationType${r ? ", OnDeleteAction" : ""} } from 'twenty-sdk/define';`, a = r ? `, onDelete: OnDeleteAction.${e.onDelete}` : "", o = e.type ===
|
|
3475
|
+
if (e.type === f.RELATION || e.type === f.MORPH_RELATION) {
|
|
3476
|
+
let r = e.onDelete && e.onDelete !== "None", i = `import { defineField, FieldType, RelationType${r ? ", OnDeleteAction" : ""} } from 'twenty-sdk/define';`, a = r ? `, onDelete: OnDeleteAction.${e.onDelete}` : "", o = e.type === f.MORPH_RELATION ? `\n morphId: '${lt()}',` : "";
|
|
3477
3477
|
return `${i}
|
|
3478
3478
|
|
|
3479
3479
|
export default defineField({
|
|
@@ -3607,7 +3607,7 @@ export default defineCommandMenuItem({
|
|
|
3607
3607
|
availabilityType: 'GLOBAL',
|
|
3608
3608
|
});
|
|
3609
3609
|
`, Zt = ({ name: e, type: t }) => {
|
|
3610
|
-
let n = t ===
|
|
3610
|
+
let n = t === d.DASHBOARD ? o.GRID : o.VERTICAL_LIST;
|
|
3611
3611
|
return `import {
|
|
3612
3612
|
definePageLayout,
|
|
3613
3613
|
PageLayoutTabLayoutMode,
|
|
@@ -3836,18 +3836,18 @@ export default defineTimelineActivityType({
|
|
|
3836
3836
|
let { overwrite: e } = await this.handleFileExist();
|
|
3837
3837
|
if (!e) return;
|
|
3838
3838
|
}
|
|
3839
|
-
await st(c, s), console.log(vt.green(`✓ Created ${i}:`), vt.cyan(it(w, c))), r ===
|
|
3839
|
+
await st(c, s), console.log(vt.green(`✓ Created ${i}:`), vt.cyan(it(w, c))), r === _.Object && await this.promptAndCreateObjectCompanions({
|
|
3840
3840
|
objectName: o,
|
|
3841
3841
|
applicationUniversalIdentifier: n,
|
|
3842
3842
|
customPath: t
|
|
3843
|
-
}), r ===
|
|
3843
|
+
}), r === _.ConnectionProvider && await this.registerConnectionProviderServerVariables(o);
|
|
3844
3844
|
} catch (e) {
|
|
3845
3845
|
console.error(vt.red("Add new entity failed:"), e instanceof Error ? e.message : e), process.exit(1);
|
|
3846
3846
|
}
|
|
3847
3847
|
}
|
|
3848
3848
|
async getEntityData(e, t) {
|
|
3849
3849
|
switch (e) {
|
|
3850
|
-
case
|
|
3850
|
+
case _.Object: {
|
|
3851
3851
|
let e = await this.getObjectData(), t = e.nameSingular, n = lt(), r = lt();
|
|
3852
3852
|
return this.lastObjectUniversalIdentifier = n, this.lastNameFieldUniversalIdentifier = r, this.lastObjectLabelSingular = e.labelSingular, {
|
|
3853
3853
|
name: t,
|
|
@@ -3859,7 +3859,7 @@ export default defineTimelineActivityType({
|
|
|
3859
3859
|
})
|
|
3860
3860
|
};
|
|
3861
3861
|
}
|
|
3862
|
-
case
|
|
3862
|
+
case _.Field: {
|
|
3863
3863
|
let e = await this.getFieldData(), t = e.name;
|
|
3864
3864
|
return {
|
|
3865
3865
|
name: t,
|
|
@@ -3869,49 +3869,49 @@ export default defineTimelineActivityType({
|
|
|
3869
3869
|
})
|
|
3870
3870
|
};
|
|
3871
3871
|
}
|
|
3872
|
-
case
|
|
3872
|
+
case _.LogicFunction: {
|
|
3873
3873
|
let t = await this.getEntityName(e);
|
|
3874
3874
|
return {
|
|
3875
3875
|
name: t,
|
|
3876
3876
|
file: qt({ name: t })
|
|
3877
3877
|
};
|
|
3878
3878
|
}
|
|
3879
|
-
case
|
|
3879
|
+
case _.FrontComponent: {
|
|
3880
3880
|
let t = await this.getEntityName(e);
|
|
3881
3881
|
return {
|
|
3882
3882
|
name: t,
|
|
3883
3883
|
file: Kt({ name: t })
|
|
3884
3884
|
};
|
|
3885
3885
|
}
|
|
3886
|
-
case
|
|
3886
|
+
case _.Role: {
|
|
3887
3887
|
let t = await this.getEntityName(e);
|
|
3888
3888
|
return {
|
|
3889
3889
|
name: t,
|
|
3890
3890
|
file: $t({ name: t })
|
|
3891
3891
|
};
|
|
3892
3892
|
}
|
|
3893
|
-
case
|
|
3893
|
+
case _.Skill: {
|
|
3894
3894
|
let t = await this.getEntityName(e);
|
|
3895
3895
|
return {
|
|
3896
3896
|
name: t,
|
|
3897
3897
|
file: nn({ name: t })
|
|
3898
3898
|
};
|
|
3899
3899
|
}
|
|
3900
|
-
case
|
|
3900
|
+
case _.Agent: {
|
|
3901
3901
|
let t = await this.getEntityName(e);
|
|
3902
3902
|
return {
|
|
3903
3903
|
name: t,
|
|
3904
3904
|
file: en({ name: t })
|
|
3905
3905
|
};
|
|
3906
3906
|
}
|
|
3907
|
-
case
|
|
3907
|
+
case _.ConnectionProvider: {
|
|
3908
3908
|
let t = await this.getEntityName(e);
|
|
3909
3909
|
return {
|
|
3910
3910
|
name: t,
|
|
3911
3911
|
file: tn({ name: t })
|
|
3912
3912
|
};
|
|
3913
3913
|
}
|
|
3914
|
-
case
|
|
3914
|
+
case _.View: {
|
|
3915
3915
|
let e = (await this.getViewData()).name;
|
|
3916
3916
|
return {
|
|
3917
3917
|
name: e,
|
|
@@ -3921,23 +3921,23 @@ export default defineTimelineActivityType({
|
|
|
3921
3921
|
})
|
|
3922
3922
|
};
|
|
3923
3923
|
}
|
|
3924
|
-
case
|
|
3924
|
+
case _.ViewField: return {
|
|
3925
3925
|
name: await this.getEntityName(e),
|
|
3926
3926
|
file: on({})
|
|
3927
3927
|
};
|
|
3928
|
-
case
|
|
3928
|
+
case _.NavigationMenuItem: {
|
|
3929
3929
|
let t = await this.getEntityName(e);
|
|
3930
3930
|
return {
|
|
3931
3931
|
name: t,
|
|
3932
3932
|
file: Jt({ name: t })
|
|
3933
3933
|
};
|
|
3934
3934
|
}
|
|
3935
|
-
case
|
|
3935
|
+
case _.PageLayout: {
|
|
3936
3936
|
let t = await this.getEntityName(e), { type: n } = await yt.prompt([{
|
|
3937
3937
|
type: "select",
|
|
3938
3938
|
name: "type",
|
|
3939
3939
|
message: "Select the page layout type:",
|
|
3940
|
-
choices: Object.values(
|
|
3940
|
+
choices: Object.values(d)
|
|
3941
3941
|
}]);
|
|
3942
3942
|
return {
|
|
3943
3943
|
name: t,
|
|
@@ -3947,21 +3947,21 @@ export default defineTimelineActivityType({
|
|
|
3947
3947
|
})
|
|
3948
3948
|
};
|
|
3949
3949
|
}
|
|
3950
|
-
case
|
|
3950
|
+
case _.PageLayoutTab: {
|
|
3951
3951
|
let t = await this.getEntityName(e);
|
|
3952
3952
|
return {
|
|
3953
3953
|
name: t,
|
|
3954
3954
|
file: B({ name: t })
|
|
3955
3955
|
};
|
|
3956
3956
|
}
|
|
3957
|
-
case
|
|
3957
|
+
case _.CommandMenuItem: {
|
|
3958
3958
|
let t = await this.getEntityName(e);
|
|
3959
3959
|
return {
|
|
3960
3960
|
name: t,
|
|
3961
3961
|
file: Xt({ name: t })
|
|
3962
3962
|
};
|
|
3963
3963
|
}
|
|
3964
|
-
case
|
|
3964
|
+
case _.TimelineActivityType: {
|
|
3965
3965
|
let t = await this.getEntityName(e);
|
|
3966
3966
|
return {
|
|
3967
3967
|
name: t,
|
|
@@ -3990,51 +3990,51 @@ export default defineTimelineActivityType({
|
|
|
3990
3990
|
isVisible: !0,
|
|
3991
3991
|
size: 200
|
|
3992
3992
|
}] : []
|
|
3993
|
-
}),
|
|
3994
|
-
await qe(
|
|
3995
|
-
let
|
|
3996
|
-
if (await $e(
|
|
3993
|
+
}), c = n ? rt(w, n) : rt(w, ln, this.getFolderName(_.View));
|
|
3994
|
+
await qe(c);
|
|
3995
|
+
let l = rt(c, `all-${Gt(e)}.ts`);
|
|
3996
|
+
if (await $e(l)) {
|
|
3997
3997
|
let { overwrite: e } = await this.handleFileExist();
|
|
3998
3998
|
if (!e) return;
|
|
3999
3999
|
}
|
|
4000
|
-
await st(
|
|
4001
|
-
let
|
|
4000
|
+
await st(l, o), console.log(vt.green("✓ Created view:"), vt.cyan(it(w, l)));
|
|
4001
|
+
let u = this.buildRecordPageFieldsViewFields(this.lastNameFieldUniversalIdentifier), d = an({
|
|
4002
4002
|
name: `${Gt(e)}-record-page-fields`,
|
|
4003
4003
|
universalIdentifier: a,
|
|
4004
4004
|
objectUniversalIdentifier: this.lastObjectUniversalIdentifier,
|
|
4005
4005
|
applicationUniversalIdentifier: t,
|
|
4006
|
-
type:
|
|
4007
|
-
fields:
|
|
4008
|
-
}),
|
|
4009
|
-
if (await $e(
|
|
4006
|
+
type: s.FIELDS_WIDGET,
|
|
4007
|
+
fields: u
|
|
4008
|
+
}), f = rt(c, `${Gt(e)}-record-page-fields.ts`);
|
|
4009
|
+
if (await $e(f)) {
|
|
4010
4010
|
let { overwrite: e } = await this.handleFileExist();
|
|
4011
4011
|
if (!e) return;
|
|
4012
4012
|
}
|
|
4013
|
-
await st(
|
|
4013
|
+
await st(f, d), console.log(vt.green("✓ Created record-page-fields view:"), vt.cyan(it(w, f)));
|
|
4014
4014
|
let p = Jt({
|
|
4015
4015
|
name: e,
|
|
4016
4016
|
type: "OBJECT",
|
|
4017
4017
|
targetObjectUniversalIdentifier: this.lastObjectUniversalIdentifier
|
|
4018
|
-
}),
|
|
4019
|
-
await qe(
|
|
4020
|
-
let
|
|
4021
|
-
if (await $e(
|
|
4018
|
+
}), m = n ? rt(w, n) : rt(w, ln, this.getFolderName(_.NavigationMenuItem));
|
|
4019
|
+
await qe(m);
|
|
4020
|
+
let h = rt(m, `${Gt(e)}.ts`);
|
|
4021
|
+
if (await $e(h)) {
|
|
4022
4022
|
let { overwrite: e } = await this.handleFileExist();
|
|
4023
4023
|
if (!e) return;
|
|
4024
4024
|
}
|
|
4025
|
-
await st(
|
|
4026
|
-
let
|
|
4025
|
+
await st(h, p), console.log(vt.green("✓ Created navigation menu item:"), vt.cyan(it(w, h)));
|
|
4026
|
+
let g = Qt({
|
|
4027
4027
|
objectLabelSingular: this.lastObjectLabelSingular ?? e,
|
|
4028
4028
|
objectUniversalIdentifier: this.lastObjectUniversalIdentifier,
|
|
4029
4029
|
fieldsWidgetViewUniversalIdentifier: a
|
|
4030
|
-
}), v = n ? rt(w, n) : rt(w, ln, this.getFolderName(
|
|
4030
|
+
}), v = n ? rt(w, n) : rt(w, ln, this.getFolderName(_.PageLayout));
|
|
4031
4031
|
await qe(v);
|
|
4032
4032
|
let y = rt(v, `${Gt(e)}-record-page-layout.ts`);
|
|
4033
4033
|
if (await $e(y)) {
|
|
4034
4034
|
let { overwrite: e } = await this.handleFileExist();
|
|
4035
4035
|
if (!e) return;
|
|
4036
4036
|
}
|
|
4037
|
-
await st(y,
|
|
4037
|
+
await st(y, g), console.log(vt.green("✓ Created record page layout:"), vt.cyan(it(w, y)));
|
|
4038
4038
|
}
|
|
4039
4039
|
async registerConnectionProviderServerVariables(e) {
|
|
4040
4040
|
let t = Gt(e).toUpperCase().replace(/-/g, "_"), n = [{
|
|
@@ -4089,7 +4089,7 @@ export default defineTimelineActivityType({
|
|
|
4089
4089
|
name: "entity",
|
|
4090
4090
|
message: "What entity do you want to create?",
|
|
4091
4091
|
default: "",
|
|
4092
|
-
choices: Object.values(
|
|
4092
|
+
choices: Object.values(_)
|
|
4093
4093
|
}]);
|
|
4094
4094
|
return e;
|
|
4095
4095
|
}
|
|
@@ -4112,7 +4112,7 @@ export default defineTimelineActivityType({
|
|
|
4112
4112
|
return t;
|
|
4113
4113
|
}
|
|
4114
4114
|
async getFieldData() {
|
|
4115
|
-
let e = (e) => e ===
|
|
4115
|
+
let e = (e) => e === f.RELATION || e === f.MORPH_RELATION;
|
|
4116
4116
|
return yt.prompt([
|
|
4117
4117
|
{
|
|
4118
4118
|
type: "input",
|
|
@@ -4132,8 +4132,8 @@ export default defineTimelineActivityType({
|
|
|
4132
4132
|
type: "select",
|
|
4133
4133
|
name: "type",
|
|
4134
4134
|
message: "Select the field type:",
|
|
4135
|
-
choices: Object.values(
|
|
4136
|
-
default:
|
|
4135
|
+
choices: Object.values(f),
|
|
4136
|
+
default: f.TEXT
|
|
4137
4137
|
},
|
|
4138
4138
|
{
|
|
4139
4139
|
type: "input",
|
|
@@ -4168,8 +4168,8 @@ export default defineTimelineActivityType({
|
|
|
4168
4168
|
type: "select",
|
|
4169
4169
|
name: "relationType",
|
|
4170
4170
|
message: "Select the relation type:",
|
|
4171
|
-
choices: Object.values(
|
|
4172
|
-
default:
|
|
4171
|
+
choices: Object.values(p),
|
|
4172
|
+
default: p.ONE_TO_MANY,
|
|
4173
4173
|
when: (t) => e(t.type)
|
|
4174
4174
|
},
|
|
4175
4175
|
{
|
|
@@ -4234,7 +4234,7 @@ export default defineTimelineActivityType({
|
|
|
4234
4234
|
}
|
|
4235
4235
|
getFileName(e, t) {
|
|
4236
4236
|
switch (t) {
|
|
4237
|
-
case
|
|
4237
|
+
case _.FrontComponent: return `${Gt(e)}.tsx`;
|
|
4238
4238
|
default: return `${Gt(e)}.ts`;
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
@@ -4257,9 +4257,9 @@ export default defineTimelineActivityType({
|
|
|
4257
4257
|
} catch {
|
|
4258
4258
|
console.error(vt.red("Invalid JSON payload. Please provide valid JSON.")), process.exit(1);
|
|
4259
4259
|
}
|
|
4260
|
-
let c = t ? "post install" : n ? "pre install" : r ? "uninstall" : i ?? a,
|
|
4261
|
-
console.log(vt.blue(`🚀 Executing function "${c}" on ${
|
|
4262
|
-
let
|
|
4260
|
+
let c = t ? "post install" : n ? "pre install" : r ? "uninstall" : i ?? a, u = se.getActiveRemote();
|
|
4261
|
+
console.log(vt.blue(`🚀 Executing function "${c}" on ${u}...`)), console.log(vt.gray(` Payload: ${JSON.stringify(s)}\n`));
|
|
4262
|
+
let d = await de(t ? {
|
|
4263
4263
|
appPath: e,
|
|
4264
4264
|
postInstall: !0,
|
|
4265
4265
|
payload: s
|
|
@@ -4280,33 +4280,33 @@ export default defineTimelineActivityType({
|
|
|
4280
4280
|
functionName: a,
|
|
4281
4281
|
payload: s
|
|
4282
4282
|
});
|
|
4283
|
-
if (!
|
|
4284
|
-
switch (
|
|
4283
|
+
if (!d.success) {
|
|
4284
|
+
switch (d.error.code) {
|
|
4285
4285
|
case j.MANIFEST_NOT_FOUND:
|
|
4286
4286
|
console.error(vt.red("Failed to build manifest."));
|
|
4287
4287
|
break;
|
|
4288
4288
|
case ee.FETCH_FUNCTIONS_FAILED:
|
|
4289
|
-
console.error(vt.red("Failed to fetch functions:"),
|
|
4289
|
+
console.error(vt.red("Failed to fetch functions:"), d.error.message);
|
|
4290
4290
|
break;
|
|
4291
4291
|
case ee.FUNCTION_NOT_FOUND: {
|
|
4292
|
-
console.error(vt.red(
|
|
4293
|
-
let e =
|
|
4292
|
+
console.error(vt.red(d.error.message), "\n");
|
|
4293
|
+
let e = d.error.details?.availableFunctions ?? [];
|
|
4294
4294
|
e.length > 0 ? (console.log(vt.cyan("Available functions:")), e.forEach((e) => {
|
|
4295
4295
|
console.log(` - ${vt.white(e.name)} (${e.universalIdentifier})`);
|
|
4296
4296
|
})) : console.log(vt.yellow("No functions found for this application. Have you synced your app with `twenty dev`?"));
|
|
4297
4297
|
break;
|
|
4298
4298
|
}
|
|
4299
4299
|
case ee.EXECUTION_FAILED:
|
|
4300
|
-
console.error(vt.red("Execution failed:"),
|
|
4300
|
+
console.error(vt.red("Execution failed:"), d.error.message);
|
|
4301
4301
|
break;
|
|
4302
|
-
default: console.error(vt.red(
|
|
4302
|
+
default: console.error(vt.red(d.error.message));
|
|
4303
4303
|
}
|
|
4304
4304
|
process.exit(1);
|
|
4305
4305
|
}
|
|
4306
|
-
let
|
|
4306
|
+
let f = d.data;
|
|
4307
4307
|
console.log(vt.cyan("─".repeat(60))), console.log(vt.cyan("Execution Result")), console.log(vt.cyan("─".repeat(60)));
|
|
4308
|
-
let
|
|
4309
|
-
console.log(`${vt.bold("Status:")} ${f
|
|
4308
|
+
let p = f.status === "SUCCESS" ? vt.green : vt.red;
|
|
4309
|
+
console.log(`${vt.bold("Status:")} ${p(f.status)}`), console.log(`${vt.bold("Duration:")} ${f.duration}ms\n`), l(f.data) && (console.log(vt.bold("Data:")), console.log(vt.white(JSON.stringify(f.data, null, 2)))), f.error && (console.log(vt.bold.red("Error:")), console.log(vt.red(` Type: ${f.error.errorType}`)), console.log(vt.red(` Message: ${f.error.errorMessage}\n`)), f.error.stackTrace && (console.log(vt.gray("Stack trace:")), console.log(vt.gray(f.error.stackTrace)))), f.logs && (console.log(vt.bold("Logs:")), console.log(vt.gray(f.logs))), console.log(vt.cyan("─".repeat(60))), f.status !== "SUCCESS" && process.exit(1);
|
|
4310
4310
|
}
|
|
4311
4311
|
}, fn = class {
|
|
4312
4312
|
constructor() {
|
|
@@ -4392,7 +4392,7 @@ export default defineTimelineActivityType({
|
|
|
4392
4392
|
}
|
|
4393
4393
|
}), e.command("catalog-sync", { hidden: !0 }).option("-r, --remote <name>", "Sync on a specific remote").action(async (e) => {
|
|
4394
4394
|
hn("catalog-sync", "dev:catalog-sync");
|
|
4395
|
-
let { CatalogSyncCommand: t } = await import("./catalog-sync-
|
|
4395
|
+
let { CatalogSyncCommand: t } = await import("./catalog-sync-mAO3vmdp.mjs");
|
|
4396
4396
|
await new t().execute({ remote: e.remote });
|
|
4397
4397
|
});
|
|
4398
4398
|
}, _n = class {
|
|
@@ -4454,9 +4454,9 @@ export default defineTimelineActivityType({
|
|
|
4454
4454
|
if (e.output = {
|
|
4455
4455
|
isReady: !0,
|
|
4456
4456
|
errorLogged: !1
|
|
4457
|
-
}, e.status = "done", !
|
|
4457
|
+
}, e.status = "done", !l(this.state.frontendUrl)) {
|
|
4458
4458
|
let e = await this.apiService.getWorkspaceFrontendUrl();
|
|
4459
|
-
|
|
4459
|
+
l(e) && (this.state.frontendUrl = e);
|
|
4460
4460
|
}
|
|
4461
4461
|
return n || this.notify(), !0;
|
|
4462
4462
|
}
|
|
@@ -4529,7 +4529,7 @@ export default defineTimelineActivityType({
|
|
|
4529
4529
|
await this.watcher?.close();
|
|
4530
4530
|
}
|
|
4531
4531
|
async copyAndNotify(e) {
|
|
4532
|
-
let t = it(this.appPath, e), n = rt(
|
|
4532
|
+
let t = it(this.appPath, e), n = rt(m, t), r = rt(this.appPath, n);
|
|
4533
4533
|
await qe(nt(r)), await we(e, r);
|
|
4534
4534
|
let i = await at(r), a = mt.createHash("md5").update(i).digest("hex");
|
|
4535
4535
|
this.handleFileBuilt({
|
|
@@ -4540,7 +4540,7 @@ export default defineTimelineActivityType({
|
|
|
4540
4540
|
});
|
|
4541
4541
|
}
|
|
4542
4542
|
async handleUnlink(e) {
|
|
4543
|
-
let t = rt(
|
|
4543
|
+
let t = rt(m, it(this.appPath, e));
|
|
4544
4544
|
await Ze(rt(this.appPath, t));
|
|
4545
4545
|
}
|
|
4546
4546
|
}, Sn = ["package.json", "yarn.lock"], Cn = class {
|
|
@@ -4554,7 +4554,7 @@ export default defineTimelineActivityType({
|
|
|
4554
4554
|
return (this.componentsWatcher?.shouldRestart(e) ?? !0) || this.hasSharedDependenciesManifestChanged(t);
|
|
4555
4555
|
}
|
|
4556
4556
|
async start() {
|
|
4557
|
-
|
|
4557
|
+
l(this.sharedDependencies) && (await this.requestSharedDependenciesBuild(), await this.startInstalledDependenciesWatcher()), this.componentsWatcher = new Ge({
|
|
4558
4558
|
appPath: this.appPath,
|
|
4559
4559
|
sourcePaths: this.sourcePaths,
|
|
4560
4560
|
watch: this.watchMode,
|
|
@@ -4562,11 +4562,11 @@ export default defineTimelineActivityType({
|
|
|
4562
4562
|
handleBuildError: this.handleBuildError,
|
|
4563
4563
|
config: {
|
|
4564
4564
|
externalModules: je,
|
|
4565
|
-
fileFolder:
|
|
4565
|
+
fileFolder: y.BuiltFrontComponent,
|
|
4566
4566
|
jsx: "automatic",
|
|
4567
4567
|
extraPlugins: [
|
|
4568
4568
|
Se(this.appPath, this.shouldSkipTypecheck),
|
|
4569
|
-
...
|
|
4569
|
+
...v({ getSharedDependenciesBuildContext: () => this.sharedDependenciesBuildContext }),
|
|
4570
4570
|
Ee()
|
|
4571
4571
|
]
|
|
4572
4572
|
}
|
|
@@ -4576,7 +4576,7 @@ export default defineTimelineActivityType({
|
|
|
4576
4576
|
this.isApplyingRestart = !0;
|
|
4577
4577
|
try {
|
|
4578
4578
|
let n = this.hasSharedDependenciesManifestChanged(t);
|
|
4579
|
-
this.sourcePaths = e, n && (this.sharedDependenciesBuildGeneration += 1, this.hasSharedDependenciesBuildRequestedDuringInFlightBuild = !1, await this.inFlightSharedDependenciesBuildPromise, await this.installedDependenciesWatcher?.close(), this.installedDependenciesWatcher = null, this.sharedDependencies = t, this.sharedDependenciesBuildContext = null, this.lastSharedDependenciesChecksum = null,
|
|
4579
|
+
this.sourcePaths = e, n && (this.sharedDependenciesBuildGeneration += 1, this.hasSharedDependenciesBuildRequestedDuringInFlightBuild = !1, await this.inFlightSharedDependenciesBuildPromise, await this.installedDependenciesWatcher?.close(), this.installedDependenciesWatcher = null, this.sharedDependencies = t, this.sharedDependenciesBuildContext = null, this.lastSharedDependenciesChecksum = null, l(t) && (await this.requestSharedDependenciesBuild(), await this.startInstalledDependenciesWatcher())), await this.componentsWatcher?.restart(e);
|
|
4580
4580
|
} finally {
|
|
4581
4581
|
this.isApplyingRestart = !1;
|
|
4582
4582
|
}
|
|
@@ -4585,10 +4585,10 @@ export default defineTimelineActivityType({
|
|
|
4585
4585
|
this.isClosed = !0, await this.installedDependenciesWatcher?.close(), this.installedDependenciesWatcher = null, await this.componentsWatcher?.close(), this.componentsWatcher = null;
|
|
4586
4586
|
}
|
|
4587
4587
|
hasSharedDependenciesManifestChanged(e) {
|
|
4588
|
-
return !
|
|
4588
|
+
return !l(e) || !l(this.sharedDependencies) ? l(e) !== l(this.sharedDependencies) : e.dependencies.join(",") !== this.sharedDependencies.dependencies.join(",");
|
|
4589
4589
|
}
|
|
4590
4590
|
async requestSharedDependenciesBuild() {
|
|
4591
|
-
if (
|
|
4591
|
+
if (l(this.inFlightSharedDependenciesBuildPromise)) {
|
|
4592
4592
|
this.hasSharedDependenciesBuildRequestedDuringInFlightBuild = !0;
|
|
4593
4593
|
return;
|
|
4594
4594
|
}
|
|
@@ -4601,7 +4601,7 @@ export default defineTimelineActivityType({
|
|
|
4601
4601
|
}
|
|
4602
4602
|
async runSharedDependenciesBuild() {
|
|
4603
4603
|
let e = this.sharedDependencies, t = this.sharedDependenciesBuildGeneration;
|
|
4604
|
-
if (!
|
|
4604
|
+
if (!l(e)) return;
|
|
4605
4605
|
let n = () => this.isClosed || t !== this.sharedDependenciesBuildGeneration;
|
|
4606
4606
|
try {
|
|
4607
4607
|
let t = null, r = await _e({
|
|
@@ -4625,7 +4625,7 @@ export default defineTimelineActivityType({
|
|
|
4625
4625
|
let e = (await Promise.all(Sn.map(async (e) => {
|
|
4626
4626
|
let t = rt(this.appPath, e);
|
|
4627
4627
|
return await $e(t) ? t : null;
|
|
4628
|
-
}))).filter(
|
|
4628
|
+
}))).filter(l);
|
|
4629
4629
|
ct(e) && (this.installedDependenciesWatcher = bt.watch(e, {
|
|
4630
4630
|
ignoreInitial: !0,
|
|
4631
4631
|
awaitWriteFinish: {
|
|
@@ -4808,7 +4808,7 @@ export default defineTimelineActivityType({
|
|
|
4808
4808
|
async startAssetWatcher() {
|
|
4809
4809
|
this.assetWatcher = new xn({
|
|
4810
4810
|
appPath: this.state.appPath,
|
|
4811
|
-
fileFolder:
|
|
4811
|
+
fileFolder: y.PublicAsset,
|
|
4812
4812
|
watchPaths: [g],
|
|
4813
4813
|
handleFileBuilt: this.handleFileBuilt.bind(this)
|
|
4814
4814
|
}), await this.assetWatcher.start();
|
|
@@ -4816,7 +4816,7 @@ export default defineTimelineActivityType({
|
|
|
4816
4816
|
async startDependencyWatcher() {
|
|
4817
4817
|
this.dependencyWatcher = new xn({
|
|
4818
4818
|
appPath: this.state.appPath,
|
|
4819
|
-
fileFolder:
|
|
4819
|
+
fileFolder: y.Dependencies,
|
|
4820
4820
|
watchPaths: ["package.json", "yarn.lock"],
|
|
4821
4821
|
handleFileBuilt: this.handleFileBuilt.bind(this)
|
|
4822
4822
|
}), this.dependencyWatcher.start();
|
|
@@ -4845,7 +4845,7 @@ export default defineTimelineActivityType({
|
|
|
4845
4845
|
let t = We(e.flatEntity);
|
|
4846
4846
|
return t && t !== e.universalIdentifier ? `${t} (${e.universalIdentifier})` : e.universalIdentifier;
|
|
4847
4847
|
}, jn = (e) => {
|
|
4848
|
-
if (e.type !== "update" || !
|
|
4848
|
+
if (e.type !== "update" || !l(e.diff)) return "";
|
|
4849
4849
|
let t = Object.keys(e.diff);
|
|
4850
4850
|
return t.length === 0 ? "" : ` [${t.join(", ")}] changed`;
|
|
4851
4851
|
}, H = (e) => {
|
|
@@ -4865,7 +4865,7 @@ export default defineTimelineActivityType({
|
|
|
4865
4865
|
n.create > 0 ? `${n.create} created` : null,
|
|
4866
4866
|
n.update > 0 ? `${n.update} updated` : null,
|
|
4867
4867
|
n.delete > 0 ? `${n.delete} deleted` : null
|
|
4868
|
-
].filter(
|
|
4868
|
+
].filter(l).join(", ")}`,
|
|
4869
4869
|
status: "info"
|
|
4870
4870
|
}], i = t.slice(0, On);
|
|
4871
4871
|
for (let e of i) {
|
|
@@ -4978,7 +4978,7 @@ export default defineTimelineActivityType({
|
|
|
4978
4978
|
this.uploadedCount = 0, this.failedCount = 0, this.totalQueued = 0, this.state = e, this.notify = t, this.verbose = n ?? !1;
|
|
4979
4979
|
}
|
|
4980
4980
|
get isInitialized() {
|
|
4981
|
-
return
|
|
4981
|
+
return l(this.state.steps.uploadFiles.output.fileUploader);
|
|
4982
4982
|
}
|
|
4983
4983
|
initialize(e) {
|
|
4984
4984
|
let t = this.state.steps.uploadFiles;
|
|
@@ -4991,32 +4991,11 @@ export default defineTimelineActivityType({
|
|
|
4991
4991
|
}, t.status = "in_progress", this.notify(), this.uploadPendingFiles();
|
|
4992
4992
|
}
|
|
4993
4993
|
uploadFile(e, t, n) {
|
|
4994
|
-
|
|
4995
|
-
if (!r.output.fileUploader) return;
|
|
4996
|
-
r.status = "in_progress", this.totalQueued++, this.verbose && this.state.addEvent({
|
|
4997
|
-
message: `Uploading ${e}`,
|
|
4998
|
-
status: "info"
|
|
4999
|
-
}), this.state.updateEntityStatus(t, "uploading"), this.notify();
|
|
5000
|
-
let i = r.output.fileUploader.uploadFile({
|
|
4994
|
+
this.queueUploads([{
|
|
5001
4995
|
builtPath: e,
|
|
4996
|
+
sourcePath: t,
|
|
5002
4997
|
fileFolder: n
|
|
5003
|
-
})
|
|
5004
|
-
n.success ? (this.uploadedCount++, this.verbose && this.state.addEvent({
|
|
5005
|
-
message: `Successfully uploaded ${e}`,
|
|
5006
|
-
status: "success"
|
|
5007
|
-
}), this.state.updateEntityStatus(t, "success")) : (this.failedCount++, this.state.addEvent({
|
|
5008
|
-
message: `Failed to upload ${e}: ${n.error}`,
|
|
5009
|
-
status: "error"
|
|
5010
|
-
}));
|
|
5011
|
-
}).catch((t) => {
|
|
5012
|
-
this.failedCount++, this.state.addEvent({
|
|
5013
|
-
message: `Upload failed for ${e}: ${t}`,
|
|
5014
|
-
status: "error"
|
|
5015
|
-
});
|
|
5016
|
-
}).finally(() => {
|
|
5017
|
-
r.output.activeUploads.delete(i), r.output.activeUploads.size === 0 && (this.logUploadSummary(), r.status = "done", this.notify());
|
|
5018
|
-
});
|
|
5019
|
-
r.output.activeUploads.add(i);
|
|
4998
|
+
}]);
|
|
5020
4999
|
}
|
|
5021
5000
|
async waitForUploads() {
|
|
5022
5001
|
let e = this.state.steps.uploadFiles;
|
|
@@ -5040,7 +5019,42 @@ export default defineTimelineActivityType({
|
|
|
5040
5019
|
this.uploadedCount = 0, this.failedCount = 0, this.totalQueued = 0;
|
|
5041
5020
|
}
|
|
5042
5021
|
uploadPendingFiles() {
|
|
5043
|
-
|
|
5022
|
+
this.queueUploads(Array.from(this.state.steps.uploadFiles.output.builtFileInfos.entries()).map(([e, { fileFolder: t, sourcePath: n }]) => ({
|
|
5023
|
+
builtPath: e,
|
|
5024
|
+
sourcePath: n,
|
|
5025
|
+
fileFolder: t
|
|
5026
|
+
})));
|
|
5027
|
+
}
|
|
5028
|
+
queueUploads(e) {
|
|
5029
|
+
let t = this.state.steps.uploadFiles, n = t.output.fileUploader;
|
|
5030
|
+
if (!l(n) || e.length === 0) return;
|
|
5031
|
+
t.status = "in_progress", this.totalQueued += e.length, this.verbose && this.state.addEvent({
|
|
5032
|
+
message: `Uploading ${e.map(({ builtPath: e }) => e).join(", ")}`,
|
|
5033
|
+
status: "info"
|
|
5034
|
+
});
|
|
5035
|
+
for (let { sourcePath: t } of e) this.state.updateEntityStatus(t, "uploading");
|
|
5036
|
+
this.notify();
|
|
5037
|
+
let r = n.uploadFiles(e.map(({ builtPath: e, fileFolder: t }) => ({
|
|
5038
|
+
builtPath: e,
|
|
5039
|
+
fileFolder: t
|
|
5040
|
+
}))).then((t) => {
|
|
5041
|
+
for (let e of t) this.failedCount++, this.state.addEvent({
|
|
5042
|
+
message: `Failed to upload ${e.builtPath}: ${e.error}`,
|
|
5043
|
+
status: "error"
|
|
5044
|
+
});
|
|
5045
|
+
for (let { builtPath: n, sourcePath: r } of e) t.some((e) => e.builtPath === n) || (this.uploadedCount++, this.verbose && this.state.addEvent({
|
|
5046
|
+
message: `Successfully uploaded ${n}`,
|
|
5047
|
+
status: "success"
|
|
5048
|
+
}), this.state.updateEntityStatus(r, "success"));
|
|
5049
|
+
}).catch((t) => {
|
|
5050
|
+
this.failedCount += e.length, this.state.addEvent({
|
|
5051
|
+
message: `Upload failed: ${t}`,
|
|
5052
|
+
status: "error"
|
|
5053
|
+
});
|
|
5054
|
+
}).finally(() => {
|
|
5055
|
+
t.output.activeUploads.delete(r), t.output.activeUploads.size === 0 && (this.logUploadSummary(), t.status = "done", this.notify());
|
|
5056
|
+
});
|
|
5057
|
+
t.output.activeUploads.add(r);
|
|
5044
5058
|
}
|
|
5045
5059
|
}, Pn = class {
|
|
5046
5060
|
constructor(e) {
|
|
@@ -5082,7 +5096,7 @@ export default defineTimelineActivityType({
|
|
|
5082
5096
|
}
|
|
5083
5097
|
async start() {
|
|
5084
5098
|
this.isClosed = !1;
|
|
5085
|
-
let e = tt.join(this.state.appPath,
|
|
5099
|
+
let e = tt.join(this.state.appPath, m);
|
|
5086
5100
|
await qe(e), await fe(e), this.state.addEvent({
|
|
5087
5101
|
message: `Using remote "${se.getActiveRemote()}"`,
|
|
5088
5102
|
status: "info"
|
|
@@ -5177,20 +5191,20 @@ export default defineTimelineActivityType({
|
|
|
5177
5191
|
}), !0);
|
|
5178
5192
|
}
|
|
5179
5193
|
}, Fn = {
|
|
5180
|
-
objects:
|
|
5181
|
-
fields:
|
|
5182
|
-
logicFunctions:
|
|
5183
|
-
frontComponents:
|
|
5184
|
-
roles:
|
|
5185
|
-
skills:
|
|
5186
|
-
connectionProviders:
|
|
5187
|
-
views:
|
|
5188
|
-
viewFields:
|
|
5189
|
-
navigationMenuItems:
|
|
5190
|
-
pageLayouts:
|
|
5191
|
-
pageLayoutTabs:
|
|
5192
|
-
commandMenuItems:
|
|
5193
|
-
timelineActivityTypes:
|
|
5194
|
+
objects: _.Object,
|
|
5195
|
+
fields: _.Field,
|
|
5196
|
+
logicFunctions: _.LogicFunction,
|
|
5197
|
+
frontComponents: _.FrontComponent,
|
|
5198
|
+
roles: _.Role,
|
|
5199
|
+
skills: _.Skill,
|
|
5200
|
+
connectionProviders: _.ConnectionProvider,
|
|
5201
|
+
views: _.View,
|
|
5202
|
+
viewFields: _.ViewField,
|
|
5203
|
+
navigationMenuItems: _.NavigationMenuItem,
|
|
5204
|
+
pageLayouts: _.PageLayout,
|
|
5205
|
+
pageLayoutTabs: _.PageLayoutTab,
|
|
5206
|
+
commandMenuItems: _.CommandMenuItem,
|
|
5207
|
+
timelineActivityTypes: _.TimelineActivityType
|
|
5194
5208
|
}, In = 200, Ln = {
|
|
5195
5209
|
pending: [
|
|
5196
5210
|
"building",
|
|
@@ -5410,21 +5424,21 @@ export default defineTimelineActivityType({
|
|
|
5410
5424
|
"↑",
|
|
5411
5425
|
"⇡"
|
|
5412
5426
|
], Kn = {
|
|
5413
|
-
[
|
|
5414
|
-
[
|
|
5415
|
-
[
|
|
5416
|
-
[
|
|
5417
|
-
[
|
|
5418
|
-
[
|
|
5419
|
-
[
|
|
5420
|
-
[
|
|
5421
|
-
[
|
|
5422
|
-
[
|
|
5423
|
-
[
|
|
5424
|
-
[
|
|
5425
|
-
[
|
|
5426
|
-
[
|
|
5427
|
-
[
|
|
5427
|
+
[_.Object]: "Objects",
|
|
5428
|
+
[_.Field]: "Fields",
|
|
5429
|
+
[_.LogicFunction]: "Logic functions",
|
|
5430
|
+
[_.FrontComponent]: "Front components",
|
|
5431
|
+
[_.CommandMenuItem]: "Command menu items",
|
|
5432
|
+
[_.Role]: "Roles",
|
|
5433
|
+
[_.Skill]: "Skills",
|
|
5434
|
+
[_.View]: "Views",
|
|
5435
|
+
[_.ViewField]: "View fields",
|
|
5436
|
+
[_.NavigationMenuItem]: "Navigation menu items",
|
|
5437
|
+
[_.PageLayout]: "Page layouts",
|
|
5438
|
+
[_.PageLayoutTab]: "Page layout tabs",
|
|
5439
|
+
[_.Agent]: "Agents",
|
|
5440
|
+
[_.ConnectionProvider]: "Connection providers",
|
|
5441
|
+
[_.TimelineActivityType]: "Timeline activity types"
|
|
5428
5442
|
}, qn = Object.keys(Kn), Jn = {
|
|
5429
5443
|
info: "gray",
|
|
5430
5444
|
success: "green",
|
|
@@ -5485,7 +5499,7 @@ export default defineTimelineActivityType({
|
|
|
5485
5499
|
}));
|
|
5486
5500
|
}, er = (e) => {
|
|
5487
5501
|
let t = e.steps.resolveApplication.output.applicationId;
|
|
5488
|
-
return !
|
|
5502
|
+
return !l(e.frontendUrl) || !l(t) ? null : `${e.frontendUrl}/settings/applications/${t}`;
|
|
5489
5503
|
}, tr = (e) => e.some((e) => e === "error") ? "error" : e.some((e) => e === "in_progress") ? "in_progress" : e.every((e) => e === "done") ? "done" : "idle", nr = (e) => {
|
|
5490
5504
|
let t = [...e.entities.values()], n = t.some((e) => e.status === "error"), r = t.some((e) => e.status === "building"), i = t.length > 0 && t.every((e) => e.status === "uploading" || e.status === "success"), a = n ? "error" : r ? "in_progress" : i ? "done" : "idle";
|
|
5491
5505
|
return [
|
|
@@ -5971,7 +5985,7 @@ export default defineTimelineActivityType({
|
|
|
5971
5985
|
}
|
|
5972
5986
|
console.log(vt.green("✓ API client generated")), console.log(vt.gray(`Output: ${rt(n, "dist", "core", "generated")}`));
|
|
5973
5987
|
}
|
|
5974
|
-
}, Nr = (e, t) => t !== void 0 && t.length > 0 ? `${t}${e}` : e, Pr = (e) => e.replace(/\s+/g, " ").trim(), U = /* @__PURE__ */
|
|
5988
|
+
}, Nr = (e, t) => t !== void 0 && t.length > 0 ? `${t}${e}` : e, Pr = (e) => e.replace(/\s+/g, " ").trim(), U = /* @__PURE__ */ a(((e, t) => {
|
|
5975
5989
|
var n = {};
|
|
5976
5990
|
((e) => {
|
|
5977
5991
|
var t = Object.defineProperty, n = (e, n) => {
|
|
@@ -5998,7 +6012,7 @@ export default defineTimelineActivityType({
|
|
|
5998
6012
|
ClassificationType: () => nX,
|
|
5999
6013
|
ClassificationTypeNames: () => tX,
|
|
6000
6014
|
CommentDirectiveType: () => qr,
|
|
6001
|
-
Comparison: () =>
|
|
6015
|
+
Comparison: () => l,
|
|
6002
6016
|
CompletionInfoFlags: () => JY,
|
|
6003
6017
|
CompletionTriggerKind: () => BY,
|
|
6004
6018
|
Completions: () => m8,
|
|
@@ -8197,8 +8211,8 @@ export default defineTimelineActivityType({
|
|
|
8197
8211
|
usingSingleLineStringWriter: () => Vf,
|
|
8198
8212
|
utf16EncodeAsString: () => Zs,
|
|
8199
8213
|
validateLocaleAndSetLanguage: () => Bc,
|
|
8200
|
-
version: () =>
|
|
8201
|
-
versionMajorMinor: () =>
|
|
8214
|
+
version: () => c,
|
|
8215
|
+
versionMajorMinor: () => s,
|
|
8202
8216
|
visitArray: () => pB,
|
|
8203
8217
|
visitCommaListElements: () => xB,
|
|
8204
8218
|
visitEachChild: () => SB,
|
|
@@ -8219,7 +8233,7 @@ export default defineTimelineActivityType({
|
|
|
8219
8233
|
writeFileEnsuringDirectories: () => Ry,
|
|
8220
8234
|
zipWith: () => y
|
|
8221
8235
|
}), e.exports = a(o);
|
|
8222
|
-
var
|
|
8236
|
+
var s = "5.7", c = "5.7.3", l = /* @__PURE__ */ ((e) => (e[e.LessThan = -1] = "LessThan", e[e.EqualTo = 0] = "EqualTo", e[e.GreaterThan = 1] = "GreaterThan", e))(l || {}), d = [], f = /* @__PURE__ */ new Map();
|
|
8223
8237
|
function p(e) {
|
|
8224
8238
|
return e === void 0 ? 0 : e.length;
|
|
8225
8239
|
}
|
|
@@ -9136,7 +9150,7 @@ export default defineTimelineActivityType({
|
|
|
9136
9150
|
}
|
|
9137
9151
|
}
|
|
9138
9152
|
function An() {
|
|
9139
|
-
return typeof process < "u" && !!process.nextTick && !process.browser &&
|
|
9153
|
+
return typeof process < "u" && !!process.nextTick && !process.browser && u !== void 0;
|
|
9140
9154
|
}
|
|
9141
9155
|
var jn = /* @__PURE__ */ ((e) => (e[e.Off = 0] = "Off", e[e.Error = 1] = "Error", e[e.Warning = 2] = "Warning", e[e.Info = 3] = "Info", e[e.Verbose = 4] = "Verbose", e))(jn || {}), H;
|
|
9142
9156
|
((e) => {
|
|
@@ -9991,17 +10005,17 @@ ${n.join("\n")}
|
|
|
9991
10005
|
}
|
|
9992
10006
|
var Pr, U;
|
|
9993
10007
|
((e) => {
|
|
9994
|
-
let t, n = 0, r = 0, i, a = [], o,
|
|
9995
|
-
function
|
|
10008
|
+
let t, n = 0, r = 0, i, a = [], o, s = [];
|
|
10009
|
+
function c(c, l, d) {
|
|
9996
10010
|
if (H.assert(!Pr, "Tracing already started"), t === void 0) try {
|
|
9997
|
-
t =
|
|
10011
|
+
t = u("fs");
|
|
9998
10012
|
} catch (e) {
|
|
9999
10013
|
throw Error(`tracing requires having fs
|
|
10000
10014
|
(original error: ${e.message || e})`);
|
|
10001
10015
|
}
|
|
10002
|
-
i =
|
|
10003
|
-
let f = i === "build" ? `.${process.pid}-${++n}` : i === "server" ? `.${process.pid}` : "", p = po(
|
|
10004
|
-
|
|
10016
|
+
i = c, a.length = 0, o === void 0 && (o = po(l, "legend.json")), t.existsSync(l) || t.mkdirSync(l, { recursive: !0 });
|
|
10017
|
+
let f = i === "build" ? `.${process.pid}-${++n}` : i === "server" ? `.${process.pid}` : "", p = po(l, `trace${f}.json`), m = po(l, `types${f}.json`);
|
|
10018
|
+
s.push({
|
|
10005
10019
|
configFilePath: d,
|
|
10006
10020
|
tracePath: p,
|
|
10007
10021
|
typesPath: m
|
|
@@ -10031,11 +10045,11 @@ ${n.join("\n")}
|
|
|
10031
10045
|
}
|
|
10032
10046
|
].map((e) => JSON.stringify(e)).join(",\n"));
|
|
10033
10047
|
}
|
|
10034
|
-
e.startTracing =
|
|
10035
|
-
function
|
|
10036
|
-
H.assert(Pr, "Tracing is not in progress"), H.assert(!!a.length == (i !== "server")), t.writeSync(r, "\n]\n"), t.closeSync(r), Pr = void 0, a.length ? x(a) :
|
|
10048
|
+
e.startTracing = c;
|
|
10049
|
+
function l() {
|
|
10050
|
+
H.assert(Pr, "Tracing is not in progress"), H.assert(!!a.length == (i !== "server")), t.writeSync(r, "\n]\n"), t.closeSync(r), Pr = void 0, a.length ? x(a) : s[s.length - 1].typesPath = void 0;
|
|
10037
10051
|
}
|
|
10038
|
-
e.stopTracing =
|
|
10052
|
+
e.stopTracing = l;
|
|
10039
10053
|
function d(e) {
|
|
10040
10054
|
i !== "server" && a.push(e);
|
|
10041
10055
|
}
|
|
@@ -10095,7 +10109,7 @@ ${n.join("\n")}
|
|
|
10095
10109
|
}
|
|
10096
10110
|
function x(e) {
|
|
10097
10111
|
Cr("beginDumpTypes");
|
|
10098
|
-
let n =
|
|
10112
|
+
let n = s[s.length - 1].typesPath, r = t.openSync(n, "w"), i = /* @__PURE__ */ new Map();
|
|
10099
10113
|
t.writeSync(r, "[");
|
|
10100
10114
|
let a = e.length;
|
|
10101
10115
|
for (let n = 0; n < a; n++) {
|
|
@@ -10185,7 +10199,7 @@ ${n.join("\n")}
|
|
|
10185
10199
|
t.writeSync(r, "]\n"), t.closeSync(r), Cr("endDumpTypes"), wr("Dump types", "beginDumpTypes", "endDumpTypes");
|
|
10186
10200
|
}
|
|
10187
10201
|
function S() {
|
|
10188
|
-
o && t.writeFileSync(o, JSON.stringify(
|
|
10202
|
+
o && t.writeFileSync(o, JSON.stringify(s));
|
|
10189
10203
|
}
|
|
10190
10204
|
e.dumpLegend = S;
|
|
10191
10205
|
})(U ||= {});
|
|
@@ -10762,13 +10776,13 @@ ${n.join("\n")}
|
|
|
10762
10776
|
}
|
|
10763
10777
|
var Ia = (() => {
|
|
10764
10778
|
function e() {
|
|
10765
|
-
let e = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/, t =
|
|
10779
|
+
let e = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/, t = u("fs"), n = u("path"), a = u("os"), o;
|
|
10766
10780
|
try {
|
|
10767
|
-
o =
|
|
10781
|
+
o = u("crypto");
|
|
10768
10782
|
} catch {
|
|
10769
10783
|
o = void 0;
|
|
10770
10784
|
}
|
|
10771
|
-
let
|
|
10785
|
+
let s, c = "./profile.cpuprofile", l = process.platform === "darwin", d = process.platform === "linux" || l, f = { throwIfNoEntry: !1 }, p = a.platform(), m = D(), h = t.realpathSync.native ? process.platform === "win32" ? re : t.realpathSync.native : t.realpathSync, g = r.endsWith("sys.js") ? n.join(n.dirname(i), "__fake__.js") : r, _ = process.platform === "win32" || l, v = z(() => process.cwd()), { watchFile: y, watchDirectory: b } = Pa({
|
|
10772
10786
|
pollingWatchFileWorker: k,
|
|
10773
10787
|
getModifiedTime: ae,
|
|
10774
10788
|
setTimeout,
|
|
@@ -10784,7 +10798,7 @@ ${n.join("\n")}
|
|
|
10784
10798
|
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
|
|
10785
10799
|
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
|
|
10786
10800
|
inodeWatching: d,
|
|
10787
|
-
fsWatchWithTimestamp:
|
|
10801
|
+
fsWatchWithTimestamp: l,
|
|
10788
10802
|
sysLog: Ea
|
|
10789
10803
|
}), x = {
|
|
10790
10804
|
args: process.argv.slice(2),
|
|
@@ -10841,7 +10855,7 @@ ${n.join("\n")}
|
|
|
10841
10855
|
},
|
|
10842
10856
|
enableCPUProfiler: C,
|
|
10843
10857
|
disableCPUProfiler: T,
|
|
10844
|
-
cpuProfilingEnabled: () => !!
|
|
10858
|
+
cpuProfilingEnabled: () => !!s || E(process.execArgv, "--cpu-prof") || E(process.execArgv, "--prof"),
|
|
10845
10859
|
realpath: ie,
|
|
10846
10860
|
debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || I(process.execArgv, (e) => /^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(e)) || !!process.recordreplay,
|
|
10847
10861
|
tryEnableSourceMapsForHost() {
|
|
@@ -10864,7 +10878,7 @@ ${n.join("\n")}
|
|
|
10864
10878
|
try {
|
|
10865
10879
|
let n = ZL(t, e, x);
|
|
10866
10880
|
return {
|
|
10867
|
-
module:
|
|
10881
|
+
module: u(n),
|
|
10868
10882
|
modulePath: n,
|
|
10869
10883
|
error: void 0
|
|
10870
10884
|
};
|
|
@@ -10886,13 +10900,13 @@ ${n.join("\n")}
|
|
|
10886
10900
|
}
|
|
10887
10901
|
}
|
|
10888
10902
|
function C(e, t) {
|
|
10889
|
-
if (
|
|
10903
|
+
if (s) return t(), !1;
|
|
10890
10904
|
let n = oe();
|
|
10891
10905
|
if (!n || !n.Session) return t(), !1;
|
|
10892
10906
|
let r = new n.Session();
|
|
10893
10907
|
return r.connect(), r.post("Profiler.enable", () => {
|
|
10894
10908
|
r.post("Profiler.start", () => {
|
|
10895
|
-
|
|
10909
|
+
s = r, c = e, t();
|
|
10896
10910
|
});
|
|
10897
10911
|
}), !0;
|
|
10898
10912
|
}
|
|
@@ -10905,18 +10919,18 @@ ${n.join("\n")}
|
|
|
10905
10919
|
return t;
|
|
10906
10920
|
}
|
|
10907
10921
|
function T(e) {
|
|
10908
|
-
if (
|
|
10909
|
-
let r =
|
|
10910
|
-
return
|
|
10922
|
+
if (s && s !== "stopping") {
|
|
10923
|
+
let r = s;
|
|
10924
|
+
return s.post("Profiler.stop", (i, { profile: a }) => {
|
|
10911
10925
|
if (!i) {
|
|
10912
|
-
S(
|
|
10926
|
+
S(c)?.isDirectory() && (c = n.join(c, `${(/* @__PURE__ */ new Date()).toISOString().replace(/:/g, "-")}+P${process.pid}.cpuprofile`));
|
|
10913
10927
|
try {
|
|
10914
|
-
t.mkdirSync(n.dirname(
|
|
10928
|
+
t.mkdirSync(n.dirname(c), { recursive: !0 });
|
|
10915
10929
|
} catch {}
|
|
10916
|
-
t.writeFileSync(
|
|
10930
|
+
t.writeFileSync(c, JSON.stringify(w(a)));
|
|
10917
10931
|
}
|
|
10918
|
-
|
|
10919
|
-
}),
|
|
10932
|
+
s = void 0, r.disconnect(), e();
|
|
10933
|
+
}), s = "stopping", !0;
|
|
10920
10934
|
} else return e(), !1;
|
|
10921
10935
|
}
|
|
10922
10936
|
function D() {
|
|
@@ -38294,7 +38308,7 @@ ${n.join("\n")}
|
|
|
38294
38308
|
if (t.traceEnabled) for (let e in n) Qe(n, e) && !Hn.tryParse(e) && sL(t.host, K.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range, e);
|
|
38295
38309
|
let r = TL(n);
|
|
38296
38310
|
if (!r) {
|
|
38297
|
-
t.traceEnabled && sL(t.host, K.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,
|
|
38311
|
+
t.traceEnabled && sL(t.host, K.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0, s);
|
|
38298
38312
|
return;
|
|
38299
38313
|
}
|
|
38300
38314
|
let { version: i, paths: a } = r;
|
|
@@ -38306,7 +38320,7 @@ ${n.join("\n")}
|
|
|
38306
38320
|
}
|
|
38307
38321
|
var wL;
|
|
38308
38322
|
function TL(e) {
|
|
38309
|
-
wL ||= new zn(
|
|
38323
|
+
wL ||= new zn(c);
|
|
38310
38324
|
for (let t in e) {
|
|
38311
38325
|
if (!Qe(e, t)) continue;
|
|
38312
38326
|
let n = Hn.tryParse(t);
|
|
@@ -39153,14 +39167,14 @@ ${n.join("\n")}
|
|
|
39153
39167
|
r.candidateIsFromPackageJsonField = !0, i?.type !== "module" && (r.features &= -33);
|
|
39154
39168
|
let l = cR(o, t, n, r, !1);
|
|
39155
39169
|
return r.features = s, r.candidateIsFromPackageJsonField = c, l;
|
|
39156
|
-
},
|
|
39170
|
+
}, l = o ? !px(no(o), r.host) : void 0, u = n || !px(t, r.host), d = po(t, r.isConfigLookup ? "tsconfig" : "index");
|
|
39157
39171
|
if (a && (!o || jo(t, o))) {
|
|
39158
39172
|
let n = Po(t, o || d, !1);
|
|
39159
|
-
r.traceEnabled && sL(r.host, K.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, a.version,
|
|
39160
|
-
let i = Ew(a.paths), f = UR(e, n, t, a.paths, i, s,
|
|
39173
|
+
r.traceEnabled && sL(r.host, K.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, a.version, c, n);
|
|
39174
|
+
let i = Ew(a.paths), f = UR(e, n, t, a.paths, i, s, l || u, r);
|
|
39161
39175
|
if (f) return dL(f.value);
|
|
39162
39176
|
}
|
|
39163
|
-
let f = o && dL(s(e, o,
|
|
39177
|
+
let f = o && dL(s(e, o, l, r));
|
|
39164
39178
|
if (f) return f;
|
|
39165
39179
|
if (!(r.features & 32)) return mR(e, d, u, r);
|
|
39166
39180
|
}
|
|
@@ -39351,7 +39365,7 @@ ${n.join("\n")}
|
|
|
39351
39365
|
function LR(e, t) {
|
|
39352
39366
|
if (!e.includes("types") || !gn(t, "types@")) return !1;
|
|
39353
39367
|
let n = Hn.tryParse(t.substring(6));
|
|
39354
|
-
return n ? n.test(
|
|
39368
|
+
return n ? n.test(c) : !1;
|
|
39355
39369
|
}
|
|
39356
39370
|
function RR(e, t, n, r, i, a) {
|
|
39357
39371
|
return zR(e, t, n, r, !1, i, a);
|
|
@@ -39393,7 +39407,7 @@ ${n.join("\n")}
|
|
|
39393
39407
|
}
|
|
39394
39408
|
}
|
|
39395
39409
|
function HR(e, t, n, r, i, a, o) {
|
|
39396
|
-
let s = _o(po(n, t)), { packageName:
|
|
39410
|
+
let s = _o(po(n, t)), { packageName: l, rest: u } = kR(t), f = po(n, l), p, m = ER(s, !r, i);
|
|
39397
39411
|
if (u !== "" && m && (!(i.features & 8) || !Qe((p = ER(f, !r, i))?.contents.packageJsonContent ?? d, "exports"))) {
|
|
39398
39412
|
let t = mR(e, s, !r, i);
|
|
39399
39413
|
if (t) return uL(t);
|
|
@@ -39407,7 +39421,7 @@ ${n.join("\n")}
|
|
|
39407
39421
|
if (u !== "" && (m = p ?? ER(f, !r, i)), m && (i.resolvedPackageDirectory = !0), m && m.contents.packageJsonContent.exports && i.features & 8) return jR(m, e, po(".", u), i, a, o)?.value;
|
|
39408
39422
|
let g = u !== "" && m ? wR(m, i) : void 0;
|
|
39409
39423
|
if (g) {
|
|
39410
|
-
i.traceEnabled && sL(i.host, K.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, g.version,
|
|
39424
|
+
i.traceEnabled && sL(i.host, K.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, g.version, c, u);
|
|
39411
39425
|
let t = r && px(f, i.host), n = Ew(g.paths), a = UR(e, u, f, g.paths, n, h, !t, i);
|
|
39412
39426
|
if (a) return a.value;
|
|
39413
39427
|
}
|
|
@@ -73493,9 +73507,9 @@ ${n.join("\n")}
|
|
|
73493
73507
|
function AU(e, t) {
|
|
73494
73508
|
return !!t && !!e;
|
|
73495
73509
|
}
|
|
73496
|
-
function jU(e, t, n, { scriptTransformers: r, declarationTransformers: i }, a, o, s,
|
|
73510
|
+
function jU(e, t, n, { scriptTransformers: r, declarationTransformers: i }, a, o, s, l) {
|
|
73497
73511
|
var u = t.getCompilerOptions(), d = u.sourceMap || u.inlineSourceMap || fC(u) ? [] : void 0, f = u.listEmittedFiles ? [] : void 0, m = Kv(), h = gx(u), g = _y(h), { enter: _, exit: v } = gr("printTime", "beforePrint", "afterPrint"), y = !1;
|
|
73498
|
-
return _(), uU(t, b, My(t, n, s), s, o, !n && !
|
|
73512
|
+
return _(), uU(t, b, My(t, n, s), s, o, !n && !l), v(), {
|
|
73499
73513
|
emitSkipped: y,
|
|
73500
73514
|
diagnostics: m.getDiagnostics(),
|
|
73501
73515
|
emittedFiles: f,
|
|
@@ -73511,7 +73525,7 @@ ${n.join("\n")}
|
|
|
73511
73525
|
y = !0;
|
|
73512
73526
|
return;
|
|
73513
73527
|
}
|
|
73514
|
-
let r = t.getBuildInfo() || { version:
|
|
73528
|
+
let r = t.getBuildInfo() || { version: c };
|
|
73515
73529
|
Iy(t, m, e, MU(r), !1, void 0, { buildInfo: r }), f?.push(e);
|
|
73516
73530
|
}
|
|
73517
73531
|
function S(n, i, o) {
|
|
@@ -76451,7 +76465,7 @@ ${n.join("\n")}
|
|
|
76451
76465
|
};
|
|
76452
76466
|
}
|
|
76453
76467
|
function YW(e, t, n, r, i) {
|
|
76454
|
-
var a, o,
|
|
76468
|
+
var a, o, c, l, u, f, p, h, g, _;
|
|
76455
76469
|
let v = yt(e) ? wre(e, t, n, r, i) : e, { rootNames: y, options: b, configFileParsingDiagnostics: x, projectReferences: C, typeScriptVersion: T } = v, { oldProgram: D } = v;
|
|
76456
76470
|
for (let e of nF) if (Qe(b, e.name) && typeof b[e.name] == "string") throw Error(`${e.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`);
|
|
76457
76471
|
let O = z(() => Hr("ignoreDeprecations", K.Invalid_value_for_ignoreDeprecations)), A, ee, j, M, te, P, F, re = mt(), ie, oe, se, ce, le, ue, de, fe, pe, he, ge, _e, ve, ye, be, xe = typeof b.maxNodeModuleJsDepth == "number" ? b.maxNodeModuleJsDepth : 0, Se = 0, Ce = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map();
|
|
@@ -76488,7 +76502,7 @@ ${n.join("\n")}
|
|
|
76488
76502
|
}), lt = Ee.readFile.bind(Ee);
|
|
76489
76503
|
(o = Pr) == null || o.push(Pr.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!D });
|
|
76490
76504
|
let ut = Cre(D, b);
|
|
76491
|
-
(
|
|
76505
|
+
(c = Pr) == null || c.pop();
|
|
76492
76506
|
let dt;
|
|
76493
76507
|
if ((l = Pr) == null || l.push(Pr.Phase.Program, "tryReuseStructureFromOldProgram", {}), dt = Xt(), (u = Pr) == null || u.pop(), dt !== 2) {
|
|
76494
76508
|
if (A = [], ee = [], C && (tt ||= C.map(xr), y.length && tt?.forEach((e, t) => {
|
|
@@ -77640,7 +77654,7 @@ ${n.join("\n")}
|
|
|
77640
77654
|
return zn.zero;
|
|
77641
77655
|
}
|
|
77642
77656
|
function Er(e, t, n, r) {
|
|
77643
|
-
let i = new zn(e), a = new zn(t), o = new zn(T ||
|
|
77657
|
+
let i = new zn(e), a = new zn(t), o = new zn(T || s), c = Tr(), l = a.compareTo(o) !== 1, u = !l && c.compareTo(i) === -1;
|
|
77644
77658
|
(l || u) && r((r, i, a) => {
|
|
77645
77659
|
l ? i === void 0 ? n(r, i, a, K.Option_0_has_been_removed_Please_remove_it_from_your_configuration, r) : n(r, i, a, K.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, r, i) : i === void 0 ? n(r, i, a, K.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, r, t, e) : n(r, i, a, K.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, r, i, t, e);
|
|
77646
77660
|
});
|
|
@@ -78571,7 +78585,7 @@ ${n.join("\n")}
|
|
|
78571
78585
|
root: it(o, (e) => y(e)),
|
|
78572
78586
|
errors: e.hasErrors ? !0 : void 0,
|
|
78573
78587
|
checkPending: e.checkPending,
|
|
78574
|
-
version:
|
|
78588
|
+
version: c
|
|
78575
78589
|
};
|
|
78576
78590
|
let s = [];
|
|
78577
78591
|
if (e.compilerOptions.outFile) return {
|
|
@@ -78593,9 +78607,9 @@ ${n.join("\n")}
|
|
|
78593
78607
|
pendingEmit: e.programEmitPending ? e.programEmitPending === hG(e.compilerOptions) ? !1 : e.programEmitPending : void 0,
|
|
78594
78608
|
errors: e.hasErrors ? !0 : void 0,
|
|
78595
78609
|
checkPending: e.checkPending,
|
|
78596
|
-
version:
|
|
78610
|
+
version: c
|
|
78597
78611
|
};
|
|
78598
|
-
let
|
|
78612
|
+
let l, u, f, p = it(e.fileInfos.entries(), ([t, n]) => {
|
|
78599
78613
|
let r = b(t);
|
|
78600
78614
|
S(t, r), H.assert(i[r - 1] === y(t));
|
|
78601
78615
|
let a = e.oldSignatures?.get(t), o = a === void 0 ? n.signature : a || void 0;
|
|
@@ -78636,7 +78650,7 @@ ${n.join("\n")}
|
|
|
78636
78650
|
}
|
|
78637
78651
|
return {
|
|
78638
78652
|
fileNames: i,
|
|
78639
|
-
fileIdsList:
|
|
78653
|
+
fileIdsList: l,
|
|
78640
78654
|
fileInfos: p,
|
|
78641
78655
|
root: s,
|
|
78642
78656
|
resolvedRoot: C(),
|
|
@@ -78650,7 +78664,7 @@ ${n.join("\n")}
|
|
|
78650
78664
|
latestChangedDtsFile: r,
|
|
78651
78665
|
errors: e.hasErrors ? !0 : void 0,
|
|
78652
78666
|
checkPending: e.checkPending,
|
|
78653
|
-
version:
|
|
78667
|
+
version: c
|
|
78654
78668
|
};
|
|
78655
78669
|
function v(e) {
|
|
78656
78670
|
return y(go(e, t));
|
|
@@ -78664,7 +78678,7 @@ ${n.join("\n")}
|
|
|
78664
78678
|
}
|
|
78665
78679
|
function x(e) {
|
|
78666
78680
|
let t = it(e.keys(), b).sort(Bt), n = t.join(), r = u?.get(n);
|
|
78667
|
-
return r === void 0 && (
|
|
78681
|
+
return r === void 0 && (l = De(l, t), (u ??= /* @__PURE__ */ new Map()).set(n, r = l.length)), r;
|
|
78668
78682
|
}
|
|
78669
78683
|
function S(t, n) {
|
|
78670
78684
|
let r = e.program.getSourceFile(t);
|
|
@@ -80045,7 +80059,7 @@ ${n.join("\n")}
|
|
|
80045
80059
|
if (!e) return;
|
|
80046
80060
|
r = NU(n, e);
|
|
80047
80061
|
}
|
|
80048
|
-
if (!(!r || r.version !==
|
|
80062
|
+
if (!(!r || r.version !== c || !BG(r))) return eK(r, n, t);
|
|
80049
80063
|
}
|
|
80050
80064
|
function aq(e, t = Ia) {
|
|
80051
80065
|
let n = cW(e, void 0, t);
|
|
@@ -80806,8 +80820,8 @@ ${n.join("\n")}
|
|
|
80806
80820
|
}
|
|
80807
80821
|
}
|
|
80808
80822
|
if (i) return { type: 17 };
|
|
80809
|
-
let { host: a } = e, o = dU(t.options), s = dC(t.options),
|
|
80810
|
-
if (u === ua) return
|
|
80823
|
+
let { host: a } = e, o = dU(t.options), s = dC(t.options), l = Xq(e, o, n), u = l?.modifiedTime || da(a, o);
|
|
80824
|
+
if (u === ua) return l || e.buildInfoCache.set(n, {
|
|
80811
80825
|
path: wq(e, o),
|
|
80812
80826
|
buildInfo: !1,
|
|
80813
80827
|
modifiedTime: u
|
|
@@ -80821,7 +80835,7 @@ ${n.join("\n")}
|
|
|
80821
80835
|
fileName: o
|
|
80822
80836
|
};
|
|
80823
80837
|
let p = s && BG(f) ? f : void 0;
|
|
80824
|
-
if ((p || !s) && f.version !==
|
|
80838
|
+
if ((p || !s) && f.version !== c) return {
|
|
80825
80839
|
type: 14,
|
|
80826
80840
|
version: f.version
|
|
80827
80841
|
};
|
|
@@ -80894,7 +80908,7 @@ ${n.join("\n")}
|
|
|
80894
80908
|
let C = !1;
|
|
80895
80909
|
if (r) for (let { ref: t, refStatus: i, resolvedConfig: a, resolvedRefPath: s } of r) {
|
|
80896
80910
|
if (i.newestInputFileTime && i.newestInputFileTime <= h) continue;
|
|
80897
|
-
if (Bre(e,
|
|
80911
|
+
if (Bre(e, l ??= e.buildInfoCache.get(n), s)) return {
|
|
80898
80912
|
type: 6,
|
|
80899
80913
|
outOfDateOutputFileName: o,
|
|
80900
80914
|
newerProjectName: t.path
|
|
@@ -81183,7 +81197,7 @@ ${n.join("\n")}
|
|
|
81183
81197
|
case 11: return yJ(e, K.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date, vJ(e, t), vJ(e, n.upstreamProjectName));
|
|
81184
81198
|
case 12: return yJ(e, n.upstreamProjectBlocked ? K.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : K.Project_0_can_t_be_built_because_its_dependency_1_has_errors, vJ(e, t), vJ(e, n.upstreamProjectName));
|
|
81185
81199
|
case 0: return yJ(e, K.Project_0_is_out_of_date_because_1, vJ(e, t), n.reason);
|
|
81186
|
-
case 14: return yJ(e, K.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2, vJ(e, t), n.version,
|
|
81200
|
+
case 14: return yJ(e, K.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2, vJ(e, t), n.version, c);
|
|
81187
81201
|
case 17: return yJ(e, K.Project_0_is_being_forcibly_rebuilt, vJ(e, t));
|
|
81188
81202
|
case 16:
|
|
81189
81203
|
case 13: break;
|
|
@@ -81224,7 +81238,7 @@ ${n.join("\n")}
|
|
|
81224
81238
|
return e.options.all ? Pe(KP.concat(iF), (e, t) => Wt(e.name, t.name)) : k(KP.concat(iF), (e) => !!e.showInSimplifiedHelpView);
|
|
81225
81239
|
}
|
|
81226
81240
|
function MJ(e) {
|
|
81227
|
-
e.write(kF(K.Version_0,
|
|
81241
|
+
e.write(kF(K.Version_0, c) + e.newLine);
|
|
81228
81242
|
}
|
|
81229
81243
|
function NJ(e) {
|
|
81230
81244
|
if (!kJ(e)) return {
|
|
@@ -81366,7 +81380,7 @@ ${n.join("\n")}
|
|
|
81366
81380
|
}), a && o.push(a + e.newLine + e.newLine), o;
|
|
81367
81381
|
}
|
|
81368
81382
|
function Yre(e, t) {
|
|
81369
|
-
let n = NJ(e), r = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0,
|
|
81383
|
+
let n = NJ(e), r = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
81370
81384
|
r.push(n.bold(kF(K.COMMON_COMMANDS)) + e.newLine + e.newLine), o("tsc", K.Compiles_the_current_project_tsconfig_json_in_the_working_directory), o("tsc app.ts util.ts", K.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options), o("tsc -b", K.Build_a_composite_project_in_the_working_directory), o("tsc --init", K.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory), o("tsc -p ./path/to/tsconfig.json", K.Compiles_the_TypeScript_project_located_at_the_specified_path), o("tsc --help --all", K.An_expanded_version_of_this_information_showing_all_possible_compiler_options), o(["tsc --noEmit", "tsc --target esnext"], K.Compiles_the_current_project_with_additional_settings);
|
|
81371
81385
|
let i = t.filter((e) => e.isCommandLineOnly || e.category === K.Command_line_Options), a = t.filter((e) => !E(i, e));
|
|
81372
81386
|
r = [
|
|
@@ -81382,12 +81396,12 @@ ${n.join("\n")}
|
|
|
81382
81396
|
}
|
|
81383
81397
|
}
|
|
81384
81398
|
function LJ(e, t, n, r) {
|
|
81385
|
-
let i = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0,
|
|
81399
|
+
let i = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
81386
81400
|
i = [...i, ...IJ(e, kF(K.ALL_COMPILER_OPTIONS), t, !0, void 0, jS(K.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc"))], i = [...i, ...IJ(e, kF(K.WATCH_OPTIONS), r, !1, kF(K.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon))], i = [...i, ...IJ(e, kF(K.BUILD_OPTIONS), k(n, (e) => e !== iF), !1, jS(K.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds"))];
|
|
81387
81401
|
for (let t of i) e.write(t);
|
|
81388
81402
|
}
|
|
81389
81403
|
function Xre(e, t) {
|
|
81390
|
-
let n = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0,
|
|
81404
|
+
let n = [...RJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
81391
81405
|
n = [...n, ...IJ(e, kF(K.BUILD_OPTIONS), k(t, (e) => e !== iF), !1, jS(K.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds"))];
|
|
81392
81406
|
for (let t of n) e.write(t);
|
|
81393
81407
|
}
|
|
@@ -82206,7 +82220,7 @@ ${n.join("\n")}
|
|
|
82206
82220
|
return CY(JSON.stringify(e, void 0, 2));
|
|
82207
82221
|
}
|
|
82208
82222
|
function TY(e, t) {
|
|
82209
|
-
return new zn($e(t, `ts${
|
|
82223
|
+
return new zn($e(t, `ts${s}`) || $e(t, "latest")).compareTo(e.version) <= 0;
|
|
82210
82224
|
}
|
|
82211
82225
|
function EY(e) {
|
|
82212
82226
|
return tE.has(e) ? "node" : e;
|
|
@@ -108416,7 +108430,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
108416
108430
|
ClassificationType: () => nX,
|
|
108417
108431
|
ClassificationTypeNames: () => tX,
|
|
108418
108432
|
CommentDirectiveType: () => qr,
|
|
108419
|
-
Comparison: () =>
|
|
108433
|
+
Comparison: () => l,
|
|
108420
108434
|
CompletionInfoFlags: () => JY,
|
|
108421
108435
|
CompletionTriggerKind: () => BY,
|
|
108422
108436
|
Completions: () => m8,
|
|
@@ -110615,8 +110629,8 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
110615
110629
|
usingSingleLineStringWriter: () => Vf,
|
|
110616
110630
|
utf16EncodeAsString: () => Zs,
|
|
110617
110631
|
validateLocaleAndSetLanguage: () => Bc,
|
|
110618
|
-
version: () =>
|
|
110619
|
-
versionMajorMinor: () =>
|
|
110632
|
+
version: () => c,
|
|
110633
|
+
versionMajorMinor: () => s,
|
|
110620
110634
|
visitArray: () => pB,
|
|
110621
110635
|
visitCommaListElements: () => xB,
|
|
110622
110636
|
visitEachChild: () => SB,
|
|
@@ -110639,7 +110653,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
110639
110653
|
});
|
|
110640
110654
|
var FOe = !0, IOe;
|
|
110641
110655
|
function LOe() {
|
|
110642
|
-
return IOe ??= new zn(
|
|
110656
|
+
return IOe ??= new zn(c);
|
|
110643
110657
|
}
|
|
110644
110658
|
function ROe(e, t, n, r, i) {
|
|
110645
110659
|
let a = t ? "DeprecationError: " : "DeprecationWarning: ";
|
|
@@ -110994,7 +111008,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
110994
111008
|
this.installRunCount++, this.sendResponse({
|
|
110995
111009
|
kind: mY,
|
|
110996
111010
|
eventId: a,
|
|
110997
|
-
typingsInstallerVersion:
|
|
111011
|
+
typingsInstallerVersion: c,
|
|
110998
111012
|
projectName: e.projectName
|
|
110999
111013
|
});
|
|
111000
111014
|
let o = i.map($Oe);
|
|
@@ -111015,7 +111029,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
111015
111029
|
}
|
|
111016
111030
|
let r = this.typesRegistry.get(e), i = {
|
|
111017
111031
|
typingLocation: n,
|
|
111018
|
-
version: new zn(r[`ts${
|
|
111032
|
+
version: new zn(r[`ts${s}`] || r[this.latestDistTag])
|
|
111019
111033
|
};
|
|
111020
111034
|
this.packageNameToTypingLocation.set(e, i), a.push(n);
|
|
111021
111035
|
}
|
|
@@ -111027,7 +111041,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
111027
111041
|
projectName: e.projectName,
|
|
111028
111042
|
packagesToInstall: o,
|
|
111029
111043
|
installSuccess: r,
|
|
111030
|
-
typingsInstallerVersion:
|
|
111044
|
+
typingsInstallerVersion: c
|
|
111031
111045
|
};
|
|
111032
111046
|
this.sendResponse(t);
|
|
111033
111047
|
}
|
|
@@ -111082,7 +111096,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
111082
111096
|
}
|
|
111083
111097
|
};
|
|
111084
111098
|
function $Oe(e) {
|
|
111085
|
-
return `@types/${e}@ts${
|
|
111099
|
+
return `@types/${e}@ts${s}`;
|
|
111086
111100
|
}
|
|
111087
111101
|
var eke = /* @__PURE__ */ ((e) => (e[e.terse = 0] = "terse", e[e.normal = 1] = "normal", e[e.requestTime = 2] = "requestTime", e[e.verbose = 3] = "verbose", e))(eke || {}), t9 = cke(), tke = /* @__PURE__ */ ((e) => (e.Err = "Err", e.Info = "Info", e.Perf = "Perf", e))(tke || {});
|
|
111088
111102
|
function nke(e, t, n, r) {
|
|
@@ -113600,7 +113614,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
113600
113614
|
configFileName: r(),
|
|
113601
113615
|
projectType: e instanceof d9 ? "external" : "configured",
|
|
113602
113616
|
languageServiceEnabled: e.languageServiceEnabled,
|
|
113603
|
-
version:
|
|
113617
|
+
version: c
|
|
113604
113618
|
};
|
|
113605
113619
|
this.eventHandler({
|
|
113606
113620
|
eventName: T9,
|
|
@@ -115015,7 +115029,7 @@ ${a}${r}`;
|
|
|
115015
115029
|
constructor(e) {
|
|
115016
115030
|
this.changeSeq = 0, this.regionDiagLineCountThreshold = 500, this.handlers = new Map(Object.entries({
|
|
115017
115031
|
status: () => {
|
|
115018
|
-
let e = { version:
|
|
115032
|
+
let e = { version: c };
|
|
115019
115033
|
return this.requiredResponse(e);
|
|
115020
115034
|
},
|
|
115021
115035
|
openExternalProject: (e) => (this.projectService.openExternalProject(e.arguments, !0), this.requiredResponse(!0)),
|
|
@@ -117376,7 +117390,7 @@ ${t.message}`), t;
|
|
|
117376
117390
|
n = e, t !== void 0 && t.exports && (t.exports = e);
|
|
117377
117391
|
}
|
|
117378
117392
|
});
|
|
117379
|
-
})), Fr = /* @__PURE__ */
|
|
117393
|
+
})), Fr = /* @__PURE__ */ a(((e, t) => {
|
|
117380
117394
|
t.exports = n;
|
|
117381
117395
|
function n(e, t, n) {
|
|
117382
117396
|
e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
|
|
@@ -117403,7 +117417,7 @@ ${t.message}`), t;
|
|
|
117403
117417
|
}
|
|
117404
117418
|
return s;
|
|
117405
117419
|
}
|
|
117406
|
-
})), Ir = /* @__PURE__ */
|
|
117420
|
+
})), Ir = /* @__PURE__ */ a(((e, t) => {
|
|
117407
117421
|
var n = Fr();
|
|
117408
117422
|
t.exports = m;
|
|
117409
117423
|
var r = "\0SLASH" + Math.random() + "\0", i = "\0OPEN" + Math.random() + "\0", a = "\0CLOSE" + Math.random() + "\0", o = "\0COMMA" + Math.random() + "\0", s = "\0PERIOD" + Math.random() + "\0", c = 1e5, l = 4e6;
|
|
@@ -117520,14 +117534,14 @@ ${t.message}`), t;
|
|
|
117520
117534
|
}
|
|
117521
117535
|
return o;
|
|
117522
117536
|
}
|
|
117523
|
-
})), Lr = /* @__PURE__ */
|
|
117537
|
+
})), Lr = /* @__PURE__ */ a(((e) => {
|
|
117524
117538
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assertValidPattern = void 0;
|
|
117525
117539
|
var t = 1024 * 64;
|
|
117526
117540
|
e.assertValidPattern = (e) => {
|
|
117527
117541
|
if (typeof e != "string") throw TypeError("invalid pattern");
|
|
117528
117542
|
if (e.length > t) throw TypeError("pattern is too long");
|
|
117529
117543
|
};
|
|
117530
|
-
})), Rr = /* @__PURE__ */
|
|
117544
|
+
})), Rr = /* @__PURE__ */ a(((e) => {
|
|
117531
117545
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.parseClass = void 0;
|
|
117532
117546
|
var t = {
|
|
117533
117547
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0],
|
|
@@ -117621,9 +117635,9 @@ ${t.message}`), t;
|
|
|
117621
117635
|
!0
|
|
117622
117636
|
];
|
|
117623
117637
|
};
|
|
117624
|
-
})), zr = /* @__PURE__ */
|
|
117638
|
+
})), zr = /* @__PURE__ */ a(((e) => {
|
|
117625
117639
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.unescape = void 0, e.unescape = (e, { windowsPathsNoEscape: t = !1 } = {}) => t ? e.replace(/\[([^\/\\])\]/g, "$1") : e.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
117626
|
-
})), Br = /* @__PURE__ */
|
|
117640
|
+
})), Br = /* @__PURE__ */ a(((e) => {
|
|
117627
117641
|
var t;
|
|
117628
117642
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AST = void 0;
|
|
117629
117643
|
var n = Rr(), r = zr(), i = new Set([
|
|
@@ -117981,9 +117995,9 @@ ${t.message}`), t;
|
|
|
117981
117995
|
}
|
|
117982
117996
|
};
|
|
117983
117997
|
e.AST = b, t = b;
|
|
117984
|
-
})), Vr = /* @__PURE__ */
|
|
117998
|
+
})), Vr = /* @__PURE__ */ a(((e) => {
|
|
117985
117999
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.escape = void 0, e.escape = (e, { windowsPathsNoEscape: t = !1 } = {}) => t ? e.replace(/[?*()[\]]/g, "[$&]") : e.replace(/[?*()[\]\\]/g, "\\$&");
|
|
117986
|
-
})), Hr = /* @__PURE__ */
|
|
118000
|
+
})), Hr = /* @__PURE__ */ a(((e) => {
|
|
117987
118001
|
var t = e && e.__importDefault || function(e) {
|
|
117988
118002
|
return e && e.__esModule ? e : { default: e };
|
|
117989
118003
|
};
|
|
@@ -118388,7 +118402,7 @@ ${t.message}`), t;
|
|
|
118388
118402
|
return F.unescape;
|
|
118389
118403
|
}
|
|
118390
118404
|
}), e.minimatch.AST = i.AST, e.minimatch.Minimatch = ne, e.minimatch.escape = a.escape, e.minimatch.unescape = o.unescape;
|
|
118391
|
-
})), Ur = /* @__PURE__ */
|
|
118405
|
+
})), Ur = /* @__PURE__ */ a(((e, t) => {
|
|
118392
118406
|
function n(e) {
|
|
118393
118407
|
if (typeof e != "string") throw TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
118394
118408
|
}
|
|
@@ -118555,12 +118569,12 @@ ${t.message}`), t;
|
|
|
118555
118569
|
posix: null
|
|
118556
118570
|
};
|
|
118557
118571
|
a.posix = a, t.exports = a;
|
|
118558
|
-
})), Wr = /* @__PURE__ */
|
|
118559
|
-
var t = U(), n = Hr(), r = oe(), i =
|
|
118560
|
-
function
|
|
118572
|
+
})), Wr = /* @__PURE__ */ a(((e) => {
|
|
118573
|
+
var t = U(), n = Hr(), r = oe(), i = u("fs"), a = u("fs/promises"), o = u("os"), s = u("path");
|
|
118574
|
+
function c(e) {
|
|
118561
118575
|
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
118562
118576
|
}
|
|
118563
|
-
function
|
|
118577
|
+
function l(e) {
|
|
118564
118578
|
if (e && typeof e == "object" && "default" in e) return e;
|
|
118565
118579
|
var t = Object.create(null);
|
|
118566
118580
|
return e && Object.keys(e).forEach(function(n) {
|
|
@@ -118575,7 +118589,7 @@ ${t.message}`), t;
|
|
|
118575
118589
|
}
|
|
118576
118590
|
}), t.default = e, Object.freeze(t);
|
|
118577
118591
|
}
|
|
118578
|
-
var d = /*#__PURE__*/
|
|
118592
|
+
var d = /*#__PURE__*/ l(t), f = /*#__PURE__*/ l(n), p = /*#__PURE__*/ c(r), m = /*#__PURE__*/ l(i), h = /*#__PURE__*/ l(a), g = /*#__PURE__*/ l(o), _ = /*#__PURE__*/ l(s), v = class {
|
|
118579
118593
|
#e = /* @__PURE__ */ new Map();
|
|
118580
118594
|
getSize() {
|
|
118581
118595
|
return this.#e.size;
|
|
@@ -121066,7 +121080,7 @@ ${t.message}`), t;
|
|
|
121066
121080
|
return t.TypeFormatFlags;
|
|
121067
121081
|
}
|
|
121068
121082
|
}), e.ts = d, e.ArrayUtils = C, e.ComparerToStoredComparer = y, e.CompilerOptionsContainer = tt, e.DocumentRegistry = Je, e.EventContainer = T, e.FileUtils = Oe, e.InMemoryFileSystemHost = ze, e.IterableUtils = E, e.KeyValueCache = v, e.LocaleStringComparer = b, e.Memoize = Xe, e.ObjectUtils = O, e.PropertyComparer = x, e.PropertyStoredComparer = S, e.RealFileSystemHost = He, e.ResolutionHosts = Ye, e.SettingsContainer = et, e.SortedKeyValueArray = ae, e.StringUtils = ie, e.TransactionalFileSystem = Ge, e.TsConfigResolver = ot, e.WeakCache = se, e.createDocumentCache = le, e.createHosts = Te, e.createModuleResolutionHost = qe, e.deepClone = w, e.getCompilerOptionsFromTsConfig = st, e.getEmitModuleResolutionKind = ee, e.getFileMatcherPatterns = A, e.getLibFiles = I, e.getLibFolderPath = me, e.getSyntaxKindName = j, e.libFolderInMemoryPath = pe, e.matchFiles = k, e.matchGlobs = Ie, e.nameof = D, e.runtime = Se;
|
|
121069
|
-
})), Gr = /* @__PURE__ */
|
|
121083
|
+
})), Gr = /* @__PURE__ */ a(((e) => {
|
|
121070
121084
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getStringFromStrOrFunc = e.escapeForWithinString = void 0;
|
|
121071
121085
|
function t(e, t) {
|
|
121072
121086
|
let n = "";
|
|
@@ -121078,7 +121092,7 @@ ${t.message}`), t;
|
|
|
121078
121092
|
return e instanceof Function ? e() : e;
|
|
121079
121093
|
}
|
|
121080
121094
|
e.getStringFromStrOrFunc = n;
|
|
121081
|
-
})), Kr = /* @__PURE__ */
|
|
121095
|
+
})), Kr = /* @__PURE__ */ a(((e) => {
|
|
121082
121096
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
121083
121097
|
var t = Gr(), n;
|
|
121084
121098
|
(function(e) {
|
|
@@ -121529,7 +121543,7 @@ ${t.message}`), t;
|
|
|
121529
121543
|
tabsCount: n
|
|
121530
121544
|
};
|
|
121531
121545
|
}
|
|
121532
|
-
})), qr = (/* @__PURE__ */
|
|
121546
|
+
})), qr = (/* @__PURE__ */ a(((e) => {
|
|
121533
121547
|
var t = Wr(), n = Kr();
|
|
121534
121548
|
function r(e) {
|
|
121535
121549
|
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
@@ -136307,10 +136321,10 @@ ${t.message}`), t;
|
|
|
136307
136321
|
timelineActivityType: "timelineActivityTypes"
|
|
136308
136322
|
}, ri = (e) => {
|
|
136309
136323
|
let t = /* @__PURE__ */ new Map(), n = (e, n) => {
|
|
136310
|
-
if (!(typeof e != "object" || !e)) for (let r of
|
|
136324
|
+
if (!(typeof e != "object" || !e)) for (let r of Le[n]) {
|
|
136311
136325
|
let i = e[r];
|
|
136312
136326
|
if (typeof i != "string" || i.length === 0) continue;
|
|
136313
|
-
let a =
|
|
136327
|
+
let a = He(n, r);
|
|
136314
136328
|
t.set(JSON.stringify([a, i]), {
|
|
136315
136329
|
message: i,
|
|
136316
136330
|
context: a
|
|
@@ -136410,10 +136424,10 @@ ${t.message}`), t;
|
|
|
136410
136424
|
});
|
|
136411
136425
|
}), e.command("dev:typecheck [appPath]").description("Run TypeScript type checking").action(async (e) => {
|
|
136412
136426
|
await i.execute({ appPath: Dt(e) });
|
|
136413
|
-
}), e.command("dev:add [entityType]").description(`Scaffold a new entity (${Object.values(
|
|
136427
|
+
}), e.command("dev:add [entityType]").description(`Scaffold a new entity (${Object.values(_).join("|")})`).option("--path <path>", "Path in which the entity should be created.").action(async (e, t) => {
|
|
136414
136428
|
await a.execute(e, t?.path);
|
|
136415
136429
|
}), e.command("dev:catalog-sync").description("Trigger marketplace catalog sync").option("-r, --remote <name>", "Sync on a specific remote").action(async (e) => {
|
|
136416
|
-
let { CatalogSyncCommand: t } = await import("./catalog-sync-
|
|
136430
|
+
let { CatalogSyncCommand: t } = await import("./catalog-sync-mAO3vmdp.mjs");
|
|
136417
136431
|
await new t().execute({ remote: e.remote });
|
|
136418
136432
|
}), e.command("dev:generate-client [appPath]").description("Generate the typed API client from the active remote (no app definition required)").action(async (e) => {
|
|
136419
136433
|
await o.execute({ appPath: Dt(e) });
|
|
@@ -136500,7 +136514,7 @@ ${t.message}`), t;
|
|
|
136500
136514
|
n("upgrade", "docker:upgrade"), await mi(e, t);
|
|
136501
136515
|
}), t.command("catalog-sync").option("-r, --remote <name>", "Sync on a specific remote").action(async (e) => {
|
|
136502
136516
|
n("catalog-sync", "dev:catalog-sync");
|
|
136503
|
-
let { CatalogSyncCommand: t } = await import("./catalog-sync-
|
|
136517
|
+
let { CatalogSyncCommand: t } = await import("./catalog-sync-mAO3vmdp.mjs");
|
|
136504
136518
|
await new t().execute({ remote: e.remote });
|
|
136505
136519
|
});
|
|
136506
136520
|
}, gi = /^(\d{1,3}\.){3}\d{1,3}$/, _i = (e) => {
|