twenty 2.64.0 → 2.65.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.
Files changed (68) hide show
  1. package/dist/app-template/yarn.lock +16 -16
  2. package/dist/app-worker.cjs +1 -1
  3. package/dist/chunks/assert-app-roles-allowed-C4syxo2P.cjs +2 -0
  4. package/dist/chunks/{build-source-manifest-CivM9QlD.cjs → build-source-manifest-BXSPu3cN.cjs} +1 -1
  5. package/dist/chunks/{build-source-snapshot-BEYMotI-.cjs → build-source-snapshot-DXDxwxMF.cjs} +1 -1
  6. package/dist/chunks/{cli-version.constant-DbksYiUq.cjs → cli-version.constant-DHNpJ_rq.cjs} +1 -1
  7. package/dist/chunks/compile-application-translations-Dkf_xJ-1.cjs +58 -0
  8. package/dist/chunks/compute-deterministic-uuid.util-BHojBHTU.cjs +1 -0
  9. package/dist/chunks/create-metadata-client-DOQK3gKE.cjs +6 -0
  10. package/dist/chunks/{extract-source-translations-DIA4VCMw.cjs → extract-source-translations-CdX9bsGE.cjs} +1 -1
  11. package/dist/chunks/fetch-app-export-kiQnE1Vi.cjs +1 -0
  12. package/dist/chunks/{fetch-metadata-inspection-Bg9N-xN9.cjs → fetch-metadata-inspection-9UIOxMWz.cjs} +1 -1
  13. package/dist/chunks/{fetch-signed-in-identity-4eDYfKrQ.cjs → fetch-signed-in-identity-DS7llq6p.cjs} +1 -1
  14. package/dist/chunks/fetch-workspace-or-throw-DsxaW4lw.cjs +1 -0
  15. package/dist/chunks/{get-client-generation-skip-reason-Ci_I89j8.cjs → get-client-generation-skip-reason-BG0kMvEP.cjs} +1 -1
  16. package/dist/chunks/get-field-universal-identifier.util-4kQ5e4Tv.cjs +1 -0
  17. package/dist/chunks/getApplicationManifestRoleViolations-B1uo1G5p.cjs +1 -0
  18. package/dist/chunks/{global-flags.constant-Cy2IsDun.cjs → global-flags.constant-Cz9Pu1gw.cjs} +1 -1
  19. package/dist/chunks/{is-valid-package-name-CjafE459.cjs → is-valid-package-name-DOBkurja.cjs} +1 -1
  20. package/dist/chunks/pull-minimum-sdk-version.constant-C6NC1Jf_.cjs +6 -0
  21. package/dist/chunks/{pull-source-Bw4NRNJu.cjs → pull-source-DKof1UA8.cjs} +1 -1
  22. package/dist/chunks/{read-application-identifier-B9d-Ow2J.cjs → read-application-identifier-BB0WRzMY.cjs} +1 -1
  23. package/dist/chunks/{read-infer-deletion-option-DWh9S1Gq.cjs → read-infer-deletion-option-BiBJJH9Z.cjs} +1 -1
  24. package/dist/chunks/record-pull-base-D9koU6CG.cjs +1 -0
  25. package/dist/chunks/{resolve-command-target-DN85H7eA.cjs → resolve-command-target-BVgM2_NY.cjs} +1 -1
  26. package/dist/chunks/{run-app-add-command-BuoyG82_.cjs → run-app-add-command-D9UvSCRi.cjs} +3 -3
  27. package/dist/chunks/{run-app-apply-command-mmqc1_Oo.cjs → run-app-apply-command-BEF7BFvH.cjs} +1 -1
  28. package/dist/chunks/{run-app-build-command-CI4w2jD7.cjs → run-app-build-command-O25lkSwj.cjs} +1 -1
  29. package/dist/chunks/{run-app-dev-command-DrX-0548.cjs → run-app-dev-command-Boqdovo0.cjs} +1 -1
  30. package/dist/chunks/{run-app-exec-command-BDjvtcCN.cjs → run-app-exec-command-AejFDwrF.cjs} +1 -1
  31. package/dist/chunks/{run-app-generate-client-command-DW_6iosJ.cjs → run-app-generate-client-command-HQnRfPSd.cjs} +1 -1
  32. package/dist/chunks/{run-app-init-command-DezgcYp1.cjs → run-app-init-command-BiWlxuhq.cjs} +1 -1
  33. package/dist/chunks/{run-app-install-command-DB1JjFhO.cjs → run-app-install-command-D6Iog7YY.cjs} +1 -1
  34. package/dist/chunks/{run-app-operation-BwPt2bdD.cjs → run-app-operation-ya6yEswL.cjs} +1 -1
  35. package/dist/chunks/run-app-plan-command-C9teUXwT.cjs +1 -0
  36. package/dist/chunks/run-app-publish-command-TTp1zvc2.cjs +1 -0
  37. package/dist/chunks/run-app-pull-command-CB5ulUDP.cjs +6 -0
  38. package/dist/chunks/{run-app-typecheck-command-BWE5ii7e.cjs → run-app-typecheck-command-CwNuLuVW.cjs} +1 -1
  39. package/dist/chunks/{run-app-uninstall-command-BgaBDrdk.cjs → run-app-uninstall-command-BTxmy7EA.cjs} +1 -1
  40. package/dist/chunks/{run-auth-login-command-KO2ifeY7.cjs → run-auth-login-command-GTYHkqks.cjs} +1 -1
  41. package/dist/chunks/{run-auth-status-command-CvGcoPtC.cjs → run-auth-status-command-D-RJkyHP.cjs} +1 -1
  42. package/dist/chunks/{run-cli-CvHrVor5.cjs → run-cli-ChTwbHN0.cjs} +1 -1
  43. package/dist/chunks/{run-commands-command-DRrZNLVB.cjs → run-commands-command-Dc2s4CLF.cjs} +1 -1
  44. package/dist/chunks/{run-data-export-command-Cx3kI2k_.cjs → run-data-export-command-Uona_veE.cjs} +1 -1
  45. package/dist/chunks/{run-data-get-command-CABKqxAv.cjs → run-data-get-command-CsSFwlvd.cjs} +1 -1
  46. package/dist/chunks/{run-data-list-command-D4hPLTvj.cjs → run-data-list-command-DsUi50ev.cjs} +1 -1
  47. package/dist/chunks/{run-doctor-command-COB76enz.cjs → run-doctor-command-BWUIB09t.cjs} +1 -1
  48. package/dist/chunks/{run-metadata-field-describe-command-8moX6Uye.cjs → run-metadata-field-describe-command-CO5xw_pA.cjs} +1 -1
  49. package/dist/chunks/{run-metadata-field-list-command-BICpDnOb.cjs → run-metadata-field-list-command-BVQqm-C4.cjs} +1 -1
  50. package/dist/chunks/{run-metadata-object-describe-command-DCb5Ek8k.cjs → run-metadata-object-describe-command-WqdWjHKk.cjs} +1 -1
  51. package/dist/chunks/{run-metadata-object-list-command-9-X0oimh.cjs → run-metadata-object-list-command-B9FNZf1p.cjs} +1 -1
  52. package/dist/chunks/{run-open-command-CWBFD_2g.cjs → run-open-command-CJdT-RJo.cjs} +1 -1
  53. package/dist/chunks/{run-version-command-wTaZJPhd.cjs → run-version-command-CVPmLMkq.cjs} +1 -1
  54. package/dist/chunks/{sign-in-to-remote-again-CzhCXTTn.cjs → sign-in-to-remote-again-BQY4nrqe.cjs} +1 -1
  55. package/dist/chunks/standard-object-fields.constant-5mGzYzj4.cjs +1 -0
  56. package/dist/chunks/typed-object-entries-1_YZ6pWb.cjs +1 -0
  57. package/dist/cli.cjs +1 -1
  58. package/package.json +2 -2
  59. package/dist/chunks/compile-application-translations-Bv-kC52f.cjs +0 -58
  60. package/dist/chunks/create-metadata-client-BlgP9Pvz.cjs +0 -6
  61. package/dist/chunks/fetch-workspace-or-throw-DgSxIQDi.cjs +0 -1
  62. package/dist/chunks/get-field-universal-identifier.util-d1401qKf.cjs +0 -1
  63. package/dist/chunks/pull-minimum-sdk-version.constant-lr3UTcEG.cjs +0 -6
  64. package/dist/chunks/record-pull-base-Cr_kwKnW.cjs +0 -1
  65. package/dist/chunks/run-app-plan-command-B2fzK_uT.cjs +0 -1
  66. package/dist/chunks/run-app-publish-command-CQsZgljP.cjs +0 -1
  67. package/dist/chunks/run-app-pull-command-CEEo-CfN.cjs +0 -6
  68. package/dist/chunks/standard-object-fields.constant-BxrNzIwQ.cjs +0 -1
