create-twenty-app 2.10.1 → 2.12.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.
Files changed (3) hide show
  1. package/dist/cli.cjs +29 -29
  2. package/dist/cli.mjs +190 -187
  3. package/package.json +3 -3
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import pe from "chalk";
2
+ import me from "chalk";
3
3
  import { Command as p9, CommanderError as m9 } from "commander";
4
4
  import * as it from "fs-extra";
5
5
  import * as Ku from "path";
@@ -11,7 +11,7 @@ import v9 from "lodash.kebabcase";
11
11
  import { execSync as $9, spawn as Vu } from "node:child_process";
12
12
  import { DEV_API_URL as Kf, checkDockerRunning as Vf, serverStart as _9, ConfigService as hr, authLogin as y9, DEV_API_KEY as b9, authLoginOAuth as S9 } from "twenty-sdk/cli";
13
13
  import "lodash.camelcase";
14
- const w9 = "create-twenty-app", I9 = "2.10.1", Ho = {
14
+ const w9 = "create-twenty-app", I9 = "2.12.0", Ho = {
15
15
  name: w9,
16
16
  version: I9
17
17
  }, k9 = "src", O9 = async ({
@@ -81,7 +81,7 @@ var T9 = oi.exports, Jf;
81
81
  function C9() {
82
82
  return Jf || (Jf = 1, (function(e, n) {
83
83
  (function() {
84
- var i, u = "4.18.1", t = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", p = "Invalid `variable` option passed into `_.template`", g = "Invalid `imports` option passed into `_.template`", v = "__lodash_hash_undefined__", m = 500, y = "__lodash_placeholder__", h = 1, d = 2, c = 4, _ = 1, b = 2, w = 1, k = 2, T = 4, E = 8, O = 16, U = 32, z = 64, H = 128, J = 256, te = 512, K = 30, W = "...", q = 800, me = 16, Ae = 1, Me = 2, Nt = 3, Zt = 1 / 0, hn = 9007199254740991, Eg = 17976931348623157e292, Ii = NaN, Bt = 4294967295, Ng = Bt - 1, xg = Bt >>> 1, Ag = [
84
+ var i, u = "4.18.1", t = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", p = "Invalid `variable` option passed into `_.template`", g = "Invalid `imports` option passed into `_.template`", v = "__lodash_hash_undefined__", m = 500, y = "__lodash_placeholder__", h = 1, d = 2, c = 4, _ = 1, b = 2, w = 1, k = 2, T = 4, E = 8, O = 16, U = 32, z = 64, H = 128, J = 256, te = 512, K = 30, W = "...", q = 800, ge = 16, Ae = 1, Me = 2, Nt = 3, Zt = 1 / 0, hn = 9007199254740991, Eg = 17976931348623157e292, Ii = NaN, Bt = 4294967295, Ng = Bt - 1, xg = Bt >>> 1, Ag = [
85
85
  ["ary", H],
86
86
  ["bind", w],
87
87
  ["bindKey", k],
@@ -638,7 +638,7 @@ function C9() {
638
638
  }
639
639
  })(), p$ = R.clearTimeout !== Ze.clearTimeout && R.clearTimeout, m$ = V && V.now !== Ze.Date.now && V.now, g$ = R.setTimeout !== Ze.setTimeout && R.setTimeout, Gi = Ue.ceil, Wi = Ue.floor, eu = be.getOwnPropertySymbols, v$ = Mi ? Mi.isBuffer : i, sd = R.isFinite, $$ = Di.join, _$ = td(be.keys, be), Re = Ue.max, We = Ue.min, y$ = V.now, b$ = R.parseInt, ld = Ue.random, S$ = Di.reverse, tu = Dn(R, "DataView"), Zr = Dn(R, "Map"), nu = Dn(R, "Promise"), or = Dn(R, "Set"), Br = Dn(R, "WeakMap"), Gr = Dn(be, "create"), Hi = Br && new Br(), ar = {}, w$ = Un(tu), I$ = Un(Zr), k$ = Un(nu), O$ = Un(or), E$ = Un(Br), qi = vn ? vn.prototype : i, Wr = qi ? qi.valueOf : i, cd = qi ? qi.toString : i;
640
640
  function S(r) {
641
- if (Pe(r) && !oe(r) && !(r instanceof fe)) {
641
+ if (Pe(r) && !oe(r) && !(r instanceof he)) {
642
642
  if (r instanceof yt)
643
643
  return r;
644
644
  if (_e.call(r, "__wrapped__"))
@@ -709,16 +709,16 @@ function C9() {
709
709
  _: S
710
710
  }
711
711
  }, S.prototype = Ki.prototype, S.prototype.constructor = S, yt.prototype = ur(Ki.prototype), yt.prototype.constructor = yt;
712
- function fe(r) {
712
+ function he(r) {
713
713
  this.__wrapped__ = r, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = Bt, this.__views__ = [];
714
714
  }
715
715
  function N$() {
716
- var r = new fe(this.__wrapped__);
716
+ var r = new he(this.__wrapped__);
717
717
  return r.__actions__ = Qe(this.__actions__), r.__dir__ = this.__dir__, r.__filtered__ = this.__filtered__, r.__iteratees__ = Qe(this.__iteratees__), r.__takeCount__ = this.__takeCount__, r.__views__ = Qe(this.__views__), r;
718
718
  }
719
719
  function x$() {
720
720
  if (this.__filtered__) {
721
- var r = new fe(this);
721
+ var r = new he(this);
722
722
  r.__dir__ = -1, r.__filtered__ = !0;
723
723
  } else
724
724
  r = this.clone(), r.__dir__ *= -1;
@@ -733,7 +733,7 @@ function C9() {
733
733
  for (; P-- && G < Y; ) {
734
734
  M += o;
735
735
  for (var ue = -1, X = r[M]; ++ue < Z; ) {
736
- var ce = j[ue], he = ce.iteratee, ft = ce.type, Je = he(X);
736
+ var de = j[ue], pe = de.iteratee, ft = de.type, Je = pe(X);
737
737
  if (ft == Me)
738
738
  X = Je;
739
739
  else if (!Je) {
@@ -746,7 +746,7 @@ function C9() {
746
746
  }
747
747
  return ee;
748
748
  }
749
- fe.prototype = ur(Ki.prototype), fe.prototype.constructor = fe;
749
+ he.prototype = ur(Ki.prototype), he.prototype.constructor = he;
750
750
  function Pn(r) {
751
751
  var o = -1, s = r == null ? 0 : r.length;
752
752
  for (this.clear(); ++o < s; ) {
@@ -965,12 +965,12 @@ function C9() {
965
965
  return Y;
966
966
  I.set(r, N), Tf(r) ? r.forEach(function(X) {
967
967
  N.add(bt(X, o, s, X, r, I));
968
- }) : Af(r) && r.forEach(function(X, ce) {
969
- N.set(ce, bt(X, o, s, ce, r, I));
968
+ }) : Af(r) && r.forEach(function(X, de) {
969
+ N.set(de, bt(X, o, s, de, r, I));
970
970
  });
971
971
  var ee = M ? P ? Iu : wu : P ? tt : je, ue = j ? i : ee(r);
972
- return st(ue || r, function(X, ce) {
973
- ue && (ce = X, X = r[ce]), Hr(N, ce, bt(X, o, s, ce, r, I));
972
+ return st(ue || r, function(X, de) {
973
+ ue && (de = X, X = r[de]), Hr(N, de, bt(X, o, s, de, r, I));
974
974
  }), N;
975
975
  }
976
976
  function r3(r) {
@@ -1475,7 +1475,7 @@ function C9() {
1475
1475
  }
1476
1476
  function zd(r, o) {
1477
1477
  var s = r;
1478
- return s instanceof fe && (s = s.value()), Wa(o, function(f, $) {
1478
+ return s instanceof he && (s = s.value()), Wa(o, function(f, $) {
1479
1479
  return $.func.apply($.thisArg, mn([f], $.args));
1480
1480
  }, s);
1481
1481
  }
@@ -1745,27 +1745,27 @@ function C9() {
1745
1745
  function no(r, o, s, f, $, I, N, x, P, M) {
1746
1746
  var j = o & H, Z = o & w, G = o & k, Y = o & (E | O), ee = o & te, ue = G ? i : Yr(r);
1747
1747
  function X() {
1748
- for (var ce = arguments.length, he = D(ce), ft = ce; ft--; )
1749
- he[ft] = arguments[ft];
1748
+ for (var de = arguments.length, pe = D(de), ft = de; ft--; )
1749
+ pe[ft] = arguments[ft];
1750
1750
  if (Y)
1751
- var Je = cr(X), ht = qv(he, Je);
1752
- if (f && (he = jd(he, f, $, Y)), I && (he = Fd(he, I, N, Y)), ce -= ht, Y && ce < M) {
1753
- var De = gn(he, Je);
1751
+ var Je = cr(X), ht = qv(pe, Je);
1752
+ if (f && (pe = jd(pe, f, $, Y)), I && (pe = Fd(pe, I, N, Y)), de -= ht, Y && de < M) {
1753
+ var De = gn(pe, Je);
1754
1754
  return Vd(
1755
1755
  r,
1756
1756
  o,
1757
1757
  no,
1758
1758
  X.placeholder,
1759
1759
  s,
1760
- he,
1760
+ pe,
1761
1761
  De,
1762
1762
  x,
1763
1763
  P,
1764
- M - ce
1764
+ M - de
1765
1765
  );
1766
1766
  }
1767
1767
  var Dt = Z ? s : this, rn = G ? Dt[r] : r;
1768
- return ce = he.length, x ? he = t4(he, x) : ee && ce > 1 && he.reverse(), j && P < ce && (he.length = P), this && this !== Ze && this instanceof X && (rn = ue || Yr(rn)), rn.apply(Dt, he);
1768
+ return de = pe.length, x ? pe = t4(pe, x) : ee && de > 1 && pe.reverse(), j && P < de && (pe.length = P), this && this !== Ze && this instanceof X && (rn = ue || Yr(rn)), rn.apply(Dt, pe);
1769
1769
  }
1770
1770
  return X;
1771
1771
  }
@@ -1917,9 +1917,9 @@ function C9() {
1917
1917
  break;
1918
1918
  }
1919
1919
  if (Y) {
1920
- if (!Ha(o, function(ce, he) {
1921
- if (!jr(Y, he) && (ee === ce || $(ee, ce, s, f, I)))
1922
- return Y.push(he);
1920
+ if (!Ha(o, function(de, pe) {
1921
+ if (!jr(Y, pe) && (ee === de || $(ee, de, s, f, I)))
1922
+ return Y.push(pe);
1923
1923
  })) {
1924
1924
  G = !1;
1925
1925
  break;
@@ -1982,10 +1982,10 @@ function C9() {
1982
1982
  I.set(r, o), I.set(o, r);
1983
1983
  for (var X = N; ++Z < P; ) {
1984
1984
  G = x[Z];
1985
- var ce = r[G], he = o[G];
1985
+ var de = r[G], pe = o[G];
1986
1986
  if (f)
1987
- var ft = N ? f(he, ce, G, o, r, I) : f(ce, he, G, r, o, I);
1988
- if (!(ft === i ? ce === he || $(ce, he, s, f, I) : ft)) {
1987
+ var ft = N ? f(pe, de, G, o, r, I) : f(de, pe, G, r, o, I);
1988
+ if (!(ft === i ? de === pe || $(de, pe, s, f, I) : ft)) {
1989
1989
  ue = !1;
1990
1990
  break;
1991
1991
  }
@@ -2184,7 +2184,7 @@ function C9() {
2184
2184
  }
2185
2185
  function xu(r) {
2186
2186
  var o = ao(r), s = S[o];
2187
- if (typeof s != "function" || !(o in fe.prototype))
2187
+ if (typeof s != "function" || !(o in he.prototype))
2188
2188
  return !1;
2189
2189
  if (r === s)
2190
2190
  return !0;
@@ -2269,7 +2269,7 @@ function C9() {
2269
2269
  function cf(r) {
2270
2270
  var o = 0, s = 0;
2271
2271
  return function() {
2272
- var f = y$(), $ = me - (f - s);
2272
+ var f = y$(), $ = ge - (f - s);
2273
2273
  if (s = f, $ > 0) {
2274
2274
  if (++o >= q)
2275
2275
  return arguments[0];
@@ -2318,7 +2318,7 @@ function C9() {
2318
2318
  }), r.sort();
2319
2319
  }
2320
2320
  function ff(r) {
2321
- if (r instanceof fe)
2321
+ if (r instanceof he)
2322
2322
  return r.clone();
2323
2323
  var o = new yt(r.__wrapped__, r.__chain__);
2324
2324
  return o.__actions__ = Qe(r.__actions__), o.__index__ = r.__index__, o.__values__ = r.__values__, o;
@@ -2607,7 +2607,7 @@ function C9() {
2607
2607
  var o = r.length, s = o ? r[0] : 0, f = this.__wrapped__, $ = function(I) {
2608
2608
  return iu(I, r);
2609
2609
  };
2610
- return o > 1 || this.__actions__.length || !(f instanceof fe) || !en(s) ? this.thru($) : (f = f.slice(s, +s + (o ? 1 : 0)), f.__actions__.push({
2610
+ return o > 1 || this.__actions__.length || !(f instanceof he) || !en(s) ? this.thru($) : (f = f.slice(s, +s + (o ? 1 : 0)), f.__actions__.push({
2611
2611
  func: lo,
2612
2612
  args: [$],
2613
2613
  thisArg: i
@@ -2640,9 +2640,9 @@ function C9() {
2640
2640
  }
2641
2641
  function d_() {
2642
2642
  var r = this.__wrapped__;
2643
- if (r instanceof fe) {
2643
+ if (r instanceof he) {
2644
2644
  var o = r;
2645
- return this.__actions__.length && (o = new fe(this)), o = o.reverse(), o.__actions__.push({
2645
+ return this.__actions__.length && (o = new he(this)), o = o.reverse(), o.__actions__.push({
2646
2646
  func: lo,
2647
2647
  args: [Tu],
2648
2648
  thisArg: i
@@ -2809,7 +2809,7 @@ function C9() {
2809
2809
  return f = $ = i, M = De, N = r.apply(rn, Dt), N;
2810
2810
  }
2811
2811
  function ee(De) {
2812
- return M = De, x = Qr(ce, o), j ? Y(De) : N;
2812
+ return M = De, x = Qr(de, o), j ? Y(De) : N;
2813
2813
  }
2814
2814
  function ue(De) {
2815
2815
  var Dt = De - P, rn = De - M, qf = o - Dt;
@@ -2819,20 +2819,20 @@ function C9() {
2819
2819
  var Dt = De - P, rn = De - M;
2820
2820
  return P === i || Dt >= o || Dt < 0 || Z && rn >= I;
2821
2821
  }
2822
- function ce() {
2822
+ function de() {
2823
2823
  var De = fo();
2824
2824
  if (X(De))
2825
- return he(De);
2826
- x = Qr(ce, ue(De));
2825
+ return pe(De);
2826
+ x = Qr(de, ue(De));
2827
2827
  }
2828
- function he(De) {
2828
+ function pe(De) {
2829
2829
  return x = i, G && f ? Y(De) : (f = $ = i, N);
2830
2830
  }
2831
2831
  function ft() {
2832
2832
  x !== i && Ud(x), M = 0, f = P = $ = x = i;
2833
2833
  }
2834
2834
  function Je() {
2835
- return x === i ? N : he(fo());
2835
+ return x === i ? N : pe(fo());
2836
2836
  }
2837
2837
  function ht() {
2838
2838
  var De = fo(), Dt = X(De);
@@ -2840,9 +2840,9 @@ function C9() {
2840
2840
  if (x === i)
2841
2841
  return ee(P);
2842
2842
  if (Z)
2843
- return Ud(x), x = Qr(ce, o), Y(P);
2843
+ return Ud(x), x = Qr(de, o), Y(P);
2844
2844
  }
2845
- return x === i && (x = Qr(ce, o)), N;
2845
+ return x === i && (x = Qr(de, o)), N;
2846
2846
  }
2847
2847
  return ht.cancel = ft, ht.flush = Je, ht;
2848
2848
  }
@@ -3393,13 +3393,13 @@ function C9() {
3393
3393
  "g"
3394
3394
  ), Y = "//# sourceURL=" + (_e.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Av + "]") + `
3395
3395
  `;
3396
- r.replace(G, function(X, ce, he, ft, Je, ht) {
3397
- return he || (he = ft), Z += r.slice(M, ht).replace(uv, Jv), ce && (x = !0, Z += `' +
3398
- __e(` + ce + `) +
3396
+ r.replace(G, function(X, de, pe, ft, Je, ht) {
3397
+ return pe || (pe = ft), Z += r.slice(M, ht).replace(uv, Jv), de && (x = !0, Z += `' +
3398
+ __e(` + de + `) +
3399
3399
  '`), Je && (P = !0, Z += `';
3400
3400
  ` + Je + `;
3401
- __p += '`), he && (Z += `' +
3402
- ((__t = (` + he + `)) == null ? '' : __t) +
3401
+ __p += '`), pe && (Z += `' +
3402
+ ((__t = (` + pe + `)) == null ? '' : __t) +
3403
3403
  '`), M = ht + X.length, X;
3404
3404
  }), Z += `';
3405
3405
  `;
@@ -3664,19 +3664,19 @@ function print() { __p += __j.call(arguments, '') }
3664
3664
  })(), { chain: !1 }), S.VERSION = u, st(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(r) {
3665
3665
  S[r].placeholder = S;
3666
3666
  }), st(["drop", "take"], function(r, o) {
3667
- fe.prototype[r] = function(s) {
3667
+ he.prototype[r] = function(s) {
3668
3668
  s = s === i ? 1 : Re(ae(s), 0);
3669
- var f = this.__filtered__ && !o ? new fe(this) : this.clone();
3669
+ var f = this.__filtered__ && !o ? new he(this) : this.clone();
3670
3670
  return f.__filtered__ ? f.__takeCount__ = We(s, f.__takeCount__) : f.__views__.push({
3671
3671
  size: We(s, Bt),
3672
3672
  type: r + (f.__dir__ < 0 ? "Right" : "")
3673
3673
  }), f;
3674
- }, fe.prototype[r + "Right"] = function(s) {
3674
+ }, he.prototype[r + "Right"] = function(s) {
3675
3675
  return this.reverse()[r](s).reverse();
3676
3676
  };
3677
3677
  }), st(["filter", "map", "takeWhile"], function(r, o) {
3678
3678
  var s = o + 1, f = s == Ae || s == Nt;
3679
- fe.prototype[r] = function($) {
3679
+ he.prototype[r] = function($) {
3680
3680
  var I = this.clone();
3681
3681
  return I.__iteratees__.push({
3682
3682
  iteratee: Q($, 3),
@@ -3685,45 +3685,45 @@ function print() { __p += __j.call(arguments, '') }
3685
3685
  };
3686
3686
  }), st(["head", "last"], function(r, o) {
3687
3687
  var s = "take" + (o ? "Right" : "");
3688
- fe.prototype[r] = function() {
3688
+ he.prototype[r] = function() {
3689
3689
  return this[s](1).value()[0];
3690
3690
  };
3691
3691
  }), st(["initial", "tail"], function(r, o) {
3692
3692
  var s = "drop" + (o ? "" : "Right");
3693
- fe.prototype[r] = function() {
3694
- return this.__filtered__ ? new fe(this) : this[s](1);
3693
+ he.prototype[r] = function() {
3694
+ return this.__filtered__ ? new he(this) : this[s](1);
3695
3695
  };
3696
- }), fe.prototype.compact = function() {
3696
+ }), he.prototype.compact = function() {
3697
3697
  return this.filter(nt);
3698
- }, fe.prototype.find = function(r) {
3698
+ }, he.prototype.find = function(r) {
3699
3699
  return this.filter(r).head();
3700
- }, fe.prototype.findLast = function(r) {
3700
+ }, he.prototype.findLast = function(r) {
3701
3701
  return this.reverse().find(r);
3702
- }, fe.prototype.invokeMap = le(function(r, o) {
3703
- return typeof r == "function" ? new fe(this) : this.map(function(s) {
3702
+ }, he.prototype.invokeMap = le(function(r, o) {
3703
+ return typeof r == "function" ? new he(this) : this.map(function(s) {
3704
3704
  return Kr(s, r, o);
3705
3705
  });
3706
- }), fe.prototype.reject = function(r) {
3706
+ }), he.prototype.reject = function(r) {
3707
3707
  return this.filter(po(Q(r)));
3708
- }, fe.prototype.slice = function(r, o) {
3708
+ }, he.prototype.slice = function(r, o) {
3709
3709
  r = ae(r);
3710
3710
  var s = this;
3711
- return s.__filtered__ && (r > 0 || o < 0) ? new fe(s) : (r < 0 ? s = s.takeRight(-r) : r && (s = s.drop(r)), o !== i && (o = ae(o), s = o < 0 ? s.dropRight(-o) : s.take(o - r)), s);
3712
- }, fe.prototype.takeRightWhile = function(r) {
3711
+ return s.__filtered__ && (r > 0 || o < 0) ? new he(s) : (r < 0 ? s = s.takeRight(-r) : r && (s = s.drop(r)), o !== i && (o = ae(o), s = o < 0 ? s.dropRight(-o) : s.take(o - r)), s);
3712
+ }, he.prototype.takeRightWhile = function(r) {
3713
3713
  return this.reverse().takeWhile(r).reverse();
3714
- }, fe.prototype.toArray = function() {
3714
+ }, he.prototype.toArray = function() {
3715
3715
  return this.take(Bt);
3716
- }, Wt(fe.prototype, function(r, o) {
3716
+ }, Wt(he.prototype, function(r, o) {
3717
3717
  var s = /^(?:filter|find|map|reject)|While$/.test(o), f = /^(?:head|last)$/.test(o), $ = S[f ? "take" + (o == "last" ? "Right" : "") : o], I = f || /^find/.test(o);
3718
3718
  $ && (S.prototype[o] = function() {
3719
- var N = this.__wrapped__, x = f ? [1] : arguments, P = N instanceof fe, M = x[0], j = P || oe(N), Z = function(ce) {
3720
- var he = $.apply(S, mn([ce], x));
3721
- return f && G ? he[0] : he;
3719
+ var N = this.__wrapped__, x = f ? [1] : arguments, P = N instanceof he, M = x[0], j = P || oe(N), Z = function(de) {
3720
+ var pe = $.apply(S, mn([de], x));
3721
+ return f && G ? pe[0] : pe;
3722
3722
  };
3723
3723
  j && s && typeof M == "function" && M.length != 1 && (P = j = !1);
3724
3724
  var G = this.__chain__, Y = !!this.__actions__.length, ee = I && !G, ue = P && !Y;
3725
3725
  if (!I && j) {
3726
- N = ue ? N : new fe(this);
3726
+ N = ue ? N : new he(this);
3727
3727
  var X = r.apply(N, x);
3728
3728
  return X.__actions__.push({ func: lo, args: [Z], thisArg: i }), new yt(X, G);
3729
3729
  }
@@ -3741,7 +3741,7 @@ function print() { __p += __j.call(arguments, '') }
3741
3741
  return o.apply(oe(N) ? N : [], $);
3742
3742
  });
3743
3743
  };
3744
- }), Wt(fe.prototype, function(r, o) {
3744
+ }), Wt(he.prototype, function(r, o) {
3745
3745
  var s = S[o];
3746
3746
  if (s) {
3747
3747
  var f = s.name + "";
@@ -3750,7 +3750,7 @@ function print() { __p += __j.call(arguments, '') }
3750
3750
  }), ar[no(i, k).name] = [{
3751
3751
  name: "wrapper",
3752
3752
  func: i
3753
- }], fe.prototype.clone = N$, fe.prototype.reverse = x$, fe.prototype.value = A$, S.prototype.at = o_, S.prototype.chain = a_, S.prototype.commit = u_, S.prototype.next = s_, S.prototype.plant = c_, S.prototype.reverse = d_, S.prototype.toJSON = S.prototype.valueOf = S.prototype.value = f_, S.prototype.first = S.prototype.head, Fr && (S.prototype[Fr] = l_), S;
3753
+ }], he.prototype.clone = N$, he.prototype.reverse = x$, he.prototype.value = A$, S.prototype.at = o_, S.prototype.chain = a_, S.prototype.commit = u_, S.prototype.next = s_, S.prototype.plant = c_, S.prototype.reverse = d_, S.prototype.toJSON = S.prototype.valueOf = S.prototype.value = f_, S.prototype.first = S.prototype.head, Fr && (S.prototype[Fr] = l_), S;
3754
3754
  }), rr = u$();
3755
3755
  xn ? ((xn.exports = rr)._ = rr, Za._ = rr) : Ze._ = rr;
3756
3756
  }).call(T9);
@@ -3765,13 +3765,13 @@ const D9 = (e) => {
3765
3765
  try {
3766
3766
  await Yf("corepack enable", { cwd: e });
3767
3767
  } catch (i) {
3768
- console.warn(pe.yellow("corepack enable failed:"), i.stderr);
3768
+ console.warn(me.yellow("corepack enable failed:"), i.stderr);
3769
3769
  }
3770
3770
  n?.("Running yarn install");
3771
3771
  try {
3772
3772
  await Yf("yarn install", { cwd: e });
3773
3773
  } catch (i) {
3774
- console.warn(pe.yellow("yarn install failed:"), i.stdout);
3774
+ console.warn(me.yellow("yarn install failed:"), i.stdout);
3775
3775
  }
3776
3776
  }, wn = wp(Ip), R9 = async (e) => {
3777
3777
  try {
@@ -3900,10 +3900,10 @@ function F9() {
3900
3900
  var sn = F9();
3901
3901
  const kn = (e) => !sn.isUndefined(e) && !sn.isNull(e);
3902
3902
  var kt = "INUMBER", Er = "IOP1", Nr = "IOP2", xr = "IOP3", ln = "IVAR", Zn = "IVARNAME", _r = "IFUNCALL", ra = "IFUNDEF", ot = "IEXPR", Ss = "IEXPREVAL", Hn = "IMEMBER", ia = "IENDSTATEMENT", yr = "IARRAY";
3903
- function ge(e, n) {
3903
+ function ve(e, n) {
3904
3904
  this.type = e, this.value = n ?? 0;
3905
3905
  }
3906
- ge.prototype.toString = function() {
3906
+ ve.prototype.toString = function() {
3907
3907
  switch (this.type) {
3908
3908
  case kt:
3909
3909
  case Er:
@@ -3926,35 +3926,35 @@ ge.prototype.toString = function() {
3926
3926
  }
3927
3927
  };
3928
3928
  function oa(e) {
3929
- return new ge(Er, e);
3929
+ return new ve(Er, e);
3930
3930
  }
3931
3931
  function dn(e) {
3932
- return new ge(Nr, e);
3932
+ return new ve(Nr, e);
3933
3933
  }
3934
3934
  function kp(e) {
3935
- return new ge(xr, e);
3935
+ return new ve(xr, e);
3936
3936
  }
3937
3937
  function ds(e, n, i, u, t) {
3938
3938
  for (var a = [], l = [], p, g, v, m, y = 0; y < e.length; y++) {
3939
3939
  var h = e[y], d = h.type;
3940
3940
  if (d === kt || d === Zn)
3941
3941
  Array.isArray(h.value) ? a.push.apply(a, ds(h.value.map(function(c) {
3942
- return new ge(kt, c);
3943
- }).concat(new ge(yr, h.value.length)), n, i, u, t)) : a.push(h);
3942
+ return new ve(kt, c);
3943
+ }).concat(new ve(yr, h.value.length)), n, i, u, t)) : a.push(h);
3944
3944
  else if (d === ln && Object.hasOwn(t, h.value))
3945
- h = new ge(kt, t[h.value]), a.push(h);
3945
+ h = new ve(kt, t[h.value]), a.push(h);
3946
3946
  else if (d === Nr && a.length > 1)
3947
- g = a.pop(), p = a.pop(), m = i[h.value], h = new ge(kt, m(p.value, g.value)), a.push(h);
3947
+ g = a.pop(), p = a.pop(), m = i[h.value], h = new ve(kt, m(p.value, g.value)), a.push(h);
3948
3948
  else if (d === xr && a.length > 2)
3949
- v = a.pop(), g = a.pop(), p = a.pop(), h.value === "?" ? a.push(p.value ? g.value : v.value) : (m = u[h.value], h = new ge(kt, m(p.value, g.value, v.value)), a.push(h));
3949
+ v = a.pop(), g = a.pop(), p = a.pop(), h.value === "?" ? a.push(p.value ? g.value : v.value) : (m = u[h.value], h = new ve(kt, m(p.value, g.value, v.value)), a.push(h));
3950
3950
  else if (d === Er && a.length > 0)
3951
- p = a.pop(), m = n[h.value], h = new ge(kt, m(p.value)), a.push(h);
3951
+ p = a.pop(), m = n[h.value], h = new ve(kt, m(p.value)), a.push(h);
3952
3952
  else if (d === ot) {
3953
3953
  for (; a.length > 0; )
3954
3954
  l.push(a.shift());
3955
- l.push(new ge(ot, ds(h.value, n, i, u, t)));
3955
+ l.push(new ve(ot, ds(h.value, n, i, u, t)));
3956
3956
  } else if (d === Hn && a.length > 0)
3957
- p = a.pop(), a.push(new ge(kt, p.value[h.value]));
3957
+ p = a.pop(), a.push(new ve(kt, p.value[h.value]));
3958
3958
  else {
3959
3959
  for (; a.length > 0; )
3960
3960
  l.push(a.shift());
@@ -3971,9 +3971,9 @@ function Op(e, n, i) {
3971
3971
  if (l === ln && a.value === n)
3972
3972
  for (var p = 0; p < i.tokens.length; p++) {
3973
3973
  var g = i.tokens[p], v;
3974
- g.type === Er ? v = oa(g.value) : g.type === Nr ? v = dn(g.value) : g.type === xr ? v = kp(g.value) : v = new ge(g.type, g.value), u.push(v);
3974
+ g.type === Er ? v = oa(g.value) : g.type === Nr ? v = dn(g.value) : g.type === xr ? v = kp(g.value) : v = new ve(g.type, g.value), u.push(v);
3975
3975
  }
3976
- else l === ot ? u.push(new ge(ot, Op(a.value, n, i))) : u.push(a);
3976
+ else l === ot ? u.push(new ve(ot, Op(a.value, n, i))) : u.push(a);
3977
3977
  }
3978
3978
  return u;
3979
3979
  }
@@ -4473,19 +4473,19 @@ Oe.prototype.parseAtom = function(e) {
4473
4473
  return t.value in n;
4474
4474
  }
4475
4475
  if (this.accept(Os) || this.accept(we, i))
4476
- e.push(new ge(ln, this.current.value));
4476
+ e.push(new ve(ln, this.current.value));
4477
4477
  else if (this.accept(aa))
4478
- e.push(new ge(kt, this.current.value));
4478
+ e.push(new ve(kt, this.current.value));
4479
4479
  else if (this.accept(Ep))
4480
- e.push(new ge(kt, this.current.value));
4480
+ e.push(new ve(kt, this.current.value));
4481
4481
  else if (this.accept(cn, "("))
4482
4482
  this.parseExpression(e), this.expect(cn, ")");
4483
4483
  else if (this.accept(br, "["))
4484
4484
  if (this.accept(br, "]"))
4485
- e.push(new ge(yr, 0));
4485
+ e.push(new ve(yr, 0));
4486
4486
  else {
4487
4487
  var u = this.parseArrayList(e);
4488
- e.push(new ge(yr, u));
4488
+ e.push(new ve(yr, u));
4489
4489
  }
4490
4490
  else
4491
4491
  throw new Error("unexpected " + this.nextToken);
@@ -4499,7 +4499,7 @@ Oe.prototype.pushExpression = function(e, n) {
4499
4499
  e.push(n[i]);
4500
4500
  };
4501
4501
  Oe.prototype.parseUntilEndStatement = function(e, n) {
4502
- return this.accept(Es) ? (this.nextToken && this.nextToken.type !== si && !(this.nextToken.type === cn && this.nextToken.value === ")") && n.push(new ge(ia)), this.nextToken.type !== si && this.parseExpression(n), e.push(new ge(ot, n)), !0) : !1;
4502
+ return this.accept(Es) ? (this.nextToken && this.nextToken.type !== si && !(this.nextToken.type === cn && this.nextToken.value === ")") && n.push(new ve(ia)), this.nextToken.type !== si && this.parseExpression(n), e.push(new ve(ot, n)), !0) : !1;
4503
4503
  };
4504
4504
  Oe.prototype.parseArrayList = function(e) {
4505
4505
  for (var n = 0; !this.accept(br, "]"); )
@@ -4515,32 +4515,32 @@ Oe.prototype.parseVariableAssignmentExpression = function(e) {
4515
4515
  throw new Error("function definition is not permitted");
4516
4516
  for (var t = 0, a = n.value + 1; t < a; t++) {
4517
4517
  var l = u - t;
4518
- e[l].type === ln && (e[l] = new ge(Zn, e[l].value));
4518
+ e[l].type === ln && (e[l] = new ve(Zn, e[l].value));
4519
4519
  }
4520
- this.parseVariableAssignmentExpression(i), e.push(new ge(ot, i)), e.push(new ge(ra, n.value));
4520
+ this.parseVariableAssignmentExpression(i), e.push(new ve(ot, i)), e.push(new ve(ra, n.value));
4521
4521
  continue;
4522
4522
  }
4523
4523
  if (n.type !== ln && n.type !== Hn)
4524
4524
  throw new Error("expected variable for assignment");
4525
- this.parseVariableAssignmentExpression(i), e.push(new ge(Zn, n.value)), e.push(new ge(ot, i)), e.push(dn("="));
4525
+ this.parseVariableAssignmentExpression(i), e.push(new ve(Zn, n.value)), e.push(new ve(ot, i)), e.push(dn("="));
4526
4526
  }
4527
4527
  };
4528
4528
  Oe.prototype.parseConditionalExpression = function(e) {
4529
4529
  for (this.parseOrExpression(e); this.accept(we, "?"); ) {
4530
4530
  var n = [], i = [];
4531
- this.parseConditionalExpression(n), this.expect(we, ":"), this.parseConditionalExpression(i), e.push(new ge(ot, n)), e.push(new ge(ot, i)), e.push(kp("?"));
4531
+ this.parseConditionalExpression(n), this.expect(we, ":"), this.parseConditionalExpression(i), e.push(new ve(ot, n)), e.push(new ve(ot, i)), e.push(kp("?"));
4532
4532
  }
4533
4533
  };
4534
4534
  Oe.prototype.parseOrExpression = function(e) {
4535
4535
  for (this.parseAndExpression(e); this.accept(we, "or"); ) {
4536
4536
  var n = [];
4537
- this.parseAndExpression(n), e.push(new ge(ot, n)), e.push(dn("or"));
4537
+ this.parseAndExpression(n), e.push(new ve(ot, n)), e.push(dn("or"));
4538
4538
  }
4539
4539
  };
4540
4540
  Oe.prototype.parseAndExpression = function(e) {
4541
4541
  for (this.parseComparison(e); this.accept(we, "and"); ) {
4542
4542
  var n = [];
4543
- this.parseComparison(n), e.push(new ge(ot, n)), e.push(dn("and"));
4543
+ this.parseComparison(n), e.push(new ve(ot, n)), e.push(dn("and"));
4544
4544
  }
4545
4545
  };
4546
4546
  var G9 = ["==", "!=", "<", "<=", ">=", ">", "in"];
@@ -4603,10 +4603,10 @@ Oe.prototype.parseFunctionCall = function(e) {
4603
4603
  } else
4604
4604
  for (this.parseMemberExpression(e); this.accept(cn, "("); )
4605
4605
  if (this.accept(cn, ")"))
4606
- e.push(new ge(_r, 0));
4606
+ e.push(new ve(_r, 0));
4607
4607
  else {
4608
4608
  var t = this.parseArgumentList(e);
4609
- e.push(new ge(_r, t));
4609
+ e.push(new ve(_r, t));
4610
4610
  }
4611
4611
  };
4612
4612
  Oe.prototype.parseArgumentList = function(e) {
@@ -4621,7 +4621,7 @@ Oe.prototype.parseMemberExpression = function(e) {
4621
4621
  if (n.value === ".") {
4622
4622
  if (!this.allowMemberAccess)
4623
4623
  throw new Error('unexpected ".", member access is not permitted');
4624
- this.expect(Os), e.push(new ge(Hn, this.current.value));
4624
+ this.expect(Os), e.push(new ve(Hn, this.current.value));
4625
4625
  } else if (n.value === "[") {
4626
4626
  if (!this.tokens.isOperatorEnabled("["))
4627
4627
  throw new Error('unexpected "[]", arrays are disabled');
@@ -5477,34 +5477,34 @@ function Vy() {
5477
5477
  var z = O.compiler && O.compiler[0] === 7;
5478
5478
  function H(K, W, q) {
5479
5479
  q.hash && (W = u.extend({}, W, q.hash), q.ids && (q.ids[0] = !0)), K = U.VM.resolvePartial.call(this, K, W, q), q.hooks = this.hooks, q.protoAccessControl = this.protoAccessControl;
5480
- var me = U.VM.invokePartial.call(this, K, W, q);
5481
- if (me == null && U.compile && (q.partials[q.name] = U.compile(K, O.compilerOptions, U), me = q.partials[q.name](W, q)), me != null) {
5480
+ var ge = U.VM.invokePartial.call(this, K, W, q);
5481
+ if (ge == null && U.compile && (q.partials[q.name] = U.compile(K, O.compilerOptions, U), ge = q.partials[q.name](W, q)), ge != null) {
5482
5482
  if (q.indent) {
5483
- for (var Ae = me.split(`
5483
+ for (var Ae = ge.split(`
5484
5484
  `), Me = 0, Nt = Ae.length; Me < Nt && !(!Ae[Me] && Me + 1 === Nt); Me++)
5485
5485
  Ae[Me] = q.indent + Ae[Me];
5486
- me = Ae.join(`
5486
+ ge = Ae.join(`
5487
5487
  `);
5488
5488
  }
5489
- return me;
5489
+ return ge;
5490
5490
  } else
5491
5491
  throw new a.default("The partial " + q.name + " could not be compiled when running in runtime-only mode");
5492
5492
  }
5493
5493
  var J = {
5494
- strict: function(W, q, me) {
5494
+ strict: function(W, q, ge) {
5495
5495
  if (!W || !(q in W))
5496
5496
  throw new a.default('"' + q + '" not defined in ' + W, {
5497
- loc: me
5497
+ loc: ge
5498
5498
  });
5499
5499
  return J.lookupProperty(W, q);
5500
5500
  },
5501
5501
  lookupProperty: function(W, q) {
5502
- var me = W[q];
5503
- if (me == null || Object.prototype.hasOwnProperty.call(W, q) || v.resultIsAllowed(me, J.protoAccessControl, q))
5504
- return me;
5502
+ var ge = W[q];
5503
+ if (ge == null || Object.prototype.hasOwnProperty.call(W, q) || v.resultIsAllowed(ge, J.protoAccessControl, q))
5504
+ return ge;
5505
5505
  },
5506
5506
  lookup: function(W, q) {
5507
- for (var me = W.length, Ae = 0; Ae < me; Ae++) {
5507
+ for (var ge = W.length, Ae = 0; Ae < ge; Ae++) {
5508
5508
  var Me = W[Ae] && J.lookupProperty(W[Ae], q);
5509
5509
  if (Me != null)
5510
5510
  return Me;
@@ -5520,9 +5520,9 @@ function Vy() {
5520
5520
  return q.decorator = O[W + "_d"], q;
5521
5521
  },
5522
5522
  programs: [],
5523
- program: function(W, q, me, Ae, Me) {
5523
+ program: function(W, q, ge, Ae, Me) {
5524
5524
  var Nt = this.programs[W], Zt = this.fn(W);
5525
- return q || Me || Ae || me ? Nt = h(this, W, Zt, q, me, Ae, Me) : Nt || (Nt = this.programs[W] = h(this, W, Zt)), Nt;
5525
+ return q || Me || Ae || ge ? Nt = h(this, W, Zt, q, ge, Ae, Me) : Nt || (Nt = this.programs[W] = h(this, W, Zt)), Nt;
5526
5526
  },
5527
5527
  data: function(W, q) {
5528
5528
  for (; W && q--; )
@@ -5530,8 +5530,8 @@ function Vy() {
5530
5530
  return W;
5531
5531
  },
5532
5532
  mergeIfNeeded: function(W, q) {
5533
- var me = W || q;
5534
- return W && q && W !== q && (me = u.extend({}, q, W)), me;
5533
+ var ge = W || q;
5534
+ return W && q && W !== q && (ge = u.extend({}, q, W)), ge;
5535
5535
  },
5536
5536
  // An empty object to use as replacement for null-contexts
5537
5537
  nullContext: Object.seal({}),
@@ -5541,10 +5541,10 @@ function Vy() {
5541
5541
  function te(K) {
5542
5542
  var W = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], q = W.data;
5543
5543
  te._setup(W), !W.partial && O.useData && (q = w(K, q));
5544
- var me = void 0, Ae = O.useBlockParams ? [] : void 0;
5545
- O.useDepths && (W.depths ? me = K != W.depths[0] ? [K].concat(W.depths) : W.depths : me = [K]);
5544
+ var ge = void 0, Ae = O.useBlockParams ? [] : void 0;
5545
+ O.useDepths && (W.depths ? ge = K != W.depths[0] ? [K].concat(W.depths) : W.depths : ge = [K]);
5546
5546
  function Me(Nt) {
5547
- return "" + O.main(J, Nt, J.helpers, J.partials, q, Ae, me);
5547
+ return "" + O.main(J, Nt, J.helpers, J.partials, q, Ae, ge);
5548
5548
  }
5549
5549
  return Me = k(O.main, Me, J, W.depths || [], q, Ae), Me(K, W);
5550
5550
  }
@@ -5557,18 +5557,18 @@ function Vy() {
5557
5557
  var q = K.allowCallsToHelperMissing || z;
5558
5558
  p.moveHelperToHooks(J, "helperMissing", q), p.moveHelperToHooks(J, "blockHelperMissing", q);
5559
5559
  }
5560
- }, te._child = function(K, W, q, me) {
5560
+ }, te._child = function(K, W, q, ge) {
5561
5561
  if (O.useBlockParams && !q)
5562
5562
  throw new a.default("must pass block params");
5563
- if (O.useDepths && !me)
5563
+ if (O.useDepths && !ge)
5564
5564
  throw new a.default("must pass parent depths");
5565
- return h(J, K, O[K], W, 0, q, me);
5565
+ return h(J, K, O[K], W, 0, q, ge);
5566
5566
  }, te;
5567
5567
  }
5568
5568
  function h(O, U, z, H, J, te, K) {
5569
5569
  function W(q) {
5570
- var me = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], Ae = K;
5571
- return K && q != K[0] && !(q === O.nullContext && K[0] === null) && (Ae = [q].concat(K)), z(O, q, O.helpers, O.partials, me.data || H, te && [me.blockParams].concat(te), Ae);
5570
+ var ge = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], Ae = K;
5571
+ return K && q != K[0] && !(q === O.nullContext && K[0] === null) && (Ae = [q].concat(K)), z(O, q, O.helpers, O.partials, ge.data || H, te && [ge.blockParams].concat(te), Ae);
5572
5572
  }
5573
5573
  return W = k(z, W, O, K, H, te), W.program = U, W.depth = K ? K.length : 0, W.blockParams = J || 0, W;
5574
5574
  }
@@ -8380,18 +8380,8 @@ function d5() {
8380
8380
  })(vo, vo.exports)), vo.exports;
8381
8381
  }
8382
8382
  d5();
8383
- var ve = /* @__PURE__ */ ((e) => (e.ACTOR = "ACTOR", e.ADDRESS = "ADDRESS", e.ARRAY = "ARRAY", e.BOOLEAN = "BOOLEAN", e.CURRENCY = "CURRENCY", e.DATE = "DATE", e.DATE_TIME = "DATE_TIME", e.EMAILS = "EMAILS", e.FILES = "FILES", e.FULL_NAME = "FULL_NAME", e.LINKS = "LINKS", e.MORPH_RELATION = "MORPH_RELATION", e.MULTI_SELECT = "MULTI_SELECT", e.NUMBER = "NUMBER", e.NUMERIC = "NUMERIC", e.PHONES = "PHONES", e.POSITION = "POSITION", e.RATING = "RATING", e.RAW_JSON = "RAW_JSON", e.RELATION = "RELATION", e.RICH_TEXT = "RICH_TEXT", e.SELECT = "SELECT", e.TEXT = "TEXT", e.TS_VECTOR = "TS_VECTOR", e.UUID = "UUID", e))(ve || {}), L = /* @__PURE__ */ ((e) => (e.IS = "IS", e.IS_NOT_NULL = "IS_NOT_NULL", e.IS_NOT = "IS_NOT", e.LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL", e.GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL", e.IS_BEFORE = "IS_BEFORE", e.IS_AFTER = "IS_AFTER", e.CONTAINS = "CONTAINS", e.DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN", e.IS_EMPTY = "IS_EMPTY", e.IS_NOT_EMPTY = "IS_NOT_EMPTY", e.IS_RELATIVE = "IS_RELATIVE", e.IS_IN_PAST = "IS_IN_PAST", e.IS_IN_FUTURE = "IS_IN_FUTURE", e.IS_TODAY = "IS_TODAY", e.VECTOR_SEARCH = "VECTOR_SEARCH", e))(L || {}), qe = /* @__PURE__ */ ((e) => (e.Is = "is", e.IsNotNull = "isNotNull", e.IsNot = "isNot", e.LessThanOrEqual = "lessThan", e.GreaterThanOrEqual = "greaterThan", e.IsBefore = "isBefore", e.IsAfter = "isAfter", e.Contains = "contains", e.DoesNotContain = "doesNotContain", e.IsEmpty = "isEmpty", e.IsNotEmpty = "isNotEmpty", e.IsRelative = "isRelative", e.IsInPast = "isInPast", e.IsInFuture = "isInFuture", e.IsToday = "isToday", e))(qe || {}), fs = /* @__PURE__ */ ((e) => (e.EMAIL = "EMAIL", e.CALENDAR = "CALENDAR", e.WORKFLOW = "WORKFLOW", e.AGENT = "AGENT", e.API = "API", e.IMPORT = "IMPORT", e.MANUAL = "MANUAL", e.SYSTEM = "SYSTEM", e.WEBHOOK = "WEBHOOK", e.APPLICATION = "APPLICATION", e))(fs || {});
8384
- ve.ACTOR, ve.SELECT, Object.keys(fs).map(
8385
- (e, n) => ({
8386
- id: Sp(),
8387
- // @ts-expect-error legacy noImplicitAny
8388
- label: `${fs[e].toLowerCase()}`,
8389
- value: e,
8390
- position: n
8391
- })
8392
- ), ve.UUID, ve.TEXT, ve.RAW_JSON;
8393
- var Wo = /* @__PURE__ */ ((e) => (e.MONDAY = "MONDAY", e.SUNDAY = "SUNDAY", e.SATURDAY = "SATURDAY", e))(Wo || {});
8394
- ve.CURRENCY + "", ve.EMAILS + "", ve.LINKS + "", ve.PHONES + "", ve.FULL_NAME + "", ve.ADDRESS + "", ve.ACTOR + "", ve.RICH_TEXT + "";
8383
+ var ce = /* @__PURE__ */ ((e) => (e.ACTOR = "ACTOR", e.ADDRESS = "ADDRESS", e.ARRAY = "ARRAY", e.BOOLEAN = "BOOLEAN", e.CURRENCY = "CURRENCY", e.DATE = "DATE", e.DATE_TIME = "DATE_TIME", e.EMAILS = "EMAILS", e.FILES = "FILES", e.FULL_NAME = "FULL_NAME", e.LINKS = "LINKS", e.MORPH_RELATION = "MORPH_RELATION", e.MULTI_SELECT = "MULTI_SELECT", e.NUMBER = "NUMBER", e.NUMERIC = "NUMERIC", e.PHONES = "PHONES", e.POSITION = "POSITION", e.RATING = "RATING", e.RAW_JSON = "RAW_JSON", e.RELATION = "RELATION", e.RICH_TEXT = "RICH_TEXT", e.SELECT = "SELECT", e.TEXT = "TEXT", e.TS_VECTOR = "TS_VECTOR", e.UUID = "UUID", e))(ce || {});
8384
+ ce.CURRENCY + "", ce.EMAILS + "", ce.LINKS + "", ce.PHONES + "", ce.FULL_NAME + "", ce.ADDRESS + "", ce.ACTOR + "", ce.RICH_TEXT + "";
8395
8385
  const f5 = {
8396
8386
  AED: { label: "UAE dirham" },
8397
8387
  AFN: { label: "Afghan afghani" },
@@ -8548,7 +8538,19 @@ const f5 = {
8548
8538
  ZMW: { label: "Zambian kwacha" },
8549
8539
  ZWG: { label: "Zimbabwe Gold" }
8550
8540
  };
8551
- ve.TEXT, ve.FULL_NAME, ve.UUID;
8541
+ ce.TS_VECTOR, ce.RAW_JSON, ce.FILES, ce.POSITION;
8542
+ ce.TEXT, ce.FULL_NAME, ce.UUID;
8543
+ var fs = /* @__PURE__ */ ((e) => (e.EMAIL = "EMAIL", e.CALENDAR = "CALENDAR", e.WORKFLOW = "WORKFLOW", e.AGENT = "AGENT", e.API = "API", e.IMPORT = "IMPORT", e.MANUAL = "MANUAL", e.SYSTEM = "SYSTEM", e.WEBHOOK = "WEBHOOK", e.APPLICATION = "APPLICATION", e))(fs || {});
8544
+ ce.ACTOR, ce.SELECT, Object.keys(fs).map(
8545
+ (e, n) => ({
8546
+ id: Sp(),
8547
+ // @ts-expect-error legacy noImplicitAny
8548
+ label: `${fs[e].toLowerCase()}`,
8549
+ value: e,
8550
+ position: n
8551
+ })
8552
+ ), ce.UUID, ce.TEXT, ce.RAW_JSON;
8553
+ var Wo = /* @__PURE__ */ ((e) => (e.MONDAY = "MONDAY", e.SUNDAY = "SUNDAY", e.SATURDAY = "SATURDAY", e))(Wo || {}), L = /* @__PURE__ */ ((e) => (e.IS = "IS", e.IS_NOT_NULL = "IS_NOT_NULL", e.IS_NOT = "IS_NOT", e.LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL", e.GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL", e.IS_BEFORE = "IS_BEFORE", e.IS_AFTER = "IS_AFTER", e.CONTAINS = "CONTAINS", e.DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN", e.IS_EMPTY = "IS_EMPTY", e.IS_NOT_EMPTY = "IS_NOT_EMPTY", e.IS_RELATIVE = "IS_RELATIVE", e.IS_IN_PAST = "IS_IN_PAST", e.IS_IN_FUTURE = "IS_IN_FUTURE", e.IS_TODAY = "IS_TODAY", e.VECTOR_SEARCH = "VECTOR_SEARCH", e))(L || {}), qe = /* @__PURE__ */ ((e) => (e.Is = "is", e.IsNotNull = "isNotNull", e.IsNot = "isNot", e.LessThanOrEqual = "lessThan", e.GreaterThanOrEqual = "greaterThan", e.IsBefore = "isBefore", e.IsAfter = "isAfter", e.Contains = "contains", e.DoesNotContain = "doesNotContain", e.IsEmpty = "isEmpty", e.IsNotEmpty = "isNotEmpty", e.IsRelative = "isRelative", e.IsInPast = "isInPast", e.IsInFuture = "isInFuture", e.IsToday = "isToday", e))(qe || {});
8552
8554
  const $r = Object.freeze({
8553
8555
  status: "aborted"
8554
8556
  });
@@ -8645,7 +8647,7 @@ function jp(e, n) {
8645
8647
  return l % p / 10 ** a;
8646
8648
  }
8647
8649
  const Yh = /* @__PURE__ */ Symbol("evaluating");
8648
- function de(e, n, i) {
8650
+ function fe(e, n, i) {
8649
8651
  let u;
8650
8652
  Object.defineProperty(e, n, {
8651
8653
  get() {
@@ -9045,7 +9047,7 @@ const t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9045
9047
  clone: Et,
9046
9048
  cloneDef: _5,
9047
9049
  createTransparentProxy: k5,
9048
- defineLazy: de,
9050
+ defineLazy: fe,
9049
9051
  esc: hs,
9050
9052
  escapeRegex: On,
9051
9053
  extend: Kp,
@@ -10200,7 +10202,7 @@ const q2 = /* @__PURE__ */ C("$ZodObject", (e, n) => {
10200
10202
  });
10201
10203
  }
10202
10204
  const u = hi(() => W2(n));
10203
- de(e._zod, "propValues", () => {
10205
+ fe(e._zod, "propValues", () => {
10204
10206
  const p = n.shape, g = {};
10205
10207
  for (const v in p) {
10206
10208
  const m = p[v]._zod;
@@ -10297,10 +10299,10 @@ function ep(e, n, i, u) {
10297
10299
  }), n);
10298
10300
  }
10299
10301
  const Xs = /* @__PURE__ */ C("$ZodUnion", (e, n) => {
10300
- ie.init(e, n), de(e._zod, "optin", () => n.options.some((t) => t._zod.optin === "optional") ? "optional" : void 0), de(e._zod, "optout", () => n.options.some((t) => t._zod.optout === "optional") ? "optional" : void 0), de(e._zod, "values", () => {
10302
+ ie.init(e, n), fe(e._zod, "optin", () => n.options.some((t) => t._zod.optin === "optional") ? "optional" : void 0), fe(e._zod, "optout", () => n.options.some((t) => t._zod.optout === "optional") ? "optional" : void 0), fe(e._zod, "values", () => {
10301
10303
  if (n.options.every((t) => t._zod.values))
10302
10304
  return new Set(n.options.flatMap((t) => Array.from(t._zod.values)));
10303
- }), de(e._zod, "pattern", () => {
10305
+ }), fe(e._zod, "pattern", () => {
10304
10306
  if (n.options.every((t) => t._zod.pattern)) {
10305
10307
  const t = n.options.map((a) => a._zod.pattern);
10306
10308
  return new RegExp(`^(${t.map((a) => la(a.source)).join("|")})$`);
@@ -10330,7 +10332,7 @@ const Xs = /* @__PURE__ */ C("$ZodUnion", (e, n) => {
10330
10332
  }), V2 = /* @__PURE__ */ C("$ZodDiscriminatedUnion", (e, n) => {
10331
10333
  Xs.init(e, n);
10332
10334
  const i = e._zod.parse;
10333
- de(e._zod, "propValues", () => {
10335
+ fe(e._zod, "propValues", () => {
10334
10336
  const t = {};
10335
10337
  for (const a of n.options) {
10336
10338
  const l = a._zod.propValues;
@@ -10644,7 +10646,7 @@ function ip(e, n) {
10644
10646
  return e.issues.length && n === void 0 ? { issues: [], value: void 0 } : e;
10645
10647
  }
10646
10648
  const i0 = /* @__PURE__ */ C("$ZodOptional", (e, n) => {
10647
- ie.init(e, n), e._zod.optin = "optional", e._zod.optout = "optional", de(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, void 0]) : void 0), de(e._zod, "pattern", () => {
10649
+ ie.init(e, n), e._zod.optin = "optional", e._zod.optout = "optional", fe(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, void 0]) : void 0), fe(e._zod, "pattern", () => {
10648
10650
  const i = n.innerType._zod.pattern;
10649
10651
  return i ? new RegExp(`^(${la(i.source)})?$`) : void 0;
10650
10652
  }), e._zod.parse = (i, u) => {
@@ -10655,12 +10657,12 @@ const i0 = /* @__PURE__ */ C("$ZodOptional", (e, n) => {
10655
10657
  return i.value === void 0 ? i : n.innerType._zod.run(i, u);
10656
10658
  };
10657
10659
  }), o0 = /* @__PURE__ */ C("$ZodNullable", (e, n) => {
10658
- ie.init(e, n), de(e._zod, "optin", () => n.innerType._zod.optin), de(e._zod, "optout", () => n.innerType._zod.optout), de(e._zod, "pattern", () => {
10660
+ ie.init(e, n), fe(e._zod, "optin", () => n.innerType._zod.optin), fe(e._zod, "optout", () => n.innerType._zod.optout), fe(e._zod, "pattern", () => {
10659
10661
  const i = n.innerType._zod.pattern;
10660
10662
  return i ? new RegExp(`^(${la(i.source)}|null)$`) : void 0;
10661
- }), de(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, null]) : void 0), e._zod.parse = (i, u) => i.value === null ? i : n.innerType._zod.run(i, u);
10663
+ }), fe(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, null]) : void 0), e._zod.parse = (i, u) => i.value === null ? i : n.innerType._zod.run(i, u);
10662
10664
  }), a0 = /* @__PURE__ */ C("$ZodDefault", (e, n) => {
10663
- ie.init(e, n), e._zod.optin = "optional", de(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => {
10665
+ ie.init(e, n), e._zod.optin = "optional", fe(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => {
10664
10666
  if (u.direction === "backward")
10665
10667
  return n.innerType._zod.run(i, u);
10666
10668
  if (i.value === void 0)
@@ -10673,9 +10675,9 @@ function op(e, n) {
10673
10675
  return e.value === void 0 && (e.value = n.defaultValue), e;
10674
10676
  }
10675
10677
  const u0 = /* @__PURE__ */ C("$ZodPrefault", (e, n) => {
10676
- ie.init(e, n), e._zod.optin = "optional", de(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => (u.direction === "backward" || i.value === void 0 && (i.value = n.defaultValue), n.innerType._zod.run(i, u));
10678
+ ie.init(e, n), e._zod.optin = "optional", fe(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => (u.direction === "backward" || i.value === void 0 && (i.value = n.defaultValue), n.innerType._zod.run(i, u));
10677
10679
  }), s0 = /* @__PURE__ */ C("$ZodNonOptional", (e, n) => {
10678
- ie.init(e, n), de(e._zod, "values", () => {
10680
+ ie.init(e, n), fe(e._zod, "values", () => {
10679
10681
  const i = n.innerType._zod.values;
10680
10682
  return i ? new Set([...i].filter((u) => u !== void 0)) : void 0;
10681
10683
  }), e._zod.parse = (i, u) => {
@@ -10699,7 +10701,7 @@ const l0 = /* @__PURE__ */ C("$ZodSuccess", (e, n) => {
10699
10701
  return t instanceof Promise ? t.then((a) => (i.value = a.issues.length === 0, i)) : (i.value = t.issues.length === 0, i);
10700
10702
  };
10701
10703
  }), c0 = /* @__PURE__ */ C("$ZodCatch", (e, n) => {
10702
- ie.init(e, n), de(e._zod, "optin", () => n.innerType._zod.optin), de(e._zod, "optout", () => n.innerType._zod.optout), de(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => {
10704
+ ie.init(e, n), fe(e._zod, "optin", () => n.innerType._zod.optin), fe(e._zod, "optout", () => n.innerType._zod.optout), fe(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (i, u) => {
10703
10705
  if (u.direction === "backward")
10704
10706
  return n.innerType._zod.run(i, u);
10705
10707
  const t = n.innerType._zod.run(i, u);
@@ -10725,7 +10727,7 @@ const l0 = /* @__PURE__ */ C("$ZodSuccess", (e, n) => {
10725
10727
  code: "invalid_type"
10726
10728
  }), i);
10727
10729
  }), f0 = /* @__PURE__ */ C("$ZodPipe", (e, n) => {
10728
- ie.init(e, n), de(e._zod, "values", () => n.in._zod.values), de(e._zod, "optin", () => n.in._zod.optin), de(e._zod, "optout", () => n.out._zod.optout), de(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (i, u) => {
10730
+ ie.init(e, n), fe(e._zod, "values", () => n.in._zod.values), fe(e._zod, "optin", () => n.in._zod.optin), fe(e._zod, "optout", () => n.out._zod.optout), fe(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (i, u) => {
10729
10731
  if (u.direction === "backward") {
10730
10732
  const a = n.out._zod.run(i, u);
10731
10733
  return a instanceof Promise ? a.then((l) => Zo(l, n.in, u)) : Zo(a, n.in, u);
@@ -10738,7 +10740,7 @@ function Zo(e, n, i) {
10738
10740
  return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ value: e.value, issues: e.issues }, i);
10739
10741
  }
10740
10742
  const el = /* @__PURE__ */ C("$ZodCodec", (e, n) => {
10741
- ie.init(e, n), de(e._zod, "values", () => n.in._zod.values), de(e._zod, "optin", () => n.in._zod.optin), de(e._zod, "optout", () => n.out._zod.optout), de(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (i, u) => {
10743
+ ie.init(e, n), fe(e._zod, "values", () => n.in._zod.values), fe(e._zod, "optin", () => n.in._zod.optin), fe(e._zod, "optout", () => n.out._zod.optout), fe(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (i, u) => {
10742
10744
  if ((u.direction || "forward") === "forward") {
10743
10745
  const a = n.in._zod.run(i, u);
10744
10746
  return a instanceof Promise ? a.then((l) => Bo(l, n, u)) : Bo(a, n, u);
@@ -10763,7 +10765,7 @@ function Go(e, n, i, u) {
10763
10765
  return e.issues.length ? (e.aborted = !0, e) : i._zod.run({ value: n, issues: e.issues }, u);
10764
10766
  }
10765
10767
  const h0 = /* @__PURE__ */ C("$ZodReadonly", (e, n) => {
10766
- ie.init(e, n), de(e._zod, "propValues", () => n.innerType._zod.propValues), de(e._zod, "values", () => n.innerType._zod.values), de(e._zod, "optin", () => n.innerType._zod.optin), de(e._zod, "optout", () => n.innerType._zod.optout), e._zod.parse = (i, u) => {
10768
+ ie.init(e, n), fe(e._zod, "propValues", () => n.innerType._zod.propValues), fe(e._zod, "values", () => n.innerType._zod.values), fe(e._zod, "optin", () => n.innerType._zod.optin), fe(e._zod, "optout", () => n.innerType._zod.optout), e._zod.parse = (i, u) => {
10767
10769
  if (u.direction === "backward")
10768
10770
  return n.innerType._zod.run(i, u);
10769
10771
  const t = n.innerType._zod.run(i, u);
@@ -10845,7 +10847,7 @@ const p0 = /* @__PURE__ */ C("$ZodTemplateLiteral", (e, n) => {
10845
10847
  }, e)), g0 = /* @__PURE__ */ C("$ZodPromise", (e, n) => {
10846
10848
  ie.init(e, n), e._zod.parse = (i, u) => Promise.resolve(i.value).then((t) => n.innerType._zod.run({ value: t, issues: [] }, u));
10847
10849
  }), v0 = /* @__PURE__ */ C("$ZodLazy", (e, n) => {
10848
- ie.init(e, n), de(e._zod, "innerType", () => n.getter()), de(e._zod, "pattern", () => e._zod.innerType._zod.pattern), de(e._zod, "propValues", () => e._zod.innerType._zod.propValues), de(e._zod, "optin", () => e._zod.innerType._zod.optin ?? void 0), de(e._zod, "optout", () => e._zod.innerType._zod.optout ?? void 0), e._zod.parse = (i, u) => e._zod.innerType._zod.run(i, u);
10850
+ ie.init(e, n), fe(e._zod, "innerType", () => n.getter()), fe(e._zod, "pattern", () => e._zod.innerType._zod.pattern), fe(e._zod, "propValues", () => e._zod.innerType._zod.propValues), fe(e._zod, "optin", () => e._zod.innerType._zod.optin ?? void 0), fe(e._zod, "optout", () => e._zod.innerType._zod.optout ?? void 0), e._zod.parse = (i, u) => e._zod.innerType._zod.run(i, u);
10849
10851
  }), $0 = /* @__PURE__ */ C("$ZodCustom", (e, n) => {
10850
10852
  Ce.init(e, n), ie.init(e, n), e._zod.parse = (i, u) => i, e._zod.check = (i) => {
10851
10853
  const u = i.value, t = n.fn(u);
@@ -17250,7 +17252,7 @@ function aw(e) {
17250
17252
  return sc(Object.keys(n));
17251
17253
  }
17252
17254
  const Sa = /* @__PURE__ */ C("ZodObject", (e, n) => {
17253
- K2.init(e, n), se.init(e, n), de(e, "shape", () => n.shape), e.keyof = () => sc(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Or() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Or() }), e.strict = () => e.clone({ ...e._zod.def, catchall: rc() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (i) => Kp(e, i), e.safeExtend = (i) => Vp(e, i), e.merge = (i) => Jp(e, i), e.pick = (i) => Hp(e, i), e.omit = (i) => qp(e, i), e.partial = (...i) => Yp(cc, e, i[0]), e.required = (...i) => Xp(dc, e, i[0]);
17255
+ K2.init(e, n), se.init(e, n), fe(e, "shape", () => n.shape), e.keyof = () => sc(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Or() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Or() }), e.strict = () => e.clone({ ...e._zod.def, catchall: rc() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (i) => Kp(e, i), e.safeExtend = (i) => Vp(e, i), e.merge = (i) => Jp(e, i), e.pick = (i) => Hp(e, i), e.omit = (i) => qp(e, i), e.partial = (...i) => Yp(cc, e, i[0]), e.required = (...i) => Xp(dc, e, i[0]);
17254
17256
  });
17255
17257
  function Fm(e, n) {
17256
17258
  const i = {
@@ -18461,7 +18463,7 @@ function wg() {
18461
18463
  function Xw() {
18462
18464
  return yg(Jw, arguments);
18463
18465
  }
18464
- ve.TEXT, ve.FULL_NAME, ve.EMAILS, ve.ADDRESS, ve.LINKS, ve.PHONES, ve.RICH_TEXT, ve.UUID;
18466
+ ce.TEXT, ce.FULL_NAME, ce.EMAILS, ce.ADDRESS, ce.LINKS, ce.PHONES, ce.RICH_TEXT, ce.UUID;
18465
18467
  Object.keys(Lw).reduce((e, n) => {
18466
18468
  const i = n.split("-")[0].toLowerCase();
18467
18469
  return (!e[i] || n === _g) && (e[i] = n), e;
@@ -18539,8 +18541,9 @@ Ge.functions.includesNone = Tr(
18539
18541
  "every",
18540
18542
  (e, n) => Array.isArray(e) && !e.includes(n)
18541
18543
  );
18542
- ve.NUMBER, ve.NUMERIC, ve.CURRENCY, ve.RATING, ve.POSITION;
18543
- ve.TEXT, ve.RICH_TEXT;
18544
+ ce.NUMBER, ce.NUMERIC, ce.CURRENCY, ce.RATING, ce.POSITION;
18545
+ ce.RELATION, ce.MORPH_RELATION;
18546
+ ce.TEXT, ce.RICH_TEXT;
18544
18547
  Object.entries(
18545
18548
  f5
18546
18549
  ).map(([e, { label: n }]) => ({
@@ -18806,10 +18809,10 @@ class pI {
18806
18809
  }
18807
18810
  async execute(n = {}) {
18808
18811
  const { appName: i, appDisplayName: u, appDirectory: t, appDescription: a } = this.getAppInfos(n), l = n.serverUrl ?? Kf, p = l !== Kf;
18809
- !p && !dI() && (console.log(pe.yellow(`
18812
+ !p && !dI() && (console.log(me.yellow(`
18810
18813
  ` + fI() + `
18811
18814
  `)), process.exit(1)), p && n.authenticationMethod === "apiKey" && console.log(
18812
- pe.yellow(
18815
+ me.yellow(
18813
18816
  "API key authentication is only supported on a local Docker instance. Ignoring and switching to OAuth authentication."
18814
18817
  )
18815
18818
  );
@@ -18846,7 +18849,7 @@ class pI {
18846
18849
  c && await this.openMainPage(t, h), this.logSuccess(t, h, y);
18847
18850
  } catch (v) {
18848
18851
  console.error(
18849
- pe.red(`
18852
+ me.red(`
18850
18853
  Create application failed:`),
18851
18854
  v instanceof Error ? v.message : v
18852
18855
  ), process.exit(1);
@@ -18876,18 +18879,18 @@ Create application failed:`),
18876
18879
  appDescription: u,
18877
18880
  appDirectory: t
18878
18881
  }) {
18879
- console.log(pe.blue(`
18882
+ console.log(me.blue(`
18880
18883
  Creating Twenty Application
18881
- `)), console.log(pe.white(` Name: ${n}`)), console.log(pe.white(` Display name: ${i}`)), u && console.log(pe.white(` Description: ${u}`)), console.log(pe.white(` Directory: ${t}`)), console.log("");
18884
+ `)), console.log(me.white(` Name: ${n}`)), console.log(me.white(` Display name: ${i}`)), u && console.log(me.white(` Description: ${u}`)), console.log(me.white(` Directory: ${t}`)), console.log("");
18882
18885
  }
18883
18886
  logNextStep(n) {
18884
18887
  this.stepCounter++, console.log(
18885
- pe.blue(`
18886
- [${this.stepCounter}/${this.totalSteps}]`) + pe.white(` ${n}...`)
18888
+ me.blue(`
18889
+ [${this.stepCounter}/${this.totalSteps}]`) + me.white(` ${n}...`)
18887
18890
  );
18888
18891
  }
18889
18892
  logDetail(n) {
18890
- console.log(pe.gray(` → ${n}`));
18893
+ console.log(me.gray(` → ${n}`));
18891
18894
  }
18892
18895
  pullImageInBackground() {
18893
18896
  return new Promise((n) => {
@@ -18898,7 +18901,7 @@ Creating Twenty Application
18898
18901
  async ensureDockerServer(n) {
18899
18902
  if (!Vf())
18900
18903
  return console.log(
18901
- pe.yellow(
18904
+ me.yellow(
18902
18905
  `
18903
18906
  Docker is installed but not running.
18904
18907
  Please start Docker and run this command again.
@@ -18911,7 +18914,7 @@ Creating Twenty Application
18911
18914
  const u = await _9({
18912
18915
  onProgress: (t) => this.logDetail(t)
18913
18916
  });
18914
- return u.success ? { url: u.data.url } : (console.log(pe.yellow(`
18917
+ return u.success ? { url: u.data.url } : (console.log(me.yellow(`
18915
18918
  ${u.error.message}`)), {});
18916
18919
  }
18917
18920
  async openMainPage(n, i) {
@@ -19046,13 +19049,13 @@ Creating Twenty Application
19046
19049
  apiUrl: n,
19047
19050
  remote: "local"
19048
19051
  })).success ? (await new hr().setDefaultRemote("local"), this.logDetail("Authenticated as tim@apple.dev (development API key)"), !0) : (console.log(
19049
- pe.yellow(
19052
+ me.yellow(
19050
19053
  " Authentication failed. Run `yarn twenty remote:add --local` manually."
19051
19054
  )
19052
19055
  ), !1);
19053
19056
  } catch {
19054
19057
  return console.log(
19055
- pe.yellow(
19058
+ me.yellow(
19056
19059
  " Authentication failed. Run `yarn twenty remote:add --local` manually."
19057
19060
  )
19058
19061
  ), !1;
@@ -19071,14 +19074,14 @@ Creating Twenty Application
19071
19074
  hr.setActiveRemote(i), this.logDetail("Opening browser for OAuth...");
19072
19075
  const u = await S9({ apiUrl: n });
19073
19076
  return u.success ? (await new hr().setDefaultRemote(i), this.logDetail(`Authenticated via OAuth to ${n}`), !0) : (console.log(
19074
- pe.yellow(
19077
+ me.yellow(
19075
19078
  ` OAuth failed: ${u.error.message}
19076
19079
  Run \`yarn twenty remote:add --url ${n}\` manually.`
19077
19080
  )
19078
19081
  ), !1);
19079
19082
  } catch {
19080
19083
  return console.log(
19081
- pe.yellow(
19084
+ me.yellow(
19082
19085
  ` Authentication failed. Run \`yarn twenty remote:add --url ${n}\` manually.`
19083
19086
  )
19084
19087
  ), !1;
@@ -19086,19 +19089,19 @@ Creating Twenty Application
19086
19089
  }
19087
19090
  logSuccess(n, i, u) {
19088
19091
  const t = g9(n);
19089
- console.log(pe.green(`
19092
+ console.log(me.green(`
19090
19093
  ✔ Application created successfully!
19091
- `)), console.log(pe.white(` Next steps:
19094
+ `)), console.log(me.white(` Next steps:
19092
19095
  `));
19093
19096
  let a = 1;
19094
- console.log(pe.white(` ${a}. Navigate to your project`)), console.log(pe.cyan(` cd ${t}
19095
- `)), a++, u || (console.log(pe.white(` ${a}. Connect to a Twenty instance`)), console.log(
19096
- pe.cyan(` yarn twenty remote:add --url <your-instance-url>
19097
+ console.log(me.white(` ${a}. Navigate to your project`)), console.log(me.cyan(` cd ${t}
19098
+ `)), a++, u || (console.log(me.white(` ${a}. Connect to a Twenty instance`)), console.log(
19099
+ me.cyan(` yarn twenty remote:add --url <your-instance-url>
19097
19100
  `)
19098
- ), a++), console.log(pe.white(` ${a}. Start developing`)), console.log(pe.cyan(` yarn twenty dev
19099
- `)), a++, console.log(pe.white(` ${a}. Open your twenty instance`)), console.log(pe.cyan(` ${i}
19101
+ ), a++), console.log(me.white(` ${a}. Start developing`)), console.log(me.cyan(` yarn twenty dev
19102
+ `)), a++, console.log(me.white(` ${a}. Open your twenty instance`)), console.log(me.cyan(` ${i}
19100
19103
  `)), console.log(
19101
- pe.gray(
19104
+ me.gray(
19102
19105
  " Documentation: https://docs.twenty.com/developers/extend/capabilities/apps"
19103
19106
  )
19104
19107
  );
@@ -19114,15 +19117,15 @@ const Og = new p9(Ho.name).description("CLI tool to initialize a new Twenty appl
19114
19117
  ).helpOption("-h, --help", "Display this help message.").action(
19115
19118
  async (e, n) => {
19116
19119
  e && !/^[a-z0-9-]+$/.test(e) && (console.error(
19117
- pe.red(
19120
+ me.red(
19118
19121
  `Invalid directory "${e}". Must contain only lowercase letters, numbers, and hyphens`
19119
19122
  )
19120
- ), process.exit(1)), n?.name !== void 0 && n.name.trim().length === 0 && (console.error(pe.red("Error: --name cannot be empty.")), process.exit(1)), n?.authenticationMethod && !["oauth", "apiKey"].includes(n.authenticationMethod) && (console.error(
19121
- pe.red(
19123
+ ), process.exit(1)), n?.name !== void 0 && n.name.trim().length === 0 && (console.error(me.red("Error: --name cannot be empty.")), process.exit(1)), n?.authenticationMethod && !["oauth", "apiKey"].includes(n.authenticationMethod) && (console.error(
19124
+ me.red(
19122
19125
  'Error: --authentication-method must be "oauth" or "apiKey".'
19123
19126
  )
19124
19127
  ), process.exit(1)), n?.apiUrl && console.warn(
19125
- pe.yellow("Warning: --api-url is deprecated. Use --url instead.")
19128
+ me.yellow("Warning: --api-url is deprecated. Use --url instead.")
19126
19129
  );
19127
19130
  const i = (n?.url ?? n?.apiUrl)?.replace(/\/+$/, "");
19128
19131
  await new pI().execute({
@@ -19139,5 +19142,5 @@ Og.exitOverride();
19139
19142
  try {
19140
19143
  Og.parse();
19141
19144
  } catch (e) {
19142
- e instanceof m9 && process.exit(e.exitCode), e instanceof Error && (console.error(pe.red("Error:"), e.message), process.exit(1));
19145
+ e instanceof m9 && process.exit(e.exitCode), e instanceof Error && (console.error(me.red("Error:"), e.message), process.exit(1));
19143
19146
  }