@objectstack/plugin-approvals 9.11.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +52 -0
- package/dist/index.d.mts +702 -10
- package/dist/index.d.ts +702 -10
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/approval-service.ts +16 -16
package/dist/index.d.mts
CHANGED
|
@@ -69,6 +69,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
69
69
|
relatedList?: boolean | undefined;
|
|
70
70
|
relatedListTitle?: string | undefined;
|
|
71
71
|
relatedListColumns?: any[] | undefined;
|
|
72
|
+
displayField?: string | undefined;
|
|
73
|
+
descriptionField?: string | undefined;
|
|
74
|
+
lookupColumns?: (string | {
|
|
75
|
+
field: string;
|
|
76
|
+
label?: string | undefined;
|
|
77
|
+
width?: string | undefined;
|
|
78
|
+
type?: string | undefined;
|
|
79
|
+
})[] | undefined;
|
|
80
|
+
lookupPageSize?: number | undefined;
|
|
81
|
+
lookupFilters?: {
|
|
82
|
+
field: string;
|
|
83
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
84
|
+
value: any;
|
|
85
|
+
}[] | undefined;
|
|
86
|
+
dependsOn?: (string | {
|
|
87
|
+
field: string;
|
|
88
|
+
param?: string | undefined;
|
|
89
|
+
})[] | undefined;
|
|
90
|
+
allowCreate?: boolean | undefined;
|
|
72
91
|
expression?: {
|
|
73
92
|
dialect: "cel" | "js" | "cron" | "template";
|
|
74
93
|
source?: string | undefined;
|
|
@@ -344,7 +363,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
344
363
|
} | undefined;
|
|
345
364
|
compactLayout?: string[] | undefined;
|
|
346
365
|
listViews?: Record<string, {
|
|
347
|
-
type: "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
366
|
+
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
348
367
|
columns: string[] | {
|
|
349
368
|
field: string;
|
|
350
369
|
label?: string | undefined;
|
|
@@ -461,6 +480,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
461
480
|
colorField?: string | undefined;
|
|
462
481
|
} | undefined;
|
|
463
482
|
gantt?: {
|
|
483
|
+
[x: string]: unknown;
|
|
464
484
|
startDateField: string;
|
|
465
485
|
endDateField: string;
|
|
466
486
|
titleField: string;
|
|
@@ -511,6 +531,13 @@ declare const SysApprovalRequest: Omit<{
|
|
|
511
531
|
values: string[];
|
|
512
532
|
dimensions?: string[] | undefined;
|
|
513
533
|
} | undefined;
|
|
534
|
+
tree?: {
|
|
535
|
+
[x: string]: unknown;
|
|
536
|
+
parentField?: string | undefined;
|
|
537
|
+
labelField?: string | undefined;
|
|
538
|
+
fields?: string[] | undefined;
|
|
539
|
+
defaultExpandedDepth?: number | undefined;
|
|
540
|
+
} | undefined;
|
|
514
541
|
description?: string | undefined;
|
|
515
542
|
sharing?: {
|
|
516
543
|
type: "personal" | "collaborative";
|
|
@@ -566,7 +593,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
566
593
|
} | undefined;
|
|
567
594
|
appearance?: {
|
|
568
595
|
showDescription: boolean;
|
|
569
|
-
allowedVisualizations?: ("grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
596
|
+
allowedVisualizations?: ("tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
570
597
|
} | undefined;
|
|
571
598
|
tabs?: {
|
|
572
599
|
name: string;
|
|
@@ -635,6 +662,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
635
662
|
} | undefined;
|
|
636
663
|
}> | undefined;
|
|
637
664
|
defaultDetailForm?: string | undefined;
|
|
665
|
+
searchableFields?: string[] | undefined;
|
|
638
666
|
search?: {
|
|
639
667
|
fields: string[];
|
|
640
668
|
displayFields?: string[] | undefined;
|
|
@@ -920,6 +948,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
920
948
|
readonly relatedList?: boolean | undefined;
|
|
921
949
|
readonly relatedListTitle?: string | undefined;
|
|
922
950
|
readonly relatedListColumns?: any[] | undefined;
|
|
951
|
+
readonly displayField?: string | undefined;
|
|
952
|
+
readonly descriptionField?: string | undefined;
|
|
953
|
+
readonly lookupColumns?: (string | {
|
|
954
|
+
field: string;
|
|
955
|
+
label?: string | undefined;
|
|
956
|
+
width?: string | undefined;
|
|
957
|
+
type?: string | undefined;
|
|
958
|
+
})[] | undefined;
|
|
959
|
+
readonly lookupPageSize?: number | undefined;
|
|
960
|
+
readonly lookupFilters?: {
|
|
961
|
+
field: string;
|
|
962
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
963
|
+
value: any;
|
|
964
|
+
}[] | undefined;
|
|
965
|
+
readonly dependsOn?: (string | {
|
|
966
|
+
field: string;
|
|
967
|
+
param?: string | undefined;
|
|
968
|
+
})[] | undefined;
|
|
969
|
+
readonly allowCreate?: boolean | undefined;
|
|
923
970
|
readonly expression?: {
|
|
924
971
|
dialect: "cel" | "js" | "cron" | "template";
|
|
925
972
|
source?: string | undefined;
|
|
@@ -1075,6 +1122,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1075
1122
|
readonly relatedList?: boolean | undefined;
|
|
1076
1123
|
readonly relatedListTitle?: string | undefined;
|
|
1077
1124
|
readonly relatedListColumns?: any[] | undefined;
|
|
1125
|
+
readonly displayField?: string | undefined;
|
|
1126
|
+
readonly descriptionField?: string | undefined;
|
|
1127
|
+
readonly lookupColumns?: (string | {
|
|
1128
|
+
field: string;
|
|
1129
|
+
label?: string | undefined;
|
|
1130
|
+
width?: string | undefined;
|
|
1131
|
+
type?: string | undefined;
|
|
1132
|
+
})[] | undefined;
|
|
1133
|
+
readonly lookupPageSize?: number | undefined;
|
|
1134
|
+
readonly lookupFilters?: {
|
|
1135
|
+
field: string;
|
|
1136
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
1137
|
+
value: any;
|
|
1138
|
+
}[] | undefined;
|
|
1139
|
+
readonly dependsOn?: (string | {
|
|
1140
|
+
field: string;
|
|
1141
|
+
param?: string | undefined;
|
|
1142
|
+
})[] | undefined;
|
|
1143
|
+
readonly allowCreate?: boolean | undefined;
|
|
1078
1144
|
readonly expression?: {
|
|
1079
1145
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1080
1146
|
source?: string | undefined;
|
|
@@ -1230,6 +1296,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1230
1296
|
readonly relatedList?: boolean | undefined;
|
|
1231
1297
|
readonly relatedListTitle?: string | undefined;
|
|
1232
1298
|
readonly relatedListColumns?: any[] | undefined;
|
|
1299
|
+
readonly displayField?: string | undefined;
|
|
1300
|
+
readonly descriptionField?: string | undefined;
|
|
1301
|
+
readonly lookupColumns?: (string | {
|
|
1302
|
+
field: string;
|
|
1303
|
+
label?: string | undefined;
|
|
1304
|
+
width?: string | undefined;
|
|
1305
|
+
type?: string | undefined;
|
|
1306
|
+
})[] | undefined;
|
|
1307
|
+
readonly lookupPageSize?: number | undefined;
|
|
1308
|
+
readonly lookupFilters?: {
|
|
1309
|
+
field: string;
|
|
1310
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
1311
|
+
value: any;
|
|
1312
|
+
}[] | undefined;
|
|
1313
|
+
readonly dependsOn?: (string | {
|
|
1314
|
+
field: string;
|
|
1315
|
+
param?: string | undefined;
|
|
1316
|
+
})[] | undefined;
|
|
1317
|
+
readonly allowCreate?: boolean | undefined;
|
|
1233
1318
|
readonly expression?: {
|
|
1234
1319
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1235
1320
|
source?: string | undefined;
|
|
@@ -1385,6 +1470,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1385
1470
|
readonly relatedList?: boolean | undefined;
|
|
1386
1471
|
readonly relatedListTitle?: string | undefined;
|
|
1387
1472
|
readonly relatedListColumns?: any[] | undefined;
|
|
1473
|
+
readonly displayField?: string | undefined;
|
|
1474
|
+
readonly descriptionField?: string | undefined;
|
|
1475
|
+
readonly lookupColumns?: (string | {
|
|
1476
|
+
field: string;
|
|
1477
|
+
label?: string | undefined;
|
|
1478
|
+
width?: string | undefined;
|
|
1479
|
+
type?: string | undefined;
|
|
1480
|
+
})[] | undefined;
|
|
1481
|
+
readonly lookupPageSize?: number | undefined;
|
|
1482
|
+
readonly lookupFilters?: {
|
|
1483
|
+
field: string;
|
|
1484
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
1485
|
+
value: any;
|
|
1486
|
+
}[] | undefined;
|
|
1487
|
+
readonly dependsOn?: (string | {
|
|
1488
|
+
field: string;
|
|
1489
|
+
param?: string | undefined;
|
|
1490
|
+
})[] | undefined;
|
|
1491
|
+
readonly allowCreate?: boolean | undefined;
|
|
1388
1492
|
readonly expression?: {
|
|
1389
1493
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1390
1494
|
source?: string | undefined;
|
|
@@ -1540,6 +1644,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1540
1644
|
readonly relatedList?: boolean | undefined;
|
|
1541
1645
|
readonly relatedListTitle?: string | undefined;
|
|
1542
1646
|
readonly relatedListColumns?: any[] | undefined;
|
|
1647
|
+
readonly displayField?: string | undefined;
|
|
1648
|
+
readonly descriptionField?: string | undefined;
|
|
1649
|
+
readonly lookupColumns?: (string | {
|
|
1650
|
+
field: string;
|
|
1651
|
+
label?: string | undefined;
|
|
1652
|
+
width?: string | undefined;
|
|
1653
|
+
type?: string | undefined;
|
|
1654
|
+
})[] | undefined;
|
|
1655
|
+
readonly lookupPageSize?: number | undefined;
|
|
1656
|
+
readonly lookupFilters?: {
|
|
1657
|
+
field: string;
|
|
1658
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
1659
|
+
value: any;
|
|
1660
|
+
}[] | undefined;
|
|
1661
|
+
readonly dependsOn?: (string | {
|
|
1662
|
+
field: string;
|
|
1663
|
+
param?: string | undefined;
|
|
1664
|
+
})[] | undefined;
|
|
1665
|
+
readonly allowCreate?: boolean | undefined;
|
|
1543
1666
|
readonly expression?: {
|
|
1544
1667
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1545
1668
|
source?: string | undefined;
|
|
@@ -1695,6 +1818,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1695
1818
|
readonly relatedList?: boolean | undefined;
|
|
1696
1819
|
readonly relatedListTitle?: string | undefined;
|
|
1697
1820
|
readonly relatedListColumns?: any[] | undefined;
|
|
1821
|
+
readonly displayField?: string | undefined;
|
|
1822
|
+
readonly descriptionField?: string | undefined;
|
|
1823
|
+
readonly lookupColumns?: (string | {
|
|
1824
|
+
field: string;
|
|
1825
|
+
label?: string | undefined;
|
|
1826
|
+
width?: string | undefined;
|
|
1827
|
+
type?: string | undefined;
|
|
1828
|
+
})[] | undefined;
|
|
1829
|
+
readonly lookupPageSize?: number | undefined;
|
|
1830
|
+
readonly lookupFilters?: {
|
|
1831
|
+
field: string;
|
|
1832
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
1833
|
+
value: any;
|
|
1834
|
+
}[] | undefined;
|
|
1835
|
+
readonly dependsOn?: (string | {
|
|
1836
|
+
field: string;
|
|
1837
|
+
param?: string | undefined;
|
|
1838
|
+
})[] | undefined;
|
|
1839
|
+
readonly allowCreate?: boolean | undefined;
|
|
1698
1840
|
readonly expression?: {
|
|
1699
1841
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1700
1842
|
source?: string | undefined;
|
|
@@ -1850,6 +1992,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1850
1992
|
readonly relatedList?: boolean | undefined;
|
|
1851
1993
|
readonly relatedListTitle?: string | undefined;
|
|
1852
1994
|
readonly relatedListColumns?: any[] | undefined;
|
|
1995
|
+
readonly displayField?: string | undefined;
|
|
1996
|
+
readonly descriptionField?: string | undefined;
|
|
1997
|
+
readonly lookupColumns?: (string | {
|
|
1998
|
+
field: string;
|
|
1999
|
+
label?: string | undefined;
|
|
2000
|
+
width?: string | undefined;
|
|
2001
|
+
type?: string | undefined;
|
|
2002
|
+
})[] | undefined;
|
|
2003
|
+
readonly lookupPageSize?: number | undefined;
|
|
2004
|
+
readonly lookupFilters?: {
|
|
2005
|
+
field: string;
|
|
2006
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2007
|
+
value: any;
|
|
2008
|
+
}[] | undefined;
|
|
2009
|
+
readonly dependsOn?: (string | {
|
|
2010
|
+
field: string;
|
|
2011
|
+
param?: string | undefined;
|
|
2012
|
+
})[] | undefined;
|
|
2013
|
+
readonly allowCreate?: boolean | undefined;
|
|
1853
2014
|
readonly expression?: {
|
|
1854
2015
|
dialect: "cel" | "js" | "cron" | "template";
|
|
1855
2016
|
source?: string | undefined;
|
|
@@ -2005,6 +2166,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2005
2166
|
readonly relatedList?: boolean | undefined;
|
|
2006
2167
|
readonly relatedListTitle?: string | undefined;
|
|
2007
2168
|
readonly relatedListColumns?: any[] | undefined;
|
|
2169
|
+
readonly displayField?: string | undefined;
|
|
2170
|
+
readonly descriptionField?: string | undefined;
|
|
2171
|
+
readonly lookupColumns?: (string | {
|
|
2172
|
+
field: string;
|
|
2173
|
+
label?: string | undefined;
|
|
2174
|
+
width?: string | undefined;
|
|
2175
|
+
type?: string | undefined;
|
|
2176
|
+
})[] | undefined;
|
|
2177
|
+
readonly lookupPageSize?: number | undefined;
|
|
2178
|
+
readonly lookupFilters?: {
|
|
2179
|
+
field: string;
|
|
2180
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2181
|
+
value: any;
|
|
2182
|
+
}[] | undefined;
|
|
2183
|
+
readonly dependsOn?: (string | {
|
|
2184
|
+
field: string;
|
|
2185
|
+
param?: string | undefined;
|
|
2186
|
+
})[] | undefined;
|
|
2187
|
+
readonly allowCreate?: boolean | undefined;
|
|
2008
2188
|
readonly expression?: {
|
|
2009
2189
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2010
2190
|
source?: string | undefined;
|
|
@@ -2160,6 +2340,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2160
2340
|
readonly relatedList?: boolean | undefined;
|
|
2161
2341
|
readonly relatedListTitle?: string | undefined;
|
|
2162
2342
|
readonly relatedListColumns?: any[] | undefined;
|
|
2343
|
+
readonly displayField?: string | undefined;
|
|
2344
|
+
readonly descriptionField?: string | undefined;
|
|
2345
|
+
readonly lookupColumns?: (string | {
|
|
2346
|
+
field: string;
|
|
2347
|
+
label?: string | undefined;
|
|
2348
|
+
width?: string | undefined;
|
|
2349
|
+
type?: string | undefined;
|
|
2350
|
+
})[] | undefined;
|
|
2351
|
+
readonly lookupPageSize?: number | undefined;
|
|
2352
|
+
readonly lookupFilters?: {
|
|
2353
|
+
field: string;
|
|
2354
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2355
|
+
value: any;
|
|
2356
|
+
}[] | undefined;
|
|
2357
|
+
readonly dependsOn?: (string | {
|
|
2358
|
+
field: string;
|
|
2359
|
+
param?: string | undefined;
|
|
2360
|
+
})[] | undefined;
|
|
2361
|
+
readonly allowCreate?: boolean | undefined;
|
|
2163
2362
|
readonly expression?: {
|
|
2164
2363
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2165
2364
|
source?: string | undefined;
|
|
@@ -2315,6 +2514,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2315
2514
|
readonly relatedList?: boolean | undefined;
|
|
2316
2515
|
readonly relatedListTitle?: string | undefined;
|
|
2317
2516
|
readonly relatedListColumns?: any[] | undefined;
|
|
2517
|
+
readonly displayField?: string | undefined;
|
|
2518
|
+
readonly descriptionField?: string | undefined;
|
|
2519
|
+
readonly lookupColumns?: (string | {
|
|
2520
|
+
field: string;
|
|
2521
|
+
label?: string | undefined;
|
|
2522
|
+
width?: string | undefined;
|
|
2523
|
+
type?: string | undefined;
|
|
2524
|
+
})[] | undefined;
|
|
2525
|
+
readonly lookupPageSize?: number | undefined;
|
|
2526
|
+
readonly lookupFilters?: {
|
|
2527
|
+
field: string;
|
|
2528
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2529
|
+
value: any;
|
|
2530
|
+
}[] | undefined;
|
|
2531
|
+
readonly dependsOn?: (string | {
|
|
2532
|
+
field: string;
|
|
2533
|
+
param?: string | undefined;
|
|
2534
|
+
})[] | undefined;
|
|
2535
|
+
readonly allowCreate?: boolean | undefined;
|
|
2318
2536
|
readonly expression?: {
|
|
2319
2537
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2320
2538
|
source?: string | undefined;
|
|
@@ -2470,6 +2688,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2470
2688
|
readonly relatedList?: boolean | undefined;
|
|
2471
2689
|
readonly relatedListTitle?: string | undefined;
|
|
2472
2690
|
readonly relatedListColumns?: any[] | undefined;
|
|
2691
|
+
readonly displayField?: string | undefined;
|
|
2692
|
+
readonly descriptionField?: string | undefined;
|
|
2693
|
+
readonly lookupColumns?: (string | {
|
|
2694
|
+
field: string;
|
|
2695
|
+
label?: string | undefined;
|
|
2696
|
+
width?: string | undefined;
|
|
2697
|
+
type?: string | undefined;
|
|
2698
|
+
})[] | undefined;
|
|
2699
|
+
readonly lookupPageSize?: number | undefined;
|
|
2700
|
+
readonly lookupFilters?: {
|
|
2701
|
+
field: string;
|
|
2702
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2703
|
+
value: any;
|
|
2704
|
+
}[] | undefined;
|
|
2705
|
+
readonly dependsOn?: (string | {
|
|
2706
|
+
field: string;
|
|
2707
|
+
param?: string | undefined;
|
|
2708
|
+
})[] | undefined;
|
|
2709
|
+
readonly allowCreate?: boolean | undefined;
|
|
2473
2710
|
readonly expression?: {
|
|
2474
2711
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2475
2712
|
source?: string | undefined;
|
|
@@ -2625,6 +2862,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2625
2862
|
readonly relatedList?: boolean | undefined;
|
|
2626
2863
|
readonly relatedListTitle?: string | undefined;
|
|
2627
2864
|
readonly relatedListColumns?: any[] | undefined;
|
|
2865
|
+
readonly displayField?: string | undefined;
|
|
2866
|
+
readonly descriptionField?: string | undefined;
|
|
2867
|
+
readonly lookupColumns?: (string | {
|
|
2868
|
+
field: string;
|
|
2869
|
+
label?: string | undefined;
|
|
2870
|
+
width?: string | undefined;
|
|
2871
|
+
type?: string | undefined;
|
|
2872
|
+
})[] | undefined;
|
|
2873
|
+
readonly lookupPageSize?: number | undefined;
|
|
2874
|
+
readonly lookupFilters?: {
|
|
2875
|
+
field: string;
|
|
2876
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
2877
|
+
value: any;
|
|
2878
|
+
}[] | undefined;
|
|
2879
|
+
readonly dependsOn?: (string | {
|
|
2880
|
+
field: string;
|
|
2881
|
+
param?: string | undefined;
|
|
2882
|
+
})[] | undefined;
|
|
2883
|
+
readonly allowCreate?: boolean | undefined;
|
|
2628
2884
|
readonly expression?: {
|
|
2629
2885
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2630
2886
|
source?: string | undefined;
|
|
@@ -2780,6 +3036,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2780
3036
|
readonly relatedList?: boolean | undefined;
|
|
2781
3037
|
readonly relatedListTitle?: string | undefined;
|
|
2782
3038
|
readonly relatedListColumns?: any[] | undefined;
|
|
3039
|
+
readonly displayField?: string | undefined;
|
|
3040
|
+
readonly descriptionField?: string | undefined;
|
|
3041
|
+
readonly lookupColumns?: (string | {
|
|
3042
|
+
field: string;
|
|
3043
|
+
label?: string | undefined;
|
|
3044
|
+
width?: string | undefined;
|
|
3045
|
+
type?: string | undefined;
|
|
3046
|
+
})[] | undefined;
|
|
3047
|
+
readonly lookupPageSize?: number | undefined;
|
|
3048
|
+
readonly lookupFilters?: {
|
|
3049
|
+
field: string;
|
|
3050
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3051
|
+
value: any;
|
|
3052
|
+
}[] | undefined;
|
|
3053
|
+
readonly dependsOn?: (string | {
|
|
3054
|
+
field: string;
|
|
3055
|
+
param?: string | undefined;
|
|
3056
|
+
})[] | undefined;
|
|
3057
|
+
readonly allowCreate?: boolean | undefined;
|
|
2783
3058
|
readonly expression?: {
|
|
2784
3059
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2785
3060
|
source?: string | undefined;
|
|
@@ -2935,6 +3210,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2935
3210
|
readonly relatedList?: boolean | undefined;
|
|
2936
3211
|
readonly relatedListTitle?: string | undefined;
|
|
2937
3212
|
readonly relatedListColumns?: any[] | undefined;
|
|
3213
|
+
readonly displayField?: string | undefined;
|
|
3214
|
+
readonly descriptionField?: string | undefined;
|
|
3215
|
+
readonly lookupColumns?: (string | {
|
|
3216
|
+
field: string;
|
|
3217
|
+
label?: string | undefined;
|
|
3218
|
+
width?: string | undefined;
|
|
3219
|
+
type?: string | undefined;
|
|
3220
|
+
})[] | undefined;
|
|
3221
|
+
readonly lookupPageSize?: number | undefined;
|
|
3222
|
+
readonly lookupFilters?: {
|
|
3223
|
+
field: string;
|
|
3224
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3225
|
+
value: any;
|
|
3226
|
+
}[] | undefined;
|
|
3227
|
+
readonly dependsOn?: (string | {
|
|
3228
|
+
field: string;
|
|
3229
|
+
param?: string | undefined;
|
|
3230
|
+
})[] | undefined;
|
|
3231
|
+
readonly allowCreate?: boolean | undefined;
|
|
2938
3232
|
readonly expression?: {
|
|
2939
3233
|
dialect: "cel" | "js" | "cron" | "template";
|
|
2940
3234
|
source?: string | undefined;
|
|
@@ -3090,6 +3384,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3090
3384
|
readonly relatedList?: boolean | undefined;
|
|
3091
3385
|
readonly relatedListTitle?: string | undefined;
|
|
3092
3386
|
readonly relatedListColumns?: any[] | undefined;
|
|
3387
|
+
readonly displayField?: string | undefined;
|
|
3388
|
+
readonly descriptionField?: string | undefined;
|
|
3389
|
+
readonly lookupColumns?: (string | {
|
|
3390
|
+
field: string;
|
|
3391
|
+
label?: string | undefined;
|
|
3392
|
+
width?: string | undefined;
|
|
3393
|
+
type?: string | undefined;
|
|
3394
|
+
})[] | undefined;
|
|
3395
|
+
readonly lookupPageSize?: number | undefined;
|
|
3396
|
+
readonly lookupFilters?: {
|
|
3397
|
+
field: string;
|
|
3398
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3399
|
+
value: any;
|
|
3400
|
+
}[] | undefined;
|
|
3401
|
+
readonly dependsOn?: (string | {
|
|
3402
|
+
field: string;
|
|
3403
|
+
param?: string | undefined;
|
|
3404
|
+
})[] | undefined;
|
|
3405
|
+
readonly allowCreate?: boolean | undefined;
|
|
3093
3406
|
readonly expression?: {
|
|
3094
3407
|
dialect: "cel" | "js" | "cron" | "template";
|
|
3095
3408
|
source?: string | undefined;
|
|
@@ -3245,6 +3558,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3245
3558
|
readonly relatedList?: boolean | undefined;
|
|
3246
3559
|
readonly relatedListTitle?: string | undefined;
|
|
3247
3560
|
readonly relatedListColumns?: any[] | undefined;
|
|
3561
|
+
readonly displayField?: string | undefined;
|
|
3562
|
+
readonly descriptionField?: string | undefined;
|
|
3563
|
+
readonly lookupColumns?: (string | {
|
|
3564
|
+
field: string;
|
|
3565
|
+
label?: string | undefined;
|
|
3566
|
+
width?: string | undefined;
|
|
3567
|
+
type?: string | undefined;
|
|
3568
|
+
})[] | undefined;
|
|
3569
|
+
readonly lookupPageSize?: number | undefined;
|
|
3570
|
+
readonly lookupFilters?: {
|
|
3571
|
+
field: string;
|
|
3572
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3573
|
+
value: any;
|
|
3574
|
+
}[] | undefined;
|
|
3575
|
+
readonly dependsOn?: (string | {
|
|
3576
|
+
field: string;
|
|
3577
|
+
param?: string | undefined;
|
|
3578
|
+
})[] | undefined;
|
|
3579
|
+
readonly allowCreate?: boolean | undefined;
|
|
3248
3580
|
readonly expression?: {
|
|
3249
3581
|
dialect: "cel" | "js" | "cron" | "template";
|
|
3250
3582
|
source?: string | undefined;
|
|
@@ -3400,6 +3732,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3400
3732
|
readonly relatedList?: boolean | undefined;
|
|
3401
3733
|
readonly relatedListTitle?: string | undefined;
|
|
3402
3734
|
readonly relatedListColumns?: any[] | undefined;
|
|
3735
|
+
readonly displayField?: string | undefined;
|
|
3736
|
+
readonly descriptionField?: string | undefined;
|
|
3737
|
+
readonly lookupColumns?: (string | {
|
|
3738
|
+
field: string;
|
|
3739
|
+
label?: string | undefined;
|
|
3740
|
+
width?: string | undefined;
|
|
3741
|
+
type?: string | undefined;
|
|
3742
|
+
})[] | undefined;
|
|
3743
|
+
readonly lookupPageSize?: number | undefined;
|
|
3744
|
+
readonly lookupFilters?: {
|
|
3745
|
+
field: string;
|
|
3746
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3747
|
+
value: any;
|
|
3748
|
+
}[] | undefined;
|
|
3749
|
+
readonly dependsOn?: (string | {
|
|
3750
|
+
field: string;
|
|
3751
|
+
param?: string | undefined;
|
|
3752
|
+
})[] | undefined;
|
|
3753
|
+
readonly allowCreate?: boolean | undefined;
|
|
3403
3754
|
readonly expression?: {
|
|
3404
3755
|
dialect: "cel" | "js" | "cron" | "template";
|
|
3405
3756
|
source?: string | undefined;
|
|
@@ -3555,6 +3906,25 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3555
3906
|
readonly relatedList?: boolean | undefined;
|
|
3556
3907
|
readonly relatedListTitle?: string | undefined;
|
|
3557
3908
|
readonly relatedListColumns?: any[] | undefined;
|
|
3909
|
+
readonly displayField?: string | undefined;
|
|
3910
|
+
readonly descriptionField?: string | undefined;
|
|
3911
|
+
readonly lookupColumns?: (string | {
|
|
3912
|
+
field: string;
|
|
3913
|
+
label?: string | undefined;
|
|
3914
|
+
width?: string | undefined;
|
|
3915
|
+
type?: string | undefined;
|
|
3916
|
+
})[] | undefined;
|
|
3917
|
+
readonly lookupPageSize?: number | undefined;
|
|
3918
|
+
readonly lookupFilters?: {
|
|
3919
|
+
field: string;
|
|
3920
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
3921
|
+
value: any;
|
|
3922
|
+
}[] | undefined;
|
|
3923
|
+
readonly dependsOn?: (string | {
|
|
3924
|
+
field: string;
|
|
3925
|
+
param?: string | undefined;
|
|
3926
|
+
})[] | undefined;
|
|
3927
|
+
readonly allowCreate?: boolean | undefined;
|
|
3558
3928
|
readonly expression?: {
|
|
3559
3929
|
dialect: "cel" | "js" | "cron" | "template";
|
|
3560
3930
|
source?: string | undefined;
|
|
@@ -3738,6 +4108,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
3738
4108
|
relatedList?: boolean | undefined;
|
|
3739
4109
|
relatedListTitle?: string | undefined;
|
|
3740
4110
|
relatedListColumns?: any[] | undefined;
|
|
4111
|
+
displayField?: string | undefined;
|
|
4112
|
+
descriptionField?: string | undefined;
|
|
4113
|
+
lookupColumns?: (string | {
|
|
4114
|
+
field: string;
|
|
4115
|
+
label?: string | undefined;
|
|
4116
|
+
width?: string | undefined;
|
|
4117
|
+
type?: string | undefined;
|
|
4118
|
+
})[] | undefined;
|
|
4119
|
+
lookupPageSize?: number | undefined;
|
|
4120
|
+
lookupFilters?: {
|
|
4121
|
+
field: string;
|
|
4122
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
4123
|
+
value: any;
|
|
4124
|
+
}[] | undefined;
|
|
4125
|
+
dependsOn?: (string | {
|
|
4126
|
+
field: string;
|
|
4127
|
+
param?: string | undefined;
|
|
4128
|
+
})[] | undefined;
|
|
4129
|
+
allowCreate?: boolean | undefined;
|
|
3741
4130
|
expression?: {
|
|
3742
4131
|
dialect: "cel" | "js" | "cron" | "template";
|
|
3743
4132
|
source?: string | undefined;
|
|
@@ -4013,7 +4402,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4013
4402
|
} | undefined;
|
|
4014
4403
|
compactLayout?: string[] | undefined;
|
|
4015
4404
|
listViews?: Record<string, {
|
|
4016
|
-
type: "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
4405
|
+
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
4017
4406
|
columns: string[] | {
|
|
4018
4407
|
field: string;
|
|
4019
4408
|
label?: string | undefined;
|
|
@@ -4130,6 +4519,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4130
4519
|
colorField?: string | undefined;
|
|
4131
4520
|
} | undefined;
|
|
4132
4521
|
gantt?: {
|
|
4522
|
+
[x: string]: unknown;
|
|
4133
4523
|
startDateField: string;
|
|
4134
4524
|
endDateField: string;
|
|
4135
4525
|
titleField: string;
|
|
@@ -4180,6 +4570,13 @@ declare const SysApprovalAction: Omit<{
|
|
|
4180
4570
|
values: string[];
|
|
4181
4571
|
dimensions?: string[] | undefined;
|
|
4182
4572
|
} | undefined;
|
|
4573
|
+
tree?: {
|
|
4574
|
+
[x: string]: unknown;
|
|
4575
|
+
parentField?: string | undefined;
|
|
4576
|
+
labelField?: string | undefined;
|
|
4577
|
+
fields?: string[] | undefined;
|
|
4578
|
+
defaultExpandedDepth?: number | undefined;
|
|
4579
|
+
} | undefined;
|
|
4183
4580
|
description?: string | undefined;
|
|
4184
4581
|
sharing?: {
|
|
4185
4582
|
type: "personal" | "collaborative";
|
|
@@ -4235,7 +4632,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4235
4632
|
} | undefined;
|
|
4236
4633
|
appearance?: {
|
|
4237
4634
|
showDescription: boolean;
|
|
4238
|
-
allowedVisualizations?: ("grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
4635
|
+
allowedVisualizations?: ("tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
4239
4636
|
} | undefined;
|
|
4240
4637
|
tabs?: {
|
|
4241
4638
|
name: string;
|
|
@@ -4304,6 +4701,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4304
4701
|
} | undefined;
|
|
4305
4702
|
}> | undefined;
|
|
4306
4703
|
defaultDetailForm?: string | undefined;
|
|
4704
|
+
searchableFields?: string[] | undefined;
|
|
4307
4705
|
search?: {
|
|
4308
4706
|
fields: string[];
|
|
4309
4707
|
displayFields?: string[] | undefined;
|
|
@@ -4563,6 +4961,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
4563
4961
|
readonly relatedList?: boolean | undefined;
|
|
4564
4962
|
readonly relatedListTitle?: string | undefined;
|
|
4565
4963
|
readonly relatedListColumns?: any[] | undefined;
|
|
4964
|
+
readonly displayField?: string | undefined;
|
|
4965
|
+
readonly descriptionField?: string | undefined;
|
|
4966
|
+
readonly lookupColumns?: (string | {
|
|
4967
|
+
field: string;
|
|
4968
|
+
label?: string | undefined;
|
|
4969
|
+
width?: string | undefined;
|
|
4970
|
+
type?: string | undefined;
|
|
4971
|
+
})[] | undefined;
|
|
4972
|
+
readonly lookupPageSize?: number | undefined;
|
|
4973
|
+
readonly lookupFilters?: {
|
|
4974
|
+
field: string;
|
|
4975
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
4976
|
+
value: any;
|
|
4977
|
+
}[] | undefined;
|
|
4978
|
+
readonly dependsOn?: (string | {
|
|
4979
|
+
field: string;
|
|
4980
|
+
param?: string | undefined;
|
|
4981
|
+
})[] | undefined;
|
|
4982
|
+
readonly allowCreate?: boolean | undefined;
|
|
4566
4983
|
readonly expression?: {
|
|
4567
4984
|
dialect: "cel" | "js" | "cron" | "template";
|
|
4568
4985
|
source?: string | undefined;
|
|
@@ -4718,6 +5135,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
4718
5135
|
readonly relatedList?: boolean | undefined;
|
|
4719
5136
|
readonly relatedListTitle?: string | undefined;
|
|
4720
5137
|
readonly relatedListColumns?: any[] | undefined;
|
|
5138
|
+
readonly displayField?: string | undefined;
|
|
5139
|
+
readonly descriptionField?: string | undefined;
|
|
5140
|
+
readonly lookupColumns?: (string | {
|
|
5141
|
+
field: string;
|
|
5142
|
+
label?: string | undefined;
|
|
5143
|
+
width?: string | undefined;
|
|
5144
|
+
type?: string | undefined;
|
|
5145
|
+
})[] | undefined;
|
|
5146
|
+
readonly lookupPageSize?: number | undefined;
|
|
5147
|
+
readonly lookupFilters?: {
|
|
5148
|
+
field: string;
|
|
5149
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
5150
|
+
value: any;
|
|
5151
|
+
}[] | undefined;
|
|
5152
|
+
readonly dependsOn?: (string | {
|
|
5153
|
+
field: string;
|
|
5154
|
+
param?: string | undefined;
|
|
5155
|
+
})[] | undefined;
|
|
5156
|
+
readonly allowCreate?: boolean | undefined;
|
|
4721
5157
|
readonly expression?: {
|
|
4722
5158
|
dialect: "cel" | "js" | "cron" | "template";
|
|
4723
5159
|
source?: string | undefined;
|
|
@@ -4873,6 +5309,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
4873
5309
|
readonly relatedList?: boolean | undefined;
|
|
4874
5310
|
readonly relatedListTitle?: string | undefined;
|
|
4875
5311
|
readonly relatedListColumns?: any[] | undefined;
|
|
5312
|
+
readonly displayField?: string | undefined;
|
|
5313
|
+
readonly descriptionField?: string | undefined;
|
|
5314
|
+
readonly lookupColumns?: (string | {
|
|
5315
|
+
field: string;
|
|
5316
|
+
label?: string | undefined;
|
|
5317
|
+
width?: string | undefined;
|
|
5318
|
+
type?: string | undefined;
|
|
5319
|
+
})[] | undefined;
|
|
5320
|
+
readonly lookupPageSize?: number | undefined;
|
|
5321
|
+
readonly lookupFilters?: {
|
|
5322
|
+
field: string;
|
|
5323
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
5324
|
+
value: any;
|
|
5325
|
+
}[] | undefined;
|
|
5326
|
+
readonly dependsOn?: (string | {
|
|
5327
|
+
field: string;
|
|
5328
|
+
param?: string | undefined;
|
|
5329
|
+
})[] | undefined;
|
|
5330
|
+
readonly allowCreate?: boolean | undefined;
|
|
4876
5331
|
readonly expression?: {
|
|
4877
5332
|
dialect: "cel" | "js" | "cron" | "template";
|
|
4878
5333
|
source?: string | undefined;
|
|
@@ -5028,6 +5483,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5028
5483
|
readonly relatedList?: boolean | undefined;
|
|
5029
5484
|
readonly relatedListTitle?: string | undefined;
|
|
5030
5485
|
readonly relatedListColumns?: any[] | undefined;
|
|
5486
|
+
readonly displayField?: string | undefined;
|
|
5487
|
+
readonly descriptionField?: string | undefined;
|
|
5488
|
+
readonly lookupColumns?: (string | {
|
|
5489
|
+
field: string;
|
|
5490
|
+
label?: string | undefined;
|
|
5491
|
+
width?: string | undefined;
|
|
5492
|
+
type?: string | undefined;
|
|
5493
|
+
})[] | undefined;
|
|
5494
|
+
readonly lookupPageSize?: number | undefined;
|
|
5495
|
+
readonly lookupFilters?: {
|
|
5496
|
+
field: string;
|
|
5497
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
5498
|
+
value: any;
|
|
5499
|
+
}[] | undefined;
|
|
5500
|
+
readonly dependsOn?: (string | {
|
|
5501
|
+
field: string;
|
|
5502
|
+
param?: string | undefined;
|
|
5503
|
+
})[] | undefined;
|
|
5504
|
+
readonly allowCreate?: boolean | undefined;
|
|
5031
5505
|
readonly expression?: {
|
|
5032
5506
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5033
5507
|
source?: string | undefined;
|
|
@@ -5183,6 +5657,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5183
5657
|
readonly relatedList?: boolean | undefined;
|
|
5184
5658
|
readonly relatedListTitle?: string | undefined;
|
|
5185
5659
|
readonly relatedListColumns?: any[] | undefined;
|
|
5660
|
+
readonly displayField?: string | undefined;
|
|
5661
|
+
readonly descriptionField?: string | undefined;
|
|
5662
|
+
readonly lookupColumns?: (string | {
|
|
5663
|
+
field: string;
|
|
5664
|
+
label?: string | undefined;
|
|
5665
|
+
width?: string | undefined;
|
|
5666
|
+
type?: string | undefined;
|
|
5667
|
+
})[] | undefined;
|
|
5668
|
+
readonly lookupPageSize?: number | undefined;
|
|
5669
|
+
readonly lookupFilters?: {
|
|
5670
|
+
field: string;
|
|
5671
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
5672
|
+
value: any;
|
|
5673
|
+
}[] | undefined;
|
|
5674
|
+
readonly dependsOn?: (string | {
|
|
5675
|
+
field: string;
|
|
5676
|
+
param?: string | undefined;
|
|
5677
|
+
})[] | undefined;
|
|
5678
|
+
readonly allowCreate?: boolean | undefined;
|
|
5186
5679
|
readonly expression?: {
|
|
5187
5680
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5188
5681
|
source?: string | undefined;
|
|
@@ -5338,6 +5831,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5338
5831
|
readonly relatedList?: boolean | undefined;
|
|
5339
5832
|
readonly relatedListTitle?: string | undefined;
|
|
5340
5833
|
readonly relatedListColumns?: any[] | undefined;
|
|
5834
|
+
readonly displayField?: string | undefined;
|
|
5835
|
+
readonly descriptionField?: string | undefined;
|
|
5836
|
+
readonly lookupColumns?: (string | {
|
|
5837
|
+
field: string;
|
|
5838
|
+
label?: string | undefined;
|
|
5839
|
+
width?: string | undefined;
|
|
5840
|
+
type?: string | undefined;
|
|
5841
|
+
})[] | undefined;
|
|
5842
|
+
readonly lookupPageSize?: number | undefined;
|
|
5843
|
+
readonly lookupFilters?: {
|
|
5844
|
+
field: string;
|
|
5845
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
5846
|
+
value: any;
|
|
5847
|
+
}[] | undefined;
|
|
5848
|
+
readonly dependsOn?: (string | {
|
|
5849
|
+
field: string;
|
|
5850
|
+
param?: string | undefined;
|
|
5851
|
+
})[] | undefined;
|
|
5852
|
+
readonly allowCreate?: boolean | undefined;
|
|
5341
5853
|
readonly expression?: {
|
|
5342
5854
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5343
5855
|
source?: string | undefined;
|
|
@@ -5493,6 +6005,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5493
6005
|
readonly relatedList?: boolean | undefined;
|
|
5494
6006
|
readonly relatedListTitle?: string | undefined;
|
|
5495
6007
|
readonly relatedListColumns?: any[] | undefined;
|
|
6008
|
+
readonly displayField?: string | undefined;
|
|
6009
|
+
readonly descriptionField?: string | undefined;
|
|
6010
|
+
readonly lookupColumns?: (string | {
|
|
6011
|
+
field: string;
|
|
6012
|
+
label?: string | undefined;
|
|
6013
|
+
width?: string | undefined;
|
|
6014
|
+
type?: string | undefined;
|
|
6015
|
+
})[] | undefined;
|
|
6016
|
+
readonly lookupPageSize?: number | undefined;
|
|
6017
|
+
readonly lookupFilters?: {
|
|
6018
|
+
field: string;
|
|
6019
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
6020
|
+
value: any;
|
|
6021
|
+
}[] | undefined;
|
|
6022
|
+
readonly dependsOn?: (string | {
|
|
6023
|
+
field: string;
|
|
6024
|
+
param?: string | undefined;
|
|
6025
|
+
})[] | undefined;
|
|
6026
|
+
readonly allowCreate?: boolean | undefined;
|
|
5496
6027
|
readonly expression?: {
|
|
5497
6028
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5498
6029
|
source?: string | undefined;
|
|
@@ -5648,6 +6179,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5648
6179
|
readonly relatedList?: boolean | undefined;
|
|
5649
6180
|
readonly relatedListTitle?: string | undefined;
|
|
5650
6181
|
readonly relatedListColumns?: any[] | undefined;
|
|
6182
|
+
readonly displayField?: string | undefined;
|
|
6183
|
+
readonly descriptionField?: string | undefined;
|
|
6184
|
+
readonly lookupColumns?: (string | {
|
|
6185
|
+
field: string;
|
|
6186
|
+
label?: string | undefined;
|
|
6187
|
+
width?: string | undefined;
|
|
6188
|
+
type?: string | undefined;
|
|
6189
|
+
})[] | undefined;
|
|
6190
|
+
readonly lookupPageSize?: number | undefined;
|
|
6191
|
+
readonly lookupFilters?: {
|
|
6192
|
+
field: string;
|
|
6193
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
6194
|
+
value: any;
|
|
6195
|
+
}[] | undefined;
|
|
6196
|
+
readonly dependsOn?: (string | {
|
|
6197
|
+
field: string;
|
|
6198
|
+
param?: string | undefined;
|
|
6199
|
+
})[] | undefined;
|
|
6200
|
+
readonly allowCreate?: boolean | undefined;
|
|
5651
6201
|
readonly expression?: {
|
|
5652
6202
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5653
6203
|
source?: string | undefined;
|
|
@@ -5803,6 +6353,25 @@ declare const SysApprovalAction: Omit<{
|
|
|
5803
6353
|
readonly relatedList?: boolean | undefined;
|
|
5804
6354
|
readonly relatedListTitle?: string | undefined;
|
|
5805
6355
|
readonly relatedListColumns?: any[] | undefined;
|
|
6356
|
+
readonly displayField?: string | undefined;
|
|
6357
|
+
readonly descriptionField?: string | undefined;
|
|
6358
|
+
readonly lookupColumns?: (string | {
|
|
6359
|
+
field: string;
|
|
6360
|
+
label?: string | undefined;
|
|
6361
|
+
width?: string | undefined;
|
|
6362
|
+
type?: string | undefined;
|
|
6363
|
+
})[] | undefined;
|
|
6364
|
+
readonly lookupPageSize?: number | undefined;
|
|
6365
|
+
readonly lookupFilters?: {
|
|
6366
|
+
field: string;
|
|
6367
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
6368
|
+
value: any;
|
|
6369
|
+
}[] | undefined;
|
|
6370
|
+
readonly dependsOn?: (string | {
|
|
6371
|
+
field: string;
|
|
6372
|
+
param?: string | undefined;
|
|
6373
|
+
})[] | undefined;
|
|
6374
|
+
readonly allowCreate?: boolean | undefined;
|
|
5806
6375
|
readonly expression?: {
|
|
5807
6376
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5808
6377
|
source?: string | undefined;
|
|
@@ -5993,6 +6562,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
5993
6562
|
relatedList?: boolean | undefined;
|
|
5994
6563
|
relatedListTitle?: string | undefined;
|
|
5995
6564
|
relatedListColumns?: any[] | undefined;
|
|
6565
|
+
displayField?: string | undefined;
|
|
6566
|
+
descriptionField?: string | undefined;
|
|
6567
|
+
lookupColumns?: (string | {
|
|
6568
|
+
field: string;
|
|
6569
|
+
label?: string | undefined;
|
|
6570
|
+
width?: string | undefined;
|
|
6571
|
+
type?: string | undefined;
|
|
6572
|
+
})[] | undefined;
|
|
6573
|
+
lookupPageSize?: number | undefined;
|
|
6574
|
+
lookupFilters?: {
|
|
6575
|
+
field: string;
|
|
6576
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
6577
|
+
value: any;
|
|
6578
|
+
}[] | undefined;
|
|
6579
|
+
dependsOn?: (string | {
|
|
6580
|
+
field: string;
|
|
6581
|
+
param?: string | undefined;
|
|
6582
|
+
})[] | undefined;
|
|
6583
|
+
allowCreate?: boolean | undefined;
|
|
5996
6584
|
expression?: {
|
|
5997
6585
|
dialect: "cel" | "js" | "cron" | "template";
|
|
5998
6586
|
source?: string | undefined;
|
|
@@ -6268,7 +6856,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6268
6856
|
} | undefined;
|
|
6269
6857
|
compactLayout?: string[] | undefined;
|
|
6270
6858
|
listViews?: Record<string, {
|
|
6271
|
-
type: "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
6859
|
+
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
6272
6860
|
columns: string[] | {
|
|
6273
6861
|
field: string;
|
|
6274
6862
|
label?: string | undefined;
|
|
@@ -6385,6 +6973,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6385
6973
|
colorField?: string | undefined;
|
|
6386
6974
|
} | undefined;
|
|
6387
6975
|
gantt?: {
|
|
6976
|
+
[x: string]: unknown;
|
|
6388
6977
|
startDateField: string;
|
|
6389
6978
|
endDateField: string;
|
|
6390
6979
|
titleField: string;
|
|
@@ -6435,6 +7024,13 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6435
7024
|
values: string[];
|
|
6436
7025
|
dimensions?: string[] | undefined;
|
|
6437
7026
|
} | undefined;
|
|
7027
|
+
tree?: {
|
|
7028
|
+
[x: string]: unknown;
|
|
7029
|
+
parentField?: string | undefined;
|
|
7030
|
+
labelField?: string | undefined;
|
|
7031
|
+
fields?: string[] | undefined;
|
|
7032
|
+
defaultExpandedDepth?: number | undefined;
|
|
7033
|
+
} | undefined;
|
|
6438
7034
|
description?: string | undefined;
|
|
6439
7035
|
sharing?: {
|
|
6440
7036
|
type: "personal" | "collaborative";
|
|
@@ -6490,7 +7086,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6490
7086
|
} | undefined;
|
|
6491
7087
|
appearance?: {
|
|
6492
7088
|
showDescription: boolean;
|
|
6493
|
-
allowedVisualizations?: ("grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
7089
|
+
allowedVisualizations?: ("tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map")[] | undefined;
|
|
6494
7090
|
} | undefined;
|
|
6495
7091
|
tabs?: {
|
|
6496
7092
|
name: string;
|
|
@@ -6559,6 +7155,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6559
7155
|
} | undefined;
|
|
6560
7156
|
}> | undefined;
|
|
6561
7157
|
defaultDetailForm?: string | undefined;
|
|
7158
|
+
searchableFields?: string[] | undefined;
|
|
6562
7159
|
search?: {
|
|
6563
7160
|
fields: string[];
|
|
6564
7161
|
displayFields?: string[] | undefined;
|
|
@@ -6751,6 +7348,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6751
7348
|
readonly relatedList?: boolean | undefined;
|
|
6752
7349
|
readonly relatedListTitle?: string | undefined;
|
|
6753
7350
|
readonly relatedListColumns?: any[] | undefined;
|
|
7351
|
+
readonly displayField?: string | undefined;
|
|
7352
|
+
readonly descriptionField?: string | undefined;
|
|
7353
|
+
readonly lookupColumns?: (string | {
|
|
7354
|
+
field: string;
|
|
7355
|
+
label?: string | undefined;
|
|
7356
|
+
width?: string | undefined;
|
|
7357
|
+
type?: string | undefined;
|
|
7358
|
+
})[] | undefined;
|
|
7359
|
+
readonly lookupPageSize?: number | undefined;
|
|
7360
|
+
readonly lookupFilters?: {
|
|
7361
|
+
field: string;
|
|
7362
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
7363
|
+
value: any;
|
|
7364
|
+
}[] | undefined;
|
|
7365
|
+
readonly dependsOn?: (string | {
|
|
7366
|
+
field: string;
|
|
7367
|
+
param?: string | undefined;
|
|
7368
|
+
})[] | undefined;
|
|
7369
|
+
readonly allowCreate?: boolean | undefined;
|
|
6754
7370
|
readonly expression?: {
|
|
6755
7371
|
dialect: "cel" | "js" | "cron" | "template";
|
|
6756
7372
|
source?: string | undefined;
|
|
@@ -6906,6 +7522,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6906
7522
|
readonly relatedList?: boolean | undefined;
|
|
6907
7523
|
readonly relatedListTitle?: string | undefined;
|
|
6908
7524
|
readonly relatedListColumns?: any[] | undefined;
|
|
7525
|
+
readonly displayField?: string | undefined;
|
|
7526
|
+
readonly descriptionField?: string | undefined;
|
|
7527
|
+
readonly lookupColumns?: (string | {
|
|
7528
|
+
field: string;
|
|
7529
|
+
label?: string | undefined;
|
|
7530
|
+
width?: string | undefined;
|
|
7531
|
+
type?: string | undefined;
|
|
7532
|
+
})[] | undefined;
|
|
7533
|
+
readonly lookupPageSize?: number | undefined;
|
|
7534
|
+
readonly lookupFilters?: {
|
|
7535
|
+
field: string;
|
|
7536
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
7537
|
+
value: any;
|
|
7538
|
+
}[] | undefined;
|
|
7539
|
+
readonly dependsOn?: (string | {
|
|
7540
|
+
field: string;
|
|
7541
|
+
param?: string | undefined;
|
|
7542
|
+
})[] | undefined;
|
|
7543
|
+
readonly allowCreate?: boolean | undefined;
|
|
6909
7544
|
readonly expression?: {
|
|
6910
7545
|
dialect: "cel" | "js" | "cron" | "template";
|
|
6911
7546
|
source?: string | undefined;
|
|
@@ -7061,6 +7696,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7061
7696
|
readonly relatedList?: boolean | undefined;
|
|
7062
7697
|
readonly relatedListTitle?: string | undefined;
|
|
7063
7698
|
readonly relatedListColumns?: any[] | undefined;
|
|
7699
|
+
readonly displayField?: string | undefined;
|
|
7700
|
+
readonly descriptionField?: string | undefined;
|
|
7701
|
+
readonly lookupColumns?: (string | {
|
|
7702
|
+
field: string;
|
|
7703
|
+
label?: string | undefined;
|
|
7704
|
+
width?: string | undefined;
|
|
7705
|
+
type?: string | undefined;
|
|
7706
|
+
})[] | undefined;
|
|
7707
|
+
readonly lookupPageSize?: number | undefined;
|
|
7708
|
+
readonly lookupFilters?: {
|
|
7709
|
+
field: string;
|
|
7710
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
7711
|
+
value: any;
|
|
7712
|
+
}[] | undefined;
|
|
7713
|
+
readonly dependsOn?: (string | {
|
|
7714
|
+
field: string;
|
|
7715
|
+
param?: string | undefined;
|
|
7716
|
+
})[] | undefined;
|
|
7717
|
+
readonly allowCreate?: boolean | undefined;
|
|
7064
7718
|
readonly expression?: {
|
|
7065
7719
|
dialect: "cel" | "js" | "cron" | "template";
|
|
7066
7720
|
source?: string | undefined;
|
|
@@ -7216,6 +7870,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7216
7870
|
readonly relatedList?: boolean | undefined;
|
|
7217
7871
|
readonly relatedListTitle?: string | undefined;
|
|
7218
7872
|
readonly relatedListColumns?: any[] | undefined;
|
|
7873
|
+
readonly displayField?: string | undefined;
|
|
7874
|
+
readonly descriptionField?: string | undefined;
|
|
7875
|
+
readonly lookupColumns?: (string | {
|
|
7876
|
+
field: string;
|
|
7877
|
+
label?: string | undefined;
|
|
7878
|
+
width?: string | undefined;
|
|
7879
|
+
type?: string | undefined;
|
|
7880
|
+
})[] | undefined;
|
|
7881
|
+
readonly lookupPageSize?: number | undefined;
|
|
7882
|
+
readonly lookupFilters?: {
|
|
7883
|
+
field: string;
|
|
7884
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
7885
|
+
value: any;
|
|
7886
|
+
}[] | undefined;
|
|
7887
|
+
readonly dependsOn?: (string | {
|
|
7888
|
+
field: string;
|
|
7889
|
+
param?: string | undefined;
|
|
7890
|
+
})[] | undefined;
|
|
7891
|
+
readonly allowCreate?: boolean | undefined;
|
|
7219
7892
|
readonly expression?: {
|
|
7220
7893
|
dialect: "cel" | "js" | "cron" | "template";
|
|
7221
7894
|
source?: string | undefined;
|
|
@@ -7371,6 +8044,25 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7371
8044
|
readonly relatedList?: boolean | undefined;
|
|
7372
8045
|
readonly relatedListTitle?: string | undefined;
|
|
7373
8046
|
readonly relatedListColumns?: any[] | undefined;
|
|
8047
|
+
readonly displayField?: string | undefined;
|
|
8048
|
+
readonly descriptionField?: string | undefined;
|
|
8049
|
+
readonly lookupColumns?: (string | {
|
|
8050
|
+
field: string;
|
|
8051
|
+
label?: string | undefined;
|
|
8052
|
+
width?: string | undefined;
|
|
8053
|
+
type?: string | undefined;
|
|
8054
|
+
})[] | undefined;
|
|
8055
|
+
readonly lookupPageSize?: number | undefined;
|
|
8056
|
+
readonly lookupFilters?: {
|
|
8057
|
+
field: string;
|
|
8058
|
+
operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
|
|
8059
|
+
value: any;
|
|
8060
|
+
}[] | undefined;
|
|
8061
|
+
readonly dependsOn?: (string | {
|
|
8062
|
+
field: string;
|
|
8063
|
+
param?: string | undefined;
|
|
8064
|
+
})[] | undefined;
|
|
8065
|
+
readonly allowCreate?: boolean | undefined;
|
|
7374
8066
|
readonly expression?: {
|
|
7375
8067
|
dialect: "cel" | "js" | "cron" | "template";
|
|
7376
8068
|
source?: string | undefined;
|
|
@@ -7617,8 +8309,8 @@ declare class ApprovalService implements IApprovalService {
|
|
|
7617
8309
|
*
|
|
7618
8310
|
* **Graph semantics:**
|
|
7619
8311
|
* - `team` → flat members of `sys_team` (better-auth; no BFS)
|
|
7620
|
-
* - `department` → recursive BFS of `
|
|
7621
|
-
* → members of every descendant via `
|
|
8312
|
+
* - `department` → recursive BFS of `sys_business_unit.parent_business_unit_id`
|
|
8313
|
+
* → members of every descendant via `sys_business_unit_member`
|
|
7622
8314
|
* - `role` → users with `sys_member.role = value` in tenant
|
|
7623
8315
|
* - `manager` → `sys_user.manager_id` of `record[value] ?? record.owner_id`
|
|
7624
8316
|
* - `field` → literal user id stored in `record[value]`
|
|
@@ -7627,8 +8319,8 @@ declare class ApprovalService implements IApprovalService {
|
|
|
7627
8319
|
private expandApprovers;
|
|
7628
8320
|
/** Flat team — `sys_team` is better-auth's collaboration grouping (no hierarchy). */
|
|
7629
8321
|
private expandTeamUsers;
|
|
7630
|
-
/** Recursive department — walks `
|
|
7631
|
-
private
|
|
8322
|
+
/** Recursive department — walks `sys_business_unit.parent_business_unit_id`. */
|
|
8323
|
+
private expandBusinessUnitUsers;
|
|
7632
8324
|
private expandRoleUsers;
|
|
7633
8325
|
private lookupManager;
|
|
7634
8326
|
/** Mirror a request status onto a business-object field, if configured. */
|