@evoke-platform/context 1.5.0-testing.5 → 1.5.0-testing.7
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 +23 -0
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ type ViewLayoutEntity = {
|
|
|
31
31
|
};
|
|
32
32
|
export type TableViewLayoutEntity = ViewLayoutEntity & TableViewLayout;
|
|
33
33
|
export type DropdownViewLayoutEntity = ViewLayoutEntity & DropdownViewLayout;
|
|
34
|
+
export type PanelViewLayoutEntity = ViewLayoutEntity & PanelViewLayout;
|
|
34
35
|
export type ViewLayout = {
|
|
35
36
|
table?: TableViewLayout;
|
|
36
37
|
dropdown?: DropdownViewLayout;
|
|
@@ -47,6 +48,22 @@ export type TableViewLayout = {
|
|
|
47
48
|
properties: PropertyReference[];
|
|
48
49
|
sort?: Sort;
|
|
49
50
|
};
|
|
51
|
+
export type PanelViewSection = {
|
|
52
|
+
entries?: PanelViewEntry[];
|
|
53
|
+
};
|
|
54
|
+
export type PanelViewSections = {
|
|
55
|
+
sections: PanelViewSection[];
|
|
56
|
+
};
|
|
57
|
+
export type PanelViewColumn = {
|
|
58
|
+
entries?: PanelViewEntry[];
|
|
59
|
+
};
|
|
60
|
+
export type PanelViewColumns = {
|
|
61
|
+
columns: PanelViewColumn[];
|
|
62
|
+
};
|
|
63
|
+
export type PanelViewEntry = ReadonlyField | PanelViewSections | PanelViewColumns | Content;
|
|
64
|
+
export type PanelViewLayout = {
|
|
65
|
+
entries: PanelViewEntry[];
|
|
66
|
+
};
|
|
50
67
|
export type PropertyReference = {
|
|
51
68
|
id: string;
|
|
52
69
|
format?: string;
|
|
@@ -117,6 +134,12 @@ export type Property = {
|
|
|
117
134
|
validation?: PropertyValidation;
|
|
118
135
|
manyToManyPropertyId?: string;
|
|
119
136
|
textTransform?: 'titleCase' | 'upperCase' | 'lowerCase' | 'sentenceCase';
|
|
137
|
+
protection?: PropertyProtection;
|
|
138
|
+
};
|
|
139
|
+
export type PropertyProtection = {
|
|
140
|
+
maskChar: string;
|
|
141
|
+
preserveFirst?: number;
|
|
142
|
+
preserveLast?: number;
|
|
120
143
|
};
|
|
121
144
|
export type ActionType = 'create' | 'update' | 'delete';
|
|
122
145
|
export type InputStringValidation = StringValidation & {
|