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.
- package/dist/AllIcons-CGPKtPQS-DNCqqVPl.js +18986 -0
- package/dist/AllIcons-CGPKtPQS-pnhRwY6h.mjs +30768 -0
- package/dist/README.md +282 -0
- package/dist/{cli.cjs → cli/index.cjs} +33 -33
- package/dist/{cli.mjs → cli/index.mjs} +14 -17
- package/dist/front-component/index.cjs +1 -0
- package/dist/front-component/index.mjs +2668 -0
- package/dist/front-component-constants/index.cjs +1 -0
- package/dist/{front-component-constants.mjs → front-component-constants/index.mjs} +1 -1
- package/dist/input-CCBkYU6b.mjs +28020 -0
- package/dist/input-QArI9uHN.js +402 -0
- package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +25 -0
- package/dist/{jsx-runtime-C9ldtZbm.mjs → isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs} +4054 -4685
- package/dist/jsx-runtime-BdMIAavf.mjs +639 -0
- package/dist/jsx-runtime-Bglt9wWZ.js +30 -0
- package/dist/package.json +87 -0
- package/dist/ui/index.cjs +2015 -0
- package/dist/ui/index.d.ts +11 -0
- package/dist/ui/index.mjs +9941 -0
- package/dist/vendor/twenty-shared/{isValidCountryCode-Dyji5s5r.mjs → isValidCountryCode-B7MxBtRC.mjs} +963 -939
- package/dist/vendor/twenty-shared/{isValidCountryCode-D-UqlXRW.js → isValidCountryCode-BXhYkDye.js} +3 -3
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts +1 -1
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts +5 -1
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/index.d.ts +1 -1
- package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +3 -2
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils.cjs +2 -2
- package/dist/vendor/twenty-shared/utils.mjs +171 -151
- package/dist/vendor/twenty-shared/workflow.cjs +1 -1
- package/dist/vendor/twenty-shared/workflow.mjs +1 -1
- package/dist/vendor/twenty-ui/{Avatar-zyamQwOj.cjs → Avatar-CRldFv_0.cjs} +1 -1
- package/dist/vendor/twenty-ui/{Avatar-Cg4dvBA_.js → Avatar-q9sRncB5.js} +2 -2
- package/dist/vendor/twenty-ui/{Button-BChGSHVB.js → Button-C4mFr9D-.js} +2 -2
- package/dist/vendor/twenty-ui/{Button-PLd38fEI.cjs → Button-DglXLX4t.cjs} +2 -2
- package/dist/vendor/twenty-ui/{ColorSample-BEUix7Ah.cjs → ColorSample-D9DM-_ee.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ColorSample-Bp-he5lO.js → ColorSample-IEHpxKsX.js} +1 -1
- package/dist/vendor/twenty-ui/MainColorNames-C1tU0n7M.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorNames-CH_C4JeD.js +5 -0
- package/dist/vendor/twenty-ui/{MainColorsLight-x_vjLhiq.js → MainColorsLight--0X05KcO.js} +1 -1
- package/dist/vendor/twenty-ui/{MainColorsLight-GOpmobTe.cjs → MainColorsLight-CpgC1-1i.cjs} +1 -1
- package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-1P96Lw-o.cjs → OverflowingTextWithTooltip-C4x0j2AD.cjs} +1 -1
- package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-F-KEqUMB.js → OverflowingTextWithTooltip-FRJL71ks.js} +2 -2
- package/dist/vendor/twenty-ui/{Tag-CfX8tARK.js → Tag-C0nqcoLd.js} +3 -3
- package/dist/vendor/twenty-ui/{Tag-DIE1bmT7.cjs → Tag-C6YGTe8G.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ThemeCommon-BiQXECTo.cjs → ThemeCommon-DMvprlEs.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ThemeCommon-CUpBXrDJ.js → ThemeCommon-RVLgB4Pa.js} +1 -1
- package/dist/vendor/twenty-ui/components.cjs +1 -1
- package/dist/vendor/twenty-ui/components.mjs +5 -5
- package/dist/vendor/twenty-ui/{config-D3RPmuwk.cjs → config-2EfZqKOo.cjs} +1 -1
- package/dist/vendor/twenty-ui/{config-D9UgCg2c.js → config-wKIVPAkA.js} +1 -1
- package/dist/vendor/twenty-ui/display.cjs +1 -1
- package/dist/vendor/twenty-ui/display.mjs +9 -9
- package/dist/vendor/twenty-ui/feedback.cjs +1 -1
- package/dist/vendor/twenty-ui/feedback.mjs +1 -1
- package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BMzTxZmB.cjs → getDisplayValueByUrlType-DwG-FZ1p.cjs} +1 -1
- package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BqPVhhu2.js → getDisplayValueByUrlType-DxqXD84p.js} +1 -1
- package/dist/vendor/twenty-ui/input.cjs +4 -4
- package/dist/vendor/twenty-ui/input.mjs +6 -6
- package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-MH68p3NE.cjs → isValidCountryCode-B7MxBtRC-BroSlnrA.cjs} +6 -6
- package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-B7O5eJvP.js → isValidCountryCode-B7MxBtRC-DyiZn2sl.js} +647 -647
- package/dist/vendor/twenty-ui/json-visualizer.cjs +2 -2
- package/dist/vendor/twenty-ui/json-visualizer.mjs +1 -1
- package/dist/vendor/twenty-ui/layout.cjs +2 -2
- package/dist/vendor/twenty-ui/layout.mjs +1 -1
- package/dist/vendor/twenty-ui/navigation.cjs +5 -5
- package/dist/vendor/twenty-ui/navigation.mjs +6 -6
- package/dist/vendor/twenty-ui/testing.cjs +2 -2
- package/dist/vendor/twenty-ui/testing.mjs +2 -2
- package/dist/vendor/twenty-ui/theme.cjs +1 -1
- package/dist/vendor/twenty-ui/theme.mjs +6 -6
- package/dist/vendor/twenty-ui/{themeColorSchema-CgAr-Bzv.js → themeColorSchema-DVfjPoxx.js} +1 -1
- package/dist/vendor/twenty-ui/{themeColorSchema-DSPsU2O5.cjs → themeColorSchema-DfeeV1pm.cjs} +1 -1
- package/dist/vendor/twenty-ui/{useMouseDownNavigation-C_8Q5KFZ.cjs → useMouseDownNavigation-Dr9ganU0.cjs} +1 -1
- package/dist/vendor/twenty-ui/{useMouseDownNavigation-qpLZC7wJ.js → useMouseDownNavigation-QLT907PP.js} +1 -1
- package/dist/vendor/twenty-ui/utilities.cjs +1 -1
- package/dist/vendor/twenty-ui/utilities.mjs +3 -3
- package/package.json +20 -9
- package/dist/front-component-constants.cjs +0 -1
- package/dist/front-component.cjs +0 -155
- package/dist/front-component.mjs +0 -23453
- package/dist/jsx-runtime-CfccAQK_.js +0 -54
- package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +0 -1
- 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
|
|
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 "
|
|
13
|
-
import { H as Pc } from "
|
|
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 "
|
|
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 {
|
|
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
|
|
30
|
-
import { inspect as
|
|
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
|
|
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__ */
|
|
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.
|
|
11417
|
+
}, Tx = "0.4.2", wx = {
|
|
11421
11418
|
version: Tx
|
|
11422
11419
|
};
|
|
11423
|
-
|
|
11424
|
-
const yi = new
|
|
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
|
|
11438
|
+
n instanceof Iy && process.exit(n.exitCode), n instanceof Error && (console.error(C.red("Error:"), n.message), process.exit(1));
|
|
11442
11439
|
}
|