twenty-sdk 2.16.0 → 2.18.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 (39) hide show
  1. package/dist/{catalog-sync-w6yKppKP.js → catalog-sync-CgKswjsE.js} +1 -1
  2. package/dist/{catalog-sync-BYM3GqZl.mjs → catalog-sync-YxvEEHz5.mjs} +1 -1
  3. package/dist/cli/commands/dev/i18n-extract.d.ts +7 -0
  4. package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +2 -0
  5. package/dist/cli/utilities/i18n/collect-translatable-strings.d.ts +2 -0
  6. package/dist/cli/utilities/i18n/compile-application-translations.d.ts +1 -0
  7. package/dist/cli/utilities/i18n/constants.d.ts +1 -0
  8. package/dist/cli/utilities/i18n/extract-application-translations.d.ts +10 -0
  9. package/dist/cli/utilities/i18n/generate-message-id.d.ts +1 -0
  10. package/dist/cli.cjs +17 -15
  11. package/dist/cli.mjs +995 -935
  12. package/dist/define/index.cjs +2 -2
  13. package/dist/define/index.cjs.map +1 -1
  14. package/dist/define/index.d.ts +14 -5
  15. package/dist/define/index.mjs +28 -71
  16. package/dist/define/index.mjs.map +1 -1
  17. package/dist/front-component/index.cjs +1 -1
  18. package/dist/front-component/index.cjs.map +1 -1
  19. package/dist/front-component/index.d.ts +42 -12
  20. package/dist/front-component/index.mjs +134 -143
  21. package/dist/front-component/index.mjs.map +1 -1
  22. package/dist/front-component-renderer/build.cjs +1 -1
  23. package/dist/front-component-renderer/build.mjs +1 -1
  24. package/dist/{get-front-component-build-plugins-DBupR4cF.js → get-front-component-build-plugins-Dqpyup2W.js} +9 -5
  25. package/dist/get-front-component-build-plugins-taotEFOp.mjs +126 -0
  26. package/dist/{get-function-input-schema-GNk3NRLJ-zQkANyT3.mjs → get-function-input-schema-GNk3NRLJ-CfeAvjEl.mjs} +1 -1
  27. package/dist/{login-D7nyXinY.js → login-BOrzi4Z0.js} +50 -50
  28. package/dist/{login-rU5te3B6.mjs → login-Dg4Ap-uo.mjs} +3983 -3993
  29. package/dist/operations.cjs +1 -1
  30. package/dist/operations.mjs +1 -1
  31. package/package.json +3 -12
  32. package/dist/AllIcons-CdbaxNyc-CJcUHQBl.mjs +0 -66238
  33. package/dist/AllIcons-CdbaxNyc-DR-8e_UM.js +0 -1
  34. package/dist/get-front-component-build-plugins-BuE2QdIr.mjs +0 -113
  35. package/dist/icon-DMT-YeKi-C9-AduNa.mjs +0 -10168
  36. package/dist/icon-DMT-YeKi-Cz0W5sJA.js +0 -1
  37. package/dist/ui/index.cjs +0 -26
  38. package/dist/ui/index.d.ts +0 -18
  39. package/dist/ui/index.mjs +0 -15562
@@ -1 +1 @@
1
- const e=require("./get-front-component-build-plugins-DBupR4cF.js"),t=require("./login-D7nyXinY.js");let n=require("chalk");n=e.i(n);var r=class{async execute(e){e.remote&&t.V.setActiveRemote(e.remote);let r=t.V.getActiveRemote();console.log(n.default.blue(`Syncing marketplace catalog on ${r}...`));let i=await new t.L().syncMarketplaceCatalog();i.success||(console.error(n.default.red(`Catalog sync failed: ${i.error instanceof Error?i.error.message:String(i.error)}`)),process.exit(1)),console.log(n.default.green(`✓ Marketplace catalog synced successfully`))}};exports.CatalogSyncCommand=r;
1
+ const e=require("./get-front-component-build-plugins-Dqpyup2W.js"),t=require("./login-BOrzi4Z0.js");let n=require("chalk");n=e.i(n);var r=class{async execute(e){e.remote&&t.V.setActiveRemote(e.remote);let r=t.V.getActiveRemote();console.log(n.default.blue(`Syncing marketplace catalog on ${r}...`));let i=await new t.L().syncMarketplaceCatalog();i.success||(console.error(n.default.red(`Catalog sync failed: ${i.error instanceof Error?i.error.message:String(i.error)}`)),process.exit(1)),console.log(n.default.green(`✓ Marketplace catalog synced successfully`))}};exports.CatalogSyncCommand=r;
@@ -1,4 +1,4 @@
1
- import { L as e, V as t } from "./login-rU5te3B6.mjs";
1
+ import { L as e, V as t } from "./login-Dg4Ap-uo.mjs";
2
2
  import n from "chalk";
3
3
  //#region src/cli/commands/dev/catalog-sync.ts
4
4
  var r = class {
@@ -0,0 +1,7 @@
1
+ export type AppI18nExtractOptions = {
2
+ appPath?: string;
3
+ locale?: string;
4
+ };
5
+ export declare class AppI18nExtractCommand {
6
+ execute(options: AppI18nExtractOptions): Promise<void>;
7
+ }
@@ -0,0 +1,2 @@
1
+ import type * as esbuild from 'esbuild';
2
+ export declare const cssInjectionPlugin: esbuild.Plugin;
@@ -0,0 +1,2 @@
1
+ import { type Manifest } from 'twenty-shared/application';
2
+ export declare const collectTranslatableStrings: (manifest: Manifest) => string[];
@@ -0,0 +1 @@
1
+ export declare const compileApplicationTranslations: (appPath: string) => Promise<Partial<Record<"af-ZA" | "ar-SA" | "ca-ES" | "cs-CZ" | "da-DK" | "de-DE" | "el-GR" | "en" | "es-ES" | "fi-FI" | "fr-FR" | "he-IL" | "hu-HU" | "it-IT" | "ja-JP" | "ko-KR" | "nl-NL" | "no-NO" | "pl-PL" | "pseudo-en" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sr-Cyrl" | "sv-SE" | "tr-TR" | "uk-UA" | "vi-VN" | "zh-CN" | "zh-TW", Record<string, string>>> | undefined>;
@@ -0,0 +1 @@
1
+ export declare const LOCALES_DIR = "locales";
@@ -0,0 +1,10 @@
1
+ import { type Manifest } from 'twenty-shared/application';
2
+ export type ExtractApplicationTranslationsResult = {
3
+ sourceCount: number;
4
+ updatedLocaleFiles: string[];
5
+ };
6
+ export declare const extractApplicationTranslations: ({ appPath, manifest, scaffoldLocale, }: {
7
+ appPath: string;
8
+ manifest: Manifest;
9
+ scaffoldLocale?: "af-ZA" | "ar-SA" | "ca-ES" | "cs-CZ" | "da-DK" | "de-DE" | "el-GR" | "en" | "es-ES" | "fi-FI" | "fr-FR" | "he-IL" | "hu-HU" | "it-IT" | "ja-JP" | "ko-KR" | "nl-NL" | "no-NO" | "pl-PL" | "pseudo-en" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sr-Cyrl" | "sv-SE" | "tr-TR" | "uk-UA" | "vi-VN" | "zh-CN" | "zh-TW" | undefined;
10
+ }) => Promise<ExtractApplicationTranslationsResult>;
@@ -0,0 +1 @@
1
+ export declare const generateMessageId: (message: string, context?: string) => string;