@objectstack/platform-objects 13.0.0 → 14.5.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.
Files changed (41) hide show
  1. package/dist/apps/index.d.mts +1 -1
  2. package/dist/apps/index.d.ts +1 -1
  3. package/dist/apps/index.js +525 -1200
  4. package/dist/apps/index.js.map +1 -1
  5. package/dist/apps/index.mjs +525 -1200
  6. package/dist/apps/index.mjs.map +1 -1
  7. package/dist/audit/index.d.mts +262 -10
  8. package/dist/audit/index.d.ts +262 -10
  9. package/dist/audit/index.js +14 -0
  10. package/dist/audit/index.js.map +1 -1
  11. package/dist/audit/index.mjs +14 -0
  12. package/dist/audit/index.mjs.map +1 -1
  13. package/dist/identity/index.d.mts +1403 -236
  14. package/dist/identity/index.d.ts +1403 -236
  15. package/dist/identity/index.js +177 -17
  16. package/dist/identity/index.js.map +1 -1
  17. package/dist/identity/index.mjs +177 -17
  18. package/dist/identity/index.mjs.map +1 -1
  19. package/dist/index.d.mts +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.js +1878 -1736
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +1878 -1737
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/metadata-translations/index.js +1020 -488
  26. package/dist/metadata-translations/index.js.map +1 -1
  27. package/dist/metadata-translations/index.mjs +1020 -488
  28. package/dist/metadata-translations/index.mjs.map +1 -1
  29. package/dist/pages/index.d.mts +34 -3
  30. package/dist/pages/index.d.ts +34 -3
  31. package/dist/pages/index.js +111 -0
  32. package/dist/pages/index.js.map +1 -1
  33. package/dist/pages/index.mjs +111 -1
  34. package/dist/pages/index.mjs.map +1 -1
  35. package/dist/plugin.js +1564 -1707
  36. package/dist/plugin.js.map +1 -1
  37. package/dist/plugin.mjs +1564 -1707
  38. package/dist/plugin.mjs.map +1 -1
  39. package/dist/system/index.d.mts +75 -3
  40. package/dist/system/index.d.ts +75 -3
  41. package/package.json +3 -3
@@ -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: "hour" | "day" | "week" | "month" | "quarter" | "year";
526
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
503
527
  endDateField?: string | undefined;
504
528
  groupByField?: string | undefined;
505
529
  colorField?: string | undefined;
@@ -3648,6 +3672,30 @@ declare const SysSecret: Omit<{
3648
3672
  versionField: string;
3649
3673
  retentionDays?: number | undefined;
3650
3674
  } | undefined;
