twenty-sdk 0.4.1 → 0.4.2

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 (95) hide show
  1. package/dist/AllIcons-CGPKtPQS-DNCqqVPl.js +18986 -0
  2. package/dist/AllIcons-CGPKtPQS-pnhRwY6h.mjs +30768 -0
  3. package/dist/README.md +282 -0
  4. package/dist/{cli.cjs → cli/index.cjs} +33 -33
  5. package/dist/{cli.mjs → cli/index.mjs} +14 -17
  6. package/dist/front-component/index.cjs +1 -0
  7. package/dist/front-component/index.mjs +2668 -0
  8. package/dist/front-component-constants/index.cjs +1 -0
  9. package/dist/{front-component-constants.mjs → front-component-constants/index.mjs} +1 -1
  10. package/dist/input-CCBkYU6b.mjs +28020 -0
  11. package/dist/input-QArI9uHN.js +402 -0
  12. package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +25 -0
  13. package/dist/{jsx-runtime-C9ldtZbm.mjs → isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs} +4054 -4685
  14. package/dist/jsx-runtime-BdMIAavf.mjs +639 -0
  15. package/dist/jsx-runtime-Bglt9wWZ.js +30 -0
  16. package/dist/package.json +87 -0
  17. package/dist/ui/index.cjs +2015 -0
  18. package/dist/ui/index.d.ts +11 -0
  19. package/dist/ui/index.mjs +9941 -0
  20. package/dist/vendor/twenty-shared/{isValidCountryCode-Dyji5s5r.mjs → isValidCountryCode-B7MxBtRC.mjs} +963 -939
  21. package/dist/vendor/twenty-shared/{isValidCountryCode-D-UqlXRW.js → isValidCountryCode-BXhYkDye.js} +3 -3
  22. package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts +1 -1
  23. package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts.map +1 -1
  24. package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts +5 -1
  25. package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts.map +1 -1
  26. package/dist/vendor/twenty-shared/types/index.d.ts +1 -1
  27. package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
  28. package/dist/vendor/twenty-shared/types.cjs +1 -1
  29. package/dist/vendor/twenty-shared/types.mjs +3 -2
  30. package/dist/vendor/twenty-shared/utils/filter/index.d.ts +1 -0
  31. package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
  32. package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts.map +1 -1
  33. package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts.map +1 -1
  34. package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts.map +1 -1
  35. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts +7 -0
  36. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts.map +1 -0
  37. package/dist/vendor/twenty-shared/utils/index.d.ts +1 -0
  38. package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
  39. package/dist/vendor/twenty-shared/utils.cjs +2 -2
  40. package/dist/vendor/twenty-shared/utils.mjs +171 -151
  41. package/dist/vendor/twenty-shared/workflow.cjs +1 -1
  42. package/dist/vendor/twenty-shared/workflow.mjs +1 -1
  43. package/dist/vendor/twenty-ui/{Avatar-zyamQwOj.cjs → Avatar-CRldFv_0.cjs} +1 -1
  44. package/dist/vendor/twenty-ui/{Avatar-Cg4dvBA_.js → Avatar-q9sRncB5.js} +2 -2
  45. package/dist/vendor/twenty-ui/{Button-BChGSHVB.js → Button-C4mFr9D-.js} +2 -2
  46. package/dist/vendor/twenty-ui/{Button-PLd38fEI.cjs → Button-DglXLX4t.cjs} +2 -2
  47. package/dist/vendor/twenty-ui/{ColorSample-BEUix7Ah.cjs → ColorSample-D9DM-_ee.cjs} +1 -1
  48. package/dist/vendor/twenty-ui/{ColorSample-Bp-he5lO.js → ColorSample-IEHpxKsX.js} +1 -1
  49. package/dist/vendor/twenty-ui/MainColorNames-C1tU0n7M.cjs +1 -0
  50. package/dist/vendor/twenty-ui/MainColorNames-CH_C4JeD.js +5 -0
  51. package/dist/vendor/twenty-ui/{MainColorsLight-x_vjLhiq.js → MainColorsLight--0X05KcO.js} +1 -1
  52. package/dist/vendor/twenty-ui/{MainColorsLight-GOpmobTe.cjs → MainColorsLight-CpgC1-1i.cjs} +1 -1
  53. package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-1P96Lw-o.cjs → OverflowingTextWithTooltip-C4x0j2AD.cjs} +1 -1
  54. package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-F-KEqUMB.js → OverflowingTextWithTooltip-FRJL71ks.js} +2 -2
  55. package/dist/vendor/twenty-ui/{Tag-CfX8tARK.js → Tag-C0nqcoLd.js} +3 -3
  56. package/dist/vendor/twenty-ui/{Tag-DIE1bmT7.cjs → Tag-C6YGTe8G.cjs} +1 -1
  57. package/dist/vendor/twenty-ui/{ThemeCommon-BiQXECTo.cjs → ThemeCommon-DMvprlEs.cjs} +1 -1
  58. package/dist/vendor/twenty-ui/{ThemeCommon-CUpBXrDJ.js → ThemeCommon-RVLgB4Pa.js} +1 -1
  59. package/dist/vendor/twenty-ui/components.cjs +1 -1
  60. package/dist/vendor/twenty-ui/components.mjs +5 -5
  61. package/dist/vendor/twenty-ui/{config-D3RPmuwk.cjs → config-2EfZqKOo.cjs} +1 -1
  62. package/dist/vendor/twenty-ui/{config-D9UgCg2c.js → config-wKIVPAkA.js} +1 -1
  63. package/dist/vendor/twenty-ui/display.cjs +1 -1
  64. package/dist/vendor/twenty-ui/display.mjs +9 -9
  65. package/dist/vendor/twenty-ui/feedback.cjs +1 -1
  66. package/dist/vendor/twenty-ui/feedback.mjs +1 -1
  67. package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BMzTxZmB.cjs → getDisplayValueByUrlType-DwG-FZ1p.cjs} +1 -1
  68. package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BqPVhhu2.js → getDisplayValueByUrlType-DxqXD84p.js} +1 -1
  69. package/dist/vendor/twenty-ui/input.cjs +4 -4
  70. package/dist/vendor/twenty-ui/input.mjs +6 -6
  71. package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-MH68p3NE.cjs → isValidCountryCode-B7MxBtRC-BroSlnrA.cjs} +6 -6
  72. package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-B7O5eJvP.js → isValidCountryCode-B7MxBtRC-DyiZn2sl.js} +647 -647
  73. package/dist/vendor/twenty-ui/json-visualizer.cjs +2 -2
  74. package/dist/vendor/twenty-ui/json-visualizer.mjs +1 -1
  75. package/dist/vendor/twenty-ui/layout.cjs +2 -2
  76. package/dist/vendor/twenty-ui/layout.mjs +1 -1
  77. package/dist/vendor/twenty-ui/navigation.cjs +5 -5
  78. package/dist/vendor/twenty-ui/navigation.mjs +6 -6
  79. package/dist/vendor/twenty-ui/testing.cjs +2 -2
  80. package/dist/vendor/twenty-ui/testing.mjs +2 -2
  81. package/dist/vendor/twenty-ui/theme.cjs +1 -1
  82. package/dist/vendor/twenty-ui/theme.mjs +6 -6
  83. package/dist/vendor/twenty-ui/{themeColorSchema-CgAr-Bzv.js → themeColorSchema-DVfjPoxx.js} +1 -1
  84. package/dist/vendor/twenty-ui/{themeColorSchema-DSPsU2O5.cjs → themeColorSchema-DfeeV1pm.cjs} +1 -1
  85. package/dist/vendor/twenty-ui/{useMouseDownNavigation-C_8Q5KFZ.cjs → useMouseDownNavigation-Dr9ganU0.cjs} +1 -1
  86. package/dist/vendor/twenty-ui/{useMouseDownNavigation-qpLZC7wJ.js → useMouseDownNavigation-QLT907PP.js} +1 -1
  87. package/dist/vendor/twenty-ui/utilities.cjs +1 -1
  88. package/dist/vendor/twenty-ui/utilities.mjs +3 -3
  89. package/package.json +20 -9
  90. package/dist/front-component-constants.cjs +0 -1
  91. package/dist/front-component.cjs +0 -155
  92. package/dist/front-component.mjs +0 -23453
  93. package/dist/jsx-runtime-CfccAQK_.js +0 -54
  94. package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +0 -1
  95. package/dist/vendor/twenty-ui/MainColorNames-O_b9E7H3.js +0 -5