@@ -789,9 +789,9 @@ __metadata:
789
789
  oxlint: "npm:^0.16.0"
790
790
  react: "npm:^19.0.0"
791
791
  react-dom: "npm:^19.0.0"
792
- twenty-client-sdk: "npm:2.64.0"
793
- twenty-sdk: "npm:2.64.0"
794
- twenty-ui: "npm:2.64.0"
792
+ twenty-client-sdk: "npm:2.65.0"
793
+ twenty-sdk: "npm:2.65.0"
794
+ twenty-ui: "npm:2.65.0"
795
795
  typescript: "npm:^5.9.3"
796
796
  vite-tsconfig-paths: "npm:^4.2.1"
797
797
  vitest: "npm:^4.1.12"
@@ -1580,36 +1580,36 @@ __metadata:
1580
1580
  languageName: node
1581
1581
  linkType: hard
1582
1582
 
1583
- "twenty-client-sdk@npm:2.64.0":
1584
- version: 2.64.0
1585
- resolution: "twenty-client-sdk@npm:2.64.0"
1583
+ "twenty-client-sdk@npm:2.65.0":
1584
+ version: 2.65.0
1585
+ resolution: "twenty-client-sdk@npm:2.65.0"
1586
1586
  dependencies:
1587
1587
  esbuild: "npm:^0.28.1"
