@evoke-platform/context 1.0.0-dev.117 → 1.0.0-dev.119
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.
|
@@ -62,10 +62,7 @@ export type CriteriaValidation = {
|
|
|
62
62
|
};
|
|
63
63
|
export type StringValidation = {
|
|
64
64
|
operator: 'any' | 'all';
|
|
65
|
-
rules?:
|
|
66
|
-
regex: string;
|
|
67
|
-
errorMessage?: string;
|
|
68
|
-
}[];
|
|
65
|
+
rules?: RegexValidation[];
|
|
69
66
|
};
|
|
70
67
|
export type DocumentValidation = {
|
|
71
68
|
errorMessage?: string;
|
|
@@ -125,7 +122,7 @@ export type ObjectInstance = {
|
|
|
125
122
|
};
|
|
126
123
|
export type RegexValidation = {
|
|
127
124
|
regex: string;
|
|
128
|
-
errorMessage
|
|
125
|
+
errorMessage?: string;
|
|
129
126
|
};
|
|
130
127
|
export type SelectOption = {
|
|
131
128
|
label: string;
|
|
@@ -205,7 +202,7 @@ export type ActionInput = {
|
|
|
205
202
|
label?: string;
|
|
206
203
|
type?: ActionInputType;
|
|
207
204
|
key?: string;
|
|
208
|
-
initialValue?: string | number | SelectOption[] | SelectOption;
|
|
205
|
+
initialValue?: string | string[] | number | RelatedObjectDefaultValue | SelectOption[] | SelectOption;
|
|
209
206
|
defaultToCurrentDate?: boolean;
|
|
210
207
|
defaultToCurrentTime?: boolean;
|
|
211
208
|
defaultValueCriteria?: object;
|
|
@@ -242,9 +239,9 @@ export type ActionInput = {
|
|
|
242
239
|
when?: string;
|
|
243
240
|
eq?: string | number | boolean;
|
|
244
241
|
};
|
|
245
|
-
property?:
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
property?: InputParameter;
|
|
243
|
+
viewLayout?: ViewLayoutEntityReference;
|
|
244
|
+
documentMetadata?: Record<string, string>;
|
|
248
245
|
validate?: {
|
|
249
246
|
required?: boolean;
|
|
250
247
|
criteria?: object;
|
|
@@ -258,6 +255,8 @@ export type ActionInput = {
|
|
|
258
255
|
maxTime?: string;
|
|
259
256
|
min?: number;
|
|
260
257
|
max?: number;
|
|
258
|
+
minDocuments?: number;
|
|
259
|
+
maxDocuments?: number;
|
|
261
260
|
customMessage?: string;
|
|
262
261
|
};
|
|
263
262
|
/**
|