@@ -6,14 +6,14 @@ import * as he from "fs-extra";
6
6
  import { readFile as dy } from "fs-extra";
7
7
  import Fc from "crypto";
8
8
  import * as gy from "node:fs/promises";
9
- import { T as ji, l as Dc, Z as wa, j as Q } from "./jsx-runtime-C9ldtZbm.mjs";
9
+ import { T as ji, l as Dc, Z as wa } from "../isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs";
10
10
  import { isNonEmptyString as my } from "@sniptt/guards";
11
11
  import yy from "lodash.camelcase";
12
- import { s as mc } from "./RatingValues-CT-y6O0b-CsGZSJKO.mjs";
13
- import { H as Pc } from "./HtmlTagToRemoteComponent-DlsAI7JU.mjs";
12
+ import { s as mc } from "../RatingValues-CT-y6O0b-CsGZSJKO.mjs";
13
+ import { H as Pc } from "../HtmlTagToRemoteComponent-DlsAI7JU.mjs";
14
14
  import * as vy from "fs/promises";
15
15
  import * as kc from "esbuild";
16
- import { i as mn } from "./types-BSOjxfFi.mjs";
16
+ import { i as mn } from "../types-BSOjxfFi.mjs";
17
17
  import Uc from "chokidar";
18
18
  import * as _y from "os";