1588
1588
  graphql: "npm:^16.8.1"
1589
1589
  lodash: "npm:^4.17.21"
1590
1590
  prettier: "npm:^3.8.3"
1591
- checksum: 10c0/1b315e98b6247577c7eb6fbb6885832c2135dcd69e35cb9e985ec7b969fc1ef715762a14c9fbc5d354bda082e64cea2c980429f414b86a9eefafaaa2a6379f6e
1591
+ checksum: 10c0/d3ff56a53997fb73af75e7ca28a2241eebdbd056e0ed2c428c622017105a46a19d5b42e12c40426531d2ad335b0a25f4ae1762f8b73d3649c15fda0af0dac688
1592
1592
  languageName: node
1593
1593
  linkType: hard
1594
1594
 
1595
- "twenty-sdk@npm:2.64.0":
1596
- version: 2.64.0
1597
- resolution: "twenty-sdk@npm:2.64.0"
1595
+ "twenty-sdk@npm:2.65.0":
1596
+ version: 2.65.0
1597
+ resolution: "twenty-sdk@npm:2.65.0"
1598
1598
  dependencies:
1599
1599
  "@sniptt/guards": "npm:^0.2.0"
1600
1600
  esbuild: "npm:^0.28.1"
1601
1601
  preact: "npm:^11.0.0"
1602
1602
  react: "npm:^19.2.0"
1603
1603
  react-dom: "npm:^19.2.0"
1604
- twenty-client-sdk: "npm:2.64.0"
1604
+ twenty-client-sdk: "npm:2.65.0"
1605
1605
  uuid: "npm:^13.0.2"
1606
- checksum: 10c0/b73a03afe0ecb82246d25cba469134e24ae8ca3e7f7fba8c7c9cadf1de7bb14f3840a6d995dc519edd5e50f3f475e7a521ac20aab8be84102936611432339a7a
1606
+ checksum: 10c0/3a53d1473146e7b9c932159244aeb1312ccb5d57063b64fed8833b1fa97a59aa9bb0bfd72959ab02b416399ca85f203a4732a8839dedf5ac7148e5672a046126
1607
1607
  languageName: node
1608
1608
  linkType: hard
1609
1609
 
1610
- "twenty-ui@npm:2.64.0":
1611
- version: 2.64.0
1612
- resolution: "twenty-ui@npm:2.64.0"
1610
+ "twenty-ui@npm:2.65.0":
1611
+ version: 2.65.0
1612
+ resolution: "twenty-ui@npm:2.65.0"
1613
1613
  dependencies:
1614
1614
  "@base-ui/react": "npm:^1.9.0"
1615
1615
  "@base-ui/utils": "npm:0.5.0"
@@ -1629,7 +1629,7 @@ __metadata:
1629
1629
  optional: true
1630
1630
  monaco-editor:
1631
1631
  optional: true
1632
- checksum: 10c0/d973e97b6e17610a7d5c9989afcf0e41379f0cd3d45d070bae38614c235d52247b24df42a89fdbbb289936df904f73f2f3168984abb3e252d516a0f0e6dd38f2
1632
+ checksum: 10c0/12d7676216fc090d81935364698450aa510f579a6551a3d4cb186d6f006d77b523414571a7e6a0720ee022a533e936841904e2561468d9ddbd71a4da4d622c6b
1633
1633
  languageName: node
1634
1634
  linkType: hard
1635
1635
 
