@objectstack/platform-objects 4.1.0 → 4.2.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.
@@ -1,5 +1,6 @@
1
1
  import { App } from '@objectstack/spec/ui';
2
2
  import * as _objectstack_spec_data from '@objectstack/spec/data';
3
+ import { TranslationBundle, TranslationData } from '@objectstack/spec/system';
3
4
 
4
5
  /**
5
6
  * Platform Setup App — static definition.
@@ -392,4 +393,53 @@ declare const SecurityOverviewDashboard: {
392
393
  } | undefined;
393
394
  };
394
395
 
395
- export { SETUP_APP, SecurityOverviewDashboard, SystemOverviewDashboard };
396
+ /**
397
+ * Setup App — Internationalization (i18n)
398
+ *
399
+ * Mirrors the CRM example's `per_locale` convention: each language lives
400
+ * in its own file (`en.ts`, `zh-CN.ts`, `ja-JP.ts`, `es-ES.ts`) and is
401
+ * assembled into a single `TranslationBundle` here.
402
+ *
403
+ * Loaded into the kernel's i18n service by `plugin-auth` during
404
+ * `kernel:ready` (auth is the natural registration point for the Setup
405
+ * App — see `auth-plugin.ts`).
406
+ *
407
+ * Supported locales: en, zh-CN, ja-JP, es-ES.
408
+ */
409
+ declare const SetupAppTranslations: TranslationBundle;
410
+
411
+ /**
412
+ * English (en) — Setup App Translations
413
+ *
414
+ * Per-locale file mirroring the CRM example convention (one file per
415
+ * language, aggregated into a single `TranslationBundle` by
416
+ * `setup.translation.ts`).
417
+ *
418
+ * Scope: the static Setup App metadata artifact owned by
419
+ * `@objectstack/platform-objects/apps`:
420
+ * - `apps.setup.label` / `description`
421
+ * - `apps.setup.navigation.<id>.label` for every group AND leaf
422
+ * - `dashboards.system_overview.*`
423
+ * - `dashboards.security_overview.*`
424
+ *
425
+ * Object-level labels (Users, Roles, Audit Logs, …) are owned by the
426
+ * sys_* object schemas themselves and translated separately.
427
+ */
428
+ declare const en: TranslationData;
429
+
430
+ /**
431
+ * 简体中文 (zh-CN) — Setup App Translations
432
+ */
433
+ declare const zhCN: TranslationData;
434
+
435
+ /**
436
+ * 日本語 (ja-JP) — Setup App Translations
437
+ */
438
+ declare const jaJP: TranslationData;
439
+
440
+ /**
441
+ * Español (es-ES) — Setup App Translations
442
+ */
443
+ declare const esES: TranslationData;
444
+
445
+ export { SETUP_APP, SecurityOverviewDashboard, SetupAppTranslations, SystemOverviewDashboard, en, esES, jaJP, zhCN };
@@ -1,5 +1,6 @@
1
1
  import { App } from '@objectstack/spec/ui';
2
2
  import * as _objectstack_spec_data from '@objectstack/spec/data';
3
+ import { TranslationBundle, TranslationData } from '@objectstack/spec/system';
3
4
 
4
5
  /**
5
6
  * Platform Setup App — static definition.
@@ -392,4 +393,53 @@ declare const SecurityOverviewDashboard: {
392
393
  } | undefined;
393
394
  };
394
395
 
395
- export { SETUP_APP, SecurityOverviewDashboard, SystemOverviewDashboard };
396
+ /**
397
+ * Setup App — Internationalization (i18n)
398
+ *
399
+ * Mirrors the CRM example's `per_locale` convention: each language lives
400
+ * in its own file (`en.ts`, `zh-CN.ts`, `ja-JP.ts`, `es-ES.ts`) and is
401
+ * assembled into a single `TranslationBundle` here.
402
+ *
403
+ * Loaded into the kernel's i18n service by `plugin-auth` during
404
+ * `kernel:ready` (auth is the natural registration point for the Setup
405
+ * App — see `auth-plugin.ts`).
406
+ *
407
+ * Supported locales: en, zh-CN, ja-JP, es-ES.
408
+ */
409
+ declare const SetupAppTranslations: TranslationBundle;
410
+
411
+ /**
412
+ * English (en) — Setup App Translations
413
+ *
414
+ * Per-locale file mirroring the CRM example convention (one file per
415
+ * language, aggregated into a single `TranslationBundle` by
416
+ * `setup.translation.ts`).
417
+ *
418
+ * Scope: the static Setup App metadata artifact owned by
419
+ * `@objectstack/platform-objects/apps`:
420
+ * - `apps.setup.label` / `description`
421
+ * - `apps.setup.navigation.<id>.label` for every group AND leaf
422
+ * - `dashboards.system_overview.*`
423
+ * - `dashboards.security_overview.*`
424
+ *
425
+ * Object-level labels (Users, Roles, Audit Logs, …) are owned by the
426
+ * sys_* object schemas themselves and translated separately.
427
+ */
428
+ declare const en: TranslationData;
429
+
430
+ /**
431
+ * 简体中文 (zh-CN) — Setup App Translations
432
+ */
433
+ declare const zhCN: TranslationData;
434
+
435
+ /**
436
+ * 日本語 (ja-JP) — Setup App Translations
437
+ */
438
+ declare const jaJP: TranslationData;
439
+
440
+ /**
441
+ * Español (es-ES) — Setup App Translations
442
+ */
443
+ declare const esES: TranslationData;
444
+
445
+ export { SETUP_APP, SecurityOverviewDashboard, SetupAppTranslations, SystemOverviewDashboard, en, esES, jaJP, zhCN };