@objectstack/plugin-approvals 14.5.0 → 14.7.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/plugin-approvals@14.5.0 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
2
+ > @objectstack/plugin-approvals@14.7.0 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
3
3
  > tsup --config ../../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.js 123.99 KB
14
- CJS dist/index.js.map 220.47 KB
15
- CJS ⚡️ Build success in 267ms
16
13
  ESM dist/index.mjs 122.33 KB
17
14
  ESM dist/index.mjs.map 219.27 KB
18
- ESM ⚡️ Build success in 274ms
15
+ ESM ⚡️ Build success in 140ms
16
+ CJS dist/index.js 123.99 KB
17
+ CJS dist/index.js.map 220.47 KB
18
+ CJS ⚡️ Build success in 150ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 25609ms
21
- DTS dist/index.d.mts 384.81 KB
22
- DTS dist/index.d.ts 384.81 KB
20
+ DTS ⚡️ Build success in 15764ms
21
+ DTS dist/index.d.mts 387.51 KB
22
+ DTS dist/index.d.ts 387.51 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @objectstack/plugin-approvals
2
2
 
3
+ ## 14.7.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d6a72eb]
8
+ - @objectstack/spec@14.7.0
9
+ - @objectstack/core@14.7.0
10
+ - @objectstack/formula@14.7.0
11
+ - @objectstack/metadata-core@14.7.0
12
+ - @objectstack/platform-objects@14.7.0
13
+
14
+ ## 14.6.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [609cb13]
19
+ - Updated dependencies [ce6d151]
20
+ - @objectstack/spec@14.6.0
21
+ - @objectstack/platform-objects@14.6.0
22
+ - @objectstack/core@14.6.0
23
+ - @objectstack/formula@14.6.0
24
+ - @objectstack/metadata-core@14.6.0
25
+
3
26
  ## 14.5.0
4
27
 
5
28
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -256,6 +256,7 @@ declare const SysApprovalRequest: Omit<{
256
256
  generatedBy?: string | undefined;
257
257
  } | undefined;
258
258
  } | undefined;
259
+ widget?: string | undefined;
259
260
  requiredPermissions?: string[] | undefined;
260
261
  system?: boolean | undefined;
261
262
  inlineHelpText?: string | undefined;
@@ -745,6 +746,15 @@ declare const SysApprovalRequest: Omit<{
745
746
  helpText?: string | undefined;
746
747
  defaultValue?: unknown;
747
748
  defaultFromRow?: boolean | undefined;
749
+ visible?: {
750
+ dialect: "cel" | "js" | "cron" | "template";
751
+ source?: string | undefined;
752
+ ast?: unknown;
753
+ meta?: {
754
+ rationale?: string | undefined;
755
+ generatedBy?: string | undefined;
756
+ } | undefined;
757
+ } | undefined;
748
758
  }[] | undefined;
749
759
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
750
760
  order?: number | undefined;