3675
+ lifecycle?: {
3676
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
3677
+ retention?: {
3678
+ maxAge: string;
3679
+ onlyWhen?: Record<string, string | number | boolean | {
3680
+ $in: (string | number)[];
3681
+ }> | undefined;
3682
+ } | undefined;
3683
+ ttl?: {
3684
+ field: string;
3685
+ expireAfter: string;
3686
+ } | undefined;
3687
+ storage?: {
3688
+ strategy: "rotation";
3689
+ shards: number;
3690
+ unit: "day" | "week" | "month";
3691
+ } | undefined;
3692
+ archive?: {
3693
+ after: string;
3694
+ to: string;
3695
+ keep?: string | undefined;
3696
+ } | undefined;
3697
+ reclaim?: boolean | undefined;
3698
+ } | undefined;
3651
3699
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
3652
3700
  activityMilestones?: {
3653
3701
  field: string;
@@ -3805,7 +3853,7 @@ declare const SysSecret: Omit<{
3805
3853
  timeline?: {
3806
3854
  startDateField: string;
3807
3855
  titleField: string;
3808
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
3856
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
3809
3857
  endDateField?: string | undefined;
3810
3858
  groupByField?: string | undefined;
3811
3859
  colorField?: string | undefined;
@@ -6133,6 +6181,30 @@ declare const SysSettingAudit: Omit<{
6133
6181
  versionField: string;
6134
6182
  retentionDays?: number | undefined;
6135
6183
  } | undefined;
6184
+ lifecycle?: {
6185
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
6186
+ retention?: {
6187
+ maxAge: string;
6188
+ onlyWhen?: Record<string, string | number | boolean | {
6189
+ $in: (string | number)[];
6190
+ }> | undefined;
6191
+ } | undefined;
6192
+ ttl?: {
6193
+ field: string;
6194
+ expireAfter: string;
6195
+ } | undefined;
6196
+ storage?: {
6197
+ strategy: "rotation";
6198
+ shards: number;
6199
+ unit: "day" | "week" | "month";
6200
+ } | undefined;
6201
+ archive?: {
6202
+ after: string;
6203
+ to: string;
6204
+ keep?: string | undefined;
6205
+ } | undefined;
6206
+ reclaim?: boolean | undefined;
6207
+ } | undefined;
6136
6208
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
6137
6209
  activityMilestones?: {
6138
6210
  field: string;
@@ -6290,7 +6362,7 @@ declare const SysSettingAudit: Omit<{
6290
6362
  timeline?: {
6291
6363
  startDateField: string;
6292
6364
  titleField: string;
6293
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
6365
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
6294
6366
  endDateField?: string | undefined;
6295
6367
  groupByField?: string | undefined;
6296
6368
  colorField?: string | undefined;
@@ -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: "hour" | "day" | "week" | "month" | "quarter" | "year";
526
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
503
527
  endDateField?: string | undefined;
504
528
  groupByField?: string | undefined;
505
529
  colorField?: string | undefined;
@@ -3648,6 +3672,30 @@ declare const SysSecret: Omit<{
3648
3672
  versionField: string;
3649
3673
  retentionDays?: number | undefined;
3650
3674
  } | undefined;
3675
+ lifecycle?: {
3676
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
3677
+ retention?: {
3678
+ maxAge: string;
3679
+ onlyWhen?: Record<string, string | number | boolean | {
3680
+ $in: (string | number)[];
3681
+ }> | undefined;
3682
+ } | undefined;
3683
+ ttl?: {
3684
+ field: string;
3685
+ expireAfter: string;
3686
+ } | undefined;
3687
+ storage?: {
3688
+ strategy: "rotation";
3689
+ shards: number;
3690
+ unit: "day" | "week" | "month";
3691
+ } | undefined;
3692
+ archive?: {
3693
+ after: string;
3694
+ to: string;
3695
+ keep?: string | undefined;
3696
+ } | undefined;
3697
+ reclaim?: boolean | undefined;
3698
+ } | undefined;
3651
3699
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
3652
3700
  activityMilestones?: {
3653
3701
  field: string;
@@ -3805,7 +3853,7 @@ declare const SysSecret: Omit<{
3805
3853
  timeline?: {
3806
3854
  startDateField: string;
3807
3855
  titleField: string;
3808
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
3856
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
3809
3857
  endDateField?: string | undefined;
3810
3858
  groupByField?: string | undefined;
3811
3859
  colorField?: string | undefined;
@@ -6133,6 +6181,30 @@ declare const SysSettingAudit: Omit<{
6133
6181
  versionField: string;
6134
6182
  retentionDays?: number | undefined;
6135
6183
  } | undefined;
6184
+ lifecycle?: {
6185
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
6186
+ retention?: {
6187
+ maxAge: string;
6188
+ onlyWhen?: Record<string, string | number | boolean | {
6189
+ $in: (string | number)[];
6190
+ }> | undefined;
6191
+ } | undefined;
6192
+ ttl?: {
6193
+ field: string;
6194
+ expireAfter: string;
6195
+ } | undefined;
6196
+ storage?: {
6197
+ strategy: "rotation";
6198
+ shards: number;
6199
+ unit: "day" | "week" | "month";
6200
+ } | undefined;
6201
+ archive?: {
6202
+ after: string;
6203
+ to: string;
6204
+ keep?: string | undefined;
6205
+ } | undefined;
6206
+ reclaim?: boolean | undefined;
6207
+ } | undefined;
6136
6208
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
6137
6209
  activityMilestones?: {
6138
6210
  field: string;
@@ -6290,7 +6362,7 @@ declare const SysSettingAudit: Omit<{
6290
6362
  timeline?: {
6291
6363
  startDateField: string;
6292
6364
  titleField: string;
6293
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
6365
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
6294
6366
  endDateField?: string | undefined;
6295
6367
  groupByField?: string | undefined;
6296
6368
  colorField?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/platform-objects",
3
- "version": "13.0.0",
3
+ "version": "14.5.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,8 +63,8 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@objectstack/metadata-core": "13.0.0",
67
- "@objectstack/spec": "13.0.0"
66
+ "@objectstack/metadata-core": "14.5.0",
67
+ "@objectstack/spec": "14.5.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "^26.1.0",