twenty 2.66.0 → 2.67.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 +16 -16
- package/dist/app-worker.cjs +1 -1
- package/dist/chunks/CustomError-BUuYEmSr.cjs +1 -0
- package/dist/chunks/RelationType-Bj6kxQ0H.cjs +1 -0
- package/dist/chunks/{assert-app-roles-allowed-Dczuq7Td.cjs → assert-app-roles-allowed-Dj0LJI66.cjs} +1 -1
- package/dist/chunks/{build-source-manifest-BdwCLi7-.cjs → build-source-manifest-NKV2vL7L.cjs} +1 -1
- package/dist/chunks/{build-source-snapshot-CA4m93n4.cjs → build-source-snapshot-DlrEwB9C.cjs} +17 -17
- package/dist/chunks/{cli-version.constant-DEkZ6ft9.cjs → cli-version.constant-aUz8SRkl.cjs} +1 -1
- package/dist/chunks/compile-application-translations-D_gxnHJB.cjs +58 -0
- package/dist/chunks/create-metadata-client-ZeSvUbG6.cjs +6 -0
- package/dist/chunks/do-not-translate-DURml7MP.cjs +1 -0
- package/dist/chunks/{execa-CAd0sJ7f.cjs → execa-CIDdRA4T.cjs} +1 -1
- package/dist/chunks/{extract-manifest-from-file-Bc9M2pV-.cjs → extract-manifest-from-file-CZSiNIBb.cjs} +1 -1
- package/dist/chunks/{extract-source-translations-LZZZNnCS.cjs → extract-source-translations-DPxOdWvY.cjs} +1 -1
- package/dist/chunks/{fetch-app-export-CuJJcOIB.cjs → fetch-app-export-D6NxHWVq.cjs} +1 -1
- package/dist/chunks/{fetch-metadata-inspection-CMxgaywK.cjs → fetch-metadata-inspection-DI2DMgC7.cjs} +1 -1
- package/dist/chunks/{fetch-signed-in-identity-D8fcFcPu.cjs → fetch-signed-in-identity-SHBPb09X.cjs} +1 -1
- package/dist/chunks/{fetch-workspace-or-throw-zRzZP1I8.cjs → fetch-workspace-or-throw-LuFqK754.cjs} +1 -1
- package/dist/chunks/{get-client-generation-skip-reason-B2TrOrMK.cjs → get-client-generation-skip-reason-DwfksdSC.cjs} +1 -1
- package/dist/chunks/get-field-universal-identifier.util-Cq1R4QL5.cjs +1 -0
- package/dist/chunks/getApplicationManifestRoleViolations-Cjxq9trm.cjs +1 -0
- package/dist/chunks/{global-flags.constant-CPWXn90r.cjs → global-flags.constant-DkoTw6D8.cjs} +1 -1
- package/dist/chunks/is-exported-manifest-DKngxSNX.cjs +1 -0
- package/dist/chunks/{is-valid-package-name--H6YNV5Q.cjs → is-valid-package-name-BLJDhliZ.cjs} +1 -1
- package/dist/chunks/kebab-case-B3kq7ANN.cjs +1 -0
- package/dist/chunks/{parse-app-export-B9Ocghe1.cjs → parse-app-export-C2EtOTo7.cjs} +1 -1
- package/dist/chunks/pull-minimum-sdk-version.constant-CmGby3BZ.cjs +6 -0
- package/dist/chunks/{pull-source-BfxtqVV9.cjs → pull-source-CI36sCYG.cjs} +1 -1
- package/dist/chunks/{read-application-identifier-ltCC4QI6.cjs → read-application-identifier-D_l94Ss_.cjs} +1 -1
- package/dist/chunks/{read-application-identity-BYYdQpIe.cjs → read-application-identity-BCVmSdkM.cjs} +1 -1
- package/dist/chunks/{read-infer-deletion-option-CLz1f4WD.cjs → read-infer-deletion-option-CxOaJCPM.cjs} +1 -1
- package/dist/chunks/{read-local-container-Cs3cWspd.cjs → read-local-container-cd3m1F99.cjs} +1 -1
- package/dist/chunks/{read-source-identity-BgeuDSXD.cjs → read-source-identity-DwLS3ZPe.cjs} +1 -1
- package/dist/chunks/{record-pull-base-DNmPuy-q.cjs → record-pull-base-5mQjvwK2.cjs} +1 -1
- package/dist/chunks/{resolve-command-target-fMeudGbM.cjs → resolve-command-target-34cVM9Oa.cjs} +1 -1
- package/dist/chunks/{resolve-proxy-headers-DipR9jft.cjs → resolve-proxy-headers-CnzVk6tu.cjs} +1 -1
- package/dist/chunks/run-app-add-command-BS0nLuyC.cjs +176 -0
- package/dist/chunks/{run-app-apply-command-I6mOjbpr.cjs → run-app-apply-command-BuBkRXpV.cjs} +1 -1
- package/dist/chunks/{run-app-build-command-cFbP918a.cjs → run-app-build-command-DmQ8kyVc.cjs} +1 -1
- package/dist/chunks/{run-app-dev-command-Br-YbYK_.cjs → run-app-dev-command-JS21pVrs.cjs} +1 -1
- package/dist/chunks/{run-app-exec-command-DdeXxz3d.cjs → run-app-exec-command-CVR5zI4h.cjs} +1 -1
- package/dist/chunks/{run-app-generate-client-command-EQxfRIgr.cjs → run-app-generate-client-command-B5hUF4EW.cjs} +1 -1
- package/dist/chunks/{run-app-init-command-DMKcPdWj.cjs → run-app-init-command-Dj5xMDWQ.cjs} +1 -1
- package/dist/chunks/{run-app-install-command-BeMXjbpp.cjs → run-app-install-command-FUsHWfeK.cjs} +1 -1
- package/dist/chunks/{run-app-operation-DowBCQ3X.cjs → run-app-operation-CD8ZaYT4.cjs} +1 -1
- package/dist/chunks/{run-app-plan-command-Dk0zNv-m.cjs → run-app-plan-command-H8I7m66r.cjs} +1 -1
- package/dist/chunks/{run-app-publish-command-BsD4jADF.cjs → run-app-publish-command-Bvj4DPmx.cjs} +1 -1
- package/dist/chunks/{run-app-pull-command-DpO-LV0D.cjs → run-app-pull-command-CYMzZzny.cjs} +1 -1
- package/dist/chunks/{run-app-typecheck-command-CwEzeGrv.cjs → run-app-typecheck-command-CKhgzXAd.cjs} +1 -1
- package/dist/chunks/{run-app-uninstall-command-CE2wukpa.cjs → run-app-uninstall-command-Cpu9AKnv.cjs} +1 -1
- package/dist/chunks/{run-auth-login-command-C29QrmRA.cjs → run-auth-login-command-B6m-dtCd.cjs} +1 -1
- package/dist/chunks/{run-auth-status-command-CNNlbe-Q.cjs → run-auth-status-command-C-AT8unR.cjs} +1 -1
- package/dist/chunks/{run-cli-CRPIPYYa.cjs → run-cli-DzPgtU8z.cjs} +1 -1
- package/dist/chunks/{run-commands-command-4rQ-cM-F.cjs → run-commands-command-CAEERuwE.cjs} +1 -1
- package/dist/chunks/run-data-export-command-UCPxR-Xj.cjs +3 -0
- package/dist/chunks/{run-data-get-command-BHc0_3RY.cjs → run-data-get-command-BbURbFoi.cjs} +1 -1
- package/dist/chunks/{run-data-list-command-BurvqPYw.cjs → run-data-list-command-K6b-poFq.cjs} +1 -1
- package/dist/chunks/{run-doctor-command-CvcXquIo.cjs → run-doctor-command-M6TLNSu8.cjs} +1 -1
- package/dist/chunks/{run-local-logs-command-COsSRk3f.cjs → run-local-logs-command-QPDzB7Eb.cjs} +1 -1
- package/dist/chunks/{run-local-reset-command-m0x-EiA6.cjs → run-local-reset-command-CF2vbJLJ.cjs} +1 -1
- package/dist/chunks/{run-local-start-command-B8N5Jgjd.cjs → run-local-start-command-J81yLVMQ.cjs} +1 -1
- package/dist/chunks/{run-local-status-command-BYxy0R9I.cjs → run-local-status-command-Bqk8uzI7.cjs} +1 -1
- package/dist/chunks/{run-local-stop-command-D66F73fW.cjs → run-local-stop-command-Dm9mLUE0.cjs} +1 -1
- package/dist/chunks/{run-local-upgrade-command-6P71bQw6.cjs → run-local-upgrade-command-Dp3gXUGB.cjs} +1 -1
- package/dist/chunks/{run-metadata-field-describe-command-DrjqeEWX.cjs → run-metadata-field-describe-command-Bqc6F2Dc.cjs} +1 -1
- package/dist/chunks/{run-metadata-field-list-command-CjMwkqeB.cjs → run-metadata-field-list-command-CqdFhxzT.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-describe-command-CG2fraKf.cjs → run-metadata-object-describe-command-CTehUXG1.cjs} +1 -1
- package/dist/chunks/{run-metadata-object-list-command-BJc9VnSu.cjs → run-metadata-object-list-command-BFf68LEO.cjs} +1 -1
- package/dist/chunks/{run-open-command-DUaVvuo4.cjs → run-open-command-BE7pWMhM.cjs} +1 -1
- package/dist/chunks/{run-version-command-fWqGTIOL.cjs → run-version-command-CUn-gnmm.cjs} +1 -1
- package/dist/chunks/{sign-in-to-remote-again-pVRh7bAy.cjs → sign-in-to-remote-again-MBEr3jvp.cjs} +1 -1
- package/dist/chunks/{standard-object-fields.constant-BhUCkuVw.cjs → standard-object-fields.constant-CIwlR4o8.cjs} +1 -1
- package/dist/chunks/{wait-for-local-environment-zNEJcWA1.cjs → wait-for-local-environment-BArlL778.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/package.json +2 -2
- package/dist/chunks/compile-application-translations-C7_kwWjG.cjs +0 -58
- package/dist/chunks/create-metadata-client-6jnsn6MV.cjs +0 -6
- package/dist/chunks/get-field-universal-identifier.util-4kQ5e4Tv.cjs +0 -1
- package/dist/chunks/getApplicationManifestRoleViolations-B1uo1G5p.cjs +0 -1
- package/dist/chunks/is-exported-manifest-BHA_mGa6.cjs +0 -1
- package/dist/chunks/kebab-case-tmo--p0I.cjs +0 -1
- package/dist/chunks/pull-minimum-sdk-version.constant-BZX306IB.cjs +0 -6
- package/dist/chunks/run-app-add-command-D9UvSCRi.cjs +0 -176
- package/dist/chunks/run-data-export-command-BlQml9Xw.cjs +0 -3
|
@@ -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.67.0"
|
|
742
|
+
twenty-sdk: "npm:2.67.0"
|
|
743
|
+
twenty-ui: "npm:2.67.0"
|
|
744
744
|
typescript: "npm:^5.9.3"
|
|
745
745
|
vite-tsconfig-paths: "npm:^4.2.1"
|
|
746
746
|
vitest: "npm:^4.1.12"
|
|
@@ -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.67.0":
|
|
1533
|
+
version: 2.67.0
|
|
1534
|
+
resolution: "twenty-client-sdk@npm:2.67.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/499967c192147b448cd0218f9040f7c841619ae14bd7deb547349985c7f464f99a8297dbce9ea1c7ef36161c6ddfe302cbff9b385c7366083d7eb3f3710cea7c
|
|
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.67.0":
|
|
1545
|
+
version: 2.67.0
|
|
1546
|
+
resolution: "twenty-sdk@npm:2.67.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.67.0"
|
|
1554
1554
|
uuid: "npm:^13.0.2"
|
|
1555
|
-
checksum: 10c0/
|
|
1555
|
+
checksum: 10c0/37d71c19ad100b1071694a52af5c56c5692de9a372e27f7f38c40db7438dcb18d1825becaaf2209e40812ed8890031ba8db4aab419fa79f9abe0826a3b70bcbf
|
|
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.67.0":
|
|
1560
|
+
version: 2.67.0
|
|
1561
|
+
resolution: "twenty-ui@npm:2.67.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/70046e314932ebadbff53487a8feb1d1fde559fecef0cd625fd5611e11c47b62580a34e1be2bfb71d552db7ab05f303113790cd2ce2c53cb453e5f2f859405e5
|
|
1582
1582
|
languageName: node
|
|
1583
1583
|
linkType: hard
|
|
1584
1584
|
|
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-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-DlrEwB9C.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-DPxOdWvY.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-NKV2vL7L.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}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=class extends Error{constructor(e,t){super(e),this.code=t}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=function(e){return e.ACTOR=`ACTOR`,e.ADDRESS=`ADDRESS`,e.ARRAY=`ARRAY`,e.BOOLEAN=`BOOLEAN`,e.CURRENCY=`CURRENCY`,e.DATE=`DATE`,e.DATE_TIME=`DATE_TIME`,e.EMAILS=`EMAILS`,e.FILES=`FILES`,e.FULL_NAME=`FULL_NAME`,e.LINKS=`LINKS`,e.MORPH_RELATION=`MORPH_RELATION`,e.MULTI_SELECT=`MULTI_SELECT`,e.NUMBER=`NUMBER`,e.NUMERIC=`NUMERIC`,e.PHONES=`PHONES`,e.POSITION=`POSITION`,e.RATING=`RATING`,e.RAW_JSON=`RAW_JSON`,e.RELATION=`RELATION`,e.RICH_TEXT=`RICH_TEXT`,e.SELECT=`SELECT`,e.TEXT=`TEXT`,e.TS_VECTOR=`TS_VECTOR`,e.UUID=`UUID`,e}({}),t=function(e){return e.MANY_TO_ONE=`MANY_TO_ONE`,e.ONE_TO_MANY=`ONE_TO_MANY`,e}({});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
package/dist/chunks/{assert-app-roles-allowed-Dczuq7Td.cjs → assert-app-roles-allowed-Dj0LJI66.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("./
|
|
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-LuFqK754.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-BdwCLi7-.cjs → build-source-manifest-NKV2vL7L.cjs}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("./compile-application-translations-
|
|
1
|
+
const e=require("./compile-application-translations-D_gxnHJB.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;
|