@evoke-platform/context 1.5.0-testing.4 → 1.5.0-testing.6
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/objects/objects.d.ts +28 -2
- package/package.json +1 -1
|
@@ -15,7 +15,10 @@ export type EvokeForm = {
|
|
|
15
15
|
};
|
|
16
16
|
export type BaseObjReference = {
|
|
17
17
|
objectId: string;
|
|
18
|
-
discriminatorValue
|
|
18
|
+
discriminatorValue: unknown;
|
|
19
|
+
};
|
|
20
|
+
export type SystemObjReference = {
|
|
21
|
+
objectId: string;
|
|
19
22
|
};
|
|
20
23
|
export type ViewLayoutEntityReference = {
|
|
21
24
|
id: string;
|
|
@@ -28,6 +31,7 @@ type ViewLayoutEntity = {
|
|
|
28
31
|
};
|
|
29
32
|
export type TableViewLayoutEntity = ViewLayoutEntity & TableViewLayout;
|
|
30
33
|
export type DropdownViewLayoutEntity = ViewLayoutEntity & DropdownViewLayout;
|
|
34
|
+
export type PanelViewLayoutEntity = ViewLayoutEntity & PanelViewLayout;
|
|
31
35
|
export type ViewLayout = {
|
|
32
36
|
table?: TableViewLayout;
|
|
33
37
|
dropdown?: DropdownViewLayout;
|
|
@@ -44,6 +48,22 @@ export type TableViewLayout = {
|
|
|
44
48
|
properties: PropertyReference[];
|
|
45
49
|
sort?: Sort;
|
|
46
50
|
};
|
|
51
|
+
export type ViewSection = {
|
|
52
|
+
entries?: ViewEntry[];
|
|
53
|
+
};
|
|
54
|
+
export type ViewSections = {
|
|
55
|
+
sections: ViewSection[];
|
|
56
|
+
};
|
|
57
|
+
export type ViewColumn = {
|
|
58
|
+
entries?: ViewEntry[];
|
|
59
|
+
};
|
|
60
|
+
export type ViewColumns = {
|
|
61
|
+
columns: ViewColumn[];
|
|
62
|
+
};
|
|
63
|
+
export type ViewEntry = ReadonlyField | ViewSections | ViewColumns;
|
|
64
|
+
export type PanelViewLayout = {
|
|
65
|
+
entries: ViewEntry[];
|
|
66
|
+
};
|
|
47
67
|
export type PropertyReference = {
|
|
48
68
|
id: string;
|
|
49
69
|
format?: string;
|
|
@@ -58,7 +78,7 @@ export type Obj = {
|
|
|
58
78
|
description?: string;
|
|
59
79
|
typeDiscriminatorProperty?: string;
|
|
60
80
|
viewLayout?: ViewLayout;
|
|
61
|
-
baseObject?: BaseObjReference;
|
|
81
|
+
baseObject?: BaseObjReference | SystemObjReference;
|
|
62
82
|
properties?: Property[];
|
|
63
83
|
actions?: Action[];
|
|
64
84
|
formId?: string;
|
|
@@ -114,6 +134,12 @@ export type Property = {
|
|
|
114
134
|
validation?: PropertyValidation;
|
|
115
135
|
manyToManyPropertyId?: string;
|
|
116
136
|
textTransform?: 'titleCase' | 'upperCase' | 'lowerCase' | 'sentenceCase';
|
|
137
|
+
protection?: PropertyProtection;
|
|
138
|
+
};
|
|
139
|
+
export type PropertyProtection = {
|
|
140
|
+
maskChar: string;
|
|
141
|
+
preserveFirst?: number;
|
|
142
|
+
preserveLast?: number;
|
|
117
143
|
};
|
|
118
144
|
export type ActionType = 'create' | 'update' | 'delete';
|
|
119
145
|
export type InputStringValidation = StringValidation & {
|