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.
- package/dist/{catalog-sync-w6yKppKP.js → catalog-sync-CgKswjsE.js} +1 -1
- package/dist/{catalog-sync-BYM3GqZl.mjs → catalog-sync-YxvEEHz5.mjs} +1 -1
- package/dist/cli/commands/dev/i18n-extract.d.ts +7 -0
- package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +2 -0
- package/dist/cli/utilities/i18n/collect-translatable-strings.d.ts +2 -0
- package/dist/cli/utilities/i18n/compile-application-translations.d.ts +1 -0
- package/dist/cli/utilities/i18n/constants.d.ts +1 -0
- package/dist/cli/utilities/i18n/extract-application-translations.d.ts +10 -0
- package/dist/cli/utilities/i18n/generate-message-id.d.ts +1 -0
- package/dist/cli.cjs +17 -15
- package/dist/cli.mjs +995 -935
- package/dist/define/index.cjs +2 -2
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +14 -5
- package/dist/define/index.mjs +28 -71
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +42 -12
- package/dist/front-component/index.mjs +134 -143
- 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-DBupR4cF.js → get-front-component-build-plugins-Dqpyup2W.js} +9 -5
- package/dist/get-front-component-build-plugins-taotEFOp.mjs +126 -0
- package/dist/{get-function-input-schema-GNk3NRLJ-zQkANyT3.mjs → get-function-input-schema-GNk3NRLJ-CfeAvjEl.mjs} +1 -1
- package/dist/{login-D7nyXinY.js → login-BOrzi4Z0.js} +50 -50
- package/dist/{login-rU5te3B6.mjs → login-Dg4Ap-uo.mjs} +3983 -3993
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/package.json +3 -12
- package/dist/AllIcons-CdbaxNyc-CJcUHQBl.mjs +0 -66238
- package/dist/AllIcons-CdbaxNyc-DR-8e_UM.js +0 -1
- package/dist/get-front-component-build-plugins-BuE2QdIr.mjs +0 -113
- package/dist/icon-DMT-YeKi-C9-AduNa.mjs +0 -10168
- package/dist/icon-DMT-YeKi-Cz0W5sJA.js +0 -1
- package/dist/ui/index.cjs +0 -26
- package/dist/ui/index.d.ts +0 -18
- package/dist/ui/index.mjs +0 -15562
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./get-front-component-build-plugins-
|
|
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;
|
|
@@ -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;
|