@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.
@@ -336,6 +336,30 @@ declare const SysNotification: Omit<{
336
336
  versionField: string;
337
337
  retentionDays?: number | undefined;
338
338
  } | undefined;
339
+ lifecycle?: {
340
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
341
+ retention?: {
342
+ maxAge: string;
343
+ onlyWhen?: Record<string, string | number | boolean | {
344
+ $in: (string | number)[];
345
+ }> | undefined;
346
+ } | undefined;
347
+ ttl?: {
348
+ field: string;
349
+ expireAfter: string;
350
+ } | undefined;
351
+ storage?: {
352
+ strategy: "rotation";
353
+ shards: number;
354
+ unit: "day" | "week" | "month";
355
+ } | undefined;
356
+ archive?: {
357
+ after: string;
358
+ to: string;
359
+ keep?: string | undefined;
360
+ } | undefined;
361
+ reclaim?: boolean | undefined;
362
+ } | undefined;
339
363
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
340
364
  activityMilestones?: {
341
365
  field: string;
@@ -493,7 +517,7 @@ declare const SysNotification: Omit<{
493
517
  timeline?: {
494
518
  startDateField: string;
495
519
  titleField: string;
496
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
520
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
497
521
  endDateField?: string | undefined;
498
522
  groupByField?: string | undefined;
499
523
  colorField?: string | undefined;
@@ -720,6 +744,15 @@ declare const SysNotification: Omit<{
720
744
  helpText?: string | undefined;
721
745
  defaultValue?: unknown;
722
746
  defaultFromRow?: boolean | undefined;
747
+ visible?: {
748
+ dialect: "cel" | "js" | "cron" | "template";
749
+ source?: string | undefined;
750
+ ast?: unknown;
751
+ meta?: {
752
+ rationale?: string | undefined;
753
+ generatedBy?: string | undefined;
754
+ } | undefined;
755
+ } | undefined;
723
756
  }[] | undefined;
724
757
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
725
758
  order?: number | undefined;
@@ -800,6 +833,12 @@ declare const SysNotification: Omit<{
800
833
  readonly icon: "bell";
801
834
  readonly isSystem: true;
802
835
  readonly managedBy: "system";
836
+ readonly lifecycle: {
837
+ readonly class: "telemetry";
838
+ readonly retention: {
839
+ readonly maxAge: "90d";
840
+ };
841
+ };
803
842
  readonly description: "Notification events — one row per emit() (ADR-0030 Layer 2 ingress)";
804
843
  readonly displayNameField: "topic";
805
844
  readonly nameField: "topic";
@@ -2844,6 +2883,30 @@ declare const SysAttachment: Omit<{
2844
2883
  versionField: string;
2845
2884
  retentionDays?: number | undefined;
2846
2885
  } | undefined;
2886
+ lifecycle?: {
2887
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
2888
+ retention?: {
2889
+ maxAge: string;
2890
+ onlyWhen?: Record<string, string | number | boolean | {
2891
+ $in: (string | number)[];
2892
+ }> | undefined;
2893
+ } | undefined;
2894
+ ttl?: {
2895
+ field: string;
2896
+ expireAfter: string;
2897
+ } | undefined;
2898
+ storage?: {
2899
+ strategy: "rotation";
2900
+ shards: number;
2901
+ unit: "day" | "week" | "month";
2902
+ } | undefined;
2903
+ archive?: {
2904
+ after: string;
2905
+ to: string;
2906
+ keep?: string | undefined;
2907
+ } | undefined;
2908
+ reclaim?: boolean | undefined;
2909
+ } | undefined;
2847
2910
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
2848
2911
  activityMilestones?: {
2849
2912
  field: string;
@@ -3001,7 +3064,7 @@ declare const SysAttachment: Omit<{
3001
3064
  timeline?: {
3002
3065
  startDateField: string;
3003
3066
  titleField: string;
3004
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
3067
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
3005
3068
  endDateField?: string | undefined;
3006
3069
  groupByField?: string | undefined;
3007
3070
  colorField?: string | undefined;
@@ -3228,6 +3291,15 @@ declare const SysAttachment: Omit<{
3228
3291
  helpText?: string | undefined;
3229
3292
  defaultValue?: unknown;
3230
3293
  defaultFromRow?: boolean | undefined;
3294
+ visible?: {
3295
+ dialect: "cel" | "js" | "cron" | "template";
3296
+ source?: string | undefined;
3297
+ ast?: unknown;
3298
+ meta?: {
3299
+ rationale?: string | undefined;
3300
+ generatedBy?: string | undefined;
3301
+ } | undefined;
3302
+ } | undefined;
3231
3303
  }[] | undefined;
3232
3304
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3233
3305
  order?: number | undefined;
@@ -6038,6 +6110,30 @@ declare const SysEmail: Omit<{
6038
6110
  versionField: string;
6039
6111
  retentionDays?: number | undefined;
6040
6112
  } | undefined;
6113
+ lifecycle?: {
6114
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
6115
+ retention?: {
6116
+ maxAge: string;
6117
+ onlyWhen?: Record<string, string | number | boolean | {
6118
+ $in: (string | number)[];
6119
+ }> | undefined;
6120
+ } | undefined;
6121
+ ttl?: {
6122
+ field: string;
6123
+ expireAfter: string;
6124
+ } | undefined;
6125
+ storage?: {
6126
+ strategy: "rotation";
6127
+ shards: number;
6128
+ unit: "day" | "week" | "month";
6129
+ } | undefined;
6130
+ archive?: {
6131
+ after: string;
6132
+ to: string;
6133
+ keep?: string | undefined;
6134
+ } | undefined;
6135
+ reclaim?: boolean | undefined;
6136
+ } | undefined;
6041
6137
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
6042
6138
  activityMilestones?: {
6043
6139
  field: string;
@@ -6195,7 +6291,7 @@ declare const SysEmail: Omit<{
6195
6291
  timeline?: {
6196
6292
  startDateField: string;
6197
6293
  titleField: string;
6198
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
6294
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
6199
6295
  endDateField?: string | undefined;
6200
6296
  groupByField?: string | undefined;
6201
6297
  colorField?: string | undefined;
@@ -6422,6 +6518,15 @@ declare const SysEmail: Omit<{
6422
6518
  helpText?: string | undefined;
6423
6519
  defaultValue?: unknown;
6424
6520
  defaultFromRow?: boolean | undefined;
6521
+ visible?: {
6522
+ dialect: "cel" | "js" | "cron" | "template";
6523
+ source?: string | undefined;
6524
+ ast?: unknown;
6525
+ meta?: {
6526
+ rationale?: string | undefined;
6527
+ generatedBy?: string | undefined;
6528
+ } | undefined;
6529
+ } | undefined;
6425
6530
  }[] | undefined;
6426
6531
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6427
6532
  order?: number | undefined;
@@ -10322,6 +10427,30 @@ declare const SysEmailTemplate: Omit<{
10322
10427
  versionField: string;
10323
10428
  retentionDays?: number | undefined;
10324
10429
  } | undefined;
10430
+ lifecycle?: {
10431
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
10432
+ retention?: {
10433
+ maxAge: string;
10434
+ onlyWhen?: Record<string, string | number | boolean | {
10435
+ $in: (string | number)[];
10436
+ }> | undefined;
10437
+ } | undefined;
10438
+ ttl?: {
10439
+ field: string;
10440
+ expireAfter: string;
10441
+ } | undefined;
10442
+ storage?: {
10443
+ strategy: "rotation";
10444
+ shards: number;
10445
+ unit: "day" | "week" | "month";
10446
+ } | undefined;
10447
+ archive?: {
10448
+ after: string;
10449
+ to: string;
10450
+ keep?: string | undefined;
10451
+ } | undefined;
10452
+ reclaim?: boolean | undefined;
10453
+ } | undefined;
10325
10454
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
10326
10455
  activityMilestones?: {
10327
10456
  field: string;
@@ -10479,7 +10608,7 @@ declare const SysEmailTemplate: Omit<{
10479
10608
  timeline?: {
10480
10609
  startDateField: string;
10481
10610
  titleField: string;
10482
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
10611
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
10483
10612
  endDateField?: string | undefined;
10484
10613
  groupByField?: string | undefined;
10485
10614
  colorField?: string | undefined;
@@ -10706,6 +10835,15 @@ declare const SysEmailTemplate: Omit<{
10706
10835
  helpText?: string | undefined;
10707
10836
  defaultValue?: unknown;
10708
10837
  defaultFromRow?: boolean | undefined;
10838
+ visible?: {
10839
+ dialect: "cel" | "js" | "cron" | "template";
10840
+ source?: string | undefined;
10841
+ ast?: unknown;
10842
+ meta?: {
10843
+ rationale?: string | undefined;
10844
+ generatedBy?: string | undefined;
10845
+ } | undefined;
10846
+ } | undefined;
10709
10847
  }[] | undefined;
10710
10848
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
10711
10849
  order?: number | undefined;
@@ -14254,6 +14392,30 @@ declare const SysSavedReport: Omit<{
14254
14392
  versionField: string;
14255
14393
  retentionDays?: number | undefined;
14256
14394
  } | undefined;
14395
+ lifecycle?: {
14396
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
14397
+ retention?: {
14398
+ maxAge: string;
14399
+ onlyWhen?: Record<string, string | number | boolean | {
14400
+ $in: (string | number)[];
14401
+ }> | undefined;
14402
+ } | undefined;
14403
+ ttl?: {
14404
+ field: string;
14405
+ expireAfter: string;
14406
+ } | undefined;
14407
+ storage?: {
14408
+ strategy: "rotation";
14409
+ shards: number;
14410
+ unit: "day" | "week" | "month";
14411
+ } | undefined;
14412
+ archive?: {
14413
+ after: string;
14414
+ to: string;
14415
+ keep?: string | undefined;
14416
+ } | undefined;
14417
+ reclaim?: boolean | undefined;
14418
+ } | undefined;
14257
14419
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
14258
14420
  activityMilestones?: {
14259
14421
  field: string;
@@ -14411,7 +14573,7 @@ declare const SysSavedReport: Omit<{
14411
14573
  timeline?: {
14412
14574
  startDateField: string;
14413
14575
  titleField: string;
14414
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
14576
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
14415
14577
  endDateField?: string | undefined;
14416
14578
  groupByField?: string | undefined;
14417
14579
  colorField?: string | undefined;
@@ -14638,6 +14800,15 @@ declare const SysSavedReport: Omit<{
14638
14800
  helpText?: string | undefined;
14639
14801
  defaultValue?: unknown;
14640
14802
  defaultFromRow?: boolean | undefined;
14803
+ visible?: {
14804
+ dialect: "cel" | "js" | "cron" | "template";
14805
+ source?: string | undefined;
14806
+ ast?: unknown;
14807
+ meta?: {
14808
+ rationale?: string | undefined;
14809
+ generatedBy?: string | undefined;
14810
+ } | undefined;
14811
+ } | undefined;
14641
14812
  }[] | undefined;
14642
14813
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
14643
14814
  order?: number | undefined;
@@ -17087,6 +17258,30 @@ declare const SysReportSchedule: Omit<{
17087
17258
  versionField: string;
17088
17259
  retentionDays?: number | undefined;
17089
17260
  } | undefined;
17261
+ lifecycle?: {
17262
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
17263
+ retention?: {
17264
+ maxAge: string;
17265
+ onlyWhen?: Record<string, string | number | boolean | {
17266
+ $in: (string | number)[];
17267
+ }> | undefined;
17268
+ } | undefined;
17269
+ ttl?: {
17270
+ field: string;
17271
+ expireAfter: string;
17272
+ } | undefined;
17273
+ storage?: {
17274
+ strategy: "rotation";
17275
+ shards: number;
17276
+ unit: "day" | "week" | "month";
17277
+ } | undefined;
17278
+ archive?: {
17279
+ after: string;
17280
+ to: string;
17281
+ keep?: string | undefined;
17282
+ } | undefined;
17283
+ reclaim?: boolean | undefined;
17284
+ } | undefined;
17090
17285
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
17091
17286
  activityMilestones?: {
17092
17287
  field: string;
@@ -17244,7 +17439,7 @@ declare const SysReportSchedule: Omit<{
17244
17439
  timeline?: {
17245
17440
  startDateField: string;
17246
17441
  titleField: string;
17247
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
17442
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
17248
17443
  endDateField?: string | undefined;
17249
17444
  groupByField?: string | undefined;
17250
17445
  colorField?: string | undefined;
@@ -17471,6 +17666,15 @@ declare const SysReportSchedule: Omit<{
17471
17666
  helpText?: string | undefined;
17472
17667
  defaultValue?: unknown;
17473
17668
  defaultFromRow?: boolean | undefined;
17669
+ visible?: {
17670
+ dialect: "cel" | "js" | "cron" | "template";
17671
+ source?: string | undefined;
17672
+ ast?: unknown;
17673
+ meta?: {
17674
+ rationale?: string | undefined;
17675
+ generatedBy?: string | undefined;
17676
+ } | undefined;
17677
+ } | undefined;
17474
17678
  }[] | undefined;
17475
17679
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
17476
17680
  order?: number | undefined;
@@ -21002,6 +21206,30 @@ declare const SysJob: Omit<{
21002
21206
  versionField: string;
21003
21207
  retentionDays?: number | undefined;
21004
21208
  } | undefined;
21209
+ lifecycle?: {
21210
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
21211
+ retention?: {
21212
+ maxAge: string;
21213
+ onlyWhen?: Record<string, string | number | boolean | {
21214
+ $in: (string | number)[];
21215
+ }> | undefined;
21216
+ } | undefined;
21217
+ ttl?: {
21218
+ field: string;
21219
+ expireAfter: string;
21220
+ } | undefined;
21221
+ storage?: {
21222
+ strategy: "rotation";
21223
+ shards: number;
21224
+ unit: "day" | "week" | "month";
21225
+ } | undefined;
21226
+ archive?: {
21227
+ after: string;
21228
+ to: string;
21229
+ keep?: string | undefined;
21230
+ } | undefined;
21231
+ reclaim?: boolean | undefined;
21232
+ } | undefined;
21005
21233
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
21006
21234
  activityMilestones?: {
21007
21235
  field: string;
@@ -21159,7 +21387,7 @@ declare const SysJob: Omit<{
21159
21387
  timeline?: {
21160
21388
  startDateField: string;
21161
21389
  titleField: string;
21162
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
21390
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
21163
21391
  endDateField?: string | undefined;
21164
21392
  groupByField?: string | undefined;
21165
21393
  colorField?: string | undefined;
@@ -21386,6 +21614,15 @@ declare const SysJob: Omit<{
21386
21614
  helpText?: string | undefined;
21387
21615
  defaultValue?: unknown;
21388
21616
  defaultFromRow?: boolean | undefined;
21617
+ visible?: {
21618
+ dialect: "cel" | "js" | "cron" | "template";
21619
+ source?: string | undefined;
21620
+ ast?: unknown;
21621
+ meta?: {
21622
+ rationale?: string | undefined;
21623
+ generatedBy?: string | undefined;
21624
+ } | undefined;
21625
+ } | undefined;
21389
21626
  }[] | undefined;
21390
21627
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
21391
21628
  order?: number | undefined;
@@ -24186,6 +24423,30 @@ declare const SysJobRun: Omit<{
24186
24423
  versionField: string;
24187
24424
  retentionDays?: number | undefined;
24188
24425
  } | undefined;
24426
+ lifecycle?: {
24427
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
24428
+ retention?: {
24429
+ maxAge: string;
24430
+ onlyWhen?: Record<string, string | number | boolean | {
24431
+ $in: (string | number)[];
24432
+ }> | undefined;
24433
+ } | undefined;
24434
+ ttl?: {
24435
+ field: string;
24436
+ expireAfter: string;
24437
+ } | undefined;
24438
+ storage?: {
24439
+ strategy: "rotation";
24440
+ shards: number;
24441
+ unit: "day" | "week" | "month";
24442
+ } | undefined;
24443
+ archive?: {
24444
+ after: string;
24445
+ to: string;
24446
+ keep?: string | undefined;
24447
+ } | undefined;
24448
+ reclaim?: boolean | undefined;
24449
+ } | undefined;
24189
24450
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
24190
24451
  activityMilestones?: {
24191
24452
  field: string;
@@ -24343,7 +24604,7 @@ declare const SysJobRun: Omit<{
24343
24604
  timeline?: {
24344
24605
  startDateField: string;
24345
24606
  titleField: string;
24346
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
24607
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
24347
24608
  endDateField?: string | undefined;
24348
24609
  groupByField?: string | undefined;
24349
24610
  colorField?: string | undefined;
@@ -24570,6 +24831,15 @@ declare const SysJobRun: Omit<{
24570
24831
  helpText?: string | undefined;
24571
24832
  defaultValue?: unknown;
24572
24833
  defaultFromRow?: boolean | undefined;
24834
+ visible?: {
24835
+ dialect: "cel" | "js" | "cron" | "template";
24836
+ source?: string | undefined;
24837
+ ast?: unknown;
24838
+ meta?: {
24839
+ rationale?: string | undefined;
24840
+ generatedBy?: string | undefined;
24841
+ } | undefined;
24842
+ } | undefined;
24573
24843
  }[] | undefined;
24574
24844
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
24575
24845
  order?: number | undefined;
@@ -24650,6 +24920,12 @@ declare const SysJobRun: Omit<{
24650
24920
  readonly icon: "play";
24651
24921
  readonly isSystem: true;
24652
24922
  readonly managedBy: "append-only";
24923
+ readonly lifecycle: {
24924
+ readonly class: "telemetry";
24925
+ readonly retention: {
24926
+ readonly maxAge: "30d";
24927
+ };
24928
+ };
24653
24929
  readonly description: "Background job execution audit trail";
24654
24930
  readonly displayNameField: "job_name";
24655
24931
  readonly nameField: "job_name";
@@ -26829,6 +27105,30 @@ declare const SysJobQueue: Omit<{
26829
27105
  versionField: string;
26830
27106
  retentionDays?: number | undefined;
26831
27107
  } | undefined;
27108
+ lifecycle?: {
27109
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
27110
+ retention?: {
27111
+ maxAge: string;
27112
+ onlyWhen?: Record<string, string | number | boolean | {
27113
+ $in: (string | number)[];
27114
+ }> | undefined;
27115
+ } | undefined;
27116
+ ttl?: {
27117
+ field: string;
27118
+ expireAfter: string;
27119
+ } | undefined;
27120
+ storage?: {
27121
+ strategy: "rotation";
27122
+ shards: number;
27123
+ unit: "day" | "week" | "month";
27124
+ } | undefined;
27125
+ archive?: {
27126
+ after: string;
27127
+ to: string;
27128
+ keep?: string | undefined;
27129
+ } | undefined;
27130
+ reclaim?: boolean | undefined;
27131
+ } | undefined;
26832
27132
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
26833
27133
  activityMilestones?: {
26834
27134
  field: string;
@@ -26986,7 +27286,7 @@ declare const SysJobQueue: Omit<{
26986
27286
  timeline?: {
26987
27287
  startDateField: string;
26988
27288
  titleField: string;
26989
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
27289
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
26990
27290
  endDateField?: string | undefined;
26991
27291
  groupByField?: string | undefined;
26992
27292
  colorField?: string | undefined;
@@ -27213,6 +27513,15 @@ declare const SysJobQueue: Omit<{
27213
27513
  helpText?: string | undefined;
27214
27514
  defaultValue?: unknown;
27215
27515
  defaultFromRow?: boolean | undefined;
27516
+ visible?: {
27517
+ dialect: "cel" | "js" | "cron" | "template";
27518
+ source?: string | undefined;
27519
+ ast?: unknown;
27520
+ meta?: {
27521
+ rationale?: string | undefined;
27522
+ generatedBy?: string | undefined;
27523
+ } | undefined;
27524
+ } | undefined;
27216
27525
  }[] | undefined;
27217
27526
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
27218
27527
  order?: number | undefined;
@@ -31116,6 +31425,30 @@ declare const SysImportJob: Omit<{
31116
31425
  versionField: string;
31117
31426
  retentionDays?: number | undefined;
31118
31427
  } | undefined;
31428
+ lifecycle?: {
31429
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
31430
+ retention?: {
31431
+ maxAge: string;
31432
+ onlyWhen?: Record<string, string | number | boolean | {
31433
+ $in: (string | number)[];
31434
+ }> | undefined;
31435
+ } | undefined;
31436
+ ttl?: {
31437
+ field: string;
31438
+ expireAfter: string;
31439
+ } | undefined;
31440
+ storage?: {
31441
+ strategy: "rotation";
31442
+ shards: number;
31443
+ unit: "day" | "week" | "month";
31444
+ } | undefined;
31445
+ archive?: {
31446
+ after: string;
31447
+ to: string;
31448
+ keep?: string | undefined;
31449
+ } | undefined;
31450
+ reclaim?: boolean | undefined;
31451
+ } | undefined;
31119
31452
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
31120
31453
  activityMilestones?: {
31121
31454
  field: string;
@@ -31273,7 +31606,7 @@ declare const SysImportJob: Omit<{
31273
31606
  timeline?: {
31274
31607
  startDateField: string;
31275
31608
  titleField: string;
31276
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
31609
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
31277
31610
  endDateField?: string | undefined;
31278
31611
  groupByField?: string | undefined;
31279
31612
  colorField?: string | undefined;
@@ -31500,6 +31833,15 @@ declare const SysImportJob: Omit<{
31500
31833
  helpText?: string | undefined;
31501
31834
  defaultValue?: unknown;
31502
31835
  defaultFromRow?: boolean | undefined;
31836
+ visible?: {
31837
+ dialect: "cel" | "js" | "cron" | "template";
31838
+ source?: string | undefined;
31839
+ ast?: unknown;
31840
+ meta?: {
31841
+ rationale?: string | undefined;
31842
+ generatedBy?: string | undefined;
31843
+ } | undefined;
31844
+ } | undefined;
31503
31845
  }[] | undefined;
31504
31846
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
31505
31847
  order?: number | undefined;
@@ -10,6 +10,13 @@ var SysNotification = data.ObjectSchema.create({
10
10
  icon: "bell",
11
11
  isSystem: true,
12
12
  managedBy: "system",
13
+ // ADR-0057: one 90d window across the whole notification pipeline
14
+ // (event → delivery → receipt/inbox), enforced by the LifecycleService
15
+ // (the retired NotificationRetention sweeper kept the same default).
16
+ lifecycle: {
17
+ class: "telemetry",
18
+ retention: { maxAge: "90d" }
19
+ },
13
20
  description: "Notification events \u2014 one row per emit() (ADR-0030 Layer 2 ingress)",
14
21
  displayNameField: "topic",
15
22
  nameField: "topic",
@@ -816,6 +823,13 @@ var SysJobRun = data.ObjectSchema.create({
816
823
  icon: "play",
817
824
  isSystem: true,
818
825
  managedBy: "append-only",
826
+ // ADR-0057: run history is append-only telemetry. The platform
827
+ // LifecycleService is the ONE sweeper for this window (the plugin-local
828
+ // JobRunRetention it replaced kept the same 30d default).
829
+ lifecycle: {
830
+ class: "telemetry",
831
+ retention: { maxAge: "30d" }
832
+ },
819
833
  description: "Background job execution audit trail",
820
834
  displayNameField: "job_name",
821
835
  nameField: "job_name",