twenty-sdk 2.50.0 → 2.51.1

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 (39) hide show
  1. package/dist/build/descriptor.json +1 -1
  2. package/dist/{build-snapshot-DlB2VyNd.mjs → build-snapshot--GXJr4vI.mjs} +2 -2
  3. package/dist/{build-snapshot-C-NQg7fn.js → build-snapshot-D38u-ntr.js} +1 -1
  4. package/dist/build.cjs +1 -1
  5. package/dist/build.mjs +2 -2
  6. package/dist/{catalog-sync-DxcdSEBJ.js → catalog-sync-DJgluWIc.js} +1 -1
  7. package/dist/{catalog-sync-C6jv_xoa.mjs → catalog-sync-Z1uWs5Ge.mjs} +1 -1
  8. package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +1 -2
  9. package/dist/cli/utilities/build/common/front-component-build/utils/unwrap-define-front-component-to-direct-export.d.ts +1 -1
  10. package/dist/cli.cjs +11 -11
  11. package/dist/cli.mjs +113 -113
  12. package/dist/{compile-application-BFhqkVqO.js → compile-application-BPxjs2Co.js} +5 -5
  13. package/dist/{compile-application-B2LfsDBX.mjs → compile-application-CU3rJlps.mjs} +1380 -1376
  14. package/dist/define/index.cjs +15 -12
  15. package/dist/define/index.cjs.map +1 -1
  16. package/dist/define/index.d.ts +22 -5
  17. package/dist/define/index.mjs +5555 -5128
  18. package/dist/define/index.mjs.map +1 -1
  19. package/dist/front-component/index.cjs +1 -1
  20. package/dist/front-component/index.cjs.map +1 -1
  21. package/dist/front-component/index.d.ts +6 -1
  22. package/dist/front-component/index.mjs +26 -15
  23. package/dist/front-component/index.mjs.map +1 -1
  24. package/dist/front-component-renderer/build.cjs +1 -1
  25. package/dist/front-component-renderer/build.mjs +1 -1
  26. package/dist/get-front-component-build-plugins-B0LNjbg4.js +883 -0
  27. package/dist/{get-front-component-build-plugins-QXeU8MwC.mjs → get-front-component-build-plugins-CnwC-jU8.mjs} +7178 -6721
  28. package/dist/logic-function/index.cjs.map +1 -1
  29. package/dist/logic-function/index.mjs.map +1 -1
  30. package/dist/{login-_eABINVq.mjs → login-CNV69o8l.mjs} +466 -466
  31. package/dist/{login-DkjpI4jn.js → login-CbjId2Zl.js} +9 -9
  32. package/dist/operations.cjs +1 -1
  33. package/dist/operations.mjs +2 -2
  34. package/dist/{package-DftRfrG7.mjs → package-CEEl5qZD.mjs} +6 -1
  35. package/dist/package-RzehG8GA.js +1 -0
  36. package/dist/{typecheck-application-DIe_vwjU.mjs → typecheck-application-aR7mCSHB.mjs} +1 -1
  37. package/package.json +8 -3
  38. package/dist/get-front-component-build-plugins-BcUjFnki.js +0 -880
  39. package/dist/package-vtLsH5RS.js +0 -1