@@ -948,6 +958,7 @@ declare const SysApprovalRequest: Omit<{
948
958
  readonly precision?: number | undefined;
949
959
  readonly required?: boolean | undefined;
950
960
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
961
+ readonly widget?: string | undefined;
951
962
  readonly multiple?: boolean | undefined;
952
963
  readonly dependencies?: string[] | undefined;
953
964
  readonly externalId?: boolean | undefined;
@@ -1131,6 +1142,7 @@ declare const SysApprovalRequest: Omit<{
1131
1142
  readonly precision?: number | undefined;
1132
1143
  readonly required?: boolean | undefined;
1133
1144
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1145
+ readonly widget?: string | undefined;
1134
1146
  readonly multiple?: boolean | undefined;
1135
1147
  readonly dependencies?: string[] | undefined;
1136
1148
  readonly externalId?: boolean | undefined;
@@ -1314,6 +1326,7 @@ declare const SysApprovalRequest: Omit<{
1314
1326
  readonly precision?: number | undefined;
1315
1327
  readonly required?: boolean | undefined;
1316
1328
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1329
+ readonly widget?: string | undefined;
1317
1330
  readonly multiple?: boolean | undefined;
1318
1331
  readonly dependencies?: string[] | undefined;
1319
1332
  readonly externalId?: boolean | undefined;
@@ -1497,6 +1510,7 @@ declare const SysApprovalRequest: Omit<{
1497
1510
  readonly precision?: number | undefined;
1498
1511
  readonly required?: boolean | undefined;
1499
1512
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1513
+ readonly widget?: string | undefined;
1500
1514
  readonly multiple?: boolean | undefined;
1501
1515
  readonly dependencies?: string[] | undefined;
1502
1516
  readonly externalId?: boolean | undefined;
@@ -1680,6 +1694,7 @@ declare const SysApprovalRequest: Omit<{
1680
1694
  readonly precision?: number | undefined;
1681
1695
  readonly required?: boolean | undefined;
1682
1696
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1697
+ readonly widget?: string | undefined;
1683
1698
  readonly multiple?: boolean | undefined;
1684
1699
  readonly dependencies?: string[] | undefined;
1685
1700
  readonly externalId?: boolean | undefined;
@@ -1863,6 +1878,7 @@ declare const SysApprovalRequest: Omit<{
1863
1878
  readonly precision?: number | undefined;
1864
1879
  readonly required?: boolean | undefined;
1865
1880
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1881
+ readonly widget?: string | undefined;
1866
1882
  readonly multiple?: boolean | undefined;
1867
1883
  readonly dependencies?: string[] | undefined;
1868
1884
  readonly externalId?: boolean | undefined;
@@ -2046,6 +2062,7 @@ declare const SysApprovalRequest: Omit<{
2046
2062
  readonly precision?: number | undefined;
2047
2063
  readonly required?: boolean | undefined;
2048
2064
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2065
+ readonly widget?: string | undefined;
2049
2066
  readonly multiple?: boolean | undefined;
2050
2067
  readonly dependencies?: string[] | undefined;
2051
2068
  readonly externalId?: boolean | undefined;
@@ -2229,6 +2246,7 @@ declare const SysApprovalRequest: Omit<{
2229
2246
  readonly precision?: number | undefined;
2230
2247
  readonly required?: boolean | undefined;
2231
2248
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2249
+ readonly widget?: string | undefined;
2232
2250
  readonly multiple?: boolean | undefined;
2233
2251
  readonly dependencies?: string[] | undefined;
2234
2252
  readonly externalId?: boolean | undefined;
@@ -2412,6 +2430,7 @@ declare const SysApprovalRequest: Omit<{
2412
2430
  readonly precision?: number | undefined;
2413
2431
  readonly required?: boolean | undefined;
2414
2432
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2433
+ readonly widget?: string | undefined;
2415
2434
  readonly multiple?: boolean | undefined;
2416
2435
  readonly dependencies?: string[] | undefined;
2417
2436
  readonly externalId?: boolean | undefined;
@@ -2595,6 +2614,7 @@ declare const SysApprovalRequest: Omit<{
2595
2614
  readonly precision?: number | undefined;
2596
2615
  readonly required?: boolean | undefined;
2597
2616
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2617
+ readonly widget?: string | undefined;
2598
2618
  readonly multiple?: boolean | undefined;
2599
2619
  readonly dependencies?: string[] | undefined;
2600
2620
  readonly externalId?: boolean | undefined;
@@ -2778,6 +2798,7 @@ declare const SysApprovalRequest: Omit<{
2778
2798
  readonly precision?: number | undefined;
2779
2799
  readonly required?: boolean | undefined;
2780
2800
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2801
+ readonly widget?: string | undefined;
2781
2802
  readonly multiple?: boolean | undefined;
2782
2803
  readonly dependencies?: string[] | undefined;
2783
2804
  readonly externalId?: boolean | undefined;
@@ -2961,6 +2982,7 @@ declare const SysApprovalRequest: Omit<{
2961
2982
  readonly precision?: number | undefined;
2962
2983
  readonly required?: boolean | undefined;
2963
2984
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2985
+ readonly widget?: string | undefined;
2964
2986
  readonly multiple?: boolean | undefined;
2965
2987
  readonly dependencies?: string[] | undefined;
2966
2988
  readonly externalId?: boolean | undefined;
@@ -3144,6 +3166,7 @@ declare const SysApprovalRequest: Omit<{
3144
3166
  readonly precision?: number | undefined;
3145
3167
  readonly required?: boolean | undefined;
3146
3168
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3169
+ readonly widget?: string | undefined;
3147
3170
  readonly multiple?: boolean | undefined;
3148
3171
  readonly dependencies?: string[] | undefined;
3149
3172
  readonly externalId?: boolean | undefined;
@@ -3327,6 +3350,7 @@ declare const SysApprovalRequest: Omit<{
3327
3350
  readonly precision?: number | undefined;
3328
3351
  readonly required?: boolean | undefined;
3329
3352
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3353
+ readonly widget?: string | undefined;
3330
3354
  readonly multiple?: boolean | undefined;
3331
3355
  readonly dependencies?: string[] | undefined;
3332
3356
  readonly externalId?: boolean | undefined;
@@ -3510,6 +3534,7 @@ declare const SysApprovalRequest: Omit<{
3510
3534
  readonly precision?: number | undefined;
3511
3535
  readonly required?: boolean | undefined;
3512
3536
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3537
+ readonly widget?: string | undefined;
3513
3538
  readonly multiple?: boolean | undefined;
3514
3539
  readonly dependencies?: string[] | undefined;
3515
3540
  readonly externalId?: boolean | undefined;
@@ -3693,6 +3718,7 @@ declare const SysApprovalRequest: Omit<{
3693
3718
  readonly precision?: number | undefined;
3694
3719
  readonly required?: boolean | undefined;
3695
3720
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3721
+ readonly widget?: string | undefined;
3696
3722
  readonly multiple?: boolean | undefined;
3697
3723
  readonly dependencies?: string[] | undefined;
3698
3724
  readonly externalId?: boolean | undefined;
@@ -3876,6 +3902,7 @@ declare const SysApprovalRequest: Omit<{
3876
3902
  readonly precision?: number | undefined;
3877
3903
  readonly required?: boolean | undefined;
3878
3904
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3905
+ readonly widget?: string | undefined;
3879
3906
  readonly multiple?: boolean | undefined;
3880
3907
  readonly dependencies?: string[] | undefined;
3881
3908
  readonly externalId?: boolean | undefined;
@@ -4059,6 +4086,7 @@ declare const SysApprovalRequest: Omit<{
4059
4086
  readonly precision?: number | undefined;
4060
4087
  readonly required?: boolean | undefined;
4061
4088
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4089
+ readonly widget?: string | undefined;
4062
4090
  readonly multiple?: boolean | undefined;
4063
4091
  readonly dependencies?: string[] | undefined;
4064
4092
  readonly externalId?: boolean | undefined;
@@ -4473,6 +4501,7 @@ declare const SysApprovalAction: Omit<{
4473
4501
  generatedBy?: string | undefined;
4474
4502
  } | undefined;
4475
4503
  } | undefined;
4504
+ widget?: string | undefined;
4476
4505
  requiredPermissions?: string[] | undefined;
4477
4506
  system?: boolean | undefined;
4478
4507
  inlineHelpText?: string | undefined;
@@ -4962,6 +4991,15 @@ declare const SysApprovalAction: Omit<{
4962
4991
  helpText?: string | undefined;
4963
4992
  defaultValue?: unknown;
4964
4993
  defaultFromRow?: boolean | undefined;
4994
+ visible?: {
4995
+ dialect: "cel" | "js" | "cron" | "template";
4996
+ source?: string | undefined;
4997
+ ast?: unknown;
4998
+ meta?: {
4999
+ rationale?: string | undefined;
5000
+ generatedBy?: string | undefined;
5001
+ } | undefined;
5002
+ } | undefined;
4965
5003
  }[] | undefined;
4966
5004
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4967
5005
  order?: number | undefined;
@@ -5139,6 +5177,7 @@ declare const SysApprovalAction: Omit<{
5139
5177
  readonly precision?: number | undefined;
5140
5178
  readonly required?: boolean | undefined;
5141
5179
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5180
+ readonly widget?: string | undefined;
5142
5181
  readonly multiple?: boolean | undefined;
5143
5182
  readonly dependencies?: string[] | undefined;
5144
5183
  readonly externalId?: boolean | undefined;
@@ -5322,6 +5361,7 @@ declare const SysApprovalAction: Omit<{
5322
5361
  readonly precision?: number | undefined;
5323
5362
  readonly required?: boolean | undefined;
5324
5363
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5364
+ readonly widget?: string | undefined;
5325
5365
  readonly multiple?: boolean | undefined;
5326
5366
  readonly dependencies?: string[] | undefined;
5327
5367
  readonly externalId?: boolean | undefined;
@@ -5505,6 +5545,7 @@ declare const SysApprovalAction: Omit<{
5505
5545
  readonly precision?: number | undefined;
5506
5546
  readonly required?: boolean | undefined;
5507
5547
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5548
+ readonly widget?: string | undefined;
5508
5549
  readonly multiple?: boolean | undefined;
5509
5550
  readonly dependencies?: string[] | undefined;
5510
5551
  readonly externalId?: boolean | undefined;
@@ -5688,6 +5729,7 @@ declare const SysApprovalAction: Omit<{
5688
5729
  readonly precision?: number | undefined;
5689
5730
  readonly required?: boolean | undefined;
5690
5731
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5732
+ readonly widget?: string | undefined;
5691
5733
  readonly multiple?: boolean | undefined;
5692
5734
  readonly dependencies?: string[] | undefined;
5693
5735
  readonly externalId?: boolean | undefined;
@@ -5871,6 +5913,7 @@ declare const SysApprovalAction: Omit<{
5871
5913
  readonly precision?: number | undefined;
5872
5914
  readonly required?: boolean | undefined;
5873
5915
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5916
+ readonly widget?: string | undefined;
5874
5917
  readonly multiple?: boolean | undefined;
5875
5918
  readonly dependencies?: string[] | undefined;
5876
5919
  readonly externalId?: boolean | undefined;
@@ -6054,6 +6097,7 @@ declare const SysApprovalAction: Omit<{
6054
6097
  readonly precision?: number | undefined;
6055
6098
  readonly required?: boolean | undefined;
6056
6099
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6100
+ readonly widget?: string | undefined;
6057
6101
  readonly multiple?: boolean | undefined;
6058
6102
  readonly dependencies?: string[] | undefined;
6059
6103
  readonly externalId?: boolean | undefined;
@@ -6237,6 +6281,7 @@ declare const SysApprovalAction: Omit<{
6237
6281
  readonly precision?: number | undefined;
6238
6282
  readonly required?: boolean | undefined;
6239
6283
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6284
+ readonly widget?: string | undefined;
6240
6285
  readonly multiple?: boolean | undefined;
6241
6286
  readonly dependencies?: string[] | undefined;
6242
6287
  readonly externalId?: boolean | undefined;
@@ -6420,6 +6465,7 @@ declare const SysApprovalAction: Omit<{
6420
6465
  readonly precision?: number | undefined;
6421
6466
  readonly required?: boolean | undefined;
6422
6467
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6468
+ readonly widget?: string | undefined;
6423
6469
  readonly multiple?: boolean | undefined;
6424
6470
  readonly dependencies?: string[] | undefined;
6425
6471
  readonly externalId?: boolean | undefined;
@@ -6603,6 +6649,7 @@ declare const SysApprovalAction: Omit<{
6603
6649
  readonly precision?: number | undefined;
6604
6650
  readonly required?: boolean | undefined;
6605
6651
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6652
+ readonly widget?: string | undefined;
6606
6653
  readonly multiple?: boolean | undefined;
6607
6654
  readonly dependencies?: string[] | undefined;
6608
6655
  readonly externalId?: boolean | undefined;
@@ -7024,6 +7071,7 @@ declare const SysApprovalApprover: Omit<{
7024
7071
  generatedBy?: string | undefined;
7025
7072
  } | undefined;
7026
7073
  } | undefined;
7074
+ widget?: string | undefined;
7027
7075
  requiredPermissions?: string[] | undefined;
7028
7076
  system?: boolean | undefined;
7029
7077
  inlineHelpText?: string | undefined;
@@ -7513,6 +7561,15 @@ declare const SysApprovalApprover: Omit<{
7513
7561
  helpText?: string | undefined;
7514
7562
  defaultValue?: unknown;
7515
7563
  defaultFromRow?: boolean | undefined;
7564
+ visible?: {
7565
+ dialect: "cel" | "js" | "cron" | "template";
7566
+ source?: string | undefined;
7567
+ ast?: unknown;
7568
+ meta?: {
7569
+ rationale?: string | undefined;
7570
+ generatedBy?: string | undefined;
7571
+ } | undefined;
7572
+ } | undefined;
7516
7573
  }[] | undefined;
7517
7574
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
7518
7575
  order?: number | undefined;
@@ -7623,6 +7680,7 @@ declare const SysApprovalApprover: Omit<{
7623
7680
  readonly precision?: number | undefined;
7624
7681
  readonly required?: boolean | undefined;
7625
7682
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7683
+ readonly widget?: string | undefined;
7626
7684
  readonly multiple?: boolean | undefined;
7627
7685
  readonly dependencies?: string[] | undefined;
7628
7686
  readonly externalId?: boolean | undefined;
@@ -7806,6 +7864,7 @@ declare const SysApprovalApprover: Omit<{
7806
7864
  readonly precision?: number | undefined;
7807
7865
  readonly required?: boolean | undefined;
7808
7866
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7867
+ readonly widget?: string | undefined;
7809
7868
  readonly multiple?: boolean | undefined;
7810
7869
  readonly dependencies?: string[] | undefined;
7811
7870
  readonly externalId?: boolean | undefined;
@@ -7989,6 +8048,7 @@ declare const SysApprovalApprover: Omit<{
7989
8048
  readonly precision?: number | undefined;
7990
8049
  readonly required?: boolean | undefined;
7991
8050
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8051
+ readonly widget?: string | undefined;
7992
8052
  readonly multiple?: boolean | undefined;
7993
8053
  readonly dependencies?: string[] | undefined;
7994
8054
  readonly externalId?: boolean | undefined;
@@ -8172,6 +8232,7 @@ declare const SysApprovalApprover: Omit<{
8172
8232
  readonly precision?: number | undefined;
8173
8233
  readonly required?: boolean | undefined;
8174
8234
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8235
+ readonly widget?: string | undefined;
8175
8236
  readonly multiple?: boolean | undefined;
8176
8237
  readonly dependencies?: string[] | undefined;
8177
8238
  readonly externalId?: boolean | undefined;
@@ -8355,6 +8416,7 @@ declare const SysApprovalApprover: Omit<{
8355
8416
  readonly precision?: number | undefined;
8356
8417
  readonly required?: boolean | undefined;
8357
8418
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8419
+ readonly widget?: string | undefined;
8358
8420
  readonly multiple?: boolean | undefined;
8359
8421
  readonly dependencies?: string[] | undefined;
8360
8422
  readonly externalId?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -256,6 +256,7 @@ declare const SysApprovalRequest: Omit<{
256
256
  generatedBy?: string | undefined;
257
257
  } | undefined;
258
258
  } | undefined;
259
+ widget?: string | undefined;
259
260
  requiredPermissions?: string[] | undefined;
260
261
  system?: boolean | undefined;
261
262
  inlineHelpText?: string | undefined;
@@ -745,6 +746,15 @@ declare const SysApprovalRequest: Omit<{
745
746
  helpText?: string | undefined;
746
747
  defaultValue?: unknown;
747
748
  defaultFromRow?: boolean | undefined;
749
+ visible?: {
750
+ dialect: "cel" | "js" | "cron" | "template";
751
+ source?: string | undefined;
752
+ ast?: unknown;
753
+ meta?: {
754
+ rationale?: string | undefined;
755
+ generatedBy?: string | undefined;
756
+ } | undefined;
757
+ } | undefined;
748
758
  }[] | undefined;
749
759
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
750
760
  order?: number | undefined;
@@ -948,6 +958,7 @@ declare const SysApprovalRequest: Omit<{
948
958
  readonly precision?: number | undefined;
949
959
  readonly required?: boolean | undefined;
950
960
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
961
+ readonly widget?: string | undefined;
951
962
  readonly multiple?: boolean | undefined;
952
963
  readonly dependencies?: string[] | undefined;
953
964
  readonly externalId?: boolean | undefined;
@@ -1131,6 +1142,7 @@ declare const SysApprovalRequest: Omit<{
1131
1142
  readonly precision?: number | undefined;
1132
1143
  readonly required?: boolean | undefined;
1133
1144
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1145
+ readonly widget?: string | undefined;
1134
1146
  readonly multiple?: boolean | undefined;
1135
1147
  readonly dependencies?: string[] | undefined;
1136
1148
  readonly externalId?: boolean | undefined;
@@ -1314,6 +1326,7 @@ declare const SysApprovalRequest: Omit<{
1314
1326
  readonly precision?: number | undefined;
1315
1327
  readonly required?: boolean | undefined;
1316
1328
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1329
+ readonly widget?: string | undefined;
1317
1330
  readonly multiple?: boolean | undefined;
1318
1331
  readonly dependencies?: string[] | undefined;
1319
1332
  readonly externalId?: boolean | undefined;
@@ -1497,6 +1510,7 @@ declare const SysApprovalRequest: Omit<{
1497
1510
  readonly precision?: number | undefined;
1498
1511
  readonly required?: boolean | undefined;
1499
1512
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1513
+ readonly widget?: string | undefined;
1500
1514
  readonly multiple?: boolean | undefined;
1501
1515
  readonly dependencies?: string[] | undefined;
1502
1516
  readonly externalId?: boolean | undefined;
@@ -1680,6 +1694,7 @@ declare const SysApprovalRequest: Omit<{
1680
1694
  readonly precision?: number | undefined;
1681
1695
  readonly required?: boolean | undefined;
1682
1696
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1697
+ readonly widget?: string | undefined;
1683
1698
  readonly multiple?: boolean | undefined;
1684
1699
  readonly dependencies?: string[] | undefined;
1685
1700
  readonly externalId?: boolean | undefined;
@@ -1863,6 +1878,7 @@ declare const SysApprovalRequest: Omit<{
1863
1878
  readonly precision?: number | undefined;
1864
1879
  readonly required?: boolean | undefined;
1865
1880
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1881
+ readonly widget?: string | undefined;
1866
1882
  readonly multiple?: boolean | undefined;
1867
1883
  readonly dependencies?: string[] | undefined;
1868
1884
  readonly externalId?: boolean | undefined;
@@ -2046,6 +2062,7 @@ declare const SysApprovalRequest: Omit<{
2046
2062
  readonly precision?: number | undefined;
2047
2063
  readonly required?: boolean | undefined;
2048
2064
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2065
+ readonly widget?: string | undefined;
2049
2066
  readonly multiple?: boolean | undefined;
2050
2067
  readonly dependencies?: string[] | undefined;
2051
2068
  readonly externalId?: boolean | undefined;
@@ -2229,6 +2246,7 @@ declare const SysApprovalRequest: Omit<{
2229
2246
  readonly precision?: number | undefined;
2230
2247
  readonly required?: boolean | undefined;
2231
2248
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2249
+ readonly widget?: string | undefined;
2232
2250
  readonly multiple?: boolean | undefined;
2233
2251
  readonly dependencies?: string[] | undefined;
2234
2252
  readonly externalId?: boolean | undefined;
@@ -2412,6 +2430,7 @@ declare const SysApprovalRequest: Omit<{
2412
2430
  readonly precision?: number | undefined;
2413
2431
  readonly required?: boolean | undefined;
2414
2432
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2433
+ readonly widget?: string | undefined;
2415
2434
  readonly multiple?: boolean | undefined;
2416
2435
  readonly dependencies?: string[] | undefined;
2417
2436
  readonly externalId?: boolean | undefined;
@@ -2595,6 +2614,7 @@ declare const SysApprovalRequest: Omit<{
2595
2614
  readonly precision?: number | undefined;
2596
2615
  readonly required?: boolean | undefined;
2597
2616
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2617
+ readonly widget?: string | undefined;
2598
2618
  readonly multiple?: boolean | undefined;
2599
2619
  readonly dependencies?: string[] | undefined;
2600
2620
  readonly externalId?: boolean | undefined;
@@ -2778,6 +2798,7 @@ declare const SysApprovalRequest: Omit<{
2778
2798
  readonly precision?: number | undefined;
2779
2799
  readonly required?: boolean | undefined;
2780
2800
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2801
+ readonly widget?: string | undefined;
2781
2802
  readonly multiple?: boolean | undefined;
2782
2803
  readonly dependencies?: string[] | undefined;
2783
2804
  readonly externalId?: boolean | undefined;
@@ -2961,6 +2982,7 @@ declare const SysApprovalRequest: Omit<{
2961
2982
  readonly precision?: number | undefined;
2962
2983
  readonly required?: boolean | undefined;
2963
2984
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2985
+ readonly widget?: string | undefined;
2964
2986
  readonly multiple?: boolean | undefined;
2965
2987
  readonly dependencies?: string[] | undefined;
2966
2988
  readonly externalId?: boolean | undefined;
@@ -3144,6 +3166,7 @@ declare const SysApprovalRequest: Omit<{
3144
3166
  readonly precision?: number | undefined;
3145
3167
  readonly required?: boolean | undefined;
3146
3168
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3169
+ readonly widget?: string | undefined;
3147
3170
  readonly multiple?: boolean | undefined;
3148
3171
  readonly dependencies?: string[] | undefined;
3149
3172
  readonly externalId?: boolean | undefined;
@@ -3327,6 +3350,7 @@ declare const SysApprovalRequest: Omit<{
3327
3350
  readonly precision?: number | undefined;
3328
3351
  readonly required?: boolean | undefined;
3329
3352
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3353
+ readonly widget?: string | undefined;
3330
3354
  readonly multiple?: boolean | undefined;
3331
3355
  readonly dependencies?: string[] | undefined;
3332
3356
  readonly externalId?: boolean | undefined;
@@ -3510,6 +3534,7 @@ declare const SysApprovalRequest: Omit<{
3510
3534
  readonly precision?: number | undefined;
3511
3535
  readonly required?: boolean | undefined;
3512
3536
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3537
+ readonly widget?: string | undefined;
3513
3538
  readonly multiple?: boolean | undefined;
3514
3539
  readonly dependencies?: string[] | undefined;
3515
3540
  readonly externalId?: boolean | undefined;
@@ -3693,6 +3718,7 @@ declare const SysApprovalRequest: Omit<{
3693
3718
  readonly precision?: number | undefined;
3694
3719
  readonly required?: boolean | undefined;
3695
3720
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3721
+ readonly widget?: string | undefined;
3696
3722
  readonly multiple?: boolean | undefined;
3697
3723
  readonly dependencies?: string[] | undefined;
3698
3724
  readonly externalId?: boolean | undefined;
@@ -3876,6 +3902,7 @@ declare const SysApprovalRequest: Omit<{
3876
3902
  readonly precision?: number | undefined;
3877
3903
  readonly required?: boolean | undefined;
3878
3904
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3905
+ readonly widget?: string | undefined;
3879
3906
  readonly multiple?: boolean | undefined;
3880
3907
  readonly dependencies?: string[] | undefined;
3881
3908
  readonly externalId?: boolean | undefined;
@@ -4059,6 +4086,7 @@ declare const SysApprovalRequest: Omit<{
4059
4086
  readonly precision?: number | undefined;
4060
4087
  readonly required?: boolean | undefined;
4061
4088
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4089
+ readonly widget?: string | undefined;
4062
4090
  readonly multiple?: boolean | undefined;
4063
4091
  readonly dependencies?: string[] | undefined;
4064
4092
  readonly externalId?: boolean | undefined;
@@ -4473,6 +4501,7 @@ declare const SysApprovalAction: Omit<{
4473
4501
  generatedBy?: string | undefined;
4474
4502
  } | undefined;
4475
4503
  } | undefined;
4504
+ widget?: string | undefined;
4476
4505
  requiredPermissions?: string[] | undefined;
4477
4506
  system?: boolean | undefined;
4478
4507
  inlineHelpText?: string | undefined;
@@ -4962,6 +4991,15 @@ declare const SysApprovalAction: Omit<{
4962
4991
  helpText?: string | undefined;
4963
4992
  defaultValue?: unknown;
4964
4993
  defaultFromRow?: boolean | undefined;
4994
+ visible?: {
4995
+ dialect: "cel" | "js" | "cron" | "template";
4996
+ source?: string | undefined;
4997
+ ast?: unknown;
4998
+ meta?: {
4999
+ rationale?: string | undefined;
5000
+ generatedBy?: string | undefined;
5001
+ } | undefined;
5002
+ } | undefined;
4965
5003
  }[] | undefined;
4966
5004
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4967
5005
  order?: number | undefined;
@@ -5139,6 +5177,7 @@ declare const SysApprovalAction: Omit<{
5139
5177
  readonly precision?: number | undefined;
5140
5178
  readonly required?: boolean | undefined;
5141
5179
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5180
+ readonly widget?: string | undefined;
5142
5181
  readonly multiple?: boolean | undefined;
5143
5182
  readonly dependencies?: string[] | undefined;
5144
5183
  readonly externalId?: boolean | undefined;
@@ -5322,6 +5361,7 @@ declare const SysApprovalAction: Omit<{
5322
5361
  readonly precision?: number | undefined;
5323
5362
  readonly required?: boolean | undefined;
5324
5363
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5364
+ readonly widget?: string | undefined;
5325
5365
  readonly multiple?: boolean | undefined;
5326
5366
  readonly dependencies?: string[] | undefined;
5327
5367
  readonly externalId?: boolean | undefined;
@@ -5505,6 +5545,7 @@ declare const SysApprovalAction: Omit<{
5505
5545
  readonly precision?: number | undefined;
5506
5546
  readonly required?: boolean | undefined;
5507
5547
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5548
+ readonly widget?: string | undefined;
5508
5549
  readonly multiple?: boolean | undefined;
5509
5550
  readonly dependencies?: string[] | undefined;
5510
5551
  readonly externalId?: boolean | undefined;
@@ -5688,6 +5729,7 @@ declare const SysApprovalAction: Omit<{
5688
5729
  readonly precision?: number | undefined;
5689
5730
  readonly required?: boolean | undefined;
5690
5731
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5732
+ readonly widget?: string | undefined;
5691
5733
  readonly multiple?: boolean | undefined;
5692
5734
  readonly dependencies?: string[] | undefined;
5693
5735
  readonly externalId?: boolean | undefined;
@@ -5871,6 +5913,7 @@ declare const SysApprovalAction: Omit<{
5871
5913
  readonly precision?: number | undefined;
5872
5914
  readonly required?: boolean | undefined;
5873
5915
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5916
+ readonly widget?: string | undefined;
5874
5917
  readonly multiple?: boolean | undefined;
5875
5918
  readonly dependencies?: string[] | undefined;
5876
5919
  readonly externalId?: boolean | undefined;
@@ -6054,6 +6097,7 @@ declare const SysApprovalAction: Omit<{
6054
6097
  readonly precision?: number | undefined;
6055
6098
  readonly required?: boolean | undefined;
6056
6099
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6100
+ readonly widget?: string | undefined;
6057
6101
  readonly multiple?: boolean | undefined;
6058
6102
  readonly dependencies?: string[] | undefined;
6059
6103
  readonly externalId?: boolean | undefined;
@@ -6237,6 +6281,7 @@ declare const SysApprovalAction: Omit<{
6237
6281
  readonly precision?: number | undefined;
6238
6282
  readonly required?: boolean | undefined;
6239
6283
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6284
+ readonly widget?: string | undefined;
6240
6285
  readonly multiple?: boolean | undefined;
6241
6286
  readonly dependencies?: string[] | undefined;
6242
6287
  readonly externalId?: boolean | undefined;
@@ -6420,6 +6465,7 @@ declare const SysApprovalAction: Omit<{
6420
6465
  readonly precision?: number | undefined;
6421
6466
  readonly required?: boolean | undefined;
6422
6467
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6468
+ readonly widget?: string | undefined;
6423
6469
  readonly multiple?: boolean | undefined;
6424
6470
  readonly dependencies?: string[] | undefined;
6425
6471
  readonly externalId?: boolean | undefined;
@@ -6603,6 +6649,7 @@ declare const SysApprovalAction: Omit<{
6603
6649
  readonly precision?: number | undefined;
6604
6650
  readonly required?: boolean | undefined;
6605
6651
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6652
+ readonly widget?: string | undefined;
6606
6653
  readonly multiple?: boolean | undefined;
6607
6654
  readonly dependencies?: string[] | undefined;
6608
6655
  readonly externalId?: boolean | undefined;
@@ -7024,6 +7071,7 @@ declare const SysApprovalApprover: Omit<{
7024
7071
  generatedBy?: string | undefined;
7025
7072
  } | undefined;
7026
7073
  } | undefined;
7074
+ widget?: string | undefined;
7027
7075
  requiredPermissions?: string[] | undefined;
7028
7076
  system?: boolean | undefined;
7029
7077
  inlineHelpText?: string | undefined;
@@ -7513,6 +7561,15 @@ declare const SysApprovalApprover: Omit<{
7513
7561
  helpText?: string | undefined;
7514
7562
  defaultValue?: unknown;
7515
7563
  defaultFromRow?: boolean | undefined;
7564
+ visible?: {
7565
+ dialect: "cel" | "js" | "cron" | "template";
7566
+ source?: string | undefined;
7567
+ ast?: unknown;
7568
+ meta?: {
7569
+ rationale?: string | undefined;
7570
+ generatedBy?: string | undefined;
7571
+ } | undefined;
7572
+ } | undefined;
7516
7573
  }[] | undefined;
7517
7574
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
7518
7575
  order?: number | undefined;
@@ -7623,6 +7680,7 @@ declare const SysApprovalApprover: Omit<{
7623
7680
  readonly precision?: number | undefined;
7624
7681
  readonly required?: boolean | undefined;
7625
7682
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7683
+ readonly widget?: string | undefined;
7626
7684
  readonly multiple?: boolean | undefined;
7627
7685
  readonly dependencies?: string[] | undefined;
7628
7686
  readonly externalId?: boolean | undefined;
@@ -7806,6 +7864,7 @@ declare const SysApprovalApprover: Omit<{
7806
7864
  readonly precision?: number | undefined;
7807
7865
  readonly required?: boolean | undefined;
7808
7866
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7867
+ readonly widget?: string | undefined;
7809
7868
  readonly multiple?: boolean | undefined;
7810
7869
  readonly dependencies?: string[] | undefined;
7811
7870
  readonly externalId?: boolean | undefined;
@@ -7989,6 +8048,7 @@ declare const SysApprovalApprover: Omit<{
7989
8048
  readonly precision?: number | undefined;
7990
8049
  readonly required?: boolean | undefined;
7991
8050
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8051
+ readonly widget?: string | undefined;
7992
8052
  readonly multiple?: boolean | undefined;
7993
8053
  readonly dependencies?: string[] | undefined;
7994
8054
  readonly externalId?: boolean | undefined;
@@ -8172,6 +8232,7 @@ declare const SysApprovalApprover: Omit<{
8172
8232
  readonly precision?: number | undefined;
8173
8233
  readonly required?: boolean | undefined;
8174
8234
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8235
+ readonly widget?: string | undefined;
8175
8236
  readonly multiple?: boolean | undefined;
8176
8237
  readonly dependencies?: string[] | undefined;
8177
8238
  readonly externalId?: boolean | undefined;
@@ -8355,6 +8416,7 @@ declare const SysApprovalApprover: Omit<{
8355
8416
  readonly precision?: number | undefined;
8356
8417
  readonly required?: boolean | undefined;
8357
8418
  readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8419
+ readonly widget?: string | undefined;
8358
8420
  readonly multiple?: boolean | undefined;
8359
8421
  readonly dependencies?: string[] | undefined;
8360
8422
  readonly externalId?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-approvals",
3
- "version": "14.5.0",
3
+ "version": "14.7.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Multi-step approval engine for ObjectStack — sys_approval_process + sys_approval_request + sys_approval_action + IApprovalService.",
6
6
  "main": "dist/index.js",
@@ -13,17 +13,17 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@objectstack/core": "14.5.0",
17
- "@objectstack/formula": "14.5.0",
18
- "@objectstack/metadata-core": "14.5.0",
19
- "@objectstack/platform-objects": "14.5.0",
20
- "@objectstack/spec": "14.5.0"
16
+ "@objectstack/core": "14.7.0",
17
+ "@objectstack/formula": "14.7.0",
18
+ "@objectstack/metadata-core": "14.7.0",
19
+ "@objectstack/platform-objects": "14.7.0",
20
+ "@objectstack/spec": "14.7.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "^26.1.0",
23
+ "@types/node": "^26.1.1",
24
24
  "typescript": "^6.0.3",
25
25
  "vitest": "^4.1.10",
26
- "@objectstack/service-automation": "14.5.0"
26
+ "@objectstack/service-automation": "14.7.0"
27
27
  },
28
28
  "keywords": [
29
29
  "objectstack",