@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.
- package/dist/apps/index.d.mts +51 -1
- package/dist/apps/index.d.ts +51 -1
- package/dist/apps/index.js +12019 -0
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +12015 -1
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +48 -32
- package/dist/audit/index.d.ts +48 -32
- package/dist/identity/index.d.mts +60 -40
- package/dist/identity/index.d.ts +60 -40
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +12019 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12015 -1
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +3 -2
- package/dist/integration/index.d.ts +3 -2
- package/dist/metadata/index.d.mts +6 -4
- package/dist/metadata/index.d.ts +6 -4
- package/dist/security/index.d.mts +18 -12
- package/dist/security/index.d.ts +18 -12
- package/dist/system/index.d.mts +9 -6
- package/dist/system/index.d.ts +9 -6
- package/package.json +2 -2
package/dist/apps/index.d.mts
CHANGED
|
@@ -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
|
-
|
|
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 };
|
package/dist/apps/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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 };
|