twenty-sdk 2.31.0 → 2.35.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/CHANGELOG.md +17 -0
- package/dist/billing/index.cjs +1 -1
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs +2 -2
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{catalog-sync-Ch6nB5uf.mjs → catalog-sync-C0Td21sN.mjs} +1 -1
- package/dist/{catalog-sync-yH3B_al1.js → catalog-sync-Cn-gDxAz.js} +1 -1
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -2
- package/dist/cli/utilities/build/manifest/utils/manifest-validation-helpers.d.ts +10 -0
- package/dist/cli/utilities/build/manifest/utils/validate-timeline-activity-types.d.ts +2 -0
- package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +2 -0
- package/dist/cli/utilities/entity/entity-timeline-activity-type-template.d.ts +3 -0
- package/dist/cli/utilities/translations/collect-translatable-strings.d.ts +2 -1
- package/dist/cli/utilities/translations/compile-application-translations.d.ts +1 -1
- package/dist/cli/utilities/translations/compile-catalog-to-message-ids.d.ts +8 -0
- package/dist/cli/utilities/translations/locale-catalog-format.d.ts +7 -0
- package/dist/cli.cjs +48 -41
- package/dist/cli.mjs +3160 -3136
- package/dist/define/index.cjs +14 -14
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +65 -5
- package/dist/define/index.mjs +2769 -2734
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +22 -3
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +53 -5
- package/dist/front-component/index.mjs +2026 -655
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/{get-front-component-build-plugins-DA62IZes.mjs → get-front-component-build-plugins-BZ1HBS5Y.mjs} +70 -68
- package/dist/{get-front-component-build-plugins-C-Webbfn.js → get-front-component-build-plugins-CcV3Cown.js} +8 -8
- package/dist/{get-function-input-schema-GNk3NRLJ-C5HXalke.mjs → get-function-input-schema-GNk3NRLJ-BimwLfRN.mjs} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-DwfXUGPz.js → get-function-input-schema-GNk3NRLJ-Byssjp8I.js} +1 -1
- package/dist/logic-function/index.cjs +9 -9
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +67 -4
- package/dist/logic-function/index.mjs +595 -551
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/{login-BzHQgxeV.js → login-Cl-mw1L0.js} +68 -49
- package/dist/{login-BHgUJK94.mjs → login-CuJiHYwZ.mjs} +5963 -4476
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +3 -3
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/cli/utilities/client/twenty-client-template.d.ts +0 -42
- package/dist/cli/utilities/translations/generate-message-id.d.ts +0 -1
package/dist/utils/index.mjs
CHANGED
|
@@ -2369,14 +2369,14 @@ $r({
|
|
|
2369
2369
|
]), $.RELATION, $.MORPH_RELATION, $.FILES, $.TS_VECTOR, $.TEXT, $.ARRAY, $.BOOLEAN, $.DATE, $.DATE_TIME, $.NUMBER, $.NUMERIC, $.RAW_JSON, $.RICH_TEXT, $.SELECT, $.MULTI_SELECT;
|
|
2370
2370
|
//#endregion
|
|
2371
2371
|
//#region ../twenty-shared/dist/application.mjs
|
|
2372
|
-
var Ui = "TWENTY_API_URL", Wi =
|
|
2372
|
+
var Ui = "TWENTY_API_URL", Wi = () => process.env.TWENTY_APP_APPLICATION_ACCESS_TOKEN ?? process.env.TWENTY_APP_ACCESS_TOKEN, Gi = (e) => {
|
|
2373
2373
|
let t = JSON.parse(atob(e.split(".")[1]));
|
|
2374
2374
|
return {
|
|
2375
2375
|
workspaceId: t.workspaceId,
|
|
2376
2376
|
applicationId: t.applicationId
|
|
2377
2377
|
};
|
|
2378
2378
|
}, Ki = (e) => {
|
|
2379
|
-
let t = process.env[Ui], n =
|
|
2379
|
+
let t = process.env[Ui], n = Wi();
|
|
2380
2380
|
if (!t || !n) throw Error("getPublicAssetUrl can only be called from within a logic function or front component");
|
|
2381
2381
|
let { workspaceId: r, applicationId: i } = Gi(n), a = e.startsWith("/") ? e.slice(1) : e;
|
|
2382
2382
|
return `${t}/public-assets/${r}/${i}/${(a.startsWith("public/") ? a : `public/${a}`).split("/").map(encodeURIComponent).join("/")}`;
|