@evoke-platform/context 1.0.0-dev.109 → 1.0.0-dev.110
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.
|
@@ -35,7 +35,7 @@ export type Obj = {
|
|
|
35
35
|
export type ObjWithRoot = Obj & {
|
|
36
36
|
rootObjectId: string;
|
|
37
37
|
};
|
|
38
|
-
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'date' | 'date-time' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
38
|
+
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'date' | 'date-time' | 'document' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
39
39
|
export type NumericValidation = {
|
|
40
40
|
errorMessage?: string;
|
|
41
41
|
minimum?: number;
|
|
@@ -56,7 +56,12 @@ export type StringValidation = {
|
|
|
56
56
|
errorMessage?: string;
|
|
57
57
|
}[];
|
|
58
58
|
};
|
|
59
|
-
export type
|
|
59
|
+
export type DocumentValidation = {
|
|
60
|
+
errorMessage?: string;
|
|
61
|
+
maxDocuments?: number;
|
|
62
|
+
minDocuments?: number;
|
|
63
|
+
};
|
|
64
|
+
export type PropertyValidation = StringValidation | NumericValidation | DateValidation | CriteriaValidation | DocumentValidation;
|
|
60
65
|
export type Property = {
|
|
61
66
|
id: string;
|
|
62
67
|
name: string;
|
|
@@ -150,6 +155,7 @@ export type InputParameterReference = {
|
|
|
150
155
|
parameterId: string;
|
|
151
156
|
display?: DisplayConfiguration;
|
|
152
157
|
enumWithLabels?: SelectOption[];
|
|
158
|
+
documentMetadata?: Record<string, string>;
|
|
153
159
|
};
|
|
154
160
|
export type Content = {
|
|
155
161
|
type: 'content';
|