twenty 2.67.0 → 2.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-template/yarn.lock +34 -34
- package/dist/app-worker.cjs +1 -1
- package/dist/chunks/{assert-app-roles-allowed-Dj0LJI66.cjs → assert-app-roles-allowed-ivmt_Ovf.cjs} +1 -1
- package/dist/chunks/{build-source-manifest-NKV2vL7L.cjs → build-source-manifest-DPNf_SHD.cjs} +1 -1
- package/dist/chunks/{build-source-snapshot-DlrEwB9C.cjs → build-source-snapshot-DWimLnHj.cjs} +1 -1
- package/dist/chunks/{cli-version.constant-aUz8SRkl.cjs → cli-version.constant-BcTtCfja.cjs} +1 -1
- package/dist/chunks/{compile-application-translations-D_gxnHJB.cjs → compile-application-translations-Ctxz-abI.cjs} +1 -1
- package/dist/chunks/create-metadata-client-CnGWuqf3.cjs +6 -0
- package/dist/chunks/{extract-source-translations-DPxOdWvY.cjs → extract-source-translations-Ca9bNo4l.cjs} +1 -1
- package/dist/chunks/{fetch-app-export-D6NxHWVq.cjs → fetch-app-export-BufK5na0.cjs} +1 -1
- package/dist/chunks/{fetch-metadata-inspection-DI2DMgC7.cjs → fetch-metadata-inspection-1twsLS72.cjs} +1 -1
- package/dist/chunks/{fetch-signed-in-identity-SHBPb09X.cjs → fetch-signed-in-identity-D456EFL0.cjs} +1 -1
- package/dist/chunks/{fetch-workspace-or-throw-LuFqK754.cjs → fetch-workspace-or-throw-M28SLp-p.cjs} +1 -1
- package/dist/chunks/{get-client-generation-skip-reason-DwfksdSC.cjs → get-client-generation-skip-reason-Dn-V6L2M.cjs} +1 -1
- package/dist/chunks/{global-flags.constant-DkoTw6D8.cjs → global-flags.constant-CgUYAJiD.cjs} +1 -1
- package/dist/chunks/{is-valid-package-name-BLJDhliZ.cjs → is-valid-package-name-De8pMjCq.cjs} +1 -1
- package/dist/chunks/{read-application-identifier-D_l94Ss_.cjs → read-application-identifier-C02Esnq_.cjs} +1 -1
- package/dist/chunks/{read-infer-deletion-option-CxOaJCPM.cjs → read-infer-deletion-option-sSJKRpsn.cjs} +1 -1
- package/dist/chunks/{record-pull-base-5mQjvwK2.cjs → record-pull-base-vp71WJrX.cjs} +1 -1
- package/dist/chunks/{resolve-command-target-34cVM9Oa.cjs → resolve-command-target-BfC2U2K3.cjs} +1 -1
- package/dist/chunks/{run-app-apply-command-BuBkRXpV.cjs → run-app-apply-command-CnW6z8lv.cjs} +1 -1
- package/dist/chunks/{run-app-build-command-DmQ8kyVc.cjs → run-app-build-command-dKsFukTy.cjs} +1 -1
- package/dist/chunks/{run-app-dev-command-JS21pVrs.cjs → run-app-dev-command-C5Kg5vKc.cjs} +1 -1
- package/dist/chunks/{run-app-exec-command-CVR5zI4h.cjs → run-app-exec-command-9_qlrxsx.cjs} +1 -1
- package/dist/chunks/{run-app-generate-client-command-B5hUF4EW.cjs → run-app-generate-client-command-BxVhrqgb.cjs} +1 -1
- package/dist/chunks/{run-app-init-command-Dj5xMDWQ.cjs → run-app-init-command-C_usp_Lq.cjs} +1 -1
- package/dist/chunks/{run-app-install-command-FUsHWfeK.cjs → run-app-install-command-JrRsVeen.cjs} +1 -1
- package/dist/chunks/{run-app-operation-CD8ZaYT4.cjs → run-app-operation-Co_gfkFr.cjs} +1 -1
- package/dist/chunks/{run-app-plan-command-H8I7m66r.cjs → run-app-plan-command-n4W9IKXz.cjs} +1 -1
- package/dist/chunks/{run-app-publish-command-Bvj4DPmx.cjs → run-app-publish-command-BbnCejt7.cjs} +1 -1
- package/dist/chunks/{run-app-pull-command-CYMzZzny.cjs → run-app-pull-command-C5RzAcs8.cjs} +1 -1
- package/dist/chunks/{run-app-typecheck-command-CKhgzXAd.cjs → run-app-typecheck-command-Nv42qeYW.cjs} +1 -1
- package/dist/chunks/{run-app-uninstall-command-Cpu9AKnv.cjs → run-app-uninstall-command-D5PzzPaZ.cjs} +1 -1
- package/dist/chunks/{run-auth-login-command-B6m-dtCd.cjs → run-auth-login-command-Z6kKqNLB.cjs} +1 -1
- package/dist/chunks/{run-auth-status-command-C-AT8unR.cjs → run-auth-status-command-Bt7qomib.cjs} +1 -1
- package/dist/chunks/{run-cli-DzPgtU8z.cjs → run-cli-DbL-0wgf.cjs} +1 -1
- package/dist/chunks/{run-commands-command-CAEERuwE.cjs → run-commands-command-bTT3HVp5.cjs} +1 -1
- package/dist/chunks/{run-data-export-command-UCPxR-Xj.cjs → run-data-export-command-DYqqQEpM.cjs} +1 -1
- package/dist/chunks/{run-data-get-command-BbURbFoi.cjs → run-data-get-command-ym_1vTiY.cjs} +1 -1
- package/dist/chunks/{run-data-list-command-K6b-poFq.cjs → run-data-list-command-BZlT8s0k.cjs} +1 -1
- package/dist/chunks/{run-doctor-command-M6TLNSu8.cjs → run-doctor-command-7qFGPVaQ.cjs} +1 -1
- package/dist/chunks/{run-metadata-field-describe-command-Bqc6F2Dc.cjs → run-metadata-field-describe-command-tcGu3RRC.cjs} +1 -1
- package/dist/chunks/{run-metadata-field-list-command-CqdFhxzT.cjs → run-metadata-field-list-command-CTHStwbq.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-describe-command-CTehUXG1.cjs → run-metadata-object-describe-command-C3evyqmN.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-list-command-BFf68LEO.cjs → run-metadata-object-list-command-DVdLBXVd.cjs} +1 -1
- package/dist/chunks/{run-open-command-BE7pWMhM.cjs → run-open-command-Cunp9tpg.cjs} +1 -1
- package/dist/chunks/{run-version-command-CUn-gnmm.cjs → run-version-command-Buim8HIx.cjs} +1 -1
- package/dist/chunks/{sign-in-to-remote-again-MBEr3jvp.cjs → sign-in-to-remote-again-YWWedZ5H.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/docs/commands.md +2 -2
- package/package.json +2 -2
- package/src/app/pull/README.md +8 -6
- package/dist/chunks/create-metadata-client-ZeSvUbG6.cjs +0 -6
|
@@ -6,9 +6,9 @@ __metadata:
|
|
|
6
6
|
cacheKey: 10c0
|
|
7
7
|
|
|
8
8
|
"@babel/runtime@npm:^7.29.7 || ^8.0.0":
|
|
9
|
-
version: 8.1.
|
|
10
|
-
resolution: "@babel/runtime@npm:8.1.
|
|
11
|
-
checksum: 10c0/
|
|
9
|
+
version: 8.1.5
|
|
10
|
+
resolution: "@babel/runtime@npm:8.1.5"
|
|
11
|
+
checksum: 10c0/103d54f09541293cf5ab83e430effd53bea6fcd50fe8272d4dc8e7face57c30a4f432cdb94e0068b2b8fc6332c0e80518e4f35fc8688b750356daaec038a64ab
|
|
12
12
|
languageName: node
|
|
13
13
|
linkType: hard
|
|
14
14
|
|
|
@@ -506,20 +506,20 @@ __metadata:
|
|
|
506
506
|
linkType: hard
|
|
507
507
|
|
|
508
508
|
"@tabler/icons-react@npm:^3.31.0":
|
|
509
|
-
version: 3.
|
|
510
|
-
resolution: "@tabler/icons-react@npm:3.
|
|
509
|
+
version: 3.55.0
|
|
510
|
+
resolution: "@tabler/icons-react@npm:3.55.0"
|
|
511
511
|
dependencies:
|
|
512
|
-
"@tabler/icons": "npm:3.
|
|
512
|
+
"@tabler/icons": "npm:3.55.0"
|
|
513
513
|
peerDependencies:
|
|
514
514
|
react: ">= 16"
|
|
515
|
-
checksum: 10c0/
|
|
515
|
+
checksum: 10c0/26ce46aab63b47a891a89c5e46a67872782fc929097b13dd169b0cf8f54bd7f70cebbb691301facebdd54a3841321e5c55384bacebeb0d09be02109d5da92524
|
|
516
516
|
languageName: node
|
|
517
517
|
linkType: hard
|
|
518
518
|
|
|
519
|
-
"@tabler/icons@npm:3.
|
|
520
|
-
version: 3.
|
|
521
|
-
resolution: "@tabler/icons@npm:3.
|
|
522
|
-
checksum: 10c0/
|
|
519
|
+
"@tabler/icons@npm:3.55.0":
|
|
520
|
+
version: 3.55.0
|
|
521
|
+
resolution: "@tabler/icons@npm:3.55.0"
|
|
522
|
+
checksum: 10c0/c9f2da868d6ba963e8df8da6580dc566ac513468c493e580de876ae7eb0dd449b7158f151a57a57ff1f8017aab160d14005cc187441642c622eafee0accb0bc1
|
|
523
523
|
languageName: node
|
|
524
524
|
linkType: hard
|
|
525
525
|
|
|
@@ -738,9 +738,9 @@ __metadata:
|
|
|
738
738
|
oxlint: "npm:^0.16.0"
|
|
739
739
|
react: "npm:^19.0.0"
|
|
740
740
|
react-dom: "npm:^19.0.0"
|
|
741
|
-
twenty-client-sdk: "npm:2.
|
|
742
|
-
twenty-sdk: "npm:2.
|
|
743
|
-
twenty-ui: "npm:2.
|
|
741
|
+
twenty-client-sdk: "npm:2.68.0"
|
|
742
|
+
twenty-sdk: "npm:2.68.0"
|
|
743
|
+
twenty-ui: "npm:2.68.0"
|
|
744
744
|
typescript: "npm:^5.9.3"
|
|
745
745
|
vite-tsconfig-paths: "npm:^4.2.1"
|
|
746
746
|
vitest: "npm:^4.1.12"
|
|
@@ -1277,7 +1277,7 @@ __metadata:
|
|
|
1277
1277
|
languageName: node
|
|
1278
1278
|
linkType: hard
|
|
1279
1279
|
|
|
1280
|
-
"postcss@npm:^8.5.
|
|
1280
|
+
"postcss@npm:^8.5.34":
|
|
1281
1281
|
version: 8.5.34
|
|
1282
1282
|
resolution: "postcss@npm:8.5.34"
|
|
1283
1283
|
dependencies:
|
|
@@ -1359,7 +1359,7 @@ __metadata:
|
|
|
1359
1359
|
languageName: node
|
|
1360
1360
|
linkType: hard
|
|
1361
1361
|
|
|
1362
|
-
"rolldown@npm:~1.3.
|
|
1362
|
+
"rolldown@npm:~1.3.4":
|
|
1363
1363
|
version: 1.3.4
|
|
1364
1364
|
resolution: "rolldown@npm:1.3.4"
|
|
1365
1365
|
dependencies:
|
|
@@ -1529,36 +1529,36 @@ __metadata:
|
|
|
1529
1529
|
languageName: node
|
|
1530
1530
|
linkType: hard
|
|
1531
1531
|
|
|
1532
|
-
"twenty-client-sdk@npm:2.
|
|
1533
|
-
version: 2.
|
|
1534
|
-
resolution: "twenty-client-sdk@npm:2.
|
|
1532
|
+
"twenty-client-sdk@npm:2.68.0":
|
|
1533
|
+
version: 2.68.0
|
|
1534
|
+
resolution: "twenty-client-sdk@npm:2.68.0"
|
|
1535
1535
|
dependencies:
|
|
1536
1536
|
esbuild: "npm:^0.28.1"
|
|
1537
1537
|
graphql: "npm:^16.8.1"
|
|
1538
1538
|
lodash: "npm:^4.17.21"
|
|
1539
1539
|
prettier: "npm:^3.8.3"
|
|
1540
|
-
checksum: 10c0/
|
|
1540
|
+
checksum: 10c0/8e0450c3d482e00c4b1e251cee4aaebfac6e174cd385aca5beb4de243492559c61ac64d660c586c883f392e50b44e8f6131705dc73d69dfa7d1ee2c90f463a4d
|
|
1541
1541
|
languageName: node
|
|
1542
1542
|
linkType: hard
|
|
1543
1543
|
|
|
1544
|
-
"twenty-sdk@npm:2.
|
|
1545
|
-
version: 2.
|
|
1546
|
-
resolution: "twenty-sdk@npm:2.
|
|
1544
|
+
"twenty-sdk@npm:2.68.0":
|
|
1545
|
+
version: 2.68.0
|
|
1546
|
+
resolution: "twenty-sdk@npm:2.68.0"
|
|
1547
1547
|
dependencies:
|
|
1548
1548
|
"@sniptt/guards": "npm:^0.2.0"
|
|
1549
1549
|
esbuild: "npm:^0.28.1"
|
|
1550
1550
|
preact: "npm:^11.0.0"
|
|
1551
1551
|
react: "npm:^19.2.0"
|
|
1552
1552
|
react-dom: "npm:^19.2.0"
|
|
1553
|
-
twenty-client-sdk: "npm:2.
|
|
1553
|
+
twenty-client-sdk: "npm:2.68.0"
|
|
1554
1554
|
uuid: "npm:^13.0.2"
|
|
1555
|
-
checksum: 10c0/
|
|
1555
|
+
checksum: 10c0/91a890046c80b07b45aaa328146eda84a05b54ce7e9f9d37fdbf9e5495f611e77c26f2efc0d4a21fe6583260f56ba5e9801f55cd5e82332ae4379e1805bed674
|
|
1556
1556
|
languageName: node
|
|
1557
1557
|
linkType: hard
|
|
1558
1558
|
|
|
1559
|
-
"twenty-ui@npm:2.
|
|
1560
|
-
version: 2.
|
|
1561
|
-
resolution: "twenty-ui@npm:2.
|
|
1559
|
+
"twenty-ui@npm:2.68.0":
|
|
1560
|
+
version: 2.68.0
|
|
1561
|
+
resolution: "twenty-ui@npm:2.68.0"
|
|
1562
1562
|
dependencies:
|
|
1563
1563
|
"@base-ui/react": "npm:^1.9.0"
|
|
1564
1564
|
"@base-ui/utils": "npm:0.5.0"
|
|
@@ -1578,7 +1578,7 @@ __metadata:
|
|
|
1578
1578
|
optional: true
|
|
1579
1579
|
monaco-editor:
|
|
1580
1580
|
optional: true
|
|
1581
|
-
checksum: 10c0/
|
|
1581
|
+
checksum: 10c0/5a9366d9a4b651f67419c46aea13ab4dcdaae5b6f60fa0491f59f572f246c4f5975a400269908a93f48ee0a15c679d77ee13f28baf8e286601a02819096d8070
|
|
1582
1582
|
languageName: node
|
|
1583
1583
|
linkType: hard
|
|
1584
1584
|
|
|
@@ -1658,15 +1658,15 @@ __metadata:
|
|
|
1658
1658
|
linkType: hard
|
|
1659
1659
|
|
|
1660
1660
|
"vite@npm:^6.0.0 || ^7.0.0 || ^8.0.0":
|
|
1661
|
-
version: 8.4.
|
|
1662
|
-
resolution: "vite@npm:8.4.
|
|
1661
|
+
version: 8.4.1
|
|
1662
|
+
resolution: "vite@npm:8.4.1"
|
|
1663
1663
|
dependencies:
|
|
1664
1664
|
fsevents: "npm:~2.3.3"
|
|
1665
1665
|
lightningcss: "npm:^1.33.0"
|
|
1666
1666
|
napi-windows-process-start-time: "npm:^0.1.0"
|
|
1667
1667
|
picomatch: "npm:^4.0.7"
|
|
1668
|
-
postcss: "npm:^8.5.
|
|
1669
|
-
rolldown: "npm:~1.3.
|
|
1668
|
+
postcss: "npm:^8.5.34"
|
|
1669
|
+
rolldown: "npm:~1.3.4"
|
|
1670
1670
|
tinyglobby: "npm:^0.2.17"
|
|
1671
1671
|
peerDependencies:
|
|
1672
1672
|
"@types/node": ^20.19.0 || >=22.12.0
|
|
@@ -1713,7 +1713,7 @@ __metadata:
|
|
|
1713
1713
|
optional: true
|
|
1714
1714
|
bin:
|
|
1715
1715
|
vite: bin/vite.js
|
|
1716
|
-
checksum: 10c0/
|
|
1716
|
+
checksum: 10c0/f145f5b14fd70e10e6b748394c399b3768de13a04cdc0a14ad570a083c3a0969156530382118a2bfc6f8b0130ca17512e54471c5b10f49f3a7c62db23519c7b1
|
|
1717
1717
|
languageName: node
|
|
1718
1718
|
linkType: hard
|
|
1719
1719
|
|
package/dist/app-worker.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./chunks/build--4zYt4wd.cjs"),t=require("./chunks/isDefined-CJctgvfE.cjs"),n=require("./chunks/isPlainObject-fJEJm71P.cjs");var r=e.t(),i=5e3,a=new AbortController,o,s=e=>{if(n.t(e)){if(e.type===`cancel`||e.type===`release`)return{type:e.type};if(e.type===`readSourceIdentity`||e.type===`buildManifest`||e.type===`typecheckSource`)return(0,r.isNonEmptyString)(e.appPath)?{type:e.type,appPath:e.appPath}:void 0;if(e.type===`bundleSnapshot`)return(0,r.isNonEmptyString)(e.appPath)?{type:`bundleSnapshot`,collectWatchInputs:e.collectWatchInputs===!0,appPath:e.appPath,holdSnapshot:e.holdSnapshot===!0}:void 0;if(e.type===`pull`)return!(0,r.isNonEmptyString)(e.appPath)||!n.t(e.target)||!(0,r.isNonEmptyString)(e.target.apiUrl)||!(0,r.isNonEmptyString)(e.target.workspaceId)||!n.t(e.applicationExport)||!n.t(e.applicationExport.application)||!(0,r.isNonEmptyString)(e.applicationExport.application.universalIdentifier)?void 0:{type:`pull`,appPath:e.appPath,target:{apiUrl:e.target.apiUrl,workspaceId:e.target.workspaceId},applicationExport:e.applicationExport};if(e.type===`extractTranslations`)return(0,r.isNonEmptyString)(e.appPath)&&(!t.t(e.locale)||(0,r.isString)(e.locale))?{type:`extractTranslations`,appPath:e.appPath,locale:e.locale??void 0}:void 0;if(e.type===`generateSourceClient`)return(0,r.isNonEmptyString)(e.appPath)&&(0,r.isString)(e.schema)?{type:`generateSourceClient`,appPath:e.appPath,schema:e.schema}:void 0}},c=e=>{process.connected||process.exit(1),process.send?.(e,void 0,{},()=>process.exit(0))},l=async()=>{if(!t.t(o))return null;let{snapshotApi:e,buildId:n}=o;return o=void 0,e.releaseSourceSnapshot({buildId:n})},u=()=>{l().then(()=>process.exit(1),()=>process.exit(1))},d=e=>{if(!process.connected){u();return}process.send?.(e)},f=e=>{if(!(!n.t(e)||e.success!==!0||!n.t(e.data)))return(0,r.isNonEmptyString)(e.data.buildId)?e.data.buildId:void 0},p=async({snapshotApi:e,appPath:n,holdSnapshot:r})=>{let i=a.signal,s=await e.buildSourceSnapshot({appPath:n,signal:i}),c=f(s);return t.t(c)?r?(o={snapshotApi:e,buildId:c},{type:`result`,result:s,isSnapshotHeld:!0}):{type:`result`,result:s,release:await e.releaseSourceSnapshot({buildId:c}),isSnapshotHeld:!1}:{type:`result`,result:s,isSnapshotHeld:!1}},m=e=>({type:`failure`,message:e instanceof Error?e.message:String(e),...e instanceof Error&&`code`in e&&(0,r.isString)(e.code)?{code:e.code}:{},...e instanceof Error&&`hint`in e&&(0,r.isString)(e.hint)?{hint:e.hint}:{},...e instanceof Error&&`details`in e&&n.t(e.details)?{details:e.details}:{}});process.on(`SIGINT`,()=>void 0),process.on(`disconnect`,()=>{a.abort(),setTimeout(()=>process.exit(1),i),t.t(o)&&u()}),process.on(`message`,e=>{let n=s(e);if(!t.t(n)){c({type:`failure`,message:`The app worker received a request it cannot read.`});return}if(n.type===`cancel`){a.abort();return}if(n.type===`release`){l().then(e=>c({type:`released`,release:e}),e=>c(m(e)));return}if(n.type===`pull`){Promise.resolve().then(()=>require("./chunks/pull-source-CI36sCYG.cjs")).then(async({pullSource:e})=>{c({type:`result`,result:await e({...n,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`bundleSnapshot`){Promise.resolve().then(()=>require("./chunks/build-source-snapshot-
|
|
1
|
+
const e=require("./chunks/build--4zYt4wd.cjs"),t=require("./chunks/isDefined-CJctgvfE.cjs"),n=require("./chunks/isPlainObject-fJEJm71P.cjs");var r=e.t(),i=5e3,a=new AbortController,o,s=e=>{if(n.t(e)){if(e.type===`cancel`||e.type===`release`)return{type:e.type};if(e.type===`readSourceIdentity`||e.type===`buildManifest`||e.type===`typecheckSource`)return(0,r.isNonEmptyString)(e.appPath)?{type:e.type,appPath:e.appPath}:void 0;if(e.type===`bundleSnapshot`)return(0,r.isNonEmptyString)(e.appPath)?{type:`bundleSnapshot`,collectWatchInputs:e.collectWatchInputs===!0,appPath:e.appPath,holdSnapshot:e.holdSnapshot===!0}:void 0;if(e.type===`pull`)return!(0,r.isNonEmptyString)(e.appPath)||!n.t(e.target)||!(0,r.isNonEmptyString)(e.target.apiUrl)||!(0,r.isNonEmptyString)(e.target.workspaceId)||!n.t(e.applicationExport)||!n.t(e.applicationExport.application)||!(0,r.isNonEmptyString)(e.applicationExport.application.universalIdentifier)?void 0:{type:`pull`,appPath:e.appPath,target:{apiUrl:e.target.apiUrl,workspaceId:e.target.workspaceId},applicationExport:e.applicationExport};if(e.type===`extractTranslations`)return(0,r.isNonEmptyString)(e.appPath)&&(!t.t(e.locale)||(0,r.isString)(e.locale))?{type:`extractTranslations`,appPath:e.appPath,locale:e.locale??void 0}:void 0;if(e.type===`generateSourceClient`)return(0,r.isNonEmptyString)(e.appPath)&&(0,r.isString)(e.schema)?{type:`generateSourceClient`,appPath:e.appPath,schema:e.schema}:void 0}},c=e=>{process.connected||process.exit(1),process.send?.(e,void 0,{},()=>process.exit(0))},l=async()=>{if(!t.t(o))return null;let{snapshotApi:e,buildId:n}=o;return o=void 0,e.releaseSourceSnapshot({buildId:n})},u=()=>{l().then(()=>process.exit(1),()=>process.exit(1))},d=e=>{if(!process.connected){u();return}process.send?.(e)},f=e=>{if(!(!n.t(e)||e.success!==!0||!n.t(e.data)))return(0,r.isNonEmptyString)(e.data.buildId)?e.data.buildId:void 0},p=async({snapshotApi:e,appPath:n,holdSnapshot:r})=>{let i=a.signal,s=await e.buildSourceSnapshot({appPath:n,signal:i}),c=f(s);return t.t(c)?r?(o={snapshotApi:e,buildId:c},{type:`result`,result:s,isSnapshotHeld:!0}):{type:`result`,result:s,release:await e.releaseSourceSnapshot({buildId:c}),isSnapshotHeld:!1}:{type:`result`,result:s,isSnapshotHeld:!1}},m=e=>({type:`failure`,message:e instanceof Error?e.message:String(e),...e instanceof Error&&`code`in e&&(0,r.isString)(e.code)?{code:e.code}:{},...e instanceof Error&&`hint`in e&&(0,r.isString)(e.hint)?{hint:e.hint}:{},...e instanceof Error&&`details`in e&&n.t(e.details)?{details:e.details}:{}});process.on(`SIGINT`,()=>void 0),process.on(`disconnect`,()=>{a.abort(),setTimeout(()=>process.exit(1),i),t.t(o)&&u()}),process.on(`message`,e=>{let n=s(e);if(!t.t(n)){c({type:`failure`,message:`The app worker received a request it cannot read.`});return}if(n.type===`cancel`){a.abort();return}if(n.type===`release`){l().then(e=>c({type:`released`,release:e}),e=>c(m(e)));return}if(n.type===`pull`){Promise.resolve().then(()=>require("./chunks/pull-source-CI36sCYG.cjs")).then(async({pullSource:e})=>{c({type:`result`,result:await e({...n,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`bundleSnapshot`){Promise.resolve().then(()=>require("./chunks/build-source-snapshot-DWimLnHj.cjs")).then(async({buildSourceSnapshot:e,releaseSourceSnapshot:t})=>{let r=()=>p({snapshotApi:{buildSourceSnapshot:e,releaseSourceSnapshot:t},appPath:n.appPath,holdSnapshot:n.holdSnapshot});if(!n.collectWatchInputs)return r();let{collectWatchInputs:i}=await Promise.resolve().then(()=>require("./chunks/collect-watch-inputs-Cj9epSJw.cjs")).then(e=>e.t),{recordTypecheckConfigInputs:a}=await Promise.resolve().then(()=>require("./chunks/record-typecheck-config-inputs-BMV55iFx.cjs")),o=await i(async()=>(await a(n.appPath),r()));return{...o.result,watchInputs:o.watchInputs}}).then(e=>e.type===`result`&&e.isSnapshotHeld?d(e):c(e),e=>c(m(e)));return}if(n.type===`typecheckSource`){Promise.resolve().then(()=>require("./chunks/typecheck-application-CiGxmS69.cjs")).then(e=>e.n).then(async({typecheckApplication:e})=>{c({type:`result`,result:await e({appPath:n.appPath,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`extractTranslations`){Promise.resolve().then(()=>require("./chunks/extract-source-translations-Ca9bNo4l.cjs")).then(async({extractSourceTranslations:e})=>{c({type:`result`,result:await e({appPath:n.appPath,locale:n.locale,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`buildManifest`){Promise.resolve().then(()=>require("./chunks/build-source-manifest-DPNf_SHD.cjs")).then(async({buildSourceManifest:e})=>{c({type:`result`,result:await e({appPath:n.appPath,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`readSourceIdentity`){Promise.resolve().then(()=>require("./chunks/read-source-identity-DwLS3ZPe.cjs")).then(async({readSourceIdentity:e})=>{c({type:`result`,result:await e({appPath:n.appPath,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}if(n.type===`generateSourceClient`){Promise.resolve().then(()=>require("./chunks/generate-application-client-Dlp_O7qk.cjs")).then(async({generateApplicationClient:e})=>{c({type:`result`,result:await e({appPath:n.appPath,schema:n.schema,signal:a.signal}),isSnapshotHeld:!1})}).catch(e=>c(m(e)));return}});
|
package/dist/chunks/{assert-app-roles-allowed-Dj0LJI66.cjs → assert-app-roles-allowed-ivmt_Ovf.cjs}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("./build--4zYt4wd.cjs"),t=require("./isNonEmptyArray-v52xg4Xj.cjs"),n=require("./isPlainObject-fJEJm71P.cjs"),r=require("./cli-error-CrUD8uMp.cjs"),i=require("./getApplicationManifestRoleViolations-Cjxq9trm.cjs"),a=require("./is-same-universal-identifier-Bm_wb6Ez.cjs"),o=require("./fetch-workspace-or-throw-
|
|
1
|
+
const e=require("./build--4zYt4wd.cjs"),t=require("./isNonEmptyArray-v52xg4Xj.cjs"),n=require("./isPlainObject-fJEJm71P.cjs"),r=require("./cli-error-CrUD8uMp.cjs"),i=require("./getApplicationManifestRoleViolations-Cjxq9trm.cjs"),a=require("./is-same-universal-identifier-Bm_wb6Ez.cjs"),o=require("./fetch-workspace-or-throw-M28SLp-p.cjs");var s=e.t(),c=e=>n.t(e.application)&&(0,s.isArray)(e.roles)&&(0,s.isArray)(e.agents),l=({manifest:e})=>c(e)?i.n({manifest:e}):[],u=({build:e,violations:t})=>{throw new r.t({code:`INVALID_INPUT`,message:`${e.application.displayName} declares roles a marketplace app cannot declare:\n${t.map(e=>`- ${i.t(e)}`).join(`
|
|
2
2
|
`)}`,hint:`Keep only the application role and the roles of your agents, without row-level rules or field permissions. The workspace custom app configures those.`})},d=({build:e})=>{let n=l(e);t.t(n)&&u({build:e,violations:n})},f=async({build:e,target:n,signal:r})=>{let i=l(e);t.t(i)&&(a.t({value:(await o.t({target:n,signal:r,shouldIncludeCustomApplication:!0})).workspaceCustomApplication?.universalIdentifier,universalIdentifier:e.application.universalIdentifier})||u({build:e,violations:i}))};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
package/dist/chunks/{build-source-manifest-NKV2vL7L.cjs → build-source-manifest-DPNf_SHD.cjs}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("./compile-application-translations-
|
|
1
|
+
const e=require("./compile-application-translations-Ctxz-abI.cjs"),t=require("./cli-error-CrUD8uMp.cjs"),n=require("./get-tooling-error-context-CZKTM7Q6.cjs"),r=require("./resolve-source-sdk-BDwffWHb.cjs");let i=require("esbuild");var a=async({appPath:a,signal:o})=>{let s=[],c=e=>{s.push({severity:`warning`,code:`BUILD_WARNING`,message:e})};try{o.throwIfAborted(),await r.t({appPath:a});let t=await e.r(a);if(o.throwIfAborted(),!t.success)return{success:!1,error:{code:`MANIFEST_BUILD_FAILED`,message:t.errors.join(`
|
|
2
2
|
`)},diagnostics:t.errors.map(e=>({severity:`error`,code:`MANIFEST_BUILD_FAILED`,message:e}))};t.warnings.forEach(c);let n=await e.t({appPath:a,onWarning:c});return o.throwIfAborted(),{success:!0,data:{manifest:{...t.manifest,translations:n},filePaths:t.filePaths},diagnostics:s}}catch(e){return{success:!1,error:{code:o.aborted?`CANCELLED`:e instanceof t.t?e.code:`MANIFEST_BUILD_FAILED`,message:e instanceof Error?e.message:String(e),...n.t(e)},diagnostics:s}}finally{await(0,i.stop)()}};exports.buildSourceManifest=a;
|
package/dist/chunks/{build-source-snapshot-DlrEwB9C.cjs → build-source-snapshot-DWimLnHj.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./build--4zYt4wd.cjs"),n=require("./isDefined-CJctgvfE.cjs"),r=require("./compile-application-translations-
|
|
1
|
+
const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./build--4zYt4wd.cjs"),n=require("./isDefined-CJctgvfE.cjs"),r=require("./compile-application-translations-Ctxz-abI.cjs"),i=require("./isNonEmptyArray-v52xg4Xj.cjs"),a=require("./isPlainObject-fJEJm71P.cjs"),o=require("./CustomError-BUuYEmSr.cjs"),s=require("./is-supported-locale-DUMI9QQ2.cjs"),c=require("./locale-catalog-format-BD4XDEnl.cjs"),l=require("./is-inside-directory-CymDrDJC.cjs"),u=require("./validate-app-path-Dau-PC0a.cjs"),d=require("./collect-watch-inputs-Cj9epSJw.cjs"),f=require("./fs-utils-BcNux7fF.cjs"),p=require("./cli-error-CrUD8uMp.cjs"),m=require("./get-tooling-error-context-CZKTM7Q6.cjs"),h=require("./typecheck-application-CiGxmS69.cjs"),g=require("./isRestorableApplicationSourcePath-Du_zM55R.cjs"),_=require("./AssetDirectory-c_JEwMr2.cjs"),v=require("./resolve-source-sdk-BDwffWHb.cjs"),y=require("./constants-Cf5-CwMu.cjs");let ee=require("node:zlib"),b=require("node:crypto"),x=require("node:fs/promises"),S=require("node:path"),te=require("node:module"),C=require("node:fs"),w=require("esbuild"),ne=e.r(w,1);w=e.r(w);let T=require("typescript"),E=e.r(T,1);T=e.r(T);let D=require("path");D=e.r(D);let O=require("crypto");O=e.r(O);var k=`twenty:front-component-shared-dependencies`,re={js:`import { createRequire as __createRequire } from 'module';
|
|
2
2
|
const require = __createRequire(import.meta.url);`},A=`.twenty/output`,j=e=>c.o(c.a(c.s(e))).slice(0,32),M=e=>j(JSON.stringify(JSON.parse(e))),ie=({directory:e,dependencies:t,shouldIncludeLibraries:r=!1})=>{let i=S.posix.normalize((0,S.resolve)(e,`component-type-references.ts`).replace(/\\/g,`/`)),a=t.filter(e=>!e.endsWith(`.css`)).map(e=>`export * from ${JSON.stringify(e)};`).join(`
|
|
3
3
|
`),o={target:E.default.ScriptTarget.ES2022,module:E.default.ModuleKind.ESNext,moduleResolution:E.default.ModuleResolutionKind.Bundler,preserveSymlinks:!0,noEmit:!0,noLib:!r,types:[]},s={},c=E.default.createCompilerHost(o),l=c.readFile;c.readFile=e=>{let t=S.posix.normalize(e.replace(/\\/g,`/`));if(t===i)return a;let r=l(e),o=t.indexOf(`/node_modules/`);return n.t(r)&&o!==-1&&(/\.[cm]?tsx?$/.test(t)||t.endsWith(`/package.json`))&&(s[t.slice(o)]=r),r},E.default.createProgram([i],o,c).getTypeChecker();for(let e of t){let{resolvedModule:t}=E.default.resolveModuleName(e,i,o,c);if(!n.t(t)||![E.default.Extension.Js,E.default.Extension.Jsx,E.default.Extension.Mjs,E.default.Extension.Cjs].some(e=>e===t.extension))continue;let r=S.posix.normalize(t.resolvedFileName.replace(/\\/g,`/`)),a=r.indexOf(`/node_modules/`);if(a===-1)continue;let l=r.slice(a).replace(/\.([cm]?)jsx?$/,`.d.$1ts`);s[l]=`${s[l]??``}declare module ${JSON.stringify(e)};\n`}return s},N=e=>`__shared_dependencies_${e.replace(/[^A-Za-z0-9]/g,`_`)}__`,ae=({specifier:e,exportNames:t})=>{let n=N(e),r=[...t.namedExports,...t.hasDefaultExport?[`default`]:[]];return r.length===0?`import ${JSON.stringify(k)};`:r.map((e,t)=>`export { ${n}_${t} as ${JSON.stringify(e)} } from ${JSON.stringify(k)};`).join(`
|
|
4
4
|
`)},oe=`twenty-shared-dependencies-shim`,se=({getSharedDependenciesBuildContext:e})=>({name:`twenty-shared-dependencies-shim`,setup:t=>{t.onResolve({filter:/.*/},({path:t})=>{let r=e();if(n.t(r)&&r.exportNamesBySpecifier.has(t))return{path:t,namespace:oe}}),t.onLoad({filter:/.*/,namespace:oe},({path:t})=>{let r=e()?.exportNamesBySpecifier.get(t);if(n.t(r))return{contents:ae({specifier:t,exportNames:r}),loader:`js`}})}}),ce=e=>`if (typeof document !== 'undefined') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return`2.
|
|
1
|
+
Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return`2.68.0`}});
|