@evoke-platform/context 1.0.0-dev.125 → 1.0.0-dev.127
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.
|
@@ -19,8 +19,13 @@ export type ViewLayout = {
|
|
|
19
19
|
table?: TableViewLayout;
|
|
20
20
|
dropdown?: DropdownViewLayout;
|
|
21
21
|
};
|
|
22
|
+
export type DropdownViewLayoutSort = {
|
|
23
|
+
propertyId: string;
|
|
24
|
+
direction?: 'asc' | 'desc';
|
|
25
|
+
};
|
|
22
26
|
export type DropdownViewLayout = {
|
|
23
27
|
secondaryTextExpression: string;
|
|
28
|
+
sort?: DropdownViewLayoutSort;
|
|
24
29
|
};
|
|
25
30
|
export type TableViewLayout = {
|
|
26
31
|
properties: PropertyReference[];
|
|
@@ -46,7 +51,7 @@ export type Obj = {
|
|
|
46
51
|
export type ObjWithRoot = Obj & {
|
|
47
52
|
rootObjectId: string;
|
|
48
53
|
};
|
|
49
|
-
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'date' | 'date-time' | 'document' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
54
|
+
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'criteria' | 'date' | 'date-time' | 'document' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
50
55
|
export type NumericValidation = {
|
|
51
56
|
errorMessage?: string;
|
|
52
57
|
minimum?: number;
|
|
@@ -197,7 +202,7 @@ export type FormEntry = InputParameterReference | Columns | Sections | Content;
|
|
|
197
202
|
export type Form = {
|
|
198
203
|
entries?: FormEntry[];
|
|
199
204
|
};
|
|
200
|
-
export type ActionInputType = 'button' | 'Section' | 'Columns' | 'Content' | 'Select' | 'TextField' | 'DateTime' | 'Document' | 'RepeatableField' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Decimal' | 'RichText' | 'Date' | 'Integer' | 'Image' | 'Object' | 'Time' | 'User';
|
|
205
|
+
export type ActionInputType = 'button' | 'Section' | 'Columns' | 'Content' | 'Criteria' | 'Select' | 'TextField' | 'DateTime' | 'Document' | 'RepeatableField' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Decimal' | 'RichText' | 'Date' | 'Integer' | 'Image' | 'Object' | 'Time' | 'User';
|
|
201
206
|
/**
|
|
202
207
|
* Represents an object action inputProperty object.
|
|
203
208
|
*/
|