twenty 2.59.0 → 2.61.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 +39 -39
- package/dist/app-worker.cjs +1 -1
- package/dist/chunks/application-source-globs-FUknjGdt.cjs +1 -0
- package/dist/chunks/{build-source-manifest-Ddwa8ath.cjs → build-source-manifest-DQ5YF5PV.cjs} +1 -1
- package/dist/chunks/{build-source-snapshot-CUsEVNsQ.cjs → build-source-snapshot-DIjGWX_5.cjs} +19 -19
- package/dist/chunks/{cli-version.constant-y_3mZ4gx.cjs → cli-version.constant-Dn-WFWf8.cjs} +1 -1
- package/dist/chunks/collect-watch-inputs-Cj9epSJw.cjs +1 -0
- package/dist/chunks/compile-application-translations-CDykMbFf.cjs +58 -0
- package/dist/chunks/create-metadata-client-CrOsu4u3.cjs +6 -0
- package/dist/chunks/{create-rest-client-HbzXSfhZ.cjs → create-rest-client-D3ZXtAxc.cjs} +1 -1
- package/dist/chunks/extract-manifest-from-file-B3pazFD1.cjs +1 -0
- package/dist/chunks/{extract-source-translations-B-XmoSt7.cjs → extract-source-translations-b9c2CH4w.cjs} +1 -1
- package/dist/chunks/{fetch-metadata-inspection-ooyNi2DN.cjs → fetch-metadata-inspection-DN8am1j0.cjs} +1 -1
- package/dist/chunks/{fetch-signed-in-identity-nCzWXunB.cjs → fetch-signed-in-identity-kgzejZg2.cjs} +1 -1
- package/dist/chunks/fetch-workspace-or-throw-BIu0K3A-.cjs +1 -0
- package/dist/chunks/fs-utils-BcNux7fF.cjs +2 -0
- package/dist/chunks/{get-client-generation-skip-reason-BZiAtHwa.cjs → get-client-generation-skip-reason-C_oaO89K.cjs} +1 -1
- package/dist/chunks/get-mismatched-remote-url-D5jFYvVx.cjs +1 -0
- package/dist/chunks/global-flags.constant-JcdNC5G1.cjs +1 -0
- package/dist/chunks/is-exported-manifest-BHA_mGa6.cjs +1 -0
- package/dist/chunks/{is-valid-package-name-Ds0DY5qP.cjs → is-valid-package-name-o_jWsuUX.cjs} +1 -1
- package/dist/chunks/isRestorableApplicationSourcePath-Du_zM55R.cjs +1 -0
- package/dist/chunks/parse-app-export-B9Ocghe1.cjs +1 -0
- package/dist/chunks/pull-minimum-sdk-version.constant-DOAFtDDD.cjs +6 -0
- package/dist/chunks/pull-source-B5Hot5CI.cjs +1 -0
- package/dist/chunks/{read-app-identity-Cny6sAGs.cjs → read-app-identity-M47izSWp.cjs} +1 -1
- package/dist/chunks/{read-application-identifier-C4U2JsfD.cjs → read-application-identifier-BlEwa2gR.cjs} +1 -1
- package/dist/chunks/read-application-identity-CYKNL1g5.cjs +1 -0
- package/dist/chunks/{read-infer-deletion-option-Hv5V-A47.cjs → read-infer-deletion-option-DeyWsiCS.cjs} +1 -1
- package/dist/chunks/{read-source-identity-CG9W0pSt.cjs → read-source-identity-bo4jC2Dh.cjs} +1 -1
- package/dist/chunks/read-watch-input-stamp-DKJ-Plk2.cjs +1 -0
- package/dist/chunks/record-pull-base-DKrQDDmc.cjs +1 -0
- package/dist/chunks/{record-typecheck-config-inputs-U2RUjjp9.cjs → record-typecheck-config-inputs-BMV55iFx.cjs} +1 -1
- package/dist/chunks/{resolve-command-target-CLqjjxCT.cjs → resolve-command-target-B9QG8OZs.cjs} +1 -1
- package/dist/chunks/{resolve-project-typescript-DO4LrLr-.cjs → resolve-project-typescript-DjMUr6ks.cjs} +1 -1
- package/dist/chunks/{resolve-source-sdk-C4Hu045V.cjs → resolve-source-sdk-BDwffWHb.cjs} +1 -1
- package/dist/chunks/{run-app-add-command-b9sm20rn.cjs → run-app-add-command-De3cIhU0.cjs} +1 -1
- package/dist/chunks/{run-app-apply-command-CD7NOdiR.cjs → run-app-apply-command-BXVHKrW3.cjs} +2 -2
- package/dist/chunks/{run-app-build-command-C8ubC2GH.cjs → run-app-build-command-BMwzOOov.cjs} +1 -1
- package/dist/chunks/run-app-dev-command-Bg4zIJnX.cjs +3 -0
- package/dist/chunks/{run-app-exec-command-cw4vPVHE.cjs → run-app-exec-command-BOhA0aZN.cjs} +1 -1
- package/dist/chunks/{run-app-generate-client-command-BVRFtPni.cjs → run-app-generate-client-command-B7p5M_hN.cjs} +1 -1
- package/dist/chunks/{run-app-init-command-DuxE1JhM.cjs → run-app-init-command-DJ0UipFh.cjs} +1 -1
- package/dist/chunks/{run-app-install-command-DlcUupwk.cjs → run-app-install-command-CsK8l0Ou.cjs} +1 -1
- package/dist/chunks/{run-app-logs-command-CaLIVesh.cjs → run-app-logs-command-COAdNMuL.cjs} +1 -1
- package/dist/chunks/{run-app-operation-DKPh4r7b.cjs → run-app-operation-B4JecUV7.cjs} +1 -1
- package/dist/chunks/{run-app-plan-command-BGQ7vJZT.cjs → run-app-plan-command-hASkfDaJ.cjs} +1 -1
- package/dist/chunks/{run-app-publish-command-BGNJVIBl.cjs → run-app-publish-command-ClsjL5OP.cjs} +1 -1
- package/dist/chunks/{run-app-pull-command-NbZ8fjhE.cjs → run-app-pull-command-BfHIuJ1m.cjs} +2 -2
- package/dist/chunks/{run-app-translations-extract-command-CGIFvpC1.cjs → run-app-translations-extract-command-DHIEEFXs.cjs} +1 -1
- package/dist/chunks/{run-app-typecheck-command-D0KV3hFS.cjs → run-app-typecheck-command--4NoTac-.cjs} +1 -1
- package/dist/chunks/{run-app-uninstall-command-CepQk4_4.cjs → run-app-uninstall-command-ClRoCRjv.cjs} +1 -1
- package/dist/chunks/run-auth-login-command-p9VHNoqZ.cjs +1 -0
- package/dist/chunks/{run-auth-status-command-Dr4YQuLn.cjs → run-auth-status-command-CdqOc2-Q.cjs} +1 -1
- package/dist/chunks/{run-cli-oUabLHNz.cjs → run-cli-CgBPkP_r.cjs} +3 -3
- package/dist/chunks/{run-commands-command-DYm9TuAx.cjs → run-commands-command-BF3y7Dz2.cjs} +1 -1
- package/dist/chunks/{run-data-export-command-C4_7rc0v.cjs → run-data-export-command-ca_JYOnT.cjs} +1 -1
- package/dist/chunks/{run-data-get-command-CcEYQ4xO.cjs → run-data-get-command-BZTsbTvb.cjs} +1 -1
- package/dist/chunks/{run-data-list-command-D0K7HFD-.cjs → run-data-list-command-UI5hngdt.cjs} +1 -1
- package/dist/chunks/{run-doctor-command-fHf5vCGl.cjs → run-doctor-command-B_bcpjAT.cjs} +2 -2
- package/dist/chunks/run-local-start-command-B8N5Jgjd.cjs +1 -0
- package/dist/chunks/{run-metadata-field-describe-command-nfKhj-m_.cjs → run-metadata-field-describe-command-CH7Yob_y.cjs} +1 -1
- package/dist/chunks/{run-metadata-field-list-command-CW2I6hmh.cjs → run-metadata-field-list-command-BzxIj9tX.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-describe-command-WLxcOe4T.cjs → run-metadata-object-describe-command-BF9FzF06.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-list-command-Q4pwAEwO.cjs → run-metadata-object-list-command-Tk_Fjfc5.cjs} +1 -1
- package/dist/chunks/{run-open-command-DPrz3N1e.cjs → run-open-command-BldBUk02.cjs} +1 -1
- package/dist/chunks/{run-version-command-BWTSv9_Y.cjs → run-version-command-B_6F7XYT.cjs} +1 -1
- package/dist/chunks/{sign-in-to-remote-again-DFQr-xvw.cjs → sign-in-to-remote-again-BqU_-38L.cjs} +1 -1
- package/dist/chunks/standard-object-fields.constant-CA16BdJ2.cjs +1 -0
- package/dist/chunks/{typecheck-application-8A504oUF.cjs → typecheck-application-CiGxmS69.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/docs/commands.md +45 -17
- package/package.json +2 -2
- package/src/app/bundles/README.md +6 -0
- package/src/app/dev/README.md +13 -1
- package/src/app/pull/README.md +51 -18
- package/dist/chunks/FileFolder-BmCXp_bX.cjs +0 -1
- package/dist/chunks/collect-watch-inputs-DfWAkX1r.cjs +0 -1
- package/dist/chunks/compile-application-translations-C9UZQCAb.cjs +0 -58
- package/dist/chunks/create-metadata-client-FopHnDj0.cjs +0 -6
- package/dist/chunks/extract-manifest-from-file-DPDIhnyg.cjs +0 -1
- package/dist/chunks/fetch-workspace-or-throw-DHoa_BYF.cjs +0 -1
- package/dist/chunks/fs-utils-DoSmCBu8.cjs +0 -2
- package/dist/chunks/global-flags.constant-DMHyA_PD.cjs +0 -1
- package/dist/chunks/is-exported-manifest-C4lO285q.cjs +0 -1
- package/dist/chunks/list-application-source-files-DcyU-HrX.cjs +0 -1
- package/dist/chunks/parse-app-export-BC81wdmc.cjs +0 -1
- package/dist/chunks/pull-minimum-sdk-version.constant-DUMi_IUD.cjs +0 -6
- package/dist/chunks/pull-source-CXQQf8Lw.cjs +0 -1
- package/dist/chunks/read-application-identity-5sO-Mqb1.cjs +0 -1
- package/dist/chunks/read-watch-input-stamp-BxeOb0vI.cjs +0 -1
- package/dist/chunks/record-pull-base-8bIoAoiB.cjs +0 -1
- package/dist/chunks/run-app-dev-command-D1JOfJv6.cjs +0 -2
- package/dist/chunks/run-auth-login-command-DpS1bUdL.cjs +0 -1
- package/dist/chunks/run-local-start-command-DsFS9_ew.cjs +0 -1
- package/dist/chunks/standard-object-fields.constant-C4AVX0t2.cjs +0 -1
|
@@ -568,29 +568,29 @@ __metadata:
|
|
|
568
568
|
linkType: hard
|
|
569
569
|
|
|
570
570
|
"@tabler/icons-react@npm:^3.31.0":
|
|
571
|
-
version: 3.
|
|
572
|
-
resolution: "@tabler/icons-react@npm:3.
|
|
571
|
+
version: 3.52.0
|
|
572
|
+
resolution: "@tabler/icons-react@npm:3.52.0"
|
|
573
573
|
dependencies:
|
|
574
|
-
"@tabler/icons": "npm:3.
|
|
574
|
+
"@tabler/icons": "npm:3.52.0"
|
|
575
575
|
peerDependencies:
|
|
576
576
|
react: ">= 16"
|
|
577
|
-
checksum: 10c0/
|
|
577
|
+
checksum: 10c0/356a04ea42cc4fdbe9d76d336b493e3d6d768445767cca13b5474997367de069ce4f77512c2b5dd857250b1e6f12d39b92fd47d5e27558b859581a3a4674f8e6
|
|
578
578
|
languageName: node
|
|
579
579
|
linkType: hard
|
|
580
580
|
|
|
581
|
-
"@tabler/icons@npm:3.
|
|
582
|
-
version: 3.
|
|
583
|
-
resolution: "@tabler/icons@npm:3.
|
|
584
|
-
checksum: 10c0/
|
|
581
|
+
"@tabler/icons@npm:3.52.0":
|
|
582
|
+
version: 3.52.0
|
|
583
|
+
resolution: "@tabler/icons@npm:3.52.0"
|
|
584
|
+
checksum: 10c0/80cfbec0e159a7ec6786fd15903e75aa74c037cdcd011ec12ec497f21c85691e794b59175b283e0b667d5b223c09a71d013066b90cf06bb08e080522a47ea38f
|
|
585
585
|
languageName: node
|
|
586
586
|
linkType: hard
|
|
587
587
|
|
|
588
588
|
"@tybys/wasm-util@npm:^0.10.3":
|
|
589
|
-
version: 0.10.
|
|
590
|
-
resolution: "@tybys/wasm-util@npm:0.10.
|
|
589
|
+
version: 0.10.5
|
|
590
|
+
resolution: "@tybys/wasm-util@npm:0.10.5"
|
|
591
591
|
dependencies:
|
|
592
592
|
tslib: "npm:^2.4.0"
|
|
593
|
-
checksum: 10c0/
|
|
593
|
+
checksum: 10c0/3734c712e0ccc926f319b8965b93208def4e5faaf0124bb5ae540d9919ebfd28a7183d72792a5b002b01e05b0e8c71c78d9432732dbc7f3f2b1de0c407d85e9a
|
|
594
594
|
languageName: node
|
|
595
595
|
linkType: hard
|
|
596
596
|
|
|
@@ -834,9 +834,9 @@ __metadata:
|
|
|
834
834
|
oxlint: "npm:^0.16.0"
|
|
835
835
|
react: "npm:^19.0.0"
|
|
836
836
|
react-dom: "npm:^19.0.0"
|
|
837
|
-
twenty-client-sdk: "npm:2.
|
|
838
|
-
twenty-sdk: "npm:2.
|
|
839
|
-
twenty-ui: "npm:2.
|
|
837
|
+
twenty-client-sdk: "npm:2.61.0"
|
|
838
|
+
twenty-sdk: "npm:2.61.0"
|
|
839
|
+
twenty-ui: "npm:2.61.0"
|
|
840
840
|
typescript: "npm:^5.9.3"
|
|
841
841
|
vite-tsconfig-paths: "npm:^4.2.1"
|
|
842
842
|
vitest: "npm:^4.1.12"
|
|
@@ -900,9 +900,9 @@ __metadata:
|
|
|
900
900
|
linkType: hard
|
|
901
901
|
|
|
902
902
|
"csstype@npm:^3.2.2":
|
|
903
|
-
version: 3.2.
|
|
904
|
-
resolution: "csstype@npm:3.2.
|
|
905
|
-
checksum: 10c0/
|
|
903
|
+
version: 3.2.4
|
|
904
|
+
resolution: "csstype@npm:3.2.4"
|
|
905
|
+
checksum: 10c0/29568f520e1e47b2e6e88e2cffe3b5369f08c1245c73e69595623cafb38816bd353387e0d665ce4330cfe2c9244f2a4671abe761cbd0b535bc27fab12b6b8a25
|
|
906
906
|
languageName: node
|
|
907
907
|
linkType: hard
|
|
908
908
|
|
|
@@ -1426,13 +1426,13 @@ __metadata:
|
|
|
1426
1426
|
linkType: hard
|
|
1427
1427
|
|
|
1428
1428
|
"postcss@npm:^8.5.32":
|
|
1429
|
-
version: 8.5.
|
|
1430
|
-
resolution: "postcss@npm:8.5.
|
|
1429
|
+
version: 8.5.33
|
|
1430
|
+
resolution: "postcss@npm:8.5.33"
|
|
1431
1431
|
dependencies:
|
|
1432
1432
|
nanoid: "npm:^3.3.20"
|
|
1433
1433
|
picocolors: "npm:^1.1.1"
|
|
1434
1434
|
source-map-js: "npm:^1.2.2"
|
|
1435
|
-
checksum: 10c0/
|
|
1435
|
+
checksum: 10c0/8711c5ad32a798813ae52dd51024881915ecc6171030f9cc1d3766d1969da20ade4cf71a645d7e54668cb45cb9622eac938dc1ce91fe1f9a0fa5f0bc8cbaa05a
|
|
1436
1436
|
languageName: node
|
|
1437
1437
|
linkType: hard
|
|
1438
1438
|
|
|
@@ -1592,9 +1592,9 @@ __metadata:
|
|
|
1592
1592
|
linkType: hard
|
|
1593
1593
|
|
|
1594
1594
|
"source-map-js@npm:^1.2.2":
|
|
1595
|
-
version: 1.2.
|
|
1596
|
-
resolution: "source-map-js@npm:1.2.
|
|
1597
|
-
checksum: 10c0/
|
|
1595
|
+
version: 1.2.4
|
|
1596
|
+
resolution: "source-map-js@npm:1.2.4"
|
|
1597
|
+
checksum: 10c0/b0fb346b142e89a19fa3299a259d8c0dc66626321634c30df260b2e8a1d4c1e219a6a28e8d10617cc54e7816d94eff5c4edd96e208172e93efc2c6fd75b111c6
|
|
1598
1598
|
languageName: node
|
|
1599
1599
|
linkType: hard
|
|
1600
1600
|
|
|
@@ -1635,9 +1635,9 @@ __metadata:
|
|
|
1635
1635
|
linkType: hard
|
|
1636
1636
|
|
|
1637
1637
|
"tabbable@npm:^6.0.0":
|
|
1638
|
-
version: 6.5.
|
|
1639
|
-
resolution: "tabbable@npm:6.5.
|
|
1640
|
-
checksum: 10c0/
|
|
1638
|
+
version: 6.5.2
|
|
1639
|
+
resolution: "tabbable@npm:6.5.2"
|
|
1640
|
+
checksum: 10c0/d0b210c93a0a61ff9a0fd448d537f7a69c5fabbddb90b7c8dfbf10c279147c8f7ae64e741fb8d7a0ba73fdf99496f34735c213092a2828a552cc359876b0ada4
|
|
1641
1641
|
languageName: node
|
|
1642
1642
|
linkType: hard
|
|
1643
1643
|
|
|
@@ -1720,37 +1720,37 @@ __metadata:
|
|
|
1720
1720
|
languageName: node
|
|
1721
1721
|
linkType: hard
|
|
1722
1722
|
|
|
1723
|
-
"twenty-client-sdk@npm:2.
|
|
1724
|
-
version: 2.
|
|
1725
|
-
resolution: "twenty-client-sdk@npm:2.
|
|
1723
|
+
"twenty-client-sdk@npm:2.61.0":
|
|
1724
|
+
version: 2.61.0
|
|
1725
|
+
resolution: "twenty-client-sdk@npm:2.61.0"
|
|
1726
1726
|
dependencies:
|
|
1727
1727
|
"@genql/runtime": "npm:^2.10.0"
|
|
1728
1728
|
esbuild: "npm:^0.28.1"
|
|
1729
1729
|
graphql: "npm:^16.8.1"
|
|
1730
1730
|
lodash: "npm:^4.17.21"
|
|
1731
1731
|
prettier: "npm:^3.8.3"
|
|
1732
|
-
checksum: 10c0/
|
|
1732
|
+
checksum: 10c0/883f4071b8f92547a7694611183a858fd44abe19c7274cc8600fd3d2fbfd1d6633150917484b6c8ca1fa563bd941667504e8cab5aa1541ed9ee364a3a34de4ee
|
|
1733
1733
|
languageName: node
|
|
1734
1734
|
linkType: hard
|
|
1735
1735
|
|
|
1736
|
-
"twenty-sdk@npm:2.
|
|
1737
|
-
version: 2.
|
|
1738
|
-
resolution: "twenty-sdk@npm:2.
|
|
1736
|
+
"twenty-sdk@npm:2.61.0":
|
|
1737
|
+
version: 2.61.0
|
|
1738
|
+
resolution: "twenty-sdk@npm:2.61.0"
|
|
1739
1739
|
dependencies:
|
|
1740
1740
|
"@sniptt/guards": "npm:^0.2.0"
|
|
1741
1741
|
esbuild: "npm:^0.28.1"
|
|
1742
1742
|
preact: "npm:^11.0.0"
|
|
1743
1743
|
react: "npm:^19.2.0"
|
|
1744
1744
|
react-dom: "npm:^19.2.0"
|
|
1745
|
-
twenty-client-sdk: "npm:2.
|
|
1745
|
+
twenty-client-sdk: "npm:2.61.0"
|
|
1746
1746
|
uuid: "npm:^13.0.2"
|
|
1747
|
-
checksum: 10c0/
|
|
1747
|
+
checksum: 10c0/5a6bf9777681663d4754ff9f8ceca9025adef6b6c4022ed2a729e0fd33fd52210fbb341028267befcc3839ca2bd4f0f38c28d6da5893f9b4ab29faf6e1fa294b
|
|
1748
1748
|
languageName: node
|
|
1749
1749
|
linkType: hard
|
|
1750
1750
|
|
|
1751
|
-
"twenty-ui@npm:2.
|
|
1752
|
-
version: 2.
|
|
1753
|
-
resolution: "twenty-ui@npm:2.
|
|
1751
|
+
"twenty-ui@npm:2.61.0":
|
|
1752
|
+
version: 2.61.0
|
|
1753
|
+
resolution: "twenty-ui@npm:2.61.0"
|
|
1754
1754
|
dependencies:
|
|
1755
1755
|
"@base-ui/react": "npm:^1.9.0"
|
|
1756
1756
|
"@base-ui/utils": "npm:0.5.0"
|
|
@@ -1770,7 +1770,7 @@ __metadata:
|
|
|
1770
1770
|
optional: true
|
|
1771
1771
|
monaco-editor:
|
|
1772
1772
|
optional: true
|
|
1773
|
-
checksum: 10c0/
|
|
1773
|
+
checksum: 10c0/44ac2e56110bb7938020f49aa11ee47a16feca47c20ad6b96087c8ae6951218e20c14dcec37ae52f06a330cf47eb74b1ea0804901f115b7b18faf44ddad3cb28
|
|
1774
1774
|
languageName: node
|
|
1775
1775
|
linkType: hard
|
|
1776
1776
|
|
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-
|
|
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-B5Hot5CI.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-DIjGWX_5.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-b9c2CH4w.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-DQ5YF5PV.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-bo4jC2Dh.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}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./AssetDirectory-c_JEwMr2.cjs");var t=[`**/*.ts`,`**/*.tsx`],n=[`**/node_modules/**`,`${e.t}/**`,`**/*.d.ts`,`**/dist/**`,`**/.twenty/**`];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
package/dist/chunks/{build-source-manifest-Ddwa8ath.cjs → build-source-manifest-DQ5YF5PV.cjs}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("./compile-application-translations-
|
|
1
|
+
const e=require("./compile-application-translations-CDykMbFf.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;
|