@@ -1 +1 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./compile-application-BFhqkVqO.js"),t=require("./login-DkjpI4jn.js");var n=async e=>(e?.remote&&t.Z.setActiveRemote(e.remote),await new t.Z().clearConfig(),{success:!0,data:void 0}),r=e=>t.it(()=>n(e),t.tt.AUTH_FAILED),i=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyMDIwMjAyMC0xYzI1LTRkMDItYmYyNS02YWVjY2Y3ZWE0MTkiLCJ0eXBlIjoiQVBJX0tFWSIsIndvcmtzcGFjZUlkIjoiMjAyMDIwMjAtMWMyNS00ZDAyLWJmMjUtNmFlY2NmN2VhNDE5IiwiaWF0IjoxNzM1Njg5NjAwLCJleHAiOjQ4OTE0NDk2MDAsImp0aSI6IjIwMjAyMDIwLWY0MDEtNGQ4YS1hNzMxLTY0ZDAwN2MyN2JhZCJ9.bfQjfyN0NEtTCLE_xPyNcwonDzlSXFoP8kdCQTdnuDc`,a=`http://localhost:2020`;exports.APP_ERROR_CODES=t.et,exports.AUTH_ERROR_CODES=t.tt,exports.ConfigService=t.Z,exports.DEV_API_KEY=i,exports.DEV_API_URL=a,exports.FUNCTION_ERROR_CODES=t.nt,exports.SERVER_ERROR_CODES=t.rt,exports.appBuild=t.$,exports.appDeploy=t.K,exports.appDevOnce=t.d,exports.appInstall=t.H,exports.appPublish=t.G,exports.appPull=t.a,exports.appUninstall=t.D,exports.authLogin=t.t,exports.authLoginOAuth=t.X,exports.authLogout=r,exports.checkDockerRunning=t.P,exports.containerExists=t.F,exports.detectLocalServer=t.C,exports.functionExecute=t.T,exports.getContainerDigest=t.I,exports.getEngineVersionRange=e.l,exports.getImageDigest=t.z,exports.getImageForVersion=t.B,exports.resolveHighestEngineVersion=t.r,exports.serverStart=t.n,exports.serverUpgrade=t.i;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./compile-application-BPxjs2Co.js"),t=require("./login-CbjId2Zl.js");var n=async e=>(e?.remote&&t.Z.setActiveRemote(e.remote),await new t.Z().clearConfig(),{success:!0,data:void 0}),r=e=>t.it(()=>n(e),t.tt.AUTH_FAILED),i=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyMDIwMjAyMC0xYzI1LTRkMDItYmYyNS02YWVjY2Y3ZWE0MTkiLCJ0eXBlIjoiQVBJX0tFWSIsIndvcmtzcGFjZUlkIjoiMjAyMDIwMjAtMWMyNS00ZDAyLWJmMjUtNmFlY2NmN2VhNDE5IiwiaWF0IjoxNzM1Njg5NjAwLCJleHAiOjQ4OTE0NDk2MDAsImp0aSI6IjIwMjAyMDIwLWY0MDEtNGQ4YS1hNzMxLTY0ZDAwN2MyN2JhZCJ9.bfQjfyN0NEtTCLE_xPyNcwonDzlSXFoP8kdCQTdnuDc`,a=`http://localhost:2020`;exports.APP_ERROR_CODES=t.et,exports.AUTH_ERROR_CODES=t.tt,exports.ConfigService=t.Z,exports.DEV_API_KEY=i,exports.DEV_API_URL=a,exports.FUNCTION_ERROR_CODES=t.nt,exports.SERVER_ERROR_CODES=t.rt,exports.appBuild=t.$,exports.appDeploy=t.K,exports.appDevOnce=t.d,exports.appInstall=t.H,exports.appPublish=t.G,exports.appPull=t.a,exports.appUninstall=t.D,exports.authLogin=t.t,exports.authLoginOAuth=t.X,exports.authLogout=r,exports.checkDockerRunning=t.P,exports.containerExists=t.F,exports.detectLocalServer=t.C,exports.functionExecute=t.T,exports.getContainerDigest=t.I,exports.getEngineVersionRange=e.l,exports.getImageDigest=t.z,exports.getImageForVersion=t.B,exports.resolveHighestEngineVersion=t.r,exports.serverStart=t.n,exports.serverUpgrade=t.i;
@@ -2,8 +2,8 @@ import { createRequire as e } from "node:module";
2
2
  import { fileURLToPath as t } from "node:url";
3
3
  import { dirname as n } from "node:path";
