@objectstack/metadata-core 9.2.0 → 9.4.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/dist/index.cjs +12 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +137 -5
- package/dist/index.d.ts +137 -5
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -690,6 +690,37 @@ declare const SysMetadataObject: Omit<{
|
|
|
690
690
|
}[] | undefined;
|
|
691
691
|
searchableFields?: string[] | undefined;
|
|
692
692
|
filterableFields?: string[] | undefined;
|
|
693
|
+
userFilters?: {
|
|
694
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
695
|
+
fields?: {
|
|
696
|
+
field: string;
|
|
697
|
+
label?: string | undefined;
|
|
698
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
699
|
+
options?: {
|
|
700
|
+
value: string | number | boolean;
|
|
701
|
+
label: string;
|
|
702
|
+
color?: string | undefined;
|
|
703
|
+
}[] | undefined;
|
|
704
|
+
showCount?: boolean | undefined;
|
|
705
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
706
|
+
}[] | undefined;
|
|
707
|
+
tabs?: {
|
|
708
|
+
name: string;
|
|
709
|
+
pinned: boolean;
|
|
710
|
+
isDefault: boolean;
|
|
711
|
+
visible: boolean;
|
|
712
|
+
label?: string | undefined;
|
|
713
|
+
icon?: string | undefined;
|
|
714
|
+
view?: string | undefined;
|
|
715
|
+
filter?: {
|
|
716
|
+
field: string;
|
|
717
|
+
operator: string;
|
|
718
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
719
|
+
}[] | undefined;
|
|
720
|
+
order?: number | undefined;
|
|
721
|
+
}[] | undefined;
|
|
722
|
+
showAllRecords?: boolean | undefined;
|
|
723
|
+
} | undefined;
|
|
693
724
|
resizable?: boolean | undefined;
|
|
694
725
|
striped?: boolean | undefined;
|
|
695
726
|
bordered?: boolean | undefined;
|
|
@@ -802,7 +833,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
802
833
|
} | undefined;
|
|
803
834
|
appearance?: {
|
|
804
835
|
showDescription: boolean;
|
|
805
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
836
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
806
837
|
} | undefined;
|
|
807
838
|
tabs?: {
|
|
808
839
|
name: string;
|
|
@@ -996,6 +1027,8 @@ declare const SysMetadataObject: Omit<{
|
|
|
996
1027
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
997
1028
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
998
1029
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
1030
|
+
opensInNewTab?: boolean | undefined;
|
|
1031
|
+
newTabUrl?: string | undefined;
|
|
999
1032
|
timeout?: number | undefined;
|
|
1000
1033
|
aria?: {
|
|
1001
1034
|
ariaLabel?: string | undefined;
|
|
@@ -5878,7 +5911,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
5878
5911
|
};
|
|
5879
5912
|
readonly indexes: [{
|
|
5880
5913
|
readonly name: "idx_sys_metadata_overlay_active";
|
|
5881
|
-
readonly fields: ["type", "name", "organization_id"];
|
|
5914
|
+
readonly fields: ["type", "name", "organization_id", "package_id"];
|
|
5882
5915
|
readonly unique: true;
|
|
5883
5916
|
readonly partial: "state = 'active'";
|
|
5884
5917
|
}, {
|
|
@@ -6433,6 +6466,37 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6433
6466
|
}[] | undefined;
|
|
6434
6467
|
searchableFields?: string[] | undefined;
|
|
6435
6468
|
filterableFields?: string[] | undefined;
|
|
6469
|
+
userFilters?: {
|
|
6470
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
6471
|
+
fields?: {
|
|
6472
|
+
field: string;
|
|
6473
|
+
label?: string | undefined;
|
|
6474
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
6475
|
+
options?: {
|
|
6476
|
+
value: string | number | boolean;
|
|
6477
|
+
label: string;
|
|
6478
|
+
color?: string | undefined;
|
|
6479
|
+
}[] | undefined;
|
|
6480
|
+
showCount?: boolean | undefined;
|
|
6481
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
6482
|
+
}[] | undefined;
|
|
6483
|
+
tabs?: {
|
|
6484
|
+
name: string;
|
|
6485
|
+
pinned: boolean;
|
|
6486
|
+
isDefault: boolean;
|
|
6487
|
+
visible: boolean;
|
|
6488
|
+
label?: string | undefined;
|
|
6489
|
+
icon?: string | undefined;
|
|
6490
|
+
view?: string | undefined;
|
|
6491
|
+
filter?: {
|
|
6492
|
+
field: string;
|
|
6493
|
+
operator: string;
|
|
6494
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
6495
|
+
}[] | undefined;
|
|
6496
|
+
order?: number | undefined;
|
|
6497
|
+
}[] | undefined;
|
|
6498
|
+
showAllRecords?: boolean | undefined;
|
|
6499
|
+
} | undefined;
|
|
6436
6500
|
resizable?: boolean | undefined;
|
|
6437
6501
|
striped?: boolean | undefined;
|
|
6438
6502
|
bordered?: boolean | undefined;
|
|
@@ -6545,7 +6609,7 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6545
6609
|
} | undefined;
|
|
6546
6610
|
appearance?: {
|
|
6547
6611
|
showDescription: boolean;
|
|
6548
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
6612
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
6549
6613
|
} | undefined;
|
|
6550
6614
|
tabs?: {
|
|
6551
6615
|
name: string;
|
|
@@ -6739,6 +6803,8 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6739
6803
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
6740
6804
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
6741
6805
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
6806
|
+
opensInNewTab?: boolean | undefined;
|
|
6807
|
+
newTabUrl?: string | undefined;
|
|
6742
6808
|
timeout?: number | undefined;
|
|
6743
6809
|
aria?: {
|
|
6744
6810
|
ariaLabel?: string | undefined;
|
|
@@ -10206,6 +10272,37 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10206
10272
|
}[] | undefined;
|
|
10207
10273
|
searchableFields?: string[] | undefined;
|
|
10208
10274
|
filterableFields?: string[] | undefined;
|
|
10275
|
+
userFilters?: {
|
|
10276
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
10277
|
+
fields?: {
|
|
10278
|
+
field: string;
|
|
10279
|
+
label?: string | undefined;
|
|
10280
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
10281
|
+
options?: {
|
|
10282
|
+
value: string | number | boolean;
|
|
10283
|
+
label: string;
|
|
10284
|
+
color?: string | undefined;
|
|
10285
|
+
}[] | undefined;
|
|
10286
|
+
showCount?: boolean | undefined;
|
|
10287
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
10288
|
+
}[] | undefined;
|
|
10289
|
+
tabs?: {
|
|
10290
|
+
name: string;
|
|
10291
|
+
pinned: boolean;
|
|
10292
|
+
isDefault: boolean;
|
|
10293
|
+
visible: boolean;
|
|
10294
|
+
label?: string | undefined;
|
|
10295
|
+
icon?: string | undefined;
|
|
10296
|
+
view?: string | undefined;
|
|
10297
|
+
filter?: {
|
|
10298
|
+
field: string;
|
|
10299
|
+
operator: string;
|
|
10300
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
10301
|
+
}[] | undefined;
|
|
10302
|
+
order?: number | undefined;
|
|
10303
|
+
}[] | undefined;
|
|
10304
|
+
showAllRecords?: boolean | undefined;
|
|
10305
|
+
} | undefined;
|
|
10209
10306
|
resizable?: boolean | undefined;
|
|
10210
10307
|
striped?: boolean | undefined;
|
|
10211
10308
|
bordered?: boolean | undefined;
|
|
@@ -10318,7 +10415,7 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10318
10415
|
} | undefined;
|
|
10319
10416
|
appearance?: {
|
|
10320
10417
|
showDescription: boolean;
|
|
10321
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
10418
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
10322
10419
|
} | undefined;
|
|
10323
10420
|
tabs?: {
|
|
10324
10421
|
name: string;
|
|
@@ -10512,6 +10609,8 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10512
10609
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
10513
10610
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
10514
10611
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
10612
|
+
opensInNewTab?: boolean | undefined;
|
|
10613
|
+
newTabUrl?: string | undefined;
|
|
10515
10614
|
timeout?: number | undefined;
|
|
10516
10615
|
aria?: {
|
|
10517
10616
|
ariaLabel?: string | undefined;
|
|
@@ -13971,6 +14070,37 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
13971
14070
|
}[] | undefined;
|
|
13972
14071
|
searchableFields?: string[] | undefined;
|
|
13973
14072
|
filterableFields?: string[] | undefined;
|
|
14073
|
+
userFilters?: {
|
|
14074
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
14075
|
+
fields?: {
|
|
14076
|
+
field: string;
|
|
14077
|
+
label?: string | undefined;
|
|
14078
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
14079
|
+
options?: {
|
|
14080
|
+
value: string | number | boolean;
|
|
14081
|
+
label: string;
|
|
14082
|
+
color?: string | undefined;
|
|
14083
|
+
}[] | undefined;
|
|
14084
|
+
showCount?: boolean | undefined;
|
|
14085
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
14086
|
+
}[] | undefined;
|
|
14087
|
+
tabs?: {
|
|
14088
|
+
name: string;
|
|
14089
|
+
pinned: boolean;
|
|
14090
|
+
isDefault: boolean;
|
|
14091
|
+
visible: boolean;
|
|
14092
|
+
label?: string | undefined;
|
|
14093
|
+
icon?: string | undefined;
|
|
14094
|
+
view?: string | undefined;
|
|
14095
|
+
filter?: {
|
|
14096
|
+
field: string;
|
|
14097
|
+
operator: string;
|
|
14098
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
14099
|
+
}[] | undefined;
|
|
14100
|
+
order?: number | undefined;
|
|
14101
|
+
}[] | undefined;
|
|
14102
|
+
showAllRecords?: boolean | undefined;
|
|
14103
|
+
} | undefined;
|
|
13974
14104
|
resizable?: boolean | undefined;
|
|
13975
14105
|
striped?: boolean | undefined;
|
|
13976
14106
|
bordered?: boolean | undefined;
|
|
@@ -14083,7 +14213,7 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
14083
14213
|
} | undefined;
|
|
14084
14214
|
appearance?: {
|
|
14085
14215
|
showDescription: boolean;
|
|
14086
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
14216
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
14087
14217
|
} | undefined;
|
|
14088
14218
|
tabs?: {
|
|
14089
14219
|
name: string;
|
|
@@ -14277,6 +14407,8 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
14277
14407
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
14278
14408
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
14279
14409
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
14410
|
+
opensInNewTab?: boolean | undefined;
|
|
14411
|
+
newTabUrl?: string | undefined;
|
|
14280
14412
|
timeout?: number | undefined;
|
|
14281
14413
|
aria?: {
|
|
14282
14414
|
ariaLabel?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -690,6 +690,37 @@ declare const SysMetadataObject: Omit<{
|
|
|
690
690
|
}[] | undefined;
|
|
691
691
|
searchableFields?: string[] | undefined;
|
|
692
692
|
filterableFields?: string[] | undefined;
|
|
693
|
+
userFilters?: {
|
|
694
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
695
|
+
fields?: {
|
|
696
|
+
field: string;
|
|
697
|
+
label?: string | undefined;
|
|
698
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
699
|
+
options?: {
|
|
700
|
+
value: string | number | boolean;
|
|
701
|
+
label: string;
|
|
702
|
+
color?: string | undefined;
|
|
703
|
+
}[] | undefined;
|
|
704
|
+
showCount?: boolean | undefined;
|
|
705
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
706
|
+
}[] | undefined;
|
|
707
|
+
tabs?: {
|
|
708
|
+
name: string;
|
|
709
|
+
pinned: boolean;
|
|
710
|
+
isDefault: boolean;
|
|
711
|
+
visible: boolean;
|
|
712
|
+
label?: string | undefined;
|
|
713
|
+
icon?: string | undefined;
|
|
714
|
+
view?: string | undefined;
|
|
715
|
+
filter?: {
|
|
716
|
+
field: string;
|
|
717
|
+
operator: string;
|
|
718
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
719
|
+
}[] | undefined;
|
|
720
|
+
order?: number | undefined;
|
|
721
|
+
}[] | undefined;
|
|
722
|
+
showAllRecords?: boolean | undefined;
|
|
723
|
+
} | undefined;
|
|
693
724
|
resizable?: boolean | undefined;
|
|
694
725
|
striped?: boolean | undefined;
|
|
695
726
|
bordered?: boolean | undefined;
|
|
@@ -802,7 +833,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
802
833
|
} | undefined;
|
|
803
834
|
appearance?: {
|
|
804
835
|
showDescription: boolean;
|
|
805
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
836
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
806
837
|
} | undefined;
|
|
807
838
|
tabs?: {
|
|
808
839
|
name: string;
|
|
@@ -996,6 +1027,8 @@ declare const SysMetadataObject: Omit<{
|
|
|
996
1027
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
997
1028
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
998
1029
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
1030
|
+
opensInNewTab?: boolean | undefined;
|
|
1031
|
+
newTabUrl?: string | undefined;
|
|
999
1032
|
timeout?: number | undefined;
|
|
1000
1033
|
aria?: {
|
|
1001
1034
|
ariaLabel?: string | undefined;
|
|
@@ -5878,7 +5911,7 @@ declare const SysMetadataObject: Omit<{
|
|
|
5878
5911
|
};
|
|
5879
5912
|
readonly indexes: [{
|
|
5880
5913
|
readonly name: "idx_sys_metadata_overlay_active";
|
|
5881
|
-
readonly fields: ["type", "name", "organization_id"];
|
|
5914
|
+
readonly fields: ["type", "name", "organization_id", "package_id"];
|
|
5882
5915
|
readonly unique: true;
|
|
5883
5916
|
readonly partial: "state = 'active'";
|
|
5884
5917
|
}, {
|
|
@@ -6433,6 +6466,37 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6433
6466
|
}[] | undefined;
|
|
6434
6467
|
searchableFields?: string[] | undefined;
|
|
6435
6468
|
filterableFields?: string[] | undefined;
|
|
6469
|
+
userFilters?: {
|
|
6470
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
6471
|
+
fields?: {
|
|
6472
|
+
field: string;
|
|
6473
|
+
label?: string | undefined;
|
|
6474
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
6475
|
+
options?: {
|
|
6476
|
+
value: string | number | boolean;
|
|
6477
|
+
label: string;
|
|
6478
|
+
color?: string | undefined;
|
|
6479
|
+
}[] | undefined;
|
|
6480
|
+
showCount?: boolean | undefined;
|
|
6481
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
6482
|
+
}[] | undefined;
|
|
6483
|
+
tabs?: {
|
|
6484
|
+
name: string;
|
|
6485
|
+
pinned: boolean;
|
|
6486
|
+
isDefault: boolean;
|
|
6487
|
+
visible: boolean;
|
|
6488
|
+
label?: string | undefined;
|
|
6489
|
+
icon?: string | undefined;
|
|
6490
|
+
view?: string | undefined;
|
|
6491
|
+
filter?: {
|
|
6492
|
+
field: string;
|
|
6493
|
+
operator: string;
|
|
6494
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
6495
|
+
}[] | undefined;
|
|
6496
|
+
order?: number | undefined;
|
|
6497
|
+
}[] | undefined;
|
|
6498
|
+
showAllRecords?: boolean | undefined;
|
|
6499
|
+
} | undefined;
|
|
6436
6500
|
resizable?: boolean | undefined;
|
|
6437
6501
|
striped?: boolean | undefined;
|
|
6438
6502
|
bordered?: boolean | undefined;
|
|
@@ -6545,7 +6609,7 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6545
6609
|
} | undefined;
|
|
6546
6610
|
appearance?: {
|
|
6547
6611
|
showDescription: boolean;
|
|
6548
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
6612
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
6549
6613
|
} | undefined;
|
|
6550
6614
|
tabs?: {
|
|
6551
6615
|
name: string;
|
|
@@ -6739,6 +6803,8 @@ declare const SysMetadataHistoryObject: Omit<{
|
|
|
6739
6803
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
6740
6804
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
6741
6805
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
6806
|
+
opensInNewTab?: boolean | undefined;
|
|
6807
|
+
newTabUrl?: string | undefined;
|
|
6742
6808
|
timeout?: number | undefined;
|
|
6743
6809
|
aria?: {
|
|
6744
6810
|
ariaLabel?: string | undefined;
|
|
@@ -10206,6 +10272,37 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10206
10272
|
}[] | undefined;
|
|
10207
10273
|
searchableFields?: string[] | undefined;
|
|
10208
10274
|
filterableFields?: string[] | undefined;
|
|
10275
|
+
userFilters?: {
|
|
10276
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
10277
|
+
fields?: {
|
|
10278
|
+
field: string;
|
|
10279
|
+
label?: string | undefined;
|
|
10280
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
10281
|
+
options?: {
|
|
10282
|
+
value: string | number | boolean;
|
|
10283
|
+
label: string;
|
|
10284
|
+
color?: string | undefined;
|
|
10285
|
+
}[] | undefined;
|
|
10286
|
+
showCount?: boolean | undefined;
|
|
10287
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
10288
|
+
}[] | undefined;
|
|
10289
|
+
tabs?: {
|
|
10290
|
+
name: string;
|
|
10291
|
+
pinned: boolean;
|
|
10292
|
+
isDefault: boolean;
|
|
10293
|
+
visible: boolean;
|
|
10294
|
+
label?: string | undefined;
|
|
10295
|
+
icon?: string | undefined;
|
|
10296
|
+
view?: string | undefined;
|
|
10297
|
+
filter?: {
|
|
10298
|
+
field: string;
|
|
10299
|
+
operator: string;
|
|
10300
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
10301
|
+
}[] | undefined;
|
|
10302
|
+
order?: number | undefined;
|
|
10303
|
+
}[] | undefined;
|
|
10304
|
+
showAllRecords?: boolean | undefined;
|
|
10305
|
+
} | undefined;
|
|
10209
10306
|
resizable?: boolean | undefined;
|
|
10210
10307
|
striped?: boolean | undefined;
|
|
10211
10308
|
bordered?: boolean | undefined;
|
|
@@ -10318,7 +10415,7 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10318
10415
|
} | undefined;
|
|
10319
10416
|
appearance?: {
|
|
10320
10417
|
showDescription: boolean;
|
|
10321
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
10418
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
10322
10419
|
} | undefined;
|
|
10323
10420
|
tabs?: {
|
|
10324
10421
|
name: string;
|
|
@@ -10512,6 +10609,8 @@ declare const SysMetadataAuditObject: Omit<{
|
|
|
10512
10609
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
10513
10610
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
10514
10611
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
10612
|
+
opensInNewTab?: boolean | undefined;
|
|
10613
|
+
newTabUrl?: string | undefined;
|
|
10515
10614
|
timeout?: number | undefined;
|
|
10516
10615
|
aria?: {
|
|
10517
10616
|
ariaLabel?: string | undefined;
|
|
@@ -13971,6 +14070,37 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
13971
14070
|
}[] | undefined;
|
|
13972
14071
|
searchableFields?: string[] | undefined;
|
|
13973
14072
|
filterableFields?: string[] | undefined;
|
|
14073
|
+
userFilters?: {
|
|
14074
|
+
element: "toggle" | "tabs" | "dropdown";
|
|
14075
|
+
fields?: {
|
|
14076
|
+
field: string;
|
|
14077
|
+
label?: string | undefined;
|
|
14078
|
+
type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
|
|
14079
|
+
options?: {
|
|
14080
|
+
value: string | number | boolean;
|
|
14081
|
+
label: string;
|
|
14082
|
+
color?: string | undefined;
|
|
14083
|
+
}[] | undefined;
|
|
14084
|
+
showCount?: boolean | undefined;
|
|
14085
|
+
defaultValues?: (string | number | boolean)[] | undefined;
|
|
14086
|
+
}[] | undefined;
|
|
14087
|
+
tabs?: {
|
|
14088
|
+
name: string;
|
|
14089
|
+
pinned: boolean;
|
|
14090
|
+
isDefault: boolean;
|
|
14091
|
+
visible: boolean;
|
|
14092
|
+
label?: string | undefined;
|
|
14093
|
+
icon?: string | undefined;
|
|
14094
|
+
view?: string | undefined;
|
|
14095
|
+
filter?: {
|
|
14096
|
+
field: string;
|
|
14097
|
+
operator: string;
|
|
14098
|
+
value?: string | number | boolean | (string | number)[] | null | undefined;
|
|
14099
|
+
}[] | undefined;
|
|
14100
|
+
order?: number | undefined;
|
|
14101
|
+
}[] | undefined;
|
|
14102
|
+
showAllRecords?: boolean | undefined;
|
|
14103
|
+
} | undefined;
|
|
13974
14104
|
resizable?: boolean | undefined;
|
|
13975
14105
|
striped?: boolean | undefined;
|
|
13976
14106
|
bordered?: boolean | undefined;
|
|
@@ -14083,7 +14213,7 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
14083
14213
|
} | undefined;
|
|
14084
14214
|
appearance?: {
|
|
14085
14215
|
showDescription: boolean;
|
|
14086
|
-
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline")[] | undefined;
|
|
14216
|
+
allowedVisualizations?: ("map" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
|
|
14087
14217
|
} | undefined;
|
|
14088
14218
|
tabs?: {
|
|
14089
14219
|
name: string;
|
|
@@ -14277,6 +14407,8 @@ declare const SysViewDefinitionObject: Omit<{
|
|
|
14277
14407
|
method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
|
|
14278
14408
|
bodyExtra?: Record<string, unknown> | undefined;
|
|
14279
14409
|
mode?: "custom" | "delete" | "edit" | "create" | undefined;
|
|
14410
|
+
opensInNewTab?: boolean | undefined;
|
|
14411
|
+
newTabUrl?: string | undefined;
|
|
14280
14412
|
timeout?: number | undefined;
|
|
14281
14413
|
aria?: {
|
|
14282
14414
|
ariaLabel?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -782,15 +782,20 @@ var SysMetadataObject = ObjectSchema.create({
|
|
|
782
782
|
})
|
|
783
783
|
},
|
|
784
784
|
indexes: [
|
|
785
|
-
// ADR-0005 (revised 2026-05): overlay uniqueness is scoped by
|
|
786
|
-
// (type, name, organization_id), restricted to active rows so
|
|
787
|
-
// / archived versions don't collide.
|
|
788
|
-
//
|
|
789
|
-
//
|
|
790
|
-
//
|
|
785
|
+
// ADR-0005 (revised 2026-05) + ADR-0048: overlay uniqueness is scoped by
|
|
786
|
+
// (type, name, organization_id, package_id), restricted to active rows so
|
|
787
|
+
// resets / archived versions don't collide. `package_id` is part of the
|
|
788
|
+
// discriminator so two installed packages shipping the same `type`/`name`
|
|
789
|
+
// each get their OWN customization row (a package-less / global overlay
|
|
790
|
+
// uses NULL). environment_id is deprecated and not part of the
|
|
791
|
+
// discriminator. The runtime layer (protocol.ts ensureOverlayIndex) issues
|
|
792
|
+
// a DROP-then-CREATE migration that uses `COALESCE(package_id,'')` so the
|
|
793
|
+
// package-less rows stay unique among themselves (SQLite treats NULLs as
|
|
794
|
+
// distinct in a plain unique index); this declaration is the fallback shape
|
|
795
|
+
// for drivers without the runtime migration.
|
|
791
796
|
{
|
|
792
797
|
name: "idx_sys_metadata_overlay_active",
|
|
793
|
-
fields: ["type", "name", "organization_id"],
|
|
798
|
+
fields: ["type", "name", "organization_id", "package_id"],
|
|
794
799
|
unique: true,
|
|
795
800
|
partial: "state = 'active'"
|
|
796
801
|
},
|