@objectstack/platform-objects 4.0.5 → 4.1.1
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 +66 -48
- package/dist/apps/index.d.ts +66 -48
- package/dist/apps/index.js +12158 -217
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +12154 -212
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +39010 -55
- package/dist/audit/index.d.ts +39010 -55
- package/dist/audit/index.js +1428 -0
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/index.mjs +1417 -1
- package/dist/audit/index.mjs.map +1 -1
- package/dist/identity/index.d.mts +14904 -2817
- package/dist/identity/index.d.ts +14904 -2817
- package/dist/identity/index.js +1090 -6
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +1089 -7
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +15839 -1650
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15815 -1633
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +2906 -0
- package/dist/integration/index.d.ts +2906 -0
- package/dist/integration/index.js +140 -0
- package/dist/integration/index.js.map +1 -0
- package/dist/integration/index.mjs +138 -0
- package/dist/integration/index.mjs.map +1 -0
- package/dist/metadata/index.d.mts +581 -21183
- package/dist/metadata/index.d.ts +581 -21183
- package/dist/metadata/index.js +29 -619
- package/dist/metadata/index.js.map +1 -1
- package/dist/metadata/index.mjs +30 -615
- package/dist/metadata/index.mjs.map +1 -1
- package/dist/security/index.d.mts +7288 -50
- package/dist/security/index.d.ts +7288 -50
- package/dist/security/index.js +540 -0
- package/dist/security/index.js.map +1 -1
- package/dist/security/index.mjs +539 -1
- package/dist/security/index.mjs.map +1 -1
- package/dist/system/index.d.mts +8412 -0
- package/dist/system/index.d.ts +8412 -0
- package/dist/system/index.js +395 -0
- package/dist/system/index.js.map +1 -0
- package/dist/system/index.mjs +391 -0
- package/dist/system/index.mjs.map +1 -0
- package/package.json +13 -8
- package/dist/tenant/index.d.mts +0 -18464
- package/dist/tenant/index.d.ts +0 -18464
- package/dist/tenant/index.js +0 -741
- package/dist/tenant/index.js.map +0 -1
- package/dist/tenant/index.mjs +0 -733
- package/dist/tenant/index.mjs.map +0 -1
- /package/dist/{state-machine.zod-BFg-VE0M.d-Ek3_yo9P.d.mts → state-machine.zod-BNanU03M.d-Ek3_yo9P.d.mts} +0 -0
- /package/dist/{state-machine.zod-BFg-VE0M.d-Ek3_yo9P.d.ts → state-machine.zod-BNanU03M.d-Ek3_yo9P.d.ts} +0 -0
package/dist/apps/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { App
|
|
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.
|
|
@@ -26,42 +27,6 @@ import * as _objectstack_spec_data from '@objectstack/spec/data';
|
|
|
26
27
|
|
|
27
28
|
declare const SETUP_APP: App;
|
|
28
29
|
|
|
29
|
-
/**
|
|
30
|
-
* Default list view for sys_user administration.
|
|
31
|
-
* Displays all users with key identity fields.
|
|
32
|
-
*/
|
|
33
|
-
declare const UsersView: ListView;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Default list view for sys_organization administration.
|
|
37
|
-
* Displays all organizations with key metadata.
|
|
38
|
-
*/
|
|
39
|
-
declare const OrganizationsView: ListView;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Default list view for sys_role administration.
|
|
43
|
-
* Displays all platform roles with permission summary.
|
|
44
|
-
*/
|
|
45
|
-
declare const RolesView: ListView;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Default list view for sys_session administration.
|
|
49
|
-
* Displays all active user sessions with metadata.
|
|
50
|
-
*/
|
|
51
|
-
declare const SessionsView: ListView;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Default list view for sys_audit_log administration.
|
|
55
|
-
* Displays platform audit trail with action and target information.
|
|
56
|
-
*/
|
|
57
|
-
declare const AuditLogsView: ListView;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Default list view for sys_package_installation administration.
|
|
61
|
-
* Displays package installations with version and status information.
|
|
62
|
-
*/
|
|
63
|
-
declare const PackageInstallationsView: ListView;
|
|
64
|
-
|
|
65
30
|
/**
|
|
66
31
|
* System Overview Dashboard
|
|
67
32
|
*
|
|
@@ -76,7 +41,7 @@ declare const SystemOverviewDashboard: {
|
|
|
76
41
|
label: string;
|
|
77
42
|
widgets: {
|
|
78
43
|
id: string;
|
|
79
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
44
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
80
45
|
aggregate: "min" | "max" | "count" | "sum" | "avg";
|
|
81
46
|
layout: {
|
|
82
47
|
x: number;
|
|
@@ -87,7 +52,7 @@ declare const SystemOverviewDashboard: {
|
|
|
87
52
|
title?: string | undefined;
|
|
88
53
|
description?: string | undefined;
|
|
89
54
|
chartConfig?: {
|
|
90
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
55
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
91
56
|
showLegend: boolean;
|
|
92
57
|
showDataLabels: boolean;
|
|
93
58
|
title?: string | undefined;
|
|
@@ -119,7 +84,7 @@ declare const SystemOverviewDashboard: {
|
|
|
119
84
|
name: string;
|
|
120
85
|
yAxis: "left" | "right";
|
|
121
86
|
label?: string | undefined;
|
|
122
|
-
type?: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
87
|
+
type?: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot" | undefined;
|
|
123
88
|
color?: string | undefined;
|
|
124
89
|
stack?: string | undefined;
|
|
125
90
|
}[] | undefined;
|
|
@@ -147,8 +112,10 @@ declare const SystemOverviewDashboard: {
|
|
|
147
112
|
} | undefined;
|
|
148
113
|
} | undefined;
|
|
149
114
|
colorVariant?: "default" | "danger" | "success" | "warning" | "blue" | "teal" | "orange" | "purple" | undefined;
|
|
115
|
+
requiresObject?: string | undefined;
|
|
116
|
+
requiresService?: string | undefined;
|
|
150
117
|
actionUrl?: string | undefined;
|
|
151
|
-
actionType?: "url" | "
|
|
118
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
152
119
|
actionIcon?: string | undefined;
|
|
153
120
|
object?: string | undefined;
|
|
154
121
|
filter?: _objectstack_spec_data.FilterCondition | undefined;
|
|
@@ -194,7 +161,7 @@ declare const SystemOverviewDashboard: {
|
|
|
194
161
|
actions?: {
|
|
195
162
|
label: string;
|
|
196
163
|
actionUrl: string;
|
|
197
|
-
actionType?: "url" | "
|
|
164
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
198
165
|
icon?: string | undefined;
|
|
199
166
|
}[] | undefined;
|
|
200
167
|
} | undefined;
|
|
@@ -257,7 +224,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
257
224
|
label: string;
|
|
258
225
|
widgets: {
|
|
259
226
|
id: string;
|
|
260
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
227
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
261
228
|
aggregate: "min" | "max" | "count" | "sum" | "avg";
|
|
262
229
|
layout: {
|
|
263
230
|
x: number;
|
|
@@ -268,7 +235,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
268
235
|
title?: string | undefined;
|
|
269
236
|
description?: string | undefined;
|
|
270
237
|
chartConfig?: {
|
|
271
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
238
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
272
239
|
showLegend: boolean;
|
|
273
240
|
showDataLabels: boolean;
|
|
274
241
|
title?: string | undefined;
|
|
@@ -300,7 +267,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
300
267
|
name: string;
|
|
301
268
|
yAxis: "left" | "right";
|
|
302
269
|
label?: string | undefined;
|
|
303
|
-
type?: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
270
|
+
type?: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot" | undefined;
|
|
304
271
|
color?: string | undefined;
|
|
305
272
|
stack?: string | undefined;
|
|
306
273
|
}[] | undefined;
|
|
@@ -328,8 +295,10 @@ declare const SecurityOverviewDashboard: {
|
|
|
328
295
|
} | undefined;
|
|
329
296
|
} | undefined;
|
|
330
297
|
colorVariant?: "default" | "danger" | "success" | "warning" | "blue" | "teal" | "orange" | "purple" | undefined;
|
|
298
|
+
requiresObject?: string | undefined;
|
|
299
|
+
requiresService?: string | undefined;
|
|
331
300
|
actionUrl?: string | undefined;
|
|
332
|
-
actionType?: "url" | "
|
|
301
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
333
302
|
actionIcon?: string | undefined;
|
|
334
303
|
object?: string | undefined;
|
|
335
304
|
filter?: _objectstack_spec_data.FilterCondition | undefined;
|
|
@@ -375,7 +344,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
375
344
|
actions?: {
|
|
376
345
|
label: string;
|
|
377
346
|
actionUrl: string;
|
|
378
|
-
actionType?: "url" | "
|
|
347
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
379
348
|
icon?: string | undefined;
|
|
380
349
|
}[] | undefined;
|
|
381
350
|
} | undefined;
|
|
@@ -424,4 +393,53 @@ declare const SecurityOverviewDashboard: {
|
|
|
424
393
|
} | undefined;
|
|
425
394
|
};
|
|
426
395
|
|
|
427
|
-
|
|
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
|
-
import { App
|
|
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.
|
|
@@ -26,42 +27,6 @@ import * as _objectstack_spec_data from '@objectstack/spec/data';
|
|
|
26
27
|
|
|
27
28
|
declare const SETUP_APP: App;
|
|
28
29
|
|
|
29
|
-
/**
|
|
30
|
-
* Default list view for sys_user administration.
|
|
31
|
-
* Displays all users with key identity fields.
|
|
32
|
-
*/
|
|
33
|
-
declare const UsersView: ListView;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Default list view for sys_organization administration.
|
|
37
|
-
* Displays all organizations with key metadata.
|
|
38
|
-
*/
|
|
39
|
-
declare const OrganizationsView: ListView;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Default list view for sys_role administration.
|
|
43
|
-
* Displays all platform roles with permission summary.
|
|
44
|
-
*/
|
|
45
|
-
declare const RolesView: ListView;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Default list view for sys_session administration.
|
|
49
|
-
* Displays all active user sessions with metadata.
|
|
50
|
-
*/
|
|
51
|
-
declare const SessionsView: ListView;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Default list view for sys_audit_log administration.
|
|
55
|
-
* Displays platform audit trail with action and target information.
|
|
56
|
-
*/
|
|
57
|
-
declare const AuditLogsView: ListView;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Default list view for sys_package_installation administration.
|
|
61
|
-
* Displays package installations with version and status information.
|
|
62
|
-
*/
|
|
63
|
-
declare const PackageInstallationsView: ListView;
|
|
64
|
-
|
|
65
30
|
/**
|
|
66
31
|
* System Overview Dashboard
|
|
67
32
|
*
|
|
@@ -76,7 +41,7 @@ declare const SystemOverviewDashboard: {
|
|
|
76
41
|
label: string;
|
|
77
42
|
widgets: {
|
|
78
43
|
id: string;
|
|
79
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
44
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
80
45
|
aggregate: "min" | "max" | "count" | "sum" | "avg";
|
|
81
46
|
layout: {
|
|
82
47
|
x: number;
|
|
@@ -87,7 +52,7 @@ declare const SystemOverviewDashboard: {
|
|
|
87
52
|
title?: string | undefined;
|
|
88
53
|
description?: string | undefined;
|
|
89
54
|
chartConfig?: {
|
|
90
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
55
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
91
56
|
showLegend: boolean;
|
|
92
57
|
showDataLabels: boolean;
|
|
93
58
|
title?: string | undefined;
|
|
@@ -119,7 +84,7 @@ declare const SystemOverviewDashboard: {
|
|
|
119
84
|
name: string;
|
|
120
85
|
yAxis: "left" | "right";
|
|
121
86
|
label?: string | undefined;
|
|
122
|
-
type?: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
87
|
+
type?: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot" | undefined;
|
|
123
88
|
color?: string | undefined;
|
|
124
89
|
stack?: string | undefined;
|
|
125
90
|
}[] | undefined;
|
|
@@ -147,8 +112,10 @@ declare const SystemOverviewDashboard: {
|
|
|
147
112
|
} | undefined;
|
|
148
113
|
} | undefined;
|
|
149
114
|
colorVariant?: "default" | "danger" | "success" | "warning" | "blue" | "teal" | "orange" | "purple" | undefined;
|
|
115
|
+
requiresObject?: string | undefined;
|
|
116
|
+
requiresService?: string | undefined;
|
|
150
117
|
actionUrl?: string | undefined;
|
|
151
|
-
actionType?: "url" | "
|
|
118
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
152
119
|
actionIcon?: string | undefined;
|
|
153
120
|
object?: string | undefined;
|
|
154
121
|
filter?: _objectstack_spec_data.FilterCondition | undefined;
|
|
@@ -194,7 +161,7 @@ declare const SystemOverviewDashboard: {
|
|
|
194
161
|
actions?: {
|
|
195
162
|
label: string;
|
|
196
163
|
actionUrl: string;
|
|
197
|
-
actionType?: "url" | "
|
|
164
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
198
165
|
icon?: string | undefined;
|
|
199
166
|
}[] | undefined;
|
|
200
167
|
} | undefined;
|
|
@@ -257,7 +224,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
257
224
|
label: string;
|
|
258
225
|
widgets: {
|
|
259
226
|
id: string;
|
|
260
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
227
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
261
228
|
aggregate: "min" | "max" | "count" | "sum" | "avg";
|
|
262
229
|
layout: {
|
|
263
230
|
x: number;
|
|
@@ -268,7 +235,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
268
235
|
title?: string | undefined;
|
|
269
236
|
description?: string | undefined;
|
|
270
237
|
chartConfig?: {
|
|
271
|
-
type: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
238
|
+
type: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot";
|
|
272
239
|
showLegend: boolean;
|
|
273
240
|
showDataLabels: boolean;
|
|
274
241
|
title?: string | undefined;
|
|
@@ -300,7 +267,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
300
267
|
name: string;
|
|
301
268
|
yAxis: "left" | "right";
|
|
302
269
|
label?: string | undefined;
|
|
303
|
-
type?: "table" | "bar" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "
|
|
270
|
+
type?: "table" | "bar" | "line" | "pie" | "area" | "scatter" | "horizontal-bar" | "column" | "grouped-bar" | "stacked-bar" | "bi-polar-bar" | "stacked-area" | "step-line" | "spline" | "donut" | "funnel" | "pyramid" | "bubble" | "treemap" | "sunburst" | "sankey" | "word-cloud" | "gauge" | "solid-gauge" | "metric" | "kpi" | "bullet" | "choropleth" | "bubble-map" | "gl-map" | "heatmap" | "radar" | "waterfall" | "box-plot" | "violin" | "candlestick" | "stock" | "pivot" | undefined;
|
|
304
271
|
color?: string | undefined;
|
|
305
272
|
stack?: string | undefined;
|
|
306
273
|
}[] | undefined;
|
|
@@ -328,8 +295,10 @@ declare const SecurityOverviewDashboard: {
|
|
|
328
295
|
} | undefined;
|
|
329
296
|
} | undefined;
|
|
330
297
|
colorVariant?: "default" | "danger" | "success" | "warning" | "blue" | "teal" | "orange" | "purple" | undefined;
|
|
298
|
+
requiresObject?: string | undefined;
|
|
299
|
+
requiresService?: string | undefined;
|
|
331
300
|
actionUrl?: string | undefined;
|
|
332
|
-
actionType?: "url" | "
|
|
301
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
333
302
|
actionIcon?: string | undefined;
|
|
334
303
|
object?: string | undefined;
|
|
335
304
|
filter?: _objectstack_spec_data.FilterCondition | undefined;
|
|
@@ -375,7 +344,7 @@ declare const SecurityOverviewDashboard: {
|
|
|
375
344
|
actions?: {
|
|
376
345
|
label: string;
|
|
377
346
|
actionUrl: string;
|
|
378
|
-
actionType?: "url" | "
|
|
347
|
+
actionType?: "url" | "api" | "modal" | "flow" | "script" | undefined;
|
|
379
348
|
icon?: string | undefined;
|
|
380
349
|
}[] | undefined;
|
|
381
350
|
} | undefined;
|
|
@@ -424,4 +393,53 @@ declare const SecurityOverviewDashboard: {
|
|
|
424
393
|
} | undefined;
|
|
425
394
|
};
|
|
426
395
|
|
|
427
|
-
|
|
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 };
|