4
4
  e(import.meta.url), n(t(import.meta.url));
5
- import { l as r } from "./compile-application-B2LfsDBX.mjs";
6
- import { $ as i, B as a, C as o, D as s, F as c, G as l, H as u, I as d, K as f, P as p, T as m, X as h, Z as g, a as _, d as v, et as y, i as b, it as x, n as S, nt as C, r as w, rt as T, t as E, tt as D, z as O } from "./login-_eABINVq.mjs";
5
+ import { l as r } from "./compile-application-CU3rJlps.mjs";
6
+ import { $ as i, B as a, C as o, D as s, F as c, G as l, H as u, I as d, K as f, P as p, T as m, X as h, Z as g, a as _, d as v, et as y, i as b, it as x, n as S, nt as C, r as w, rt as T, t as E, tt as D, z as O } from "./login-CNV69o8l.mjs";
7
7
  //#region src/cli/operations/logout.ts
8
8
  var k = async (e) => (e?.remote && g.setActiveRemote(e.remote), await new g().clearConfig(), {
9
9
  success: !0,
@@ -4,7 +4,12 @@ import { dirname as n } from "node:path";
4
4
  e(import.meta.url), n(t(import.meta.url));
5
5
  var r = {
6
6
  name: "twenty-sdk",
7
- version: "2.50.0",
7
+ repository: {
8
+ type: "git",
9
+ url: "git+https://github.com/twentyhq/twenty.git",
10
+ directory: "packages/twenty-sdk"
11
+ },
12
+ version: "2.51.1",
8
13
  sideEffects: !1,
9
14
  bin: { twenty: "dist/cli.cjs" },
10
15
  files: [
@@ -0,0 +1 @@
1
+ var e={name:`twenty-sdk`,repository:{type:`git`,url:`git+https://github.com/twentyhq/twenty.git`,directory:`packages/twenty-sdk`},version:`2.51.1`,sideEffects:!1,bin:{twenty:`dist/cli.cjs`},files:[`dist`,`README.md`,`CHANGELOG.md`,`package.json`,`docs/build.md`],scripts:{build:`npx rimraf dist && npx vite build`},keywords:[`twenty`,`cli`,`sdk`,`crm`,`application`,`development`],exports:{"./billing":{types:`./dist/billing/index.d.ts`,import:`./dist/billing/index.mjs`,require:`./dist/billing/index.cjs`},"./define":{types:`./dist/define/index.d.ts`,import:`./dist/define/index.mjs`,require:`./dist/define/index.cjs`},"./front-component":{types:`./dist/front-component/index.d.ts`,import:`./dist/front-component/index.mjs`,require:`./dist/front-component/index.cjs`},"./logic-function":{types:`./dist/logic-function/index.d.ts`,import:`./dist/logic-function/index.mjs`,require:`./dist/logic-function/index.cjs`},"./utils":{types:`./dist/utils/index.d.ts`,import:`./dist/utils/index.mjs`,require:`./dist/utils/index.cjs`},"./cli":{types:`./dist/cli/operations/index.d.ts`,import:`./dist/operations.mjs`,require:`./dist/operations.cjs`},"./front-component-renderer":{types:`./dist/front-component-renderer/index.d.ts`,import:`./dist/front-component-renderer.mjs`,require:`./dist/front-component-renderer.cjs`},"./front-component-renderer/build":{types:`./dist/front-component-renderer/build/index.d.ts`,import:`./dist/front-component-renderer/build.mjs`,require:`./dist/front-component-renderer/build.cjs`},"./build":{types:`./dist/build/index.d.ts`,import:`./dist/build.mjs`,require:`./dist/build.cjs`},"./build/descriptor.json":`./dist/build/descriptor.json`},license:`MIT`,dependencies:{"@sniptt/guards":`^0.2.0`,axios:`^1.16.0`,chalk:`^5.3.0`,chokidar:`^4.0.0`,commander:`^12.0.0`,esbuild:`^0.28.1`,graphql:`^16.8.1`,"graphql-sse":`^2.5.4`,ink:`^6.8.0`,inquirer:`^14.0.0`,"jsonc-parser":`^3.2.0`,preact:`^11.0.0`,react:`^19.2.0`,"react-dom":`^19.2.0`,semver:`7.6.3`,sharp:`^0.35.5`,tinyglobby:`^0.2.15`,"twenty-client-sdk":`workspace:*`,typescript:`^5.9.3`,uuid:`^13.0.2`},devDependencies:{"@prettier/sync":`^0.5.2`,"@types/node":`^24.0.0`,"@types/react":`^19.2.0`,"@types/react-dom":`^19.2.0`,"@types/semver":`^7.5.8`,"@typescript/native-preview":`^7.0.0-dev.20260116.1`,"@vitest/coverage-v8":`^4.0.18`,prettier:`^3.1.1`,"rollup-plugin-dts":`^6.4.1`,"ts-morph":`^25.0.0`,"tsc-alias":`^1.8.16`,"twenty-shared":`workspace:*`,"twenty-ui":`workspace:*`,vite:`^8.0.0`,"vite-plugin-dts":`^4.5.4`,"wait-on":`^9.0.10`},engines:{node:`^24.5.0`,yarn:`^4.0.2`,twenty:`>=2.49.0`},typesVersions:{"*":{billing:[`dist/billing/index.d.ts`],define:[`dist/define/index.d.ts`],"front-component":[`dist/front-component/index.d.ts`],"logic-function":[`dist/logic-function/index.d.ts`],utils:[`dist/utils/index.d.ts`],cli:[`dist/cli/operations/index.d.ts`],"front-component-renderer":[`dist/front-component-renderer/index.d.ts`],"front-component-renderer/build":[`dist/front-component-renderer/build/index.d.ts`],build:[`dist/build/index.d.ts`]}}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
@@ -2,7 +2,7 @@ import { createRequire as e } from "node:module";
2
2
  import { fileURLToPath as t } from "node:url";
3
3
  import { dirname as n } from "node:path";
4
4
  e(import.meta.url), n(t(import.meta.url));
5
- import { Ut as r } from "./get-front-component-build-plugins-QXeU8MwC.mjs";
5
+ import { Ut as r } from "./get-front-component-build-plugins-CnwC-jU8.mjs";
6
6
  import { t as i } from "./isDefined-Dtu5EYqP-CX5uLGda.mjs";
7
7
  import { t as a } from "./validate-app-path-vPGkNVkV.mjs";
8
8
  import { join as o, relative as s } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "twenty-sdk",
3
- "version": "2.50.0",
3
+ "repository": {
4
+ "type": "git",
5
+ "url": "git+https://github.com/twentyhq/twenty.git",
6
+ "directory": "packages/twenty-sdk"
7
+ },
8
+ "version": "2.51.1",
4
9
  "sideEffects": false,
5
10
  "bin": {
6
11
  "twenty": "dist/cli.cjs"
@@ -90,7 +95,7 @@
90
95
  "semver": "7.6.3",
91
96
  "sharp": "^0.35.5",
92
97
  "tinyglobby": "^0.2.15",
93
- "twenty-client-sdk": "2.50.0",
98
+ "twenty-client-sdk": "2.51.1",
94
99
  "typescript": "^5.9.3",
95
100
  "uuid": "^13.0.2"
96
101
  },
@@ -107,7 +112,7 @@
107
112
  "ts-morph": "^25.0.0",
108
113
  "tsc-alias": "^1.8.16",
109
114
  "twenty-shared": "0.0.0",
110
- "twenty-ui": "2.50.0",
115
+ "twenty-ui": "2.51.1",
111
116
  "vite": "^8.0.0",
112
117
  "vite-plugin-dts": "^4.5.4",
113
118
  "wait-on": "^9.0.10"