@@ -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-Bw4NRNJu.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-BEYMotI-.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-DIA4VCMw.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-CivM9QlD.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-D_wD1tkE.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}});
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-DKof1UA8.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-DXDxwxMF.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-CdX9bsGE.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-BXSPu3cN.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-D_wD1tkE.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,2 @@
1
+ const e=require("./build--4zYt4wd.cjs"),t=require("./isNonEmptyArray-v52xg4Xj.cjs"),n=require("./isPlainObject-fJEJm71P.cjs"),r=require("./getApplicationManifestRoleViolations-B1uo1G5p.cjs"),i=require("./cli-error-CrUD8uMp.cjs"),a=require("./is-same-universal-identifier-Bm_wb6Ez.cjs"),o=require("./fetch-workspace-or-throw-DsxaW4lw.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)?r.n({manifest:e}):[],u=({build:e,violations:t})=>{throw new i.t({code:`INVALID_INPUT`,message:`${e.application.displayName} declares roles a marketplace app cannot declare:\n${t.map(e=>`- ${r.t(e)}`).join(`
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}});
@@ -1,2 +1,2 @@
1
- const e=require("./compile-application-translations-Bv-kC52f.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(`
1
+ const e=require("./compile-application-translations-Dkf_xJ-1.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;
@@ -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-Bv-kC52f.cjs"),i=require("./isNonEmptyArray-v52xg4Xj.cjs"),a=require("./isPlainObject-fJEJm71P.cjs"),o=require("./is-supported-locale-DUMI9QQ2.cjs"),s=require("./locale-catalog-format-BD4XDEnl.cjs"),c=require("./is-inside-directory-CymDrDJC.cjs"),l=require("./validate-app-path-Dau-PC0a.cjs"),u=require("./collect-watch-inputs-Cj9epSJw.cjs"),d=require("./fs-utils-BcNux7fF.cjs"),f=require("./cli-error-CrUD8uMp.cjs"),p=require("./get-tooling-error-context-CZKTM7Q6.cjs"),m=require("./typecheck-application-CiGxmS69.cjs"),h=require("./isRestorableApplicationSourcePath-Du_zM55R.cjs"),g=require("./AssetDirectory-c_JEwMr2.cjs"),_=require("./resolve-source-sdk-BDwffWHb.cjs"),v=require("./constants-Cf5-CwMu.cjs");let y=require("node:zlib"),b=require("node:crypto"),x=require("node:fs/promises"),S=require("node:path"),ee=require("node:module"),C=require("node:fs"),w=require("esbuild"),te=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`,ne={js:`import { createRequire as __createRequire } from 'module';
1
+ const e=require("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./build--4zYt4wd.cjs"),n=require("./isDefined-CJctgvfE.cjs"),r=require("./compile-application-translations-Dkf_xJ-1.cjs"),i=require("./isNonEmptyArray-v52xg4Xj.cjs"),a=require("./isPlainObject-fJEJm71P.cjs"),o=require("./is-supported-locale-DUMI9QQ2.cjs"),s=require("./locale-catalog-format-BD4XDEnl.cjs"),c=require("./is-inside-directory-CymDrDJC.cjs"),l=require("./validate-app-path-Dau-PC0a.cjs"),u=require("./collect-watch-inputs-Cj9epSJw.cjs"),d=require("./fs-utils-BcNux7fF.cjs"),f=require("./cli-error-CrUD8uMp.cjs"),p=require("./get-tooling-error-context-CZKTM7Q6.cjs"),m=require("./typecheck-application-CiGxmS69.cjs"),h=require("./isRestorableApplicationSourcePath-Du_zM55R.cjs"),g=require("./AssetDirectory-c_JEwMr2.cjs"),_=require("./resolve-source-sdk-BDwffWHb.cjs"),v=require("./constants-Cf5-CwMu.cjs");let y=require("node:zlib"),b=require("node:crypto"),x=require("node:fs/promises"),S=require("node:path"),ee=require("node:module"),C=require("node:fs"),w=require("esbuild"),te=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`,ne={js:`import { createRequire as __createRequire } from 'module';
2
2
  const require = __createRequire(import.meta.url);`},A=`.twenty/output`,j=e=>s.o(s.a(s.s(e))).slice(0,32),re=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},M=e=>`__shared_dependencies_${e.replace(/[^A-Za-z0-9]/g,`_`)}__`,ae=({specifier:e,exportNames:t})=>{let n=M(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
  `)},N=`twenty-shared-dependencies-shim`,oe=({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:N}}),t.onLoad({filter:/.*/,namespace:N},({path:t})=>{let r=e()?.exportNamesBySpecifier.get(t);if(n.t(r))return{contents:ae({specifier:t,exportNames:r}),loader:`js`}})}}),se=e=>`if (typeof document !== 'undefined') {
@@ -1 +1 @@
1
- Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return`2.64.0`}});
1
+ Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return`2.65.0`}});