19
19
  import xy from "os";
@@ -23,15 +23,12 @@ import { createClient as Ty } from "graphql-sse";
23
23
  import * as ci from "typescript";
24
24
  import { createRequire as wy } from "module";
25
25
  import { glob as Mc } from "fast-glob";
26
- import { generate as Ey } from "@genql/cli";
26
+ import { j as Q, c as yn, g as Ey } from "../jsx-runtime-BdMIAavf.mjs";
27
+ import { generate as Sy } from "@genql/cli";
27
28
  import Qt from "inquirer";
28
29
  import { v4 as hi } from "uuid";
29
- import { Command as Sy, CommanderError as Ay } from "commander";
30
- import { inspect as Iy } from "util";
31
- var yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
32
- function by(n) {
33
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
34
- }
30
+ import { Command as Ay, CommanderError as Iy } from "commander";
31
+ import { inspect as by } from "util";
35
32
  const Yt = process.env.INIT_CWD || process.cwd(), Pi = (n) => n && !n?.startsWith("/") ? Nt(Yt, n) : n, Ny = async (n, r, i) => {
36
33
  const o = new Set(i), u = r.filter((f) => !o.has(f));
37
34
  for (const f of u) {
@@ -6654,7 +6651,7 @@ class K_ {
6654
6651
  if (!g.success)
6655
6652
  return;
6656
6653
  const { data: v } = g, w = hy(i);
6657
- await Ey({
6654
+ await Sy({
6658
6655
  schema: v,
6659
6656
  output: w,
6660
6657
  scalarTypes: {
@@ -7362,7 +7359,7 @@ function ux() {
7362
7359
  return ba = Nn, ba;
7363
7360
  }
7364
7361
  var cx = ux();
7365
- const pi = /* @__PURE__ */ by(cx), lx = ({
7362
+ const pi = /* @__PURE__ */ Ey(cx), lx = ({
7366
7363
  name: n,
7367
7364
  universalIdentifier: r = hi()
7368
7365
  }) => {
@@ -11417,11 +11414,11 @@ const xx = (n) => {
11417
11414
  });
11418
11415
  }
11419
11416
  );
11420
- }, Tx = "0.4.1", wx = {
11417
+ }, Tx = "0.4.2", wx = {
11421
11418
  version: Tx
11422
11419
  };
11423
- Iy.defaultOptions.depth = 10;
11424
- const yi = new Sy();
11420
+ by.defaultOptions.depth = 10;
11421
+ const yi = new Ay();
11425
11422
  yi.name("twenty").description("CLI for Twenty application development").version(wx.version);
11426
11423
  yi.option(
11427
11424
  "--workspace <name>",
@@ -11438,5 +11435,5 @@ yi.exitOverride();
11438
11435
  try {
11439
11436
  yi.parse();
11440
11437
  } catch (n) {
11441
- n instanceof Ay && process.exit(n.exitCode), n instanceof Error && (console.error(C.red("Error:"), n.message), process.exit(1));
11438
+ n instanceof Iy && process.exit(n.exitCode), n instanceof Error && (console.error(C.red("Error:"), n.message), process.exit(1));
11442
11439
  }