@evoke-platform/context 1.6.0 → 1.7.0-dev.1
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.
|
@@ -87,7 +87,7 @@ export type Obj = {
|
|
|
87
87
|
export type ObjWithRoot = Obj & {
|
|
88
88
|
rootObjectId: string;
|
|
89
89
|
};
|
|
90
|
-
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'criteria' | 'date' | 'date-time' | 'document' | 'fileContent' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
90
|
+
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'criteria' | 'date' | 'date-time' | 'document' | 'file' | 'fileContent' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
91
91
|
export type NumericValidation = {
|
|
92
92
|
errorMessage?: string;
|
|
93
93
|
minimum?: number;
|
|
@@ -238,6 +238,10 @@ export type DisplayConfiguration = {
|
|
|
238
238
|
createFormId?: string;
|
|
239
239
|
updateFormId?: string;
|
|
240
240
|
deleteFormId?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Criteria to filter related object options in case of dynamic related object references.
|
|
243
|
+
*/
|
|
244
|
+
criteria?: Record<string, unknown>;
|
|
241
245
|
};
|
|
242
246
|
export type InputParameterReference = {
|
|
243
247
|
type: 'input';
|
|
@@ -285,7 +289,7 @@ export type FormEntry = InputField | InputParameterReference | ReadonlyField | S
|
|
|
285
289
|
export type Form = {
|
|
286
290
|
entries?: FormEntry[];
|
|
287
291
|
};
|
|
288
|
-
export type ActionInputType = 'button' | 'Boolean' | 'Columns' | 'Content' | 'Criteria' | 'Date' | 'DateTime' | 'Decimal' | 'Document' | 'Image' | 'Integer' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Object' | 'RepeatableField' | 'RichText' | 'Section' | 'Select' | 'TextField' | 'Time' | 'User';
|
|
292
|
+
export type ActionInputType = 'button' | 'Boolean' | 'Columns' | 'Content' | 'Criteria' | 'Date' | 'DateTime' | 'Decimal' | 'Document' | 'File' | 'Image' | 'Integer' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Object' | 'RepeatableField' | 'RichText' | 'Section' | 'Select' | 'TextField' | 'Time' | 'User';
|
|
289
293
|
/**
|
|
290
294
|
* Represents an object action inputProperty object.
|
|
291
295
|
*/
|