@objectstack/platform-objects 14.3.0 → 14.6.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.js +518 -1194
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +518 -1194
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +352 -10
- package/dist/audit/index.d.ts +352 -10
- package/dist/audit/index.js +14 -0
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/index.mjs +14 -0
- package/dist/audit/index.mjs.map +1 -1
- package/dist/identity/index.d.mts +768 -31
- package/dist/identity/index.d.ts +768 -31
- package/dist/identity/index.js +63 -15
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +63 -15
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.js +1608 -1454
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1608 -1454
- package/dist/index.mjs.map +1 -1
- package/dist/metadata-translations/index.js +992 -224
- package/dist/metadata-translations/index.js.map +1 -1
- package/dist/metadata-translations/index.mjs +992 -224
- package/dist/metadata-translations/index.mjs.map +1 -1
- package/dist/plugin.js +1523 -1431
- package/dist/plugin.js.map +1 -1
- package/dist/plugin.mjs +1523 -1431
- package/dist/plugin.mjs.map +1 -1
- package/dist/system/index.d.mts +102 -3
- package/dist/system/index.d.ts +102 -3
- package/package.json +4 -4
package/dist/system/index.d.mts
CHANGED
|
@@ -342,6 +342,30 @@ declare const SysSetting: Omit<{
|
|
|
342
342
|
versionField: string;
|
|
343
343
|
retentionDays?: number | undefined;
|
|
344
344
|
} | undefined;
|
|
345
|
+
lifecycle?: {
|
|
346
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
347
|
+
retention?: {
|
|
348
|
+
maxAge: string;
|
|
349
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
350
|
+
$in: (string | number)[];
|
|
351
|
+
}> | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
ttl?: {
|
|
354
|
+
field: string;
|
|
355
|
+
expireAfter: string;
|
|
356
|
+
} | undefined;
|
|
357
|
+
storage?: {
|
|
358
|
+
strategy: "rotation";
|
|
359
|
+
shards: number;
|
|
360
|
+
unit: "day" | "week" | "month";
|
|
361
|
+
} | undefined;
|
|
362
|
+
archive?: {
|
|
363
|
+
after: string;
|
|
364
|
+
to: string;
|
|
365
|
+
keep?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
reclaim?: boolean | undefined;
|
|
368
|
+
} | undefined;
|
|
345
369
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
346
370
|
activityMilestones?: {
|
|
347
371
|
field: string;
|
|
@@ -499,7 +523,7 @@ declare const SysSetting: Omit<{
|
|
|
499
523
|
timeline?: {
|
|
500
524
|
startDateField: string;
|
|
501
525
|
titleField: string;
|
|
502
|
-
scale: "
|
|
526
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
503
527
|
endDateField?: string | undefined;
|
|
504
528
|
groupByField?: string | undefined;
|
|
505
529
|
colorField?: string | undefined;
|
|
@@ -726,6 +750,15 @@ declare const SysSetting: Omit<{
|
|
|
726
750
|
helpText?: string | undefined;
|
|
727
751
|
defaultValue?: unknown;
|
|
728
752
|
defaultFromRow?: boolean | undefined;
|
|
753
|
+
visible?: {
|
|
754
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
755
|
+
source?: string | undefined;
|
|
756
|
+
ast?: unknown;
|
|
757
|
+
meta?: {
|
|
758
|
+
rationale?: string | undefined;
|
|
759
|
+
generatedBy?: string | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
} | undefined;
|
|
729
762
|
}[] | undefined;
|
|
730
763
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
731
764
|
order?: number | undefined;
|
|
@@ -3648,6 +3681,30 @@ declare const SysSecret: Omit<{
|
|
|
3648
3681
|
versionField: string;
|
|
3649
3682
|
retentionDays?: number | undefined;
|
|
3650
3683
|
} | undefined;
|
|
3684
|
+
lifecycle?: {
|
|
3685
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
3686
|
+
retention?: {
|
|
3687
|
+
maxAge: string;
|
|
3688
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
3689
|
+
$in: (string | number)[];
|
|
3690
|
+
}> | undefined;
|
|
3691
|
+
} | undefined;
|
|
3692
|
+
ttl?: {
|
|
3693
|
+
field: string;
|
|
3694
|
+
expireAfter: string;
|
|
3695
|
+
} | undefined;
|
|
3696
|
+
storage?: {
|
|
3697
|
+
strategy: "rotation";
|
|
3698
|
+
shards: number;
|
|
3699
|
+
unit: "day" | "week" | "month";
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
archive?: {
|
|
3702
|
+
after: string;
|
|
3703
|
+
to: string;
|
|
3704
|
+
keep?: string | undefined;
|
|
3705
|
+
} | undefined;
|
|
3706
|
+
reclaim?: boolean | undefined;
|
|
3707
|
+
} | undefined;
|
|
3651
3708
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
3652
3709
|
activityMilestones?: {
|
|
3653
3710
|
field: string;
|
|
@@ -3805,7 +3862,7 @@ declare const SysSecret: Omit<{
|
|
|
3805
3862
|
timeline?: {
|
|
3806
3863
|
startDateField: string;
|
|
3807
3864
|
titleField: string;
|
|
3808
|
-
scale: "
|
|
3865
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
3809
3866
|
endDateField?: string | undefined;
|
|
3810
3867
|
groupByField?: string | undefined;
|
|
3811
3868
|
colorField?: string | undefined;
|
|
@@ -4032,6 +4089,15 @@ declare const SysSecret: Omit<{
|
|
|
4032
4089
|
helpText?: string | undefined;
|
|
4033
4090
|
defaultValue?: unknown;
|
|
4034
4091
|
defaultFromRow?: boolean | undefined;
|
|
4092
|
+
visible?: {
|
|
4093
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4094
|
+
source?: string | undefined;
|
|
4095
|
+
ast?: unknown;
|
|
4096
|
+
meta?: {
|
|
4097
|
+
rationale?: string | undefined;
|
|
4098
|
+
generatedBy?: string | undefined;
|
|
4099
|
+
} | undefined;
|
|
4100
|
+
} | undefined;
|
|
4035
4101
|
}[] | undefined;
|
|
4036
4102
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
4037
4103
|
order?: number | undefined;
|
|
@@ -6133,6 +6199,30 @@ declare const SysSettingAudit: Omit<{
|
|
|
6133
6199
|
versionField: string;
|
|
6134
6200
|
retentionDays?: number | undefined;
|
|
6135
6201
|
} | undefined;
|
|
6202
|
+
lifecycle?: {
|
|
6203
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
6204
|
+
retention?: {
|
|
6205
|
+
maxAge: string;
|
|
6206
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
6207
|
+
$in: (string | number)[];
|
|
6208
|
+
}> | undefined;
|
|
6209
|
+
} | undefined;
|
|
6210
|
+
ttl?: {
|
|
6211
|
+
field: string;
|
|
6212
|
+
expireAfter: string;
|
|
6213
|
+
} | undefined;
|
|
6214
|
+
storage?: {
|
|
6215
|
+
strategy: "rotation";
|
|
6216
|
+
shards: number;
|
|
6217
|
+
unit: "day" | "week" | "month";
|
|
6218
|
+
} | undefined;
|
|
6219
|
+
archive?: {
|
|
6220
|
+
after: string;
|
|
6221
|
+
to: string;
|
|
6222
|
+
keep?: string | undefined;
|
|
6223
|
+
} | undefined;
|
|
6224
|
+
reclaim?: boolean | undefined;
|
|
6225
|
+
} | undefined;
|
|
6136
6226
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
6137
6227
|
activityMilestones?: {
|
|
6138
6228
|
field: string;
|
|
@@ -6290,7 +6380,7 @@ declare const SysSettingAudit: Omit<{
|
|
|
6290
6380
|
timeline?: {
|
|
6291
6381
|
startDateField: string;
|
|
6292
6382
|
titleField: string;
|
|
6293
|
-
scale: "
|
|
6383
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
6294
6384
|
endDateField?: string | undefined;
|
|
6295
6385
|
groupByField?: string | undefined;
|
|
6296
6386
|
colorField?: string | undefined;
|
|
@@ -6517,6 +6607,15 @@ declare const SysSettingAudit: Omit<{
|
|
|
6517
6607
|
helpText?: string | undefined;
|
|
6518
6608
|
defaultValue?: unknown;
|
|
6519
6609
|
defaultFromRow?: boolean | undefined;
|
|
6610
|
+
visible?: {
|
|
6611
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
6612
|
+
source?: string | undefined;
|
|
6613
|
+
ast?: unknown;
|
|
6614
|
+
meta?: {
|
|
6615
|
+
rationale?: string | undefined;
|
|
6616
|
+
generatedBy?: string | undefined;
|
|
6617
|
+
} | undefined;
|
|
6618
|
+
} | undefined;
|
|
6520
6619
|
}[] | undefined;
|
|
6521
6620
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
6522
6621
|
order?: number | undefined;
|
package/dist/system/index.d.ts
CHANGED
|
@@ -342,6 +342,30 @@ declare const SysSetting: Omit<{
|
|
|
342
342
|
versionField: string;
|
|
343
343
|
retentionDays?: number | undefined;
|
|
344
344
|
} | undefined;
|
|
345
|
+
lifecycle?: {
|
|
346
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
347
|
+
retention?: {
|
|
348
|
+
maxAge: string;
|
|
349
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
350
|
+
$in: (string | number)[];
|
|
351
|
+
}> | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
ttl?: {
|
|
354
|
+
field: string;
|
|
355
|
+
expireAfter: string;
|
|
356
|
+
} | undefined;
|
|
357
|
+
storage?: {
|
|
358
|
+
strategy: "rotation";
|
|
359
|
+
shards: number;
|
|
360
|
+
unit: "day" | "week" | "month";
|
|
361
|
+
} | undefined;
|
|
362
|
+
archive?: {
|
|
363
|
+
after: string;
|
|
364
|
+
to: string;
|
|
365
|
+
keep?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
reclaim?: boolean | undefined;
|
|
368
|
+
} | undefined;
|
|
345
369
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
346
370
|
activityMilestones?: {
|
|
347
371
|
field: string;
|
|
@@ -499,7 +523,7 @@ declare const SysSetting: Omit<{
|
|
|
499
523
|
timeline?: {
|
|
500
524
|
startDateField: string;
|
|
501
525
|
titleField: string;
|
|
502
|
-
scale: "
|
|
526
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
503
527
|
endDateField?: string | undefined;
|
|
504
528
|
groupByField?: string | undefined;
|
|
505
529
|
colorField?: string | undefined;
|
|
@@ -726,6 +750,15 @@ declare const SysSetting: Omit<{
|
|
|
726
750
|
helpText?: string | undefined;
|
|
727
751
|
defaultValue?: unknown;
|
|
728
752
|
defaultFromRow?: boolean | undefined;
|
|
753
|
+
visible?: {
|
|
754
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
755
|
+
source?: string | undefined;
|
|
756
|
+
ast?: unknown;
|
|
757
|
+
meta?: {
|
|
758
|
+
rationale?: string | undefined;
|
|
759
|
+
generatedBy?: string | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
} | undefined;
|
|
729
762
|
}[] | undefined;
|
|
730
763
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
731
764
|
order?: number | undefined;
|
|
@@ -3648,6 +3681,30 @@ declare const SysSecret: Omit<{
|
|
|
3648
3681
|
versionField: string;
|
|
3649
3682
|
retentionDays?: number | undefined;
|
|
3650
3683
|
} | undefined;
|
|
3684
|
+
lifecycle?: {
|
|
3685
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
3686
|
+
retention?: {
|
|
3687
|
+
maxAge: string;
|
|
3688
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
3689
|
+
$in: (string | number)[];
|
|
3690
|
+
}> | undefined;
|
|
3691
|
+
} | undefined;
|
|
3692
|
+
ttl?: {
|
|
3693
|
+
field: string;
|
|
3694
|
+
expireAfter: string;
|
|
3695
|
+
} | undefined;
|
|
3696
|
+
storage?: {
|
|
3697
|
+
strategy: "rotation";
|
|
3698
|
+
shards: number;
|
|
3699
|
+
unit: "day" | "week" | "month";
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
archive?: {
|
|
3702
|
+
after: string;
|
|
3703
|
+
to: string;
|
|
3704
|
+
keep?: string | undefined;
|
|
3705
|
+
} | undefined;
|
|
3706
|
+
reclaim?: boolean | undefined;
|
|
3707
|
+
} | undefined;
|
|
3651
3708
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
3652
3709
|
activityMilestones?: {
|
|
3653
3710
|
field: string;
|
|
@@ -3805,7 +3862,7 @@ declare const SysSecret: Omit<{
|
|
|
3805
3862
|
timeline?: {
|
|
3806
3863
|
startDateField: string;
|
|
3807
3864
|
titleField: string;
|
|
3808
|
-
scale: "
|
|
3865
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
3809
3866
|
endDateField?: string | undefined;
|
|
3810
3867
|
groupByField?: string | undefined;
|
|
3811
3868
|
colorField?: string | undefined;
|
|
@@ -4032,6 +4089,15 @@ declare const SysSecret: Omit<{
|
|
|
4032
4089
|
helpText?: string | undefined;
|
|
4033
4090
|
defaultValue?: unknown;
|
|
4034
4091
|
defaultFromRow?: boolean | undefined;
|
|
4092
|
+
visible?: {
|
|
4093
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4094
|
+
source?: string | undefined;
|
|
4095
|
+
ast?: unknown;
|
|
4096
|
+
meta?: {
|
|
4097
|
+
rationale?: string | undefined;
|
|
4098
|
+
generatedBy?: string | undefined;
|
|
4099
|
+
} | undefined;
|
|
4100
|
+
} | undefined;
|
|
4035
4101
|
}[] | undefined;
|
|
4036
4102
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
4037
4103
|
order?: number | undefined;
|
|
@@ -6133,6 +6199,30 @@ declare const SysSettingAudit: Omit<{
|
|
|
6133
6199
|
versionField: string;
|
|
6134
6200
|
retentionDays?: number | undefined;
|
|
6135
6201
|
} | undefined;
|
|
6202
|
+
lifecycle?: {
|
|
6203
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
6204
|
+
retention?: {
|
|
6205
|
+
maxAge: string;
|
|
6206
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
6207
|
+
$in: (string | number)[];
|
|
6208
|
+
}> | undefined;
|
|
6209
|
+
} | undefined;
|
|
6210
|
+
ttl?: {
|
|
6211
|
+
field: string;
|
|
6212
|
+
expireAfter: string;
|
|
6213
|
+
} | undefined;
|
|
6214
|
+
storage?: {
|
|
6215
|
+
strategy: "rotation";
|
|
6216
|
+
shards: number;
|
|
6217
|
+
unit: "day" | "week" | "month";
|
|
6218
|
+
} | undefined;
|
|
6219
|
+
archive?: {
|
|
6220
|
+
after: string;
|
|
6221
|
+
to: string;
|
|
6222
|
+
keep?: string | undefined;
|
|
6223
|
+
} | undefined;
|
|
6224
|
+
reclaim?: boolean | undefined;
|
|
6225
|
+
} | undefined;
|
|
6136
6226
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
6137
6227
|
activityMilestones?: {
|
|
6138
6228
|
field: string;
|
|
@@ -6290,7 +6380,7 @@ declare const SysSettingAudit: Omit<{
|
|
|
6290
6380
|
timeline?: {
|
|
6291
6381
|
startDateField: string;
|
|
6292
6382
|
titleField: string;
|
|
6293
|
-
scale: "
|
|
6383
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
6294
6384
|
endDateField?: string | undefined;
|
|
6295
6385
|
groupByField?: string | undefined;
|
|
6296
6386
|
colorField?: string | undefined;
|
|
@@ -6517,6 +6607,15 @@ declare const SysSettingAudit: Omit<{
|
|
|
6517
6607
|
helpText?: string | undefined;
|
|
6518
6608
|
defaultValue?: unknown;
|
|
6519
6609
|
defaultFromRow?: boolean | undefined;
|
|
6610
|
+
visible?: {
|
|
6611
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
6612
|
+
source?: string | undefined;
|
|
6613
|
+
ast?: unknown;
|
|
6614
|
+
meta?: {
|
|
6615
|
+
rationale?: string | undefined;
|
|
6616
|
+
generatedBy?: string | undefined;
|
|
6617
|
+
} | undefined;
|
|
6618
|
+
} | undefined;
|
|
6520
6619
|
}[] | undefined;
|
|
6521
6620
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
6522
6621
|
order?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/platform-objects",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Core platform object schemas for ObjectStack — identity, security, audit, tenant, and metadata objects",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@objectstack/metadata-core": "14.
|
|
67
|
-
"@objectstack/spec": "14.
|
|
66
|
+
"@objectstack/metadata-core": "14.6.0",
|
|
67
|
+
"@objectstack/spec": "14.6.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@types/node": "^26.1.
|
|
70
|
+
"@types/node": "^26.1.1",
|
|
71
71
|
"tsup": "^8.5.1",
|
|
72
72
|
"typescript": "^6.0.3",
|
|
73
73
|
"vitest": "^4.1.10"
|