@objectstack/plugin-approvals 15.0.0 → 15.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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +54 -0
- package/dist/index.d.mts +240 -24
- package/dist/index.d.ts +240 -24
- package/package.json +7 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/plugin-approvals@15.
|
|
2
|
+
> @objectstack/plugin-approvals@15.1.1 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
|
|
3
3
|
> tsup --config ../../../tsup.config.ts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m122.33 KB[39m
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m219.27 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in 283ms
|
|
16
13
|
[32mCJS[39m [1mdist/index.js [22m[32m123.99 KB[39m
|
|
17
14
|
[32mCJS[39m [1mdist/index.js.map [22m[32m220.47 KB[39m
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 211ms
|
|
16
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m122.33 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m219.27 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 257ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 32099ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m397.05 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m397.05 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @objectstack/plugin-approvals
|
|
2
2
|
|
|
3
|
+
## 15.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @objectstack/spec@15.1.1
|
|
8
|
+
- @objectstack/core@15.1.1
|
|
9
|
+
- @objectstack/metadata-core@15.1.1
|
|
10
|
+
- @objectstack/formula@15.1.1
|
|
11
|
+
- @objectstack/platform-objects@15.1.1
|
|
12
|
+
|
|
13
|
+
## 15.1.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [f531a26]
|
|
18
|
+
- Updated dependencies [f531a26]
|
|
19
|
+
- Updated dependencies [f531a26]
|
|
20
|
+
- Updated dependencies [f531a26]
|
|
21
|
+
- Updated dependencies [f531a26]
|
|
22
|
+
- Updated dependencies [f531a26]
|
|
23
|
+
- Updated dependencies [3fe9df1]
|
|
24
|
+
- Updated dependencies [f531a26]
|
|
25
|
+
- Updated dependencies [f531a26]
|
|
26
|
+
- Updated dependencies [f531a26]
|
|
27
|
+
- Updated dependencies [f531a26]
|
|
28
|
+
- Updated dependencies [f531a26]
|
|
29
|
+
- Updated dependencies [f531a26]
|
|
30
|
+
- Updated dependencies [f531a26]
|
|
31
|
+
- Updated dependencies [f531a26]
|
|
32
|
+
- Updated dependencies [f531a26]
|
|
33
|
+
- Updated dependencies [f531a26]
|
|
34
|
+
- Updated dependencies [f531a26]
|
|
35
|
+
- Updated dependencies [f531a26]
|
|
36
|
+
- Updated dependencies [f531a26]
|
|
37
|
+
- Updated dependencies [f531a26]
|
|
38
|
+
- Updated dependencies [f531a26]
|
|
39
|
+
- Updated dependencies [4109153]
|
|
40
|
+
- Updated dependencies [f531a26]
|
|
41
|
+
- Updated dependencies [f531a26]
|
|
42
|
+
- Updated dependencies [f531a26]
|
|
43
|
+
- Updated dependencies [f531a26]
|
|
44
|
+
- Updated dependencies [f531a26]
|
|
45
|
+
- Updated dependencies [f531a26]
|
|
46
|
+
- Updated dependencies [f531a26]
|
|
47
|
+
- Updated dependencies [627f225]
|
|
48
|
+
- Updated dependencies [f531a26]
|
|
49
|
+
- Updated dependencies [f531a26]
|
|
50
|
+
- Updated dependencies [f531a26]
|
|
51
|
+
- @objectstack/spec@15.1.0
|
|
52
|
+
- @objectstack/platform-objects@15.1.0
|
|
53
|
+
- @objectstack/core@15.1.0
|
|
54
|
+
- @objectstack/formula@15.1.0
|
|
55
|
+
- @objectstack/metadata-core@15.1.0
|
|
56
|
+
|
|
3
57
|
## 15.0.0
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -278,8 +278,80 @@ declare const SysApprovalRequest: Omit<{
|
|
|
278
278
|
userActions?: {
|
|
279
279
|
create?: boolean | undefined;
|
|
280
280
|
import?: boolean | undefined;
|
|
281
|
-
edit?: boolean |
|
|
282
|
-
|
|
281
|
+
edit?: boolean | {
|
|
282
|
+
enabled?: boolean | undefined;
|
|
283
|
+
visibleWhen?: {
|
|
284
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
285
|
+
source?: string | undefined;
|
|
286
|
+
ast?: unknown;
|
|
287
|
+
meta?: {
|
|
288
|
+
rationale?: string | undefined;
|
|
289
|
+
generatedBy?: string | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
} | {
|
|
292
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
293
|
+
source?: string | undefined;
|
|
294
|
+
ast?: unknown;
|
|
295
|
+
meta?: {
|
|
296
|
+
rationale?: string | undefined;
|
|
297
|
+
generatedBy?: string | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
disabledWhen?: {
|
|
301
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
302
|
+
source?: string | undefined;
|
|
303
|
+
ast?: unknown;
|
|
304
|
+
meta?: {
|
|
305
|
+
rationale?: string | undefined;
|
|
306
|
+
generatedBy?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
} | {
|
|
309
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
310
|
+
source?: string | undefined;
|
|
311
|
+
ast?: unknown;
|
|
312
|
+
meta?: {
|
|
313
|
+
rationale?: string | undefined;
|
|
314
|
+
generatedBy?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
} | undefined;
|
|
318
|
+
delete?: boolean | {
|
|
319
|
+
enabled?: boolean | undefined;
|
|
320
|
+
visibleWhen?: {
|
|
321
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
322
|
+
source?: string | undefined;
|
|
323
|
+
ast?: unknown;
|
|
324
|
+
meta?: {
|
|
325
|
+
rationale?: string | undefined;
|
|
326
|
+
generatedBy?: string | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
} | {
|
|
329
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
330
|
+
source?: string | undefined;
|
|
331
|
+
ast?: unknown;
|
|
332
|
+
meta?: {
|
|
333
|
+
rationale?: string | undefined;
|
|
334
|
+
generatedBy?: string | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
disabledWhen?: {
|
|
338
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
339
|
+
source?: string | undefined;
|
|
340
|
+
ast?: unknown;
|
|
341
|
+
meta?: {
|
|
342
|
+
rationale?: string | undefined;
|
|
343
|
+
generatedBy?: string | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
} | {
|
|
346
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
347
|
+
source?: string | undefined;
|
|
348
|
+
ast?: unknown;
|
|
349
|
+
meta?: {
|
|
350
|
+
rationale?: string | undefined;
|
|
351
|
+
generatedBy?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
} | undefined;
|
|
354
|
+
} | undefined;
|
|
283
355
|
exportCsv?: boolean | undefined;
|
|
284
356
|
} | undefined;
|
|
285
357
|
systemFields?: false | {
|
|
@@ -314,9 +386,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
314
386
|
}[] | undefined;
|
|
315
387
|
tenancy?: {
|
|
316
388
|
enabled: boolean;
|
|
317
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
318
389
|
tenantField: string;
|
|
319
|
-
crossTenantAccess: boolean;
|
|
320
390
|
} | undefined;
|
|
321
391
|
access?: {
|
|
322
392
|
default: "public" | "private";
|
|
@@ -709,7 +779,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
709
779
|
eligibility?: string | undefined;
|
|
710
780
|
} | undefined;
|
|
711
781
|
keyPrefix?: string | undefined;
|
|
712
|
-
actions?: {
|
|
782
|
+
actions?: Omit<{
|
|
713
783
|
name: string;
|
|
714
784
|
label: string;
|
|
715
785
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -731,7 +801,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
731
801
|
memoryMb?: number | undefined;
|
|
732
802
|
} | undefined;
|
|
733
803
|
execute?: string | undefined;
|
|
734
|
-
params?: {
|
|
804
|
+
params?: Omit<{
|
|
735
805
|
required: boolean;
|
|
736
806
|
name?: string | undefined;
|
|
737
807
|
field?: string | undefined;
|
|
@@ -755,7 +825,8 @@ declare const SysApprovalRequest: Omit<{
|
|
|
755
825
|
generatedBy?: string | undefined;
|
|
756
826
|
} | undefined;
|
|
757
827
|
} | undefined;
|
|
758
|
-
|
|
828
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
829
|
+
}, "requiresFeature">[] | undefined;
|
|
759
830
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
760
831
|
order?: number | undefined;
|
|
761
832
|
confirmText?: string | undefined;
|
|
@@ -782,6 +853,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
782
853
|
generatedBy?: string | undefined;
|
|
783
854
|
} | undefined;
|
|
784
855
|
} | undefined;
|
|
856
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
785
857
|
disabled?: boolean | {
|
|
786
858
|
dialect: "cel" | "js" | "cron" | "template";
|
|
787
859
|
source?: string | undefined;
|
|
@@ -822,7 +894,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
822
894
|
ariaDescribedBy?: string | undefined;
|
|
823
895
|
role?: string | undefined;
|
|
824
896
|
} | undefined;
|
|
825
|
-
}[] | undefined;
|
|
897
|
+
}, "requiresFeature">[] | undefined;
|
|
826
898
|
protection?: {
|
|
827
899
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
828
900
|
reason: string;
|
|
@@ -4523,8 +4595,80 @@ declare const SysApprovalAction: Omit<{
|
|
|
4523
4595
|
userActions?: {
|
|
4524
4596
|
create?: boolean | undefined;
|
|
4525
4597
|
import?: boolean | undefined;
|
|
4526
|
-
edit?: boolean |
|
|
4527
|
-
|
|
4598
|
+
edit?: boolean | {
|
|
4599
|
+
enabled?: boolean | undefined;
|
|
4600
|
+
visibleWhen?: {
|
|
4601
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4602
|
+
source?: string | undefined;
|
|
4603
|
+
ast?: unknown;
|
|
4604
|
+
meta?: {
|
|
4605
|
+
rationale?: string | undefined;
|
|
4606
|
+
generatedBy?: string | undefined;
|
|
4607
|
+
} | undefined;
|
|
4608
|
+
} | {
|
|
4609
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4610
|
+
source?: string | undefined;
|
|
4611
|
+
ast?: unknown;
|
|
4612
|
+
meta?: {
|
|
4613
|
+
rationale?: string | undefined;
|
|
4614
|
+
generatedBy?: string | undefined;
|
|
4615
|
+
} | undefined;
|
|
4616
|
+
} | undefined;
|
|
4617
|
+
disabledWhen?: {
|
|
4618
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4619
|
+
source?: string | undefined;
|
|
4620
|
+
ast?: unknown;
|
|
4621
|
+
meta?: {
|
|
4622
|
+
rationale?: string | undefined;
|
|
4623
|
+
generatedBy?: string | undefined;
|
|
4624
|
+
} | undefined;
|
|
4625
|
+
} | {
|
|
4626
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4627
|
+
source?: string | undefined;
|
|
4628
|
+
ast?: unknown;
|
|
4629
|
+
meta?: {
|
|
4630
|
+
rationale?: string | undefined;
|
|
4631
|
+
generatedBy?: string | undefined;
|
|
4632
|
+
} | undefined;
|
|
4633
|
+
} | undefined;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
delete?: boolean | {
|
|
4636
|
+
enabled?: boolean | undefined;
|
|
4637
|
+
visibleWhen?: {
|
|
4638
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4639
|
+
source?: string | undefined;
|
|
4640
|
+
ast?: unknown;
|
|
4641
|
+
meta?: {
|
|
4642
|
+
rationale?: string | undefined;
|
|
4643
|
+
generatedBy?: string | undefined;
|
|
4644
|
+
} | undefined;
|
|
4645
|
+
} | {
|
|
4646
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4647
|
+
source?: string | undefined;
|
|
4648
|
+
ast?: unknown;
|
|
4649
|
+
meta?: {
|
|
4650
|
+
rationale?: string | undefined;
|
|
4651
|
+
generatedBy?: string | undefined;
|
|
4652
|
+
} | undefined;
|
|
4653
|
+
} | undefined;
|
|
4654
|
+
disabledWhen?: {
|
|
4655
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4656
|
+
source?: string | undefined;
|
|
4657
|
+
ast?: unknown;
|
|
4658
|
+
meta?: {
|
|
4659
|
+
rationale?: string | undefined;
|
|
4660
|
+
generatedBy?: string | undefined;
|
|
4661
|
+
} | undefined;
|
|
4662
|
+
} | {
|
|
4663
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4664
|
+
source?: string | undefined;
|
|
4665
|
+
ast?: unknown;
|
|
4666
|
+
meta?: {
|
|
4667
|
+
rationale?: string | undefined;
|
|
4668
|
+
generatedBy?: string | undefined;
|
|
4669
|
+
} | undefined;
|
|
4670
|
+
} | undefined;
|
|
4671
|
+
} | undefined;
|
|
4528
4672
|
exportCsv?: boolean | undefined;
|
|
4529
4673
|
} | undefined;
|
|
4530
4674
|
systemFields?: false | {
|
|
@@ -4559,9 +4703,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4559
4703
|
}[] | undefined;
|
|
4560
4704
|
tenancy?: {
|
|
4561
4705
|
enabled: boolean;
|
|
4562
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
4563
4706
|
tenantField: string;
|
|
4564
|
-
crossTenantAccess: boolean;
|
|
4565
4707
|
} | undefined;
|
|
4566
4708
|
access?: {
|
|
4567
4709
|
default: "public" | "private";
|
|
@@ -4954,7 +5096,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4954
5096
|
eligibility?: string | undefined;
|
|
4955
5097
|
} | undefined;
|
|
4956
5098
|
keyPrefix?: string | undefined;
|
|
4957
|
-
actions?: {
|
|
5099
|
+
actions?: Omit<{
|
|
4958
5100
|
name: string;
|
|
4959
5101
|
label: string;
|
|
4960
5102
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -4976,7 +5118,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4976
5118
|
memoryMb?: number | undefined;
|
|
4977
5119
|
} | undefined;
|
|
4978
5120
|
execute?: string | undefined;
|
|
4979
|
-
params?: {
|
|
5121
|
+
params?: Omit<{
|
|
4980
5122
|
required: boolean;
|
|
4981
5123
|
name?: string | undefined;
|
|
4982
5124
|
field?: string | undefined;
|
|
@@ -5000,7 +5142,8 @@ declare const SysApprovalAction: Omit<{
|
|
|
5000
5142
|
generatedBy?: string | undefined;
|
|
5001
5143
|
} | undefined;
|
|
5002
5144
|
} | undefined;
|
|
5003
|
-
|
|
5145
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
5146
|
+
}, "requiresFeature">[] | undefined;
|
|
5004
5147
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
5005
5148
|
order?: number | undefined;
|
|
5006
5149
|
confirmText?: string | undefined;
|
|
@@ -5027,6 +5170,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
5027
5170
|
generatedBy?: string | undefined;
|
|
5028
5171
|
} | undefined;
|
|
5029
5172
|
} | undefined;
|
|
5173
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
5030
5174
|
disabled?: boolean | {
|
|
5031
5175
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5032
5176
|
source?: string | undefined;
|
|
@@ -5067,7 +5211,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
5067
5211
|
ariaDescribedBy?: string | undefined;
|
|
5068
5212
|
role?: string | undefined;
|
|
5069
5213
|
} | undefined;
|
|
5070
|
-
}[] | undefined;
|
|
5214
|
+
}, "requiresFeature">[] | undefined;
|
|
5071
5215
|
protection?: {
|
|
5072
5216
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
5073
5217
|
reason: string;
|
|
@@ -7093,8 +7237,80 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7093
7237
|
userActions?: {
|
|
7094
7238
|
create?: boolean | undefined;
|
|
7095
7239
|
import?: boolean | undefined;
|
|
7096
|
-
edit?: boolean |
|
|
7097
|
-
|
|
7240
|
+
edit?: boolean | {
|
|
7241
|
+
enabled?: boolean | undefined;
|
|
7242
|
+
visibleWhen?: {
|
|
7243
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7244
|
+
source?: string | undefined;
|
|
7245
|
+
ast?: unknown;
|
|
7246
|
+
meta?: {
|
|
7247
|
+
rationale?: string | undefined;
|
|
7248
|
+
generatedBy?: string | undefined;
|
|
7249
|
+
} | undefined;
|
|
7250
|
+
} | {
|
|
7251
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7252
|
+
source?: string | undefined;
|
|
7253
|
+
ast?: unknown;
|
|
7254
|
+
meta?: {
|
|
7255
|
+
rationale?: string | undefined;
|
|
7256
|
+
generatedBy?: string | undefined;
|
|
7257
|
+
} | undefined;
|
|
7258
|
+
} | undefined;
|
|
7259
|
+
disabledWhen?: {
|
|
7260
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7261
|
+
source?: string | undefined;
|
|
7262
|
+
ast?: unknown;
|
|
7263
|
+
meta?: {
|
|
7264
|
+
rationale?: string | undefined;
|
|
7265
|
+
generatedBy?: string | undefined;
|
|
7266
|
+
} | undefined;
|
|
7267
|
+
} | {
|
|
7268
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7269
|
+
source?: string | undefined;
|
|
7270
|
+
ast?: unknown;
|
|
7271
|
+
meta?: {
|
|
7272
|
+
rationale?: string | undefined;
|
|
7273
|
+
generatedBy?: string | undefined;
|
|
7274
|
+
} | undefined;
|
|
7275
|
+
} | undefined;
|
|
7276
|
+
} | undefined;
|
|
7277
|
+
delete?: boolean | {
|
|
7278
|
+
enabled?: boolean | undefined;
|
|
7279
|
+
visibleWhen?: {
|
|
7280
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7281
|
+
source?: string | undefined;
|
|
7282
|
+
ast?: unknown;
|
|
7283
|
+
meta?: {
|
|
7284
|
+
rationale?: string | undefined;
|
|
7285
|
+
generatedBy?: string | undefined;
|
|
7286
|
+
} | undefined;
|
|
7287
|
+
} | {
|
|
7288
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7289
|
+
source?: string | undefined;
|
|
7290
|
+
ast?: unknown;
|
|
7291
|
+
meta?: {
|
|
7292
|
+
rationale?: string | undefined;
|
|
7293
|
+
generatedBy?: string | undefined;
|
|
7294
|
+
} | undefined;
|
|
7295
|
+
} | undefined;
|
|
7296
|
+
disabledWhen?: {
|
|
7297
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7298
|
+
source?: string | undefined;
|
|
7299
|
+
ast?: unknown;
|
|
7300
|
+
meta?: {
|
|
7301
|
+
rationale?: string | undefined;
|
|
7302
|
+
generatedBy?: string | undefined;
|
|
7303
|
+
} | undefined;
|
|
7304
|
+
} | {
|
|
7305
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7306
|
+
source?: string | undefined;
|
|
7307
|
+
ast?: unknown;
|
|
7308
|
+
meta?: {
|
|
7309
|
+
rationale?: string | undefined;
|
|
7310
|
+
generatedBy?: string | undefined;
|
|
7311
|
+
} | undefined;
|
|
7312
|
+
} | undefined;
|
|
7313
|
+
} | undefined;
|
|
7098
7314
|
exportCsv?: boolean | undefined;
|
|
7099
7315
|
} | undefined;
|
|
7100
7316
|
systemFields?: false | {
|
|
@@ -7129,9 +7345,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7129
7345
|
}[] | undefined;
|
|
7130
7346
|
tenancy?: {
|
|
7131
7347
|
enabled: boolean;
|
|
7132
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
7133
7348
|
tenantField: string;
|
|
7134
|
-
crossTenantAccess: boolean;
|
|
7135
7349
|
} | undefined;
|
|
7136
7350
|
access?: {
|
|
7137
7351
|
default: "public" | "private";
|
|
@@ -7524,7 +7738,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7524
7738
|
eligibility?: string | undefined;
|
|
7525
7739
|
} | undefined;
|
|
7526
7740
|
keyPrefix?: string | undefined;
|
|
7527
|
-
actions?: {
|
|
7741
|
+
actions?: Omit<{
|
|
7528
7742
|
name: string;
|
|
7529
7743
|
label: string;
|
|
7530
7744
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -7546,7 +7760,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7546
7760
|
memoryMb?: number | undefined;
|
|
7547
7761
|
} | undefined;
|
|
7548
7762
|
execute?: string | undefined;
|
|
7549
|
-
params?: {
|
|
7763
|
+
params?: Omit<{
|
|
7550
7764
|
required: boolean;
|
|
7551
7765
|
name?: string | undefined;
|
|
7552
7766
|
field?: string | undefined;
|
|
@@ -7570,7 +7784,8 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7570
7784
|
generatedBy?: string | undefined;
|
|
7571
7785
|
} | undefined;
|
|
7572
7786
|
} | undefined;
|
|
7573
|
-
|
|
7787
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
7788
|
+
}, "requiresFeature">[] | undefined;
|
|
7574
7789
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
7575
7790
|
order?: number | undefined;
|
|
7576
7791
|
confirmText?: string | undefined;
|
|
@@ -7597,6 +7812,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7597
7812
|
generatedBy?: string | undefined;
|
|
7598
7813
|
} | undefined;
|
|
7599
7814
|
} | undefined;
|
|
7815
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
7600
7816
|
disabled?: boolean | {
|
|
7601
7817
|
dialect: "cel" | "js" | "cron" | "template";
|
|
7602
7818
|
source?: string | undefined;
|
|
@@ -7637,7 +7853,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7637
7853
|
ariaDescribedBy?: string | undefined;
|
|
7638
7854
|
role?: string | undefined;
|
|
7639
7855
|
} | undefined;
|
|
7640
|
-
}[] | undefined;
|
|
7856
|
+
}, "requiresFeature">[] | undefined;
|
|
7641
7857
|
protection?: {
|
|
7642
7858
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
7643
7859
|
reason: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -278,8 +278,80 @@ declare const SysApprovalRequest: Omit<{
|
|
|
278
278
|
userActions?: {
|
|
279
279
|
create?: boolean | undefined;
|
|
280
280
|
import?: boolean | undefined;
|
|
281
|
-
edit?: boolean |
|
|
282
|
-
|
|
281
|
+
edit?: boolean | {
|
|
282
|
+
enabled?: boolean | undefined;
|
|
283
|
+
visibleWhen?: {
|
|
284
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
285
|
+
source?: string | undefined;
|
|
286
|
+
ast?: unknown;
|
|
287
|
+
meta?: {
|
|
288
|
+
rationale?: string | undefined;
|
|
289
|
+
generatedBy?: string | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
} | {
|
|
292
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
293
|
+
source?: string | undefined;
|
|
294
|
+
ast?: unknown;
|
|
295
|
+
meta?: {
|
|
296
|
+
rationale?: string | undefined;
|
|
297
|
+
generatedBy?: string | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
disabledWhen?: {
|
|
301
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
302
|
+
source?: string | undefined;
|
|
303
|
+
ast?: unknown;
|
|
304
|
+
meta?: {
|
|
305
|
+
rationale?: string | undefined;
|
|
306
|
+
generatedBy?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
} | {
|
|
309
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
310
|
+
source?: string | undefined;
|
|
311
|
+
ast?: unknown;
|
|
312
|
+
meta?: {
|
|
313
|
+
rationale?: string | undefined;
|
|
314
|
+
generatedBy?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
} | undefined;
|
|
318
|
+
delete?: boolean | {
|
|
319
|
+
enabled?: boolean | undefined;
|
|
320
|
+
visibleWhen?: {
|
|
321
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
322
|
+
source?: string | undefined;
|
|
323
|
+
ast?: unknown;
|
|
324
|
+
meta?: {
|
|
325
|
+
rationale?: string | undefined;
|
|
326
|
+
generatedBy?: string | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
} | {
|
|
329
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
330
|
+
source?: string | undefined;
|
|
331
|
+
ast?: unknown;
|
|
332
|
+
meta?: {
|
|
333
|
+
rationale?: string | undefined;
|
|
334
|
+
generatedBy?: string | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
disabledWhen?: {
|
|
338
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
339
|
+
source?: string | undefined;
|
|
340
|
+
ast?: unknown;
|
|
341
|
+
meta?: {
|
|
342
|
+
rationale?: string | undefined;
|
|
343
|
+
generatedBy?: string | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
} | {
|
|
346
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
347
|
+
source?: string | undefined;
|
|
348
|
+
ast?: unknown;
|
|
349
|
+
meta?: {
|
|
350
|
+
rationale?: string | undefined;
|
|
351
|
+
generatedBy?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
} | undefined;
|
|
354
|
+
} | undefined;
|
|
283
355
|
exportCsv?: boolean | undefined;
|
|
284
356
|
} | undefined;
|
|
285
357
|
systemFields?: false | {
|
|
@@ -314,9 +386,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
314
386
|
}[] | undefined;
|
|
315
387
|
tenancy?: {
|
|
316
388
|
enabled: boolean;
|
|
317
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
318
389
|
tenantField: string;
|
|
319
|
-
crossTenantAccess: boolean;
|
|
320
390
|
} | undefined;
|
|
321
391
|
access?: {
|
|
322
392
|
default: "public" | "private";
|
|
@@ -709,7 +779,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
709
779
|
eligibility?: string | undefined;
|
|
710
780
|
} | undefined;
|
|
711
781
|
keyPrefix?: string | undefined;
|
|
712
|
-
actions?: {
|
|
782
|
+
actions?: Omit<{
|
|
713
783
|
name: string;
|
|
714
784
|
label: string;
|
|
715
785
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -731,7 +801,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
731
801
|
memoryMb?: number | undefined;
|
|
732
802
|
} | undefined;
|
|
733
803
|
execute?: string | undefined;
|
|
734
|
-
params?: {
|
|
804
|
+
params?: Omit<{
|
|
735
805
|
required: boolean;
|
|
736
806
|
name?: string | undefined;
|
|
737
807
|
field?: string | undefined;
|
|
@@ -755,7 +825,8 @@ declare const SysApprovalRequest: Omit<{
|
|
|
755
825
|
generatedBy?: string | undefined;
|
|
756
826
|
} | undefined;
|
|
757
827
|
} | undefined;
|
|
758
|
-
|
|
828
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
829
|
+
}, "requiresFeature">[] | undefined;
|
|
759
830
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
760
831
|
order?: number | undefined;
|
|
761
832
|
confirmText?: string | undefined;
|
|
@@ -782,6 +853,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
782
853
|
generatedBy?: string | undefined;
|
|
783
854
|
} | undefined;
|
|
784
855
|
} | undefined;
|
|
856
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
785
857
|
disabled?: boolean | {
|
|
786
858
|
dialect: "cel" | "js" | "cron" | "template";
|
|
787
859
|
source?: string | undefined;
|
|
@@ -822,7 +894,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
822
894
|
ariaDescribedBy?: string | undefined;
|
|
823
895
|
role?: string | undefined;
|
|
824
896
|
} | undefined;
|
|
825
|
-
}[] | undefined;
|
|
897
|
+
}, "requiresFeature">[] | undefined;
|
|
826
898
|
protection?: {
|
|
827
899
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
828
900
|
reason: string;
|
|
@@ -4523,8 +4595,80 @@ declare const SysApprovalAction: Omit<{
|
|
|
4523
4595
|
userActions?: {
|
|
4524
4596
|
create?: boolean | undefined;
|
|
4525
4597
|
import?: boolean | undefined;
|
|
4526
|
-
edit?: boolean |
|
|
4527
|
-
|
|
4598
|
+
edit?: boolean | {
|
|
4599
|
+
enabled?: boolean | undefined;
|
|
4600
|
+
visibleWhen?: {
|
|
4601
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4602
|
+
source?: string | undefined;
|
|
4603
|
+
ast?: unknown;
|
|
4604
|
+
meta?: {
|
|
4605
|
+
rationale?: string | undefined;
|
|
4606
|
+
generatedBy?: string | undefined;
|
|
4607
|
+
} | undefined;
|
|
4608
|
+
} | {
|
|
4609
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4610
|
+
source?: string | undefined;
|
|
4611
|
+
ast?: unknown;
|
|
4612
|
+
meta?: {
|
|
4613
|
+
rationale?: string | undefined;
|
|
4614
|
+
generatedBy?: string | undefined;
|
|
4615
|
+
} | undefined;
|
|
4616
|
+
} | undefined;
|
|
4617
|
+
disabledWhen?: {
|
|
4618
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4619
|
+
source?: string | undefined;
|
|
4620
|
+
ast?: unknown;
|
|
4621
|
+
meta?: {
|
|
4622
|
+
rationale?: string | undefined;
|
|
4623
|
+
generatedBy?: string | undefined;
|
|
4624
|
+
} | undefined;
|
|
4625
|
+
} | {
|
|
4626
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4627
|
+
source?: string | undefined;
|
|
4628
|
+
ast?: unknown;
|
|
4629
|
+
meta?: {
|
|
4630
|
+
rationale?: string | undefined;
|
|
4631
|
+
generatedBy?: string | undefined;
|
|
4632
|
+
} | undefined;
|
|
4633
|
+
} | undefined;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
delete?: boolean | {
|
|
4636
|
+
enabled?: boolean | undefined;
|
|
4637
|
+
visibleWhen?: {
|
|
4638
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4639
|
+
source?: string | undefined;
|
|
4640
|
+
ast?: unknown;
|
|
4641
|
+
meta?: {
|
|
4642
|
+
rationale?: string | undefined;
|
|
4643
|
+
generatedBy?: string | undefined;
|
|
4644
|
+
} | undefined;
|
|
4645
|
+
} | {
|
|
4646
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4647
|
+
source?: string | undefined;
|
|
4648
|
+
ast?: unknown;
|
|
4649
|
+
meta?: {
|
|
4650
|
+
rationale?: string | undefined;
|
|
4651
|
+
generatedBy?: string | undefined;
|
|
4652
|
+
} | undefined;
|
|
4653
|
+
} | undefined;
|
|
4654
|
+
disabledWhen?: {
|
|
4655
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4656
|
+
source?: string | undefined;
|
|
4657
|
+
ast?: unknown;
|
|
4658
|
+
meta?: {
|
|
4659
|
+
rationale?: string | undefined;
|
|
4660
|
+
generatedBy?: string | undefined;
|
|
4661
|
+
} | undefined;
|
|
4662
|
+
} | {
|
|
4663
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
4664
|
+
source?: string | undefined;
|
|
4665
|
+
ast?: unknown;
|
|
4666
|
+
meta?: {
|
|
4667
|
+
rationale?: string | undefined;
|
|
4668
|
+
generatedBy?: string | undefined;
|
|
4669
|
+
} | undefined;
|
|
4670
|
+
} | undefined;
|
|
4671
|
+
} | undefined;
|
|
4528
4672
|
exportCsv?: boolean | undefined;
|
|
4529
4673
|
} | undefined;
|
|
4530
4674
|
systemFields?: false | {
|
|
@@ -4559,9 +4703,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4559
4703
|
}[] | undefined;
|
|
4560
4704
|
tenancy?: {
|
|
4561
4705
|
enabled: boolean;
|
|
4562
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
4563
4706
|
tenantField: string;
|
|
4564
|
-
crossTenantAccess: boolean;
|
|
4565
4707
|
} | undefined;
|
|
4566
4708
|
access?: {
|
|
4567
4709
|
default: "public" | "private";
|
|
@@ -4954,7 +5096,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4954
5096
|
eligibility?: string | undefined;
|
|
4955
5097
|
} | undefined;
|
|
4956
5098
|
keyPrefix?: string | undefined;
|
|
4957
|
-
actions?: {
|
|
5099
|
+
actions?: Omit<{
|
|
4958
5100
|
name: string;
|
|
4959
5101
|
label: string;
|
|
4960
5102
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -4976,7 +5118,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4976
5118
|
memoryMb?: number | undefined;
|
|
4977
5119
|
} | undefined;
|
|
4978
5120
|
execute?: string | undefined;
|
|
4979
|
-
params?: {
|
|
5121
|
+
params?: Omit<{
|
|
4980
5122
|
required: boolean;
|
|
4981
5123
|
name?: string | undefined;
|
|
4982
5124
|
field?: string | undefined;
|
|
@@ -5000,7 +5142,8 @@ declare const SysApprovalAction: Omit<{
|
|
|
5000
5142
|
generatedBy?: string | undefined;
|
|
5001
5143
|
} | undefined;
|
|
5002
5144
|
} | undefined;
|
|
5003
|
-
|
|
5145
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
5146
|
+
}, "requiresFeature">[] | undefined;
|
|
5004
5147
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
5005
5148
|
order?: number | undefined;
|
|
5006
5149
|
confirmText?: string | undefined;
|
|
@@ -5027,6 +5170,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
5027
5170
|
generatedBy?: string | undefined;
|
|
5028
5171
|
} | undefined;
|
|
5029
5172
|
} | undefined;
|
|
5173
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
5030
5174
|
disabled?: boolean | {
|
|
5031
5175
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5032
5176
|
source?: string | undefined;
|
|
@@ -5067,7 +5211,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
5067
5211
|
ariaDescribedBy?: string | undefined;
|
|
5068
5212
|
role?: string | undefined;
|
|
5069
5213
|
} | undefined;
|
|
5070
|
-
}[] | undefined;
|
|
5214
|
+
}, "requiresFeature">[] | undefined;
|
|
5071
5215
|
protection?: {
|
|
5072
5216
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
5073
5217
|
reason: string;
|
|
@@ -7093,8 +7237,80 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7093
7237
|
userActions?: {
|
|
7094
7238
|
create?: boolean | undefined;
|
|
7095
7239
|
import?: boolean | undefined;
|
|
7096
|
-
edit?: boolean |
|
|
7097
|
-
|
|
7240
|
+
edit?: boolean | {
|
|
7241
|
+
enabled?: boolean | undefined;
|
|
7242
|
+
visibleWhen?: {
|
|
7243
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7244
|
+
source?: string | undefined;
|
|
7245
|
+
ast?: unknown;
|
|
7246
|
+
meta?: {
|
|
7247
|
+
rationale?: string | undefined;
|
|
7248
|
+
generatedBy?: string | undefined;
|
|
7249
|
+
} | undefined;
|
|
7250
|
+
} | {
|
|
7251
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7252
|
+
source?: string | undefined;
|
|
7253
|
+
ast?: unknown;
|
|
7254
|
+
meta?: {
|
|
7255
|
+
rationale?: string | undefined;
|
|
7256
|
+
generatedBy?: string | undefined;
|
|
7257
|
+
} | undefined;
|
|
7258
|
+
} | undefined;
|
|
7259
|
+
disabledWhen?: {
|
|
7260
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7261
|
+
source?: string | undefined;
|
|
7262
|
+
ast?: unknown;
|
|
7263
|
+
meta?: {
|
|
7264
|
+
rationale?: string | undefined;
|
|
7265
|
+
generatedBy?: string | undefined;
|
|
7266
|
+
} | undefined;
|
|
7267
|
+
} | {
|
|
7268
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7269
|
+
source?: string | undefined;
|
|
7270
|
+
ast?: unknown;
|
|
7271
|
+
meta?: {
|
|
7272
|
+
rationale?: string | undefined;
|
|
7273
|
+
generatedBy?: string | undefined;
|
|
7274
|
+
} | undefined;
|
|
7275
|
+
} | undefined;
|
|
7276
|
+
} | undefined;
|
|
7277
|
+
delete?: boolean | {
|
|
7278
|
+
enabled?: boolean | undefined;
|
|
7279
|
+
visibleWhen?: {
|
|
7280
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7281
|
+
source?: string | undefined;
|
|
7282
|
+
ast?: unknown;
|
|
7283
|
+
meta?: {
|
|
7284
|
+
rationale?: string | undefined;
|
|
7285
|
+
generatedBy?: string | undefined;
|
|
7286
|
+
} | undefined;
|
|
7287
|
+
} | {
|
|
7288
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7289
|
+
source?: string | undefined;
|
|
7290
|
+
ast?: unknown;
|
|
7291
|
+
meta?: {
|
|
7292
|
+
rationale?: string | undefined;
|
|
7293
|
+
generatedBy?: string | undefined;
|
|
7294
|
+
} | undefined;
|
|
7295
|
+
} | undefined;
|
|
7296
|
+
disabledWhen?: {
|
|
7297
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7298
|
+
source?: string | undefined;
|
|
7299
|
+
ast?: unknown;
|
|
7300
|
+
meta?: {
|
|
7301
|
+
rationale?: string | undefined;
|
|
7302
|
+
generatedBy?: string | undefined;
|
|
7303
|
+
} | undefined;
|
|
7304
|
+
} | {
|
|
7305
|
+
dialect: "cel" | "js" | "cron" | "template";
|
|
7306
|
+
source?: string | undefined;
|
|
7307
|
+
ast?: unknown;
|
|
7308
|
+
meta?: {
|
|
7309
|
+
rationale?: string | undefined;
|
|
7310
|
+
generatedBy?: string | undefined;
|
|
7311
|
+
} | undefined;
|
|
7312
|
+
} | undefined;
|
|
7313
|
+
} | undefined;
|
|
7098
7314
|
exportCsv?: boolean | undefined;
|
|
7099
7315
|
} | undefined;
|
|
7100
7316
|
systemFields?: false | {
|
|
@@ -7129,9 +7345,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7129
7345
|
}[] | undefined;
|
|
7130
7346
|
tenancy?: {
|
|
7131
7347
|
enabled: boolean;
|
|
7132
|
-
strategy: "hybrid" | "shared" | "isolated";
|
|
7133
7348
|
tenantField: string;
|
|
7134
|
-
crossTenantAccess: boolean;
|
|
7135
7349
|
} | undefined;
|
|
7136
7350
|
access?: {
|
|
7137
7351
|
default: "public" | "private";
|
|
@@ -7524,7 +7738,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7524
7738
|
eligibility?: string | undefined;
|
|
7525
7739
|
} | undefined;
|
|
7526
7740
|
keyPrefix?: string | undefined;
|
|
7527
|
-
actions?: {
|
|
7741
|
+
actions?: Omit<{
|
|
7528
7742
|
name: string;
|
|
7529
7743
|
label: string;
|
|
7530
7744
|
type: "url" | "form" | "flow" | "api" | "script" | "modal";
|
|
@@ -7546,7 +7760,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7546
7760
|
memoryMb?: number | undefined;
|
|
7547
7761
|
} | undefined;
|
|
7548
7762
|
execute?: string | undefined;
|
|
7549
|
-
params?: {
|
|
7763
|
+
params?: Omit<{
|
|
7550
7764
|
required: boolean;
|
|
7551
7765
|
name?: string | undefined;
|
|
7552
7766
|
field?: string | undefined;
|
|
@@ -7570,7 +7784,8 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7570
7784
|
generatedBy?: string | undefined;
|
|
7571
7785
|
} | undefined;
|
|
7572
7786
|
} | undefined;
|
|
7573
|
-
|
|
7787
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
7788
|
+
}, "requiresFeature">[] | undefined;
|
|
7574
7789
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
7575
7790
|
order?: number | undefined;
|
|
7576
7791
|
confirmText?: string | undefined;
|
|
@@ -7597,6 +7812,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7597
7812
|
generatedBy?: string | undefined;
|
|
7598
7813
|
} | undefined;
|
|
7599
7814
|
} | undefined;
|
|
7815
|
+
requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
|
|
7600
7816
|
disabled?: boolean | {
|
|
7601
7817
|
dialect: "cel" | "js" | "cron" | "template";
|
|
7602
7818
|
source?: string | undefined;
|
|
@@ -7637,7 +7853,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7637
7853
|
ariaDescribedBy?: string | undefined;
|
|
7638
7854
|
role?: string | undefined;
|
|
7639
7855
|
} | undefined;
|
|
7640
|
-
}[] | undefined;
|
|
7856
|
+
}, "requiresFeature">[] | undefined;
|
|
7641
7857
|
protection?: {
|
|
7642
7858
|
lock: "full" | "none" | "no-overlay" | "no-delete";
|
|
7643
7859
|
reason: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/plugin-approvals",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.1",
|
|
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": "15.
|
|
17
|
-
"@objectstack/formula": "15.
|
|
18
|
-
"@objectstack/metadata-core": "15.
|
|
19
|
-
"@objectstack/
|
|
20
|
-
"@objectstack/
|
|
16
|
+
"@objectstack/core": "15.1.1",
|
|
17
|
+
"@objectstack/formula": "15.1.1",
|
|
18
|
+
"@objectstack/metadata-core": "15.1.1",
|
|
19
|
+
"@objectstack/spec": "15.1.1",
|
|
20
|
+
"@objectstack/platform-objects": "15.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^26.1.1",
|
|
24
24
|
"typescript": "^6.0.3",
|
|
25
25
|
"vitest": "^4.1.10",
|
|
26
|
-
"@objectstack/service-automation": "15.
|
|
26
|
+
"@objectstack/service-automation": "15.1.1"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"objectstack",
|