functional-models 2.0.13 → 2.1.0

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/lib.d.ts ADDED
@@ -0,0 +1,4039 @@
1
+ import { Arrayable, FunctionalModel, FunctionalValue, ModelInstance, PrimaryKeyType, PropertyConfig, PropertyModifier, PropertyValidatorComponent, PropertyValidatorComponentTypeAdvanced } from './interfaces';
2
+ declare const getValueForReferencedModel: (modelInstance: ModelInstance<any>, path: string) => Promise<PrimaryKeyType | any>;
3
+ declare const getValueForModelInstance: (modelInstance: ModelInstance<any>, path: string) => Promise<PrimaryKeyType | any>;
4
+ declare const isReferencedProperty: (modelInstance: ModelInstance<any>, key: string) => () => import("./interfaces").Maybe<PrimaryKeyType>;
5
+ declare const getCommonTextValidators: <TModifier extends PropertyModifier<string>>(config: PropertyConfig<TModifier>) => readonly PropertyValidatorComponent<any>[];
6
+ declare const getValidatorFromConfigElseEmpty: <T extends FunctionalModel, TValue extends FunctionalValue>(input: TValue | undefined, validatorGetter: (t: TValue) => PropertyValidatorComponent<T, Readonly<{
7
+ getName: () => string;
8
+ getSingularName: () => string;
9
+ getDisplayName: () => string;
10
+ getPrimaryKeyName: () => string;
11
+ getModelDefinition: () => Readonly<{
12
+ getPrimaryKeyName?: (() => string) | undefined;
13
+ properties: {
14
+ id?: (Readonly<{
15
+ getConfig: () => object;
16
+ getChoices: () => readonly (string | number | boolean | null)[];
17
+ getDefaultValue: () => string;
18
+ getConstantValue: () => string;
19
+ getPropertyType: () => string;
20
+ createGetter: (value: string, modelData: FunctionalModel, modelInstance: Readonly<{
21
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
22
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
23
+ };
24
+ references: Readonly<{
25
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
26
+ }>;
27
+ toObj: import("./interfaces").toObj<FunctionalModel>;
28
+ getPrimaryKeyName: () => string;
29
+ getPrimaryKey: () => PrimaryKeyType;
30
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
31
+ getName: () => string;
32
+ getSingularName: () => string;
33
+ getDisplayName: () => string;
34
+ getPrimaryKeyName: () => string;
35
+ getModelDefinition: () => Readonly<{
36
+ getPrimaryKeyName?: (() => string) | undefined;
37
+ properties: any & {
38
+ readonly [x: string]: Readonly<{
39
+ getConfig: () => object;
40
+ getChoices: () => readonly (string | number | boolean | null)[];
41
+ getDefaultValue: () => any;
42
+ getConstantValue: () => any;
43
+ getPropertyType: () => string;
44
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
45
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
46
+ }>;
47
+ readonly id?: Readonly<{
48
+ getConfig: () => object;
49
+ getChoices: () => readonly (string | number | boolean | null)[];
50
+ getDefaultValue: () => any;
51
+ getConstantValue: () => any;
52
+ getPropertyType: () => string;
53
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
54
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
55
+ }> | undefined;
56
+ };
57
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
58
+ singularName?: string | undefined;
59
+ displayName?: string | undefined;
60
+ }>;
61
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
62
+ getOptions: () => object & Readonly<{
63
+ [s: string]: any;
64
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
65
+ }>;
66
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
67
+ }>>;
68
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
69
+ getModel: () => Readonly<{
70
+ getName: () => string;
71
+ getSingularName: () => string;
72
+ getDisplayName: () => string;
73
+ getPrimaryKeyName: () => string;
74
+ getModelDefinition: () => Readonly<{
75
+ getPrimaryKeyName?: (() => string) | undefined;
76
+ properties: any & {
77
+ readonly [x: string]: Readonly<{
78
+ getConfig: () => object;
79
+ getChoices: () => readonly (string | number | boolean | null)[];
80
+ getDefaultValue: () => any;
81
+ getConstantValue: () => any;
82
+ getPropertyType: () => string;
83
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
84
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
85
+ }>;
86
+ readonly id?: Readonly<{
87
+ getConfig: () => object;
88
+ getChoices: () => readonly (string | number | boolean | null)[];
89
+ getDefaultValue: () => any;
90
+ getConstantValue: () => any;
91
+ getPropertyType: () => string;
92
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
93
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
94
+ }> | undefined;
95
+ };
96
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
97
+ singularName?: string | undefined;
98
+ displayName?: string | undefined;
99
+ }>;
100
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
101
+ getOptions: () => object & Readonly<{
102
+ [s: string]: any;
103
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
104
+ }>;
105
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
106
+ }>;
107
+ }>) => import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
108
+ getName: () => string;
109
+ getSingularName: () => string;
110
+ getDisplayName: () => string;
111
+ getPrimaryKeyName: () => string;
112
+ getModelDefinition: () => Readonly<{
113
+ getPrimaryKeyName?: (() => string) | undefined;
114
+ properties: any & {
115
+ readonly [x: string]: Readonly<{
116
+ getConfig: () => object;
117
+ getChoices: () => readonly (string | number | boolean | null)[];
118
+ getDefaultValue: () => any;
119
+ getConstantValue: () => any;
120
+ getPropertyType: () => string;
121
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
122
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
123
+ }>;
124
+ readonly id?: Readonly<{
125
+ getConfig: () => object;
126
+ getChoices: () => readonly (string | number | boolean | null)[];
127
+ getDefaultValue: () => any;
128
+ getConstantValue: () => any;
129
+ getPropertyType: () => string;
130
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
131
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
132
+ }> | undefined;
133
+ };
134
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
135
+ singularName?: string | undefined;
136
+ displayName?: string | undefined;
137
+ }>;
138
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
139
+ getOptions: () => object & Readonly<{
140
+ [s: string]: any;
141
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
142
+ }>;
143
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
144
+ }>, Readonly<{
145
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
146
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
147
+ };
148
+ references: Readonly<{
149
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
150
+ }>;
151
+ toObj: import("./interfaces").toObj<FunctionalModel>;
152
+ getPrimaryKeyName: () => string;
153
+ getPrimaryKey: () => PrimaryKeyType;
154
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
155
+ getName: () => string;
156
+ getSingularName: () => string;
157
+ getDisplayName: () => string;
158
+ getPrimaryKeyName: () => string;
159
+ getModelDefinition: () => Readonly<{
160
+ getPrimaryKeyName?: (() => string) | undefined;
161
+ properties: any & {
162
+ readonly [x: string]: Readonly<{
163
+ getConfig: () => object;
164
+ getChoices: () => readonly (string | number | boolean | null)[];
165
+ getDefaultValue: () => any;
166
+ getConstantValue: () => any;
167
+ getPropertyType: () => string;
168
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
169
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
170
+ }>;
171
+ readonly id?: Readonly<{
172
+ getConfig: () => object;
173
+ getChoices: () => readonly (string | number | boolean | null)[];
174
+ getDefaultValue: () => any;
175
+ getConstantValue: () => any;
176
+ getPropertyType: () => string;
177
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
178
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
179
+ }> | undefined;
180
+ };
181
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
182
+ singularName?: string | undefined;
183
+ displayName?: string | undefined;
184
+ }>;
185
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
186
+ getOptions: () => object & Readonly<{
187
+ [s: string]: any;
188
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
189
+ }>;
190
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
191
+ }>>;
192
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
193
+ getModel: () => Readonly<{
194
+ getName: () => string;
195
+ getSingularName: () => string;
196
+ getDisplayName: () => string;
197
+ getPrimaryKeyName: () => string;
198
+ getModelDefinition: () => Readonly<{
199
+ getPrimaryKeyName?: (() => string) | undefined;
200
+ properties: any & {
201
+ readonly [x: string]: Readonly<{
202
+ getConfig: () => object;
203
+ getChoices: () => readonly (string | number | boolean | null)[];
204
+ getDefaultValue: () => any;
205
+ getConstantValue: () => any;
206
+ getPropertyType: () => string;
207
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
208
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
209
+ }>;
210
+ readonly id?: Readonly<{
211
+ getConfig: () => object;
212
+ getChoices: () => readonly (string | number | boolean | null)[];
213
+ getDefaultValue: () => any;
214
+ getConstantValue: () => any;
215
+ getPropertyType: () => string;
216
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
217
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
218
+ }> | undefined;
219
+ };
220
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
221
+ singularName?: string | undefined;
222
+ displayName?: string | undefined;
223
+ }>;
224
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
225
+ getOptions: () => object & Readonly<{
226
+ [s: string]: any;
227
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
228
+ }>;
229
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
230
+ }>;
231
+ }>>;
232
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
233
+ getName: () => string;
234
+ getSingularName: () => string;
235
+ getDisplayName: () => string;
236
+ getPrimaryKeyName: () => string;
237
+ getModelDefinition: () => Readonly<{
238
+ getPrimaryKeyName?: (() => string) | undefined;
239
+ properties: any & {
240
+ readonly [x: string]: Readonly<{
241
+ getConfig: () => object;
242
+ getChoices: () => readonly (string | number | boolean | null)[];
243
+ getDefaultValue: () => any;
244
+ getConstantValue: () => any;
245
+ getPropertyType: () => string;
246
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
247
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
248
+ }>;
249
+ readonly id?: Readonly<{
250
+ getConfig: () => object;
251
+ getChoices: () => readonly (string | number | boolean | null)[];
252
+ getDefaultValue: () => any;
253
+ getConstantValue: () => any;
254
+ getPropertyType: () => string;
255
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
256
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
257
+ }> | undefined;
258
+ };
259
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
260
+ singularName?: string | undefined;
261
+ displayName?: string | undefined;
262
+ }>;
263
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
264
+ getOptions: () => object & Readonly<{
265
+ [s: string]: any;
266
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
267
+ }>;
268
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
269
+ }>, Readonly<{
270
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
271
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
272
+ };
273
+ references: Readonly<{
274
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
275
+ }>;
276
+ toObj: import("./interfaces").toObj<FunctionalModel>;
277
+ getPrimaryKeyName: () => string;
278
+ getPrimaryKey: () => PrimaryKeyType;
279
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
280
+ getName: () => string;
281
+ getSingularName: () => string;
282
+ getDisplayName: () => string;
283
+ getPrimaryKeyName: () => string;
284
+ getModelDefinition: () => Readonly<{
285
+ getPrimaryKeyName?: (() => string) | undefined;
286
+ properties: any & {
287
+ readonly [x: string]: Readonly<{
288
+ getConfig: () => object;
289
+ getChoices: () => readonly (string | number | boolean | null)[];
290
+ getDefaultValue: () => any;
291
+ getConstantValue: () => any;
292
+ getPropertyType: () => string;
293
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
294
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
295
+ }>;
296
+ readonly id?: Readonly<{
297
+ getConfig: () => object;
298
+ getChoices: () => readonly (string | number | boolean | null)[];
299
+ getDefaultValue: () => any;
300
+ getConstantValue: () => any;
301
+ getPropertyType: () => string;
302
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
303
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
304
+ }> | undefined;
305
+ };
306
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
307
+ singularName?: string | undefined;
308
+ displayName?: string | undefined;
309
+ }>;
310
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
311
+ getOptions: () => object & Readonly<{
312
+ [s: string]: any;
313
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
314
+ }>;
315
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
316
+ }>>;
317
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
318
+ getModel: () => Readonly<{
319
+ getName: () => string;
320
+ getSingularName: () => string;
321
+ getDisplayName: () => string;
322
+ getPrimaryKeyName: () => string;
323
+ getModelDefinition: () => Readonly<{
324
+ getPrimaryKeyName?: (() => string) | undefined;
325
+ properties: any & {
326
+ readonly [x: string]: Readonly<{
327
+ getConfig: () => object;
328
+ getChoices: () => readonly (string | number | boolean | null)[];
329
+ getDefaultValue: () => any;
330
+ getConstantValue: () => any;
331
+ getPropertyType: () => string;
332
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
333
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
334
+ }>;
335
+ readonly id?: Readonly<{
336
+ getConfig: () => object;
337
+ getChoices: () => readonly (string | number | boolean | null)[];
338
+ getDefaultValue: () => any;
339
+ getConstantValue: () => any;
340
+ getPropertyType: () => string;
341
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
342
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
343
+ }> | undefined;
344
+ };
345
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
346
+ singularName?: string | undefined;
347
+ displayName?: string | undefined;
348
+ }>;
349
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
350
+ getOptions: () => object & Readonly<{
351
+ [s: string]: any;
352
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
353
+ }>;
354
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
355
+ }>;
356
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
357
+ getName: () => string;
358
+ getSingularName: () => string;
359
+ getDisplayName: () => string;
360
+ getPrimaryKeyName: () => string;
361
+ getModelDefinition: () => Readonly<{
362
+ getPrimaryKeyName?: (() => string) | undefined;
363
+ properties: any & {
364
+ readonly [x: string]: Readonly<{
365
+ getConfig: () => object;
366
+ getChoices: () => readonly (string | number | boolean | null)[];
367
+ getDefaultValue: () => any;
368
+ getConstantValue: () => any;
369
+ getPropertyType: () => string;
370
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
371
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
372
+ }>;
373
+ readonly id?: Readonly<{
374
+ getConfig: () => object;
375
+ getChoices: () => readonly (string | number | boolean | null)[];
376
+ getDefaultValue: () => any;
377
+ getConstantValue: () => any;
378
+ getPropertyType: () => string;
379
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
380
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
381
+ }> | undefined;
382
+ };
383
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
384
+ singularName?: string | undefined;
385
+ displayName?: string | undefined;
386
+ }>;
387
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
388
+ getOptions: () => object & Readonly<{
389
+ [s: string]: any;
390
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
391
+ }>;
392
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
393
+ }>, Readonly<{
394
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
395
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
396
+ };
397
+ references: Readonly<{
398
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
399
+ }>;
400
+ toObj: import("./interfaces").toObj<FunctionalModel>;
401
+ getPrimaryKeyName: () => string;
402
+ getPrimaryKey: () => PrimaryKeyType;
403
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
404
+ getName: () => string;
405
+ getSingularName: () => string;
406
+ getDisplayName: () => string;
407
+ getPrimaryKeyName: () => string;
408
+ getModelDefinition: () => Readonly<{
409
+ getPrimaryKeyName?: (() => string) | undefined;
410
+ properties: any & {
411
+ readonly [x: string]: Readonly<{
412
+ getConfig: () => object;
413
+ getChoices: () => readonly (string | number | boolean | null)[];
414
+ getDefaultValue: () => any;
415
+ getConstantValue: () => any;
416
+ getPropertyType: () => string;
417
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
418
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
419
+ }>;
420
+ readonly id?: Readonly<{
421
+ getConfig: () => object;
422
+ getChoices: () => readonly (string | number | boolean | null)[];
423
+ getDefaultValue: () => any;
424
+ getConstantValue: () => any;
425
+ getPropertyType: () => string;
426
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
427
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
428
+ }> | undefined;
429
+ };
430
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
431
+ singularName?: string | undefined;
432
+ displayName?: string | undefined;
433
+ }>;
434
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
435
+ getOptions: () => object & Readonly<{
436
+ [s: string]: any;
437
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
438
+ }>;
439
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
440
+ }>>;
441
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
442
+ getModel: () => Readonly<{
443
+ getName: () => string;
444
+ getSingularName: () => string;
445
+ getDisplayName: () => string;
446
+ getPrimaryKeyName: () => string;
447
+ getModelDefinition: () => Readonly<{
448
+ getPrimaryKeyName?: (() => string) | undefined;
449
+ properties: any & {
450
+ readonly [x: string]: Readonly<{
451
+ getConfig: () => object;
452
+ getChoices: () => readonly (string | number | boolean | null)[];
453
+ getDefaultValue: () => any;
454
+ getConstantValue: () => any;
455
+ getPropertyType: () => string;
456
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
457
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
458
+ }>;
459
+ readonly id?: Readonly<{
460
+ getConfig: () => object;
461
+ getChoices: () => readonly (string | number | boolean | null)[];
462
+ getDefaultValue: () => any;
463
+ getConstantValue: () => any;
464
+ getPropertyType: () => string;
465
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
466
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
467
+ }> | undefined;
468
+ };
469
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
470
+ singularName?: string | undefined;
471
+ displayName?: string | undefined;
472
+ }>;
473
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
474
+ getOptions: () => object & Readonly<{
475
+ [s: string]: any;
476
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
477
+ }>;
478
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
479
+ }>;
480
+ }>>;
481
+ }> | Readonly<{
482
+ getConfig: () => object;
483
+ getChoices: () => readonly (string | number | boolean | null)[];
484
+ getDefaultValue: () => number;
485
+ getConstantValue: () => number;
486
+ getPropertyType: () => string;
487
+ createGetter: (value: number, modelData: FunctionalModel, modelInstance: Readonly<{
488
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
489
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
490
+ };
491
+ references: Readonly<{
492
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
493
+ }>;
494
+ toObj: import("./interfaces").toObj<FunctionalModel>;
495
+ getPrimaryKeyName: () => string;
496
+ getPrimaryKey: () => PrimaryKeyType;
497
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
498
+ getName: () => string;
499
+ getSingularName: () => string;
500
+ getDisplayName: () => string;
501
+ getPrimaryKeyName: () => string;
502
+ getModelDefinition: () => Readonly<{
503
+ getPrimaryKeyName?: (() => string) | undefined;
504
+ properties: any & {
505
+ readonly [x: string]: Readonly<{
506
+ getConfig: () => object;
507
+ getChoices: () => readonly (string | number | boolean | null)[];
508
+ getDefaultValue: () => any;
509
+ getConstantValue: () => any;
510
+ getPropertyType: () => string;
511
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
512
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
513
+ }>;
514
+ readonly id?: Readonly<{
515
+ getConfig: () => object;
516
+ getChoices: () => readonly (string | number | boolean | null)[];
517
+ getDefaultValue: () => any;
518
+ getConstantValue: () => any;
519
+ getPropertyType: () => string;
520
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
521
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
522
+ }> | undefined;
523
+ };
524
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
525
+ singularName?: string | undefined;
526
+ displayName?: string | undefined;
527
+ }>;
528
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
529
+ getOptions: () => object & Readonly<{
530
+ [s: string]: any;
531
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
532
+ }>;
533
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
534
+ }>>;
535
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
536
+ getModel: () => Readonly<{
537
+ getName: () => string;
538
+ getSingularName: () => string;
539
+ getDisplayName: () => string;
540
+ getPrimaryKeyName: () => string;
541
+ getModelDefinition: () => Readonly<{
542
+ getPrimaryKeyName?: (() => string) | undefined;
543
+ properties: any & {
544
+ readonly [x: string]: Readonly<{
545
+ getConfig: () => object;
546
+ getChoices: () => readonly (string | number | boolean | null)[];
547
+ getDefaultValue: () => any;
548
+ getConstantValue: () => any;
549
+ getPropertyType: () => string;
550
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
551
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
552
+ }>;
553
+ readonly id?: Readonly<{
554
+ getConfig: () => object;
555
+ getChoices: () => readonly (string | number | boolean | null)[];
556
+ getDefaultValue: () => any;
557
+ getConstantValue: () => any;
558
+ getPropertyType: () => string;
559
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
560
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
561
+ }> | undefined;
562
+ };
563
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
564
+ singularName?: string | undefined;
565
+ displayName?: string | undefined;
566
+ }>;
567
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
568
+ getOptions: () => object & Readonly<{
569
+ [s: string]: any;
570
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
571
+ }>;
572
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
573
+ }>;
574
+ }>) => import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
575
+ getName: () => string;
576
+ getSingularName: () => string;
577
+ getDisplayName: () => string;
578
+ getPrimaryKeyName: () => string;
579
+ getModelDefinition: () => Readonly<{
580
+ getPrimaryKeyName?: (() => string) | undefined;
581
+ properties: any & {
582
+ readonly [x: string]: Readonly<{
583
+ getConfig: () => object;
584
+ getChoices: () => readonly (string | number | boolean | null)[];
585
+ getDefaultValue: () => any;
586
+ getConstantValue: () => any;
587
+ getPropertyType: () => string;
588
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
589
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
590
+ }>;
591
+ readonly id?: Readonly<{
592
+ getConfig: () => object;
593
+ getChoices: () => readonly (string | number | boolean | null)[];
594
+ getDefaultValue: () => any;
595
+ getConstantValue: () => any;
596
+ getPropertyType: () => string;
597
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
598
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
599
+ }> | undefined;
600
+ };
601
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
602
+ singularName?: string | undefined;
603
+ displayName?: string | undefined;
604
+ }>;
605
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
606
+ getOptions: () => object & Readonly<{
607
+ [s: string]: any;
608
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
609
+ }>;
610
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
611
+ }>, Readonly<{
612
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
613
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
614
+ };
615
+ references: Readonly<{
616
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
617
+ }>;
618
+ toObj: import("./interfaces").toObj<FunctionalModel>;
619
+ getPrimaryKeyName: () => string;
620
+ getPrimaryKey: () => PrimaryKeyType;
621
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
622
+ getName: () => string;
623
+ getSingularName: () => string;
624
+ getDisplayName: () => string;
625
+ getPrimaryKeyName: () => string;
626
+ getModelDefinition: () => Readonly<{
627
+ getPrimaryKeyName?: (() => string) | undefined;
628
+ properties: any & {
629
+ readonly [x: string]: Readonly<{
630
+ getConfig: () => object;
631
+ getChoices: () => readonly (string | number | boolean | null)[];
632
+ getDefaultValue: () => any;
633
+ getConstantValue: () => any;
634
+ getPropertyType: () => string;
635
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
636
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
637
+ }>;
638
+ readonly id?: Readonly<{
639
+ getConfig: () => object;
640
+ getChoices: () => readonly (string | number | boolean | null)[];
641
+ getDefaultValue: () => any;
642
+ getConstantValue: () => any;
643
+ getPropertyType: () => string;
644
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
645
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
646
+ }> | undefined;
647
+ };
648
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
649
+ singularName?: string | undefined;
650
+ displayName?: string | undefined;
651
+ }>;
652
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
653
+ getOptions: () => object & Readonly<{
654
+ [s: string]: any;
655
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
656
+ }>;
657
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
658
+ }>>;
659
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
660
+ getModel: () => Readonly<{
661
+ getName: () => string;
662
+ getSingularName: () => string;
663
+ getDisplayName: () => string;
664
+ getPrimaryKeyName: () => string;
665
+ getModelDefinition: () => Readonly<{
666
+ getPrimaryKeyName?: (() => string) | undefined;
667
+ properties: any & {
668
+ readonly [x: string]: Readonly<{
669
+ getConfig: () => object;
670
+ getChoices: () => readonly (string | number | boolean | null)[];
671
+ getDefaultValue: () => any;
672
+ getConstantValue: () => any;
673
+ getPropertyType: () => string;
674
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
675
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
676
+ }>;
677
+ readonly id?: Readonly<{
678
+ getConfig: () => object;
679
+ getChoices: () => readonly (string | number | boolean | null)[];
680
+ getDefaultValue: () => any;
681
+ getConstantValue: () => any;
682
+ getPropertyType: () => string;
683
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
684
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
685
+ }> | undefined;
686
+ };
687
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
688
+ singularName?: string | undefined;
689
+ displayName?: string | undefined;
690
+ }>;
691
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
692
+ getOptions: () => object & Readonly<{
693
+ [s: string]: any;
694
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
695
+ }>;
696
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
697
+ }>;
698
+ }>>;
699
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
700
+ getName: () => string;
701
+ getSingularName: () => string;
702
+ getDisplayName: () => string;
703
+ getPrimaryKeyName: () => string;
704
+ getModelDefinition: () => Readonly<{
705
+ getPrimaryKeyName?: (() => string) | undefined;
706
+ properties: any & {
707
+ readonly [x: string]: Readonly<{
708
+ getConfig: () => object;
709
+ getChoices: () => readonly (string | number | boolean | null)[];
710
+ getDefaultValue: () => any;
711
+ getConstantValue: () => any;
712
+ getPropertyType: () => string;
713
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
714
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
715
+ }>;
716
+ readonly id?: Readonly<{
717
+ getConfig: () => object;
718
+ getChoices: () => readonly (string | number | boolean | null)[];
719
+ getDefaultValue: () => any;
720
+ getConstantValue: () => any;
721
+ getPropertyType: () => string;
722
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
723
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
724
+ }> | undefined;
725
+ };
726
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
727
+ singularName?: string | undefined;
728
+ displayName?: string | undefined;
729
+ }>;
730
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
731
+ getOptions: () => object & Readonly<{
732
+ [s: string]: any;
733
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
734
+ }>;
735
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
736
+ }>, Readonly<{
737
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
738
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
739
+ };
740
+ references: Readonly<{
741
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
742
+ }>;
743
+ toObj: import("./interfaces").toObj<FunctionalModel>;
744
+ getPrimaryKeyName: () => string;
745
+ getPrimaryKey: () => PrimaryKeyType;
746
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
747
+ getName: () => string;
748
+ getSingularName: () => string;
749
+ getDisplayName: () => string;
750
+ getPrimaryKeyName: () => string;
751
+ getModelDefinition: () => Readonly<{
752
+ getPrimaryKeyName?: (() => string) | undefined;
753
+ properties: any & {
754
+ readonly [x: string]: Readonly<{
755
+ getConfig: () => object;
756
+ getChoices: () => readonly (string | number | boolean | null)[];
757
+ getDefaultValue: () => any;
758
+ getConstantValue: () => any;
759
+ getPropertyType: () => string;
760
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
761
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
762
+ }>;
763
+ readonly id?: Readonly<{
764
+ getConfig: () => object;
765
+ getChoices: () => readonly (string | number | boolean | null)[];
766
+ getDefaultValue: () => any;
767
+ getConstantValue: () => any;
768
+ getPropertyType: () => string;
769
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
770
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
771
+ }> | undefined;
772
+ };
773
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
774
+ singularName?: string | undefined;
775
+ displayName?: string | undefined;
776
+ }>;
777
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
778
+ getOptions: () => object & Readonly<{
779
+ [s: string]: any;
780
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
781
+ }>;
782
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
783
+ }>>;
784
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
785
+ getModel: () => Readonly<{
786
+ getName: () => string;
787
+ getSingularName: () => string;
788
+ getDisplayName: () => string;
789
+ getPrimaryKeyName: () => string;
790
+ getModelDefinition: () => Readonly<{
791
+ getPrimaryKeyName?: (() => string) | undefined;
792
+ properties: any & {
793
+ readonly [x: string]: Readonly<{
794
+ getConfig: () => object;
795
+ getChoices: () => readonly (string | number | boolean | null)[];
796
+ getDefaultValue: () => any;
797
+ getConstantValue: () => any;
798
+ getPropertyType: () => string;
799
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
800
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
801
+ }>;
802
+ readonly id?: Readonly<{
803
+ getConfig: () => object;
804
+ getChoices: () => readonly (string | number | boolean | null)[];
805
+ getDefaultValue: () => any;
806
+ getConstantValue: () => any;
807
+ getPropertyType: () => string;
808
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
809
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
810
+ }> | undefined;
811
+ };
812
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
813
+ singularName?: string | undefined;
814
+ displayName?: string | undefined;
815
+ }>;
816
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
817
+ getOptions: () => object & Readonly<{
818
+ [s: string]: any;
819
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
820
+ }>;
821
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
822
+ }>;
823
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
824
+ getName: () => string;
825
+ getSingularName: () => string;
826
+ getDisplayName: () => string;
827
+ getPrimaryKeyName: () => string;
828
+ getModelDefinition: () => Readonly<{
829
+ getPrimaryKeyName?: (() => string) | undefined;
830
+ properties: any & {
831
+ readonly [x: string]: Readonly<{
832
+ getConfig: () => object;
833
+ getChoices: () => readonly (string | number | boolean | null)[];
834
+ getDefaultValue: () => any;
835
+ getConstantValue: () => any;
836
+ getPropertyType: () => string;
837
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
838
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
839
+ }>;
840
+ readonly id?: Readonly<{
841
+ getConfig: () => object;
842
+ getChoices: () => readonly (string | number | boolean | null)[];
843
+ getDefaultValue: () => any;
844
+ getConstantValue: () => any;
845
+ getPropertyType: () => string;
846
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
847
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
848
+ }> | undefined;
849
+ };
850
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
851
+ singularName?: string | undefined;
852
+ displayName?: string | undefined;
853
+ }>;
854
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
855
+ getOptions: () => object & Readonly<{
856
+ [s: string]: any;
857
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
858
+ }>;
859
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
860
+ }>, Readonly<{
861
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
862
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
863
+ };
864
+ references: Readonly<{
865
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
866
+ }>;
867
+ toObj: import("./interfaces").toObj<FunctionalModel>;
868
+ getPrimaryKeyName: () => string;
869
+ getPrimaryKey: () => PrimaryKeyType;
870
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
871
+ getName: () => string;
872
+ getSingularName: () => string;
873
+ getDisplayName: () => string;
874
+ getPrimaryKeyName: () => string;
875
+ getModelDefinition: () => Readonly<{
876
+ getPrimaryKeyName?: (() => string) | undefined;
877
+ properties: any & {
878
+ readonly [x: string]: Readonly<{
879
+ getConfig: () => object;
880
+ getChoices: () => readonly (string | number | boolean | null)[];
881
+ getDefaultValue: () => any;
882
+ getConstantValue: () => any;
883
+ getPropertyType: () => string;
884
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
885
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
886
+ }>;
887
+ readonly id?: Readonly<{
888
+ getConfig: () => object;
889
+ getChoices: () => readonly (string | number | boolean | null)[];
890
+ getDefaultValue: () => any;
891
+ getConstantValue: () => any;
892
+ getPropertyType: () => string;
893
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
894
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
895
+ }> | undefined;
896
+ };
897
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
898
+ singularName?: string | undefined;
899
+ displayName?: string | undefined;
900
+ }>;
901
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
902
+ getOptions: () => object & Readonly<{
903
+ [s: string]: any;
904
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
905
+ }>;
906
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
907
+ }>>;
908
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
909
+ getModel: () => Readonly<{
910
+ getName: () => string;
911
+ getSingularName: () => string;
912
+ getDisplayName: () => string;
913
+ getPrimaryKeyName: () => string;
914
+ getModelDefinition: () => Readonly<{
915
+ getPrimaryKeyName?: (() => string) | undefined;
916
+ properties: any & {
917
+ readonly [x: string]: Readonly<{
918
+ getConfig: () => object;
919
+ getChoices: () => readonly (string | number | boolean | null)[];
920
+ getDefaultValue: () => any;
921
+ getConstantValue: () => any;
922
+ getPropertyType: () => string;
923
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
924
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
925
+ }>;
926
+ readonly id?: Readonly<{
927
+ getConfig: () => object;
928
+ getChoices: () => readonly (string | number | boolean | null)[];
929
+ getDefaultValue: () => any;
930
+ getConstantValue: () => any;
931
+ getPropertyType: () => string;
932
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
933
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
934
+ }> | undefined;
935
+ };
936
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
937
+ singularName?: string | undefined;
938
+ displayName?: string | undefined;
939
+ }>;
940
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
941
+ getOptions: () => object & Readonly<{
942
+ [s: string]: any;
943
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
944
+ }>;
945
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
946
+ }>;
947
+ }>>;
948
+ }>) | undefined;
949
+ } & { readonly [P in keyof T as T[P] extends Arrayable<FunctionalValue> ? P : never]: Readonly<{
950
+ getConfig: () => object;
951
+ getChoices: () => readonly (string | number | boolean | null)[];
952
+ getDefaultValue: () => any;
953
+ getConstantValue: () => any;
954
+ getPropertyType: () => string;
955
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
956
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
957
+ }>; };
958
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<T, Readonly<any>, Readonly<{
959
+ get: import("./interfaces").PropertyGetters<T> & {
960
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
961
+ };
962
+ references: Readonly<{
963
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
964
+ }>;
965
+ toObj: import("./interfaces").toObj<T>;
966
+ getPrimaryKeyName: () => string;
967
+ getPrimaryKey: () => PrimaryKeyType;
968
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
969
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
970
+ getModel: () => Readonly<any>;
971
+ }>>[] | undefined;
972
+ singularName?: string | undefined;
973
+ displayName?: string | undefined;
974
+ }>;
975
+ getPrimaryKey: (t: T | import("./interfaces").TypedJsonObj<T>) => PrimaryKeyType;
976
+ getOptions: () => object & Readonly<{
977
+ [s: string]: any;
978
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<{
979
+ get: import("./interfaces").PropertyGetters<T> & {
980
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
981
+ };
982
+ references: Readonly<{
983
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
984
+ }>;
985
+ toObj: import("./interfaces").toObj<T>;
986
+ getPrimaryKeyName: () => string;
987
+ getPrimaryKey: () => PrimaryKeyType;
988
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
989
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
990
+ getModel: () => Readonly<any>;
991
+ }>) => void>>;
992
+ }>;
993
+ create: (data: import("./interfaces").CreateParams<T>) => Readonly<{
994
+ get: import("./interfaces").PropertyGetters<T> & {
995
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
996
+ };
997
+ references: Readonly<{
998
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
999
+ }>;
1000
+ toObj: import("./interfaces").toObj<T>;
1001
+ getPrimaryKeyName: () => string;
1002
+ getPrimaryKey: () => PrimaryKeyType;
1003
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
1004
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
1005
+ getModel: () => Readonly<any>;
1006
+ }>;
1007
+ }>, Readonly<{
1008
+ get: import("./interfaces").PropertyGetters<T> & {
1009
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1010
+ };
1011
+ references: Readonly<{
1012
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1013
+ }>;
1014
+ toObj: import("./interfaces").toObj<T>;
1015
+ getPrimaryKeyName: () => string;
1016
+ getPrimaryKey: () => PrimaryKeyType;
1017
+ validators: import("./interfaces").PropertyValidators<T, Readonly<{
1018
+ getName: () => string;
1019
+ getSingularName: () => string;
1020
+ getDisplayName: () => string;
1021
+ getPrimaryKeyName: () => string;
1022
+ getModelDefinition: () => Readonly<{
1023
+ getPrimaryKeyName?: (() => string) | undefined;
1024
+ properties: {
1025
+ id?: (Readonly<{
1026
+ getConfig: () => object;
1027
+ getChoices: () => readonly (string | number | boolean | null)[];
1028
+ getDefaultValue: () => string;
1029
+ getConstantValue: () => string;
1030
+ getPropertyType: () => string;
1031
+ createGetter: (value: string, modelData: FunctionalModel, modelInstance: Readonly<{
1032
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1033
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1034
+ };
1035
+ references: Readonly<{
1036
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1037
+ }>;
1038
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1039
+ getPrimaryKeyName: () => string;
1040
+ getPrimaryKey: () => PrimaryKeyType;
1041
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1042
+ getName: () => string;
1043
+ getSingularName: () => string;
1044
+ getDisplayName: () => string;
1045
+ getPrimaryKeyName: () => string;
1046
+ getModelDefinition: () => Readonly<{
1047
+ getPrimaryKeyName?: (() => string) | undefined;
1048
+ properties: any & {
1049
+ readonly [x: string]: Readonly<{
1050
+ getConfig: () => object;
1051
+ getChoices: () => readonly (string | number | boolean | null)[];
1052
+ getDefaultValue: () => any;
1053
+ getConstantValue: () => any;
1054
+ getPropertyType: () => string;
1055
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1056
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1057
+ }>;
1058
+ readonly id?: Readonly<{
1059
+ getConfig: () => object;
1060
+ getChoices: () => readonly (string | number | boolean | null)[];
1061
+ getDefaultValue: () => any;
1062
+ getConstantValue: () => any;
1063
+ getPropertyType: () => string;
1064
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1065
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1066
+ }> | undefined;
1067
+ };
1068
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1069
+ singularName?: string | undefined;
1070
+ displayName?: string | undefined;
1071
+ }>;
1072
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1073
+ getOptions: () => object & Readonly<{
1074
+ [s: string]: any;
1075
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1076
+ }>;
1077
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1078
+ }>>;
1079
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1080
+ getModel: () => Readonly<{
1081
+ getName: () => string;
1082
+ getSingularName: () => string;
1083
+ getDisplayName: () => string;
1084
+ getPrimaryKeyName: () => string;
1085
+ getModelDefinition: () => Readonly<{
1086
+ getPrimaryKeyName?: (() => string) | undefined;
1087
+ properties: any & {
1088
+ readonly [x: string]: Readonly<{
1089
+ getConfig: () => object;
1090
+ getChoices: () => readonly (string | number | boolean | null)[];
1091
+ getDefaultValue: () => any;
1092
+ getConstantValue: () => any;
1093
+ getPropertyType: () => string;
1094
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1095
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1096
+ }>;
1097
+ readonly id?: Readonly<{
1098
+ getConfig: () => object;
1099
+ getChoices: () => readonly (string | number | boolean | null)[];
1100
+ getDefaultValue: () => any;
1101
+ getConstantValue: () => any;
1102
+ getPropertyType: () => string;
1103
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1104
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1105
+ }> | undefined;
1106
+ };
1107
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1108
+ singularName?: string | undefined;
1109
+ displayName?: string | undefined;
1110
+ }>;
1111
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1112
+ getOptions: () => object & Readonly<{
1113
+ [s: string]: any;
1114
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1115
+ }>;
1116
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1117
+ }>;
1118
+ }>) => import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
1119
+ getName: () => string;
1120
+ getSingularName: () => string;
1121
+ getDisplayName: () => string;
1122
+ getPrimaryKeyName: () => string;
1123
+ getModelDefinition: () => Readonly<{
1124
+ getPrimaryKeyName?: (() => string) | undefined;
1125
+ properties: any & {
1126
+ readonly [x: string]: Readonly<{
1127
+ getConfig: () => object;
1128
+ getChoices: () => readonly (string | number | boolean | null)[];
1129
+ getDefaultValue: () => any;
1130
+ getConstantValue: () => any;
1131
+ getPropertyType: () => string;
1132
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1133
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1134
+ }>;
1135
+ readonly id?: Readonly<{
1136
+ getConfig: () => object;
1137
+ getChoices: () => readonly (string | number | boolean | null)[];
1138
+ getDefaultValue: () => any;
1139
+ getConstantValue: () => any;
1140
+ getPropertyType: () => string;
1141
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1142
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1143
+ }> | undefined;
1144
+ };
1145
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1146
+ singularName?: string | undefined;
1147
+ displayName?: string | undefined;
1148
+ }>;
1149
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1150
+ getOptions: () => object & Readonly<{
1151
+ [s: string]: any;
1152
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1153
+ }>;
1154
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1155
+ }>, Readonly<{
1156
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1157
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1158
+ };
1159
+ references: Readonly<{
1160
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1161
+ }>;
1162
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1163
+ getPrimaryKeyName: () => string;
1164
+ getPrimaryKey: () => PrimaryKeyType;
1165
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1166
+ getName: () => string;
1167
+ getSingularName: () => string;
1168
+ getDisplayName: () => string;
1169
+ getPrimaryKeyName: () => string;
1170
+ getModelDefinition: () => Readonly<{
1171
+ getPrimaryKeyName?: (() => string) | undefined;
1172
+ properties: any & {
1173
+ readonly [x: string]: Readonly<{
1174
+ getConfig: () => object;
1175
+ getChoices: () => readonly (string | number | boolean | null)[];
1176
+ getDefaultValue: () => any;
1177
+ getConstantValue: () => any;
1178
+ getPropertyType: () => string;
1179
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1180
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1181
+ }>;
1182
+ readonly id?: Readonly<{
1183
+ getConfig: () => object;
1184
+ getChoices: () => readonly (string | number | boolean | null)[];
1185
+ getDefaultValue: () => any;
1186
+ getConstantValue: () => any;
1187
+ getPropertyType: () => string;
1188
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1189
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1190
+ }> | undefined;
1191
+ };
1192
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1193
+ singularName?: string | undefined;
1194
+ displayName?: string | undefined;
1195
+ }>;
1196
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1197
+ getOptions: () => object & Readonly<{
1198
+ [s: string]: any;
1199
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1200
+ }>;
1201
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1202
+ }>>;
1203
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1204
+ getModel: () => Readonly<{
1205
+ getName: () => string;
1206
+ getSingularName: () => string;
1207
+ getDisplayName: () => string;
1208
+ getPrimaryKeyName: () => string;
1209
+ getModelDefinition: () => Readonly<{
1210
+ getPrimaryKeyName?: (() => string) | undefined;
1211
+ properties: any & {
1212
+ readonly [x: string]: Readonly<{
1213
+ getConfig: () => object;
1214
+ getChoices: () => readonly (string | number | boolean | null)[];
1215
+ getDefaultValue: () => any;
1216
+ getConstantValue: () => any;
1217
+ getPropertyType: () => string;
1218
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1219
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1220
+ }>;
1221
+ readonly id?: Readonly<{
1222
+ getConfig: () => object;
1223
+ getChoices: () => readonly (string | number | boolean | null)[];
1224
+ getDefaultValue: () => any;
1225
+ getConstantValue: () => any;
1226
+ getPropertyType: () => string;
1227
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1228
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1229
+ }> | undefined;
1230
+ };
1231
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1232
+ singularName?: string | undefined;
1233
+ displayName?: string | undefined;
1234
+ }>;
1235
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1236
+ getOptions: () => object & Readonly<{
1237
+ [s: string]: any;
1238
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1239
+ }>;
1240
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1241
+ }>;
1242
+ }>>;
1243
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
1244
+ getName: () => string;
1245
+ getSingularName: () => string;
1246
+ getDisplayName: () => string;
1247
+ getPrimaryKeyName: () => string;
1248
+ getModelDefinition: () => Readonly<{
1249
+ getPrimaryKeyName?: (() => string) | undefined;
1250
+ properties: any & {
1251
+ readonly [x: string]: Readonly<{
1252
+ getConfig: () => object;
1253
+ getChoices: () => readonly (string | number | boolean | null)[];
1254
+ getDefaultValue: () => any;
1255
+ getConstantValue: () => any;
1256
+ getPropertyType: () => string;
1257
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1258
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1259
+ }>;
1260
+ readonly id?: Readonly<{
1261
+ getConfig: () => object;
1262
+ getChoices: () => readonly (string | number | boolean | null)[];
1263
+ getDefaultValue: () => any;
1264
+ getConstantValue: () => any;
1265
+ getPropertyType: () => string;
1266
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1267
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1268
+ }> | undefined;
1269
+ };
1270
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1271
+ singularName?: string | undefined;
1272
+ displayName?: string | undefined;
1273
+ }>;
1274
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1275
+ getOptions: () => object & Readonly<{
1276
+ [s: string]: any;
1277
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1278
+ }>;
1279
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1280
+ }>, Readonly<{
1281
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1282
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1283
+ };
1284
+ references: Readonly<{
1285
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1286
+ }>;
1287
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1288
+ getPrimaryKeyName: () => string;
1289
+ getPrimaryKey: () => PrimaryKeyType;
1290
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1291
+ getName: () => string;
1292
+ getSingularName: () => string;
1293
+ getDisplayName: () => string;
1294
+ getPrimaryKeyName: () => string;
1295
+ getModelDefinition: () => Readonly<{
1296
+ getPrimaryKeyName?: (() => string) | undefined;
1297
+ properties: any & {
1298
+ readonly [x: string]: Readonly<{
1299
+ getConfig: () => object;
1300
+ getChoices: () => readonly (string | number | boolean | null)[];
1301
+ getDefaultValue: () => any;
1302
+ getConstantValue: () => any;
1303
+ getPropertyType: () => string;
1304
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1305
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1306
+ }>;
1307
+ readonly id?: Readonly<{
1308
+ getConfig: () => object;
1309
+ getChoices: () => readonly (string | number | boolean | null)[];
1310
+ getDefaultValue: () => any;
1311
+ getConstantValue: () => any;
1312
+ getPropertyType: () => string;
1313
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1314
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1315
+ }> | undefined;
1316
+ };
1317
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1318
+ singularName?: string | undefined;
1319
+ displayName?: string | undefined;
1320
+ }>;
1321
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1322
+ getOptions: () => object & Readonly<{
1323
+ [s: string]: any;
1324
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1325
+ }>;
1326
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1327
+ }>>;
1328
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1329
+ getModel: () => Readonly<{
1330
+ getName: () => string;
1331
+ getSingularName: () => string;
1332
+ getDisplayName: () => string;
1333
+ getPrimaryKeyName: () => string;
1334
+ getModelDefinition: () => Readonly<{
1335
+ getPrimaryKeyName?: (() => string) | undefined;
1336
+ properties: any & {
1337
+ readonly [x: string]: Readonly<{
1338
+ getConfig: () => object;
1339
+ getChoices: () => readonly (string | number | boolean | null)[];
1340
+ getDefaultValue: () => any;
1341
+ getConstantValue: () => any;
1342
+ getPropertyType: () => string;
1343
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1344
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1345
+ }>;
1346
+ readonly id?: Readonly<{
1347
+ getConfig: () => object;
1348
+ getChoices: () => readonly (string | number | boolean | null)[];
1349
+ getDefaultValue: () => any;
1350
+ getConstantValue: () => any;
1351
+ getPropertyType: () => string;
1352
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1353
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1354
+ }> | undefined;
1355
+ };
1356
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1357
+ singularName?: string | undefined;
1358
+ displayName?: string | undefined;
1359
+ }>;
1360
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1361
+ getOptions: () => object & Readonly<{
1362
+ [s: string]: any;
1363
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1364
+ }>;
1365
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1366
+ }>;
1367
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
1368
+ getName: () => string;
1369
+ getSingularName: () => string;
1370
+ getDisplayName: () => string;
1371
+ getPrimaryKeyName: () => string;
1372
+ getModelDefinition: () => Readonly<{
1373
+ getPrimaryKeyName?: (() => string) | undefined;
1374
+ properties: any & {
1375
+ readonly [x: string]: Readonly<{
1376
+ getConfig: () => object;
1377
+ getChoices: () => readonly (string | number | boolean | null)[];
1378
+ getDefaultValue: () => any;
1379
+ getConstantValue: () => any;
1380
+ getPropertyType: () => string;
1381
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1382
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1383
+ }>;
1384
+ readonly id?: Readonly<{
1385
+ getConfig: () => object;
1386
+ getChoices: () => readonly (string | number | boolean | null)[];
1387
+ getDefaultValue: () => any;
1388
+ getConstantValue: () => any;
1389
+ getPropertyType: () => string;
1390
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1391
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1392
+ }> | undefined;
1393
+ };
1394
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1395
+ singularName?: string | undefined;
1396
+ displayName?: string | undefined;
1397
+ }>;
1398
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1399
+ getOptions: () => object & Readonly<{
1400
+ [s: string]: any;
1401
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1402
+ }>;
1403
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1404
+ }>, Readonly<{
1405
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1406
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1407
+ };
1408
+ references: Readonly<{
1409
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1410
+ }>;
1411
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1412
+ getPrimaryKeyName: () => string;
1413
+ getPrimaryKey: () => PrimaryKeyType;
1414
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1415
+ getName: () => string;
1416
+ getSingularName: () => string;
1417
+ getDisplayName: () => string;
1418
+ getPrimaryKeyName: () => string;
1419
+ getModelDefinition: () => Readonly<{
1420
+ getPrimaryKeyName?: (() => string) | undefined;
1421
+ properties: any & {
1422
+ readonly [x: string]: Readonly<{
1423
+ getConfig: () => object;
1424
+ getChoices: () => readonly (string | number | boolean | null)[];
1425
+ getDefaultValue: () => any;
1426
+ getConstantValue: () => any;
1427
+ getPropertyType: () => string;
1428
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1429
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1430
+ }>;
1431
+ readonly id?: Readonly<{
1432
+ getConfig: () => object;
1433
+ getChoices: () => readonly (string | number | boolean | null)[];
1434
+ getDefaultValue: () => any;
1435
+ getConstantValue: () => any;
1436
+ getPropertyType: () => string;
1437
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1438
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1439
+ }> | undefined;
1440
+ };
1441
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1442
+ singularName?: string | undefined;
1443
+ displayName?: string | undefined;
1444
+ }>;
1445
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1446
+ getOptions: () => object & Readonly<{
1447
+ [s: string]: any;
1448
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1449
+ }>;
1450
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1451
+ }>>;
1452
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1453
+ getModel: () => Readonly<{
1454
+ getName: () => string;
1455
+ getSingularName: () => string;
1456
+ getDisplayName: () => string;
1457
+ getPrimaryKeyName: () => string;
1458
+ getModelDefinition: () => Readonly<{
1459
+ getPrimaryKeyName?: (() => string) | undefined;
1460
+ properties: any & {
1461
+ readonly [x: string]: Readonly<{
1462
+ getConfig: () => object;
1463
+ getChoices: () => readonly (string | number | boolean | null)[];
1464
+ getDefaultValue: () => any;
1465
+ getConstantValue: () => any;
1466
+ getPropertyType: () => string;
1467
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1468
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1469
+ }>;
1470
+ readonly id?: Readonly<{
1471
+ getConfig: () => object;
1472
+ getChoices: () => readonly (string | number | boolean | null)[];
1473
+ getDefaultValue: () => any;
1474
+ getConstantValue: () => any;
1475
+ getPropertyType: () => string;
1476
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1477
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1478
+ }> | undefined;
1479
+ };
1480
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1481
+ singularName?: string | undefined;
1482
+ displayName?: string | undefined;
1483
+ }>;
1484
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1485
+ getOptions: () => object & Readonly<{
1486
+ [s: string]: any;
1487
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1488
+ }>;
1489
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1490
+ }>;
1491
+ }>>;
1492
+ }> | Readonly<{
1493
+ getConfig: () => object;
1494
+ getChoices: () => readonly (string | number | boolean | null)[];
1495
+ getDefaultValue: () => number;
1496
+ getConstantValue: () => number;
1497
+ getPropertyType: () => string;
1498
+ createGetter: (value: number, modelData: FunctionalModel, modelInstance: Readonly<{
1499
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1500
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1501
+ };
1502
+ references: Readonly<{
1503
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1504
+ }>;
1505
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1506
+ getPrimaryKeyName: () => string;
1507
+ getPrimaryKey: () => PrimaryKeyType;
1508
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1509
+ getName: () => string;
1510
+ getSingularName: () => string;
1511
+ getDisplayName: () => string;
1512
+ getPrimaryKeyName: () => string;
1513
+ getModelDefinition: () => Readonly<{
1514
+ getPrimaryKeyName?: (() => string) | undefined;
1515
+ properties: any & {
1516
+ readonly [x: string]: Readonly<{
1517
+ getConfig: () => object;
1518
+ getChoices: () => readonly (string | number | boolean | null)[];
1519
+ getDefaultValue: () => any;
1520
+ getConstantValue: () => any;
1521
+ getPropertyType: () => string;
1522
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1523
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1524
+ }>;
1525
+ readonly id?: Readonly<{
1526
+ getConfig: () => object;
1527
+ getChoices: () => readonly (string | number | boolean | null)[];
1528
+ getDefaultValue: () => any;
1529
+ getConstantValue: () => any;
1530
+ getPropertyType: () => string;
1531
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1532
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1533
+ }> | undefined;
1534
+ };
1535
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1536
+ singularName?: string | undefined;
1537
+ displayName?: string | undefined;
1538
+ }>;
1539
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1540
+ getOptions: () => object & Readonly<{
1541
+ [s: string]: any;
1542
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1543
+ }>;
1544
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1545
+ }>>;
1546
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1547
+ getModel: () => Readonly<{
1548
+ getName: () => string;
1549
+ getSingularName: () => string;
1550
+ getDisplayName: () => string;
1551
+ getPrimaryKeyName: () => string;
1552
+ getModelDefinition: () => Readonly<{
1553
+ getPrimaryKeyName?: (() => string) | undefined;
1554
+ properties: any & {
1555
+ readonly [x: string]: Readonly<{
1556
+ getConfig: () => object;
1557
+ getChoices: () => readonly (string | number | boolean | null)[];
1558
+ getDefaultValue: () => any;
1559
+ getConstantValue: () => any;
1560
+ getPropertyType: () => string;
1561
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1562
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1563
+ }>;
1564
+ readonly id?: Readonly<{
1565
+ getConfig: () => object;
1566
+ getChoices: () => readonly (string | number | boolean | null)[];
1567
+ getDefaultValue: () => any;
1568
+ getConstantValue: () => any;
1569
+ getPropertyType: () => string;
1570
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1571
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1572
+ }> | undefined;
1573
+ };
1574
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1575
+ singularName?: string | undefined;
1576
+ displayName?: string | undefined;
1577
+ }>;
1578
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1579
+ getOptions: () => object & Readonly<{
1580
+ [s: string]: any;
1581
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1582
+ }>;
1583
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1584
+ }>;
1585
+ }>) => import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
1586
+ getName: () => string;
1587
+ getSingularName: () => string;
1588
+ getDisplayName: () => string;
1589
+ getPrimaryKeyName: () => string;
1590
+ getModelDefinition: () => Readonly<{
1591
+ getPrimaryKeyName?: (() => string) | undefined;
1592
+ properties: any & {
1593
+ readonly [x: string]: Readonly<{
1594
+ getConfig: () => object;
1595
+ getChoices: () => readonly (string | number | boolean | null)[];
1596
+ getDefaultValue: () => any;
1597
+ getConstantValue: () => any;
1598
+ getPropertyType: () => string;
1599
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1600
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1601
+ }>;
1602
+ readonly id?: Readonly<{
1603
+ getConfig: () => object;
1604
+ getChoices: () => readonly (string | number | boolean | null)[];
1605
+ getDefaultValue: () => any;
1606
+ getConstantValue: () => any;
1607
+ getPropertyType: () => string;
1608
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1609
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1610
+ }> | undefined;
1611
+ };
1612
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1613
+ singularName?: string | undefined;
1614
+ displayName?: string | undefined;
1615
+ }>;
1616
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1617
+ getOptions: () => object & Readonly<{
1618
+ [s: string]: any;
1619
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1620
+ }>;
1621
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1622
+ }>, Readonly<{
1623
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1624
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1625
+ };
1626
+ references: Readonly<{
1627
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1628
+ }>;
1629
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1630
+ getPrimaryKeyName: () => string;
1631
+ getPrimaryKey: () => PrimaryKeyType;
1632
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1633
+ getName: () => string;
1634
+ getSingularName: () => string;
1635
+ getDisplayName: () => string;
1636
+ getPrimaryKeyName: () => string;
1637
+ getModelDefinition: () => Readonly<{
1638
+ getPrimaryKeyName?: (() => string) | undefined;
1639
+ properties: any & {
1640
+ readonly [x: string]: Readonly<{
1641
+ getConfig: () => object;
1642
+ getChoices: () => readonly (string | number | boolean | null)[];
1643
+ getDefaultValue: () => any;
1644
+ getConstantValue: () => any;
1645
+ getPropertyType: () => string;
1646
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1647
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1648
+ }>;
1649
+ readonly id?: Readonly<{
1650
+ getConfig: () => object;
1651
+ getChoices: () => readonly (string | number | boolean | null)[];
1652
+ getDefaultValue: () => any;
1653
+ getConstantValue: () => any;
1654
+ getPropertyType: () => string;
1655
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1656
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1657
+ }> | undefined;
1658
+ };
1659
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1660
+ singularName?: string | undefined;
1661
+ displayName?: string | undefined;
1662
+ }>;
1663
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1664
+ getOptions: () => object & Readonly<{
1665
+ [s: string]: any;
1666
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1667
+ }>;
1668
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1669
+ }>>;
1670
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1671
+ getModel: () => Readonly<{
1672
+ getName: () => string;
1673
+ getSingularName: () => string;
1674
+ getDisplayName: () => string;
1675
+ getPrimaryKeyName: () => string;
1676
+ getModelDefinition: () => Readonly<{
1677
+ getPrimaryKeyName?: (() => string) | undefined;
1678
+ properties: any & {
1679
+ readonly [x: string]: Readonly<{
1680
+ getConfig: () => object;
1681
+ getChoices: () => readonly (string | number | boolean | null)[];
1682
+ getDefaultValue: () => any;
1683
+ getConstantValue: () => any;
1684
+ getPropertyType: () => string;
1685
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1686
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1687
+ }>;
1688
+ readonly id?: Readonly<{
1689
+ getConfig: () => object;
1690
+ getChoices: () => readonly (string | number | boolean | null)[];
1691
+ getDefaultValue: () => any;
1692
+ getConstantValue: () => any;
1693
+ getPropertyType: () => string;
1694
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1695
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1696
+ }> | undefined;
1697
+ };
1698
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1699
+ singularName?: string | undefined;
1700
+ displayName?: string | undefined;
1701
+ }>;
1702
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1703
+ getOptions: () => object & Readonly<{
1704
+ [s: string]: any;
1705
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1706
+ }>;
1707
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1708
+ }>;
1709
+ }>>;
1710
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
1711
+ getName: () => string;
1712
+ getSingularName: () => string;
1713
+ getDisplayName: () => string;
1714
+ getPrimaryKeyName: () => string;
1715
+ getModelDefinition: () => Readonly<{
1716
+ getPrimaryKeyName?: (() => string) | undefined;
1717
+ properties: any & {
1718
+ readonly [x: string]: Readonly<{
1719
+ getConfig: () => object;
1720
+ getChoices: () => readonly (string | number | boolean | null)[];
1721
+ getDefaultValue: () => any;
1722
+ getConstantValue: () => any;
1723
+ getPropertyType: () => string;
1724
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1725
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1726
+ }>;
1727
+ readonly id?: Readonly<{
1728
+ getConfig: () => object;
1729
+ getChoices: () => readonly (string | number | boolean | null)[];
1730
+ getDefaultValue: () => any;
1731
+ getConstantValue: () => any;
1732
+ getPropertyType: () => string;
1733
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1734
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1735
+ }> | undefined;
1736
+ };
1737
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1738
+ singularName?: string | undefined;
1739
+ displayName?: string | undefined;
1740
+ }>;
1741
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1742
+ getOptions: () => object & Readonly<{
1743
+ [s: string]: any;
1744
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1745
+ }>;
1746
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1747
+ }>, Readonly<{
1748
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1749
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1750
+ };
1751
+ references: Readonly<{
1752
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1753
+ }>;
1754
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1755
+ getPrimaryKeyName: () => string;
1756
+ getPrimaryKey: () => PrimaryKeyType;
1757
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1758
+ getName: () => string;
1759
+ getSingularName: () => string;
1760
+ getDisplayName: () => string;
1761
+ getPrimaryKeyName: () => string;
1762
+ getModelDefinition: () => Readonly<{
1763
+ getPrimaryKeyName?: (() => string) | undefined;
1764
+ properties: any & {
1765
+ readonly [x: string]: Readonly<{
1766
+ getConfig: () => object;
1767
+ getChoices: () => readonly (string | number | boolean | null)[];
1768
+ getDefaultValue: () => any;
1769
+ getConstantValue: () => any;
1770
+ getPropertyType: () => string;
1771
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1772
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1773
+ }>;
1774
+ readonly id?: Readonly<{
1775
+ getConfig: () => object;
1776
+ getChoices: () => readonly (string | number | boolean | null)[];
1777
+ getDefaultValue: () => any;
1778
+ getConstantValue: () => any;
1779
+ getPropertyType: () => string;
1780
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1781
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1782
+ }> | undefined;
1783
+ };
1784
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1785
+ singularName?: string | undefined;
1786
+ displayName?: string | undefined;
1787
+ }>;
1788
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1789
+ getOptions: () => object & Readonly<{
1790
+ [s: string]: any;
1791
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1792
+ }>;
1793
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1794
+ }>>;
1795
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1796
+ getModel: () => Readonly<{
1797
+ getName: () => string;
1798
+ getSingularName: () => string;
1799
+ getDisplayName: () => string;
1800
+ getPrimaryKeyName: () => string;
1801
+ getModelDefinition: () => Readonly<{
1802
+ getPrimaryKeyName?: (() => string) | undefined;
1803
+ properties: any & {
1804
+ readonly [x: string]: Readonly<{
1805
+ getConfig: () => object;
1806
+ getChoices: () => readonly (string | number | boolean | null)[];
1807
+ getDefaultValue: () => any;
1808
+ getConstantValue: () => any;
1809
+ getPropertyType: () => string;
1810
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1811
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1812
+ }>;
1813
+ readonly id?: Readonly<{
1814
+ getConfig: () => object;
1815
+ getChoices: () => readonly (string | number | boolean | null)[];
1816
+ getDefaultValue: () => any;
1817
+ getConstantValue: () => any;
1818
+ getPropertyType: () => string;
1819
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1820
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1821
+ }> | undefined;
1822
+ };
1823
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1824
+ singularName?: string | undefined;
1825
+ displayName?: string | undefined;
1826
+ }>;
1827
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1828
+ getOptions: () => object & Readonly<{
1829
+ [s: string]: any;
1830
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1831
+ }>;
1832
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1833
+ }>;
1834
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
1835
+ getName: () => string;
1836
+ getSingularName: () => string;
1837
+ getDisplayName: () => string;
1838
+ getPrimaryKeyName: () => string;
1839
+ getModelDefinition: () => Readonly<{
1840
+ getPrimaryKeyName?: (() => string) | undefined;
1841
+ properties: any & {
1842
+ readonly [x: string]: Readonly<{
1843
+ getConfig: () => object;
1844
+ getChoices: () => readonly (string | number | boolean | null)[];
1845
+ getDefaultValue: () => any;
1846
+ getConstantValue: () => any;
1847
+ getPropertyType: () => string;
1848
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1849
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1850
+ }>;
1851
+ readonly id?: Readonly<{
1852
+ getConfig: () => object;
1853
+ getChoices: () => readonly (string | number | boolean | null)[];
1854
+ getDefaultValue: () => any;
1855
+ getConstantValue: () => any;
1856
+ getPropertyType: () => string;
1857
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1858
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1859
+ }> | undefined;
1860
+ };
1861
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1862
+ singularName?: string | undefined;
1863
+ displayName?: string | undefined;
1864
+ }>;
1865
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1866
+ getOptions: () => object & Readonly<{
1867
+ [s: string]: any;
1868
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1869
+ }>;
1870
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1871
+ }>, Readonly<{
1872
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
1873
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1874
+ };
1875
+ references: Readonly<{
1876
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1877
+ }>;
1878
+ toObj: import("./interfaces").toObj<FunctionalModel>;
1879
+ getPrimaryKeyName: () => string;
1880
+ getPrimaryKey: () => PrimaryKeyType;
1881
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
1882
+ getName: () => string;
1883
+ getSingularName: () => string;
1884
+ getDisplayName: () => string;
1885
+ getPrimaryKeyName: () => string;
1886
+ getModelDefinition: () => Readonly<{
1887
+ getPrimaryKeyName?: (() => string) | undefined;
1888
+ properties: any & {
1889
+ readonly [x: string]: Readonly<{
1890
+ getConfig: () => object;
1891
+ getChoices: () => readonly (string | number | boolean | null)[];
1892
+ getDefaultValue: () => any;
1893
+ getConstantValue: () => any;
1894
+ getPropertyType: () => string;
1895
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1896
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1897
+ }>;
1898
+ readonly id?: Readonly<{
1899
+ getConfig: () => object;
1900
+ getChoices: () => readonly (string | number | boolean | null)[];
1901
+ getDefaultValue: () => any;
1902
+ getConstantValue: () => any;
1903
+ getPropertyType: () => string;
1904
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1905
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1906
+ }> | undefined;
1907
+ };
1908
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1909
+ singularName?: string | undefined;
1910
+ displayName?: string | undefined;
1911
+ }>;
1912
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1913
+ getOptions: () => object & Readonly<{
1914
+ [s: string]: any;
1915
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1916
+ }>;
1917
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1918
+ }>>;
1919
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
1920
+ getModel: () => Readonly<{
1921
+ getName: () => string;
1922
+ getSingularName: () => string;
1923
+ getDisplayName: () => string;
1924
+ getPrimaryKeyName: () => string;
1925
+ getModelDefinition: () => Readonly<{
1926
+ getPrimaryKeyName?: (() => string) | undefined;
1927
+ properties: any & {
1928
+ readonly [x: string]: Readonly<{
1929
+ getConfig: () => object;
1930
+ getChoices: () => readonly (string | number | boolean | null)[];
1931
+ getDefaultValue: () => any;
1932
+ getConstantValue: () => any;
1933
+ getPropertyType: () => string;
1934
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1935
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1936
+ }>;
1937
+ readonly id?: Readonly<{
1938
+ getConfig: () => object;
1939
+ getChoices: () => readonly (string | number | boolean | null)[];
1940
+ getDefaultValue: () => any;
1941
+ getConstantValue: () => any;
1942
+ getPropertyType: () => string;
1943
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1944
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1945
+ }> | undefined;
1946
+ };
1947
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
1948
+ singularName?: string | undefined;
1949
+ displayName?: string | undefined;
1950
+ }>;
1951
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
1952
+ getOptions: () => object & Readonly<{
1953
+ [s: string]: any;
1954
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
1955
+ }>;
1956
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
1957
+ }>;
1958
+ }>>;
1959
+ }>) | undefined;
1960
+ } & { readonly [P in keyof T as T[P] extends Arrayable<FunctionalValue> ? P : never]: Readonly<{
1961
+ getConfig: () => object;
1962
+ getChoices: () => readonly (string | number | boolean | null)[];
1963
+ getDefaultValue: () => any;
1964
+ getConstantValue: () => any;
1965
+ getPropertyType: () => string;
1966
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
1967
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
1968
+ }>; };
1969
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<T, Readonly<any>, Readonly<{
1970
+ get: import("./interfaces").PropertyGetters<T> & {
1971
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1972
+ };
1973
+ references: Readonly<{
1974
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1975
+ }>;
1976
+ toObj: import("./interfaces").toObj<T>;
1977
+ getPrimaryKeyName: () => string;
1978
+ getPrimaryKey: () => PrimaryKeyType;
1979
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
1980
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
1981
+ getModel: () => Readonly<any>;
1982
+ }>>[] | undefined;
1983
+ singularName?: string | undefined;
1984
+ displayName?: string | undefined;
1985
+ }>;
1986
+ getPrimaryKey: (t: T | import("./interfaces").TypedJsonObj<T>) => PrimaryKeyType;
1987
+ getOptions: () => object & Readonly<{
1988
+ [s: string]: any;
1989
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<{
1990
+ get: import("./interfaces").PropertyGetters<T> & {
1991
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
1992
+ };
1993
+ references: Readonly<{
1994
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
1995
+ }>;
1996
+ toObj: import("./interfaces").toObj<T>;
1997
+ getPrimaryKeyName: () => string;
1998
+ getPrimaryKey: () => PrimaryKeyType;
1999
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
2000
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
2001
+ getModel: () => Readonly<any>;
2002
+ }>) => void>>;
2003
+ }>;
2004
+ create: (data: import("./interfaces").CreateParams<T>) => Readonly<{
2005
+ get: import("./interfaces").PropertyGetters<T> & {
2006
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2007
+ };
2008
+ references: Readonly<{
2009
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2010
+ }>;
2011
+ toObj: import("./interfaces").toObj<T>;
2012
+ getPrimaryKeyName: () => string;
2013
+ getPrimaryKey: () => PrimaryKeyType;
2014
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
2015
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
2016
+ getModel: () => Readonly<any>;
2017
+ }>;
2018
+ }>>;
2019
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
2020
+ getModel: () => Readonly<any>;
2021
+ }>>) => PropertyValidatorComponent<T, Readonly<{
2022
+ getName: () => string;
2023
+ getSingularName: () => string;
2024
+ getDisplayName: () => string;
2025
+ getPrimaryKeyName: () => string;
2026
+ getModelDefinition: () => Readonly<{
2027
+ getPrimaryKeyName?: (() => string) | undefined;
2028
+ properties: {
2029
+ id?: (Readonly<{
2030
+ getConfig: () => object;
2031
+ getChoices: () => readonly (string | number | boolean | null)[];
2032
+ getDefaultValue: () => string;
2033
+ getConstantValue: () => string;
2034
+ getPropertyType: () => string;
2035
+ createGetter: (value: string, modelData: FunctionalModel, modelInstance: Readonly<{
2036
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2037
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2038
+ };
2039
+ references: Readonly<{
2040
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2041
+ }>;
2042
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2043
+ getPrimaryKeyName: () => string;
2044
+ getPrimaryKey: () => PrimaryKeyType;
2045
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2046
+ getName: () => string;
2047
+ getSingularName: () => string;
2048
+ getDisplayName: () => string;
2049
+ getPrimaryKeyName: () => string;
2050
+ getModelDefinition: () => Readonly<{
2051
+ getPrimaryKeyName?: (() => string) | undefined;
2052
+ properties: any & {
2053
+ readonly [x: string]: Readonly<{
2054
+ getConfig: () => object;
2055
+ getChoices: () => readonly (string | number | boolean | null)[];
2056
+ getDefaultValue: () => any;
2057
+ getConstantValue: () => any;
2058
+ getPropertyType: () => string;
2059
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2060
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2061
+ }>;
2062
+ readonly id?: Readonly<{
2063
+ getConfig: () => object;
2064
+ getChoices: () => readonly (string | number | boolean | null)[];
2065
+ getDefaultValue: () => any;
2066
+ getConstantValue: () => any;
2067
+ getPropertyType: () => string;
2068
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2069
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2070
+ }> | undefined;
2071
+ };
2072
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2073
+ singularName?: string | undefined;
2074
+ displayName?: string | undefined;
2075
+ }>;
2076
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2077
+ getOptions: () => object & Readonly<{
2078
+ [s: string]: any;
2079
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2080
+ }>;
2081
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2082
+ }>>;
2083
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2084
+ getModel: () => Readonly<{
2085
+ getName: () => string;
2086
+ getSingularName: () => string;
2087
+ getDisplayName: () => string;
2088
+ getPrimaryKeyName: () => string;
2089
+ getModelDefinition: () => Readonly<{
2090
+ getPrimaryKeyName?: (() => string) | undefined;
2091
+ properties: any & {
2092
+ readonly [x: string]: Readonly<{
2093
+ getConfig: () => object;
2094
+ getChoices: () => readonly (string | number | boolean | null)[];
2095
+ getDefaultValue: () => any;
2096
+ getConstantValue: () => any;
2097
+ getPropertyType: () => string;
2098
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2099
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2100
+ }>;
2101
+ readonly id?: Readonly<{
2102
+ getConfig: () => object;
2103
+ getChoices: () => readonly (string | number | boolean | null)[];
2104
+ getDefaultValue: () => any;
2105
+ getConstantValue: () => any;
2106
+ getPropertyType: () => string;
2107
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2108
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2109
+ }> | undefined;
2110
+ };
2111
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2112
+ singularName?: string | undefined;
2113
+ displayName?: string | undefined;
2114
+ }>;
2115
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2116
+ getOptions: () => object & Readonly<{
2117
+ [s: string]: any;
2118
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2119
+ }>;
2120
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2121
+ }>;
2122
+ }>) => import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
2123
+ getName: () => string;
2124
+ getSingularName: () => string;
2125
+ getDisplayName: () => string;
2126
+ getPrimaryKeyName: () => string;
2127
+ getModelDefinition: () => Readonly<{
2128
+ getPrimaryKeyName?: (() => string) | undefined;
2129
+ properties: any & {
2130
+ readonly [x: string]: Readonly<{
2131
+ getConfig: () => object;
2132
+ getChoices: () => readonly (string | number | boolean | null)[];
2133
+ getDefaultValue: () => any;
2134
+ getConstantValue: () => any;
2135
+ getPropertyType: () => string;
2136
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2137
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2138
+ }>;
2139
+ readonly id?: Readonly<{
2140
+ getConfig: () => object;
2141
+ getChoices: () => readonly (string | number | boolean | null)[];
2142
+ getDefaultValue: () => any;
2143
+ getConstantValue: () => any;
2144
+ getPropertyType: () => string;
2145
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2146
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2147
+ }> | undefined;
2148
+ };
2149
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2150
+ singularName?: string | undefined;
2151
+ displayName?: string | undefined;
2152
+ }>;
2153
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2154
+ getOptions: () => object & Readonly<{
2155
+ [s: string]: any;
2156
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2157
+ }>;
2158
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2159
+ }>, Readonly<{
2160
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2161
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2162
+ };
2163
+ references: Readonly<{
2164
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2165
+ }>;
2166
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2167
+ getPrimaryKeyName: () => string;
2168
+ getPrimaryKey: () => PrimaryKeyType;
2169
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2170
+ getName: () => string;
2171
+ getSingularName: () => string;
2172
+ getDisplayName: () => string;
2173
+ getPrimaryKeyName: () => string;
2174
+ getModelDefinition: () => Readonly<{
2175
+ getPrimaryKeyName?: (() => string) | undefined;
2176
+ properties: any & {
2177
+ readonly [x: string]: Readonly<{
2178
+ getConfig: () => object;
2179
+ getChoices: () => readonly (string | number | boolean | null)[];
2180
+ getDefaultValue: () => any;
2181
+ getConstantValue: () => any;
2182
+ getPropertyType: () => string;
2183
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2184
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2185
+ }>;
2186
+ readonly id?: Readonly<{
2187
+ getConfig: () => object;
2188
+ getChoices: () => readonly (string | number | boolean | null)[];
2189
+ getDefaultValue: () => any;
2190
+ getConstantValue: () => any;
2191
+ getPropertyType: () => string;
2192
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2193
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2194
+ }> | undefined;
2195
+ };
2196
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2197
+ singularName?: string | undefined;
2198
+ displayName?: string | undefined;
2199
+ }>;
2200
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2201
+ getOptions: () => object & Readonly<{
2202
+ [s: string]: any;
2203
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2204
+ }>;
2205
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2206
+ }>>;
2207
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2208
+ getModel: () => Readonly<{
2209
+ getName: () => string;
2210
+ getSingularName: () => string;
2211
+ getDisplayName: () => string;
2212
+ getPrimaryKeyName: () => string;
2213
+ getModelDefinition: () => Readonly<{
2214
+ getPrimaryKeyName?: (() => string) | undefined;
2215
+ properties: any & {
2216
+ readonly [x: string]: Readonly<{
2217
+ getConfig: () => object;
2218
+ getChoices: () => readonly (string | number | boolean | null)[];
2219
+ getDefaultValue: () => any;
2220
+ getConstantValue: () => any;
2221
+ getPropertyType: () => string;
2222
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2223
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2224
+ }>;
2225
+ readonly id?: Readonly<{
2226
+ getConfig: () => object;
2227
+ getChoices: () => readonly (string | number | boolean | null)[];
2228
+ getDefaultValue: () => any;
2229
+ getConstantValue: () => any;
2230
+ getPropertyType: () => string;
2231
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2232
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2233
+ }> | undefined;
2234
+ };
2235
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2236
+ singularName?: string | undefined;
2237
+ displayName?: string | undefined;
2238
+ }>;
2239
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2240
+ getOptions: () => object & Readonly<{
2241
+ [s: string]: any;
2242
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2243
+ }>;
2244
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2245
+ }>;
2246
+ }>>;
2247
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
2248
+ getName: () => string;
2249
+ getSingularName: () => string;
2250
+ getDisplayName: () => string;
2251
+ getPrimaryKeyName: () => string;
2252
+ getModelDefinition: () => Readonly<{
2253
+ getPrimaryKeyName?: (() => string) | undefined;
2254
+ properties: any & {
2255
+ readonly [x: string]: Readonly<{
2256
+ getConfig: () => object;
2257
+ getChoices: () => readonly (string | number | boolean | null)[];
2258
+ getDefaultValue: () => any;
2259
+ getConstantValue: () => any;
2260
+ getPropertyType: () => string;
2261
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2262
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2263
+ }>;
2264
+ readonly id?: Readonly<{
2265
+ getConfig: () => object;
2266
+ getChoices: () => readonly (string | number | boolean | null)[];
2267
+ getDefaultValue: () => any;
2268
+ getConstantValue: () => any;
2269
+ getPropertyType: () => string;
2270
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2271
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2272
+ }> | undefined;
2273
+ };
2274
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2275
+ singularName?: string | undefined;
2276
+ displayName?: string | undefined;
2277
+ }>;
2278
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2279
+ getOptions: () => object & Readonly<{
2280
+ [s: string]: any;
2281
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2282
+ }>;
2283
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2284
+ }>, Readonly<{
2285
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2286
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2287
+ };
2288
+ references: Readonly<{
2289
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2290
+ }>;
2291
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2292
+ getPrimaryKeyName: () => string;
2293
+ getPrimaryKey: () => PrimaryKeyType;
2294
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2295
+ getName: () => string;
2296
+ getSingularName: () => string;
2297
+ getDisplayName: () => string;
2298
+ getPrimaryKeyName: () => string;
2299
+ getModelDefinition: () => Readonly<{
2300
+ getPrimaryKeyName?: (() => string) | undefined;
2301
+ properties: any & {
2302
+ readonly [x: string]: Readonly<{
2303
+ getConfig: () => object;
2304
+ getChoices: () => readonly (string | number | boolean | null)[];
2305
+ getDefaultValue: () => any;
2306
+ getConstantValue: () => any;
2307
+ getPropertyType: () => string;
2308
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2309
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2310
+ }>;
2311
+ readonly id?: Readonly<{
2312
+ getConfig: () => object;
2313
+ getChoices: () => readonly (string | number | boolean | null)[];
2314
+ getDefaultValue: () => any;
2315
+ getConstantValue: () => any;
2316
+ getPropertyType: () => string;
2317
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2318
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2319
+ }> | undefined;
2320
+ };
2321
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2322
+ singularName?: string | undefined;
2323
+ displayName?: string | undefined;
2324
+ }>;
2325
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2326
+ getOptions: () => object & Readonly<{
2327
+ [s: string]: any;
2328
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2329
+ }>;
2330
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2331
+ }>>;
2332
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2333
+ getModel: () => Readonly<{
2334
+ getName: () => string;
2335
+ getSingularName: () => string;
2336
+ getDisplayName: () => string;
2337
+ getPrimaryKeyName: () => string;
2338
+ getModelDefinition: () => Readonly<{
2339
+ getPrimaryKeyName?: (() => string) | undefined;
2340
+ properties: any & {
2341
+ readonly [x: string]: Readonly<{
2342
+ getConfig: () => object;
2343
+ getChoices: () => readonly (string | number | boolean | null)[];
2344
+ getDefaultValue: () => any;
2345
+ getConstantValue: () => any;
2346
+ getPropertyType: () => string;
2347
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2348
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2349
+ }>;
2350
+ readonly id?: Readonly<{
2351
+ getConfig: () => object;
2352
+ getChoices: () => readonly (string | number | boolean | null)[];
2353
+ getDefaultValue: () => any;
2354
+ getConstantValue: () => any;
2355
+ getPropertyType: () => string;
2356
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2357
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2358
+ }> | undefined;
2359
+ };
2360
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2361
+ singularName?: string | undefined;
2362
+ displayName?: string | undefined;
2363
+ }>;
2364
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2365
+ getOptions: () => object & Readonly<{
2366
+ [s: string]: any;
2367
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2368
+ }>;
2369
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2370
+ }>;
2371
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
2372
+ getName: () => string;
2373
+ getSingularName: () => string;
2374
+ getDisplayName: () => string;
2375
+ getPrimaryKeyName: () => string;
2376
+ getModelDefinition: () => Readonly<{
2377
+ getPrimaryKeyName?: (() => string) | undefined;
2378
+ properties: any & {
2379
+ readonly [x: string]: Readonly<{
2380
+ getConfig: () => object;
2381
+ getChoices: () => readonly (string | number | boolean | null)[];
2382
+ getDefaultValue: () => any;
2383
+ getConstantValue: () => any;
2384
+ getPropertyType: () => string;
2385
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2386
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2387
+ }>;
2388
+ readonly id?: Readonly<{
2389
+ getConfig: () => object;
2390
+ getChoices: () => readonly (string | number | boolean | null)[];
2391
+ getDefaultValue: () => any;
2392
+ getConstantValue: () => any;
2393
+ getPropertyType: () => string;
2394
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2395
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2396
+ }> | undefined;
2397
+ };
2398
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2399
+ singularName?: string | undefined;
2400
+ displayName?: string | undefined;
2401
+ }>;
2402
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2403
+ getOptions: () => object & Readonly<{
2404
+ [s: string]: any;
2405
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2406
+ }>;
2407
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2408
+ }>, Readonly<{
2409
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2410
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2411
+ };
2412
+ references: Readonly<{
2413
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2414
+ }>;
2415
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2416
+ getPrimaryKeyName: () => string;
2417
+ getPrimaryKey: () => PrimaryKeyType;
2418
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2419
+ getName: () => string;
2420
+ getSingularName: () => string;
2421
+ getDisplayName: () => string;
2422
+ getPrimaryKeyName: () => string;
2423
+ getModelDefinition: () => Readonly<{
2424
+ getPrimaryKeyName?: (() => string) | undefined;
2425
+ properties: any & {
2426
+ readonly [x: string]: Readonly<{
2427
+ getConfig: () => object;
2428
+ getChoices: () => readonly (string | number | boolean | null)[];
2429
+ getDefaultValue: () => any;
2430
+ getConstantValue: () => any;
2431
+ getPropertyType: () => string;
2432
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2433
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2434
+ }>;
2435
+ readonly id?: Readonly<{
2436
+ getConfig: () => object;
2437
+ getChoices: () => readonly (string | number | boolean | null)[];
2438
+ getDefaultValue: () => any;
2439
+ getConstantValue: () => any;
2440
+ getPropertyType: () => string;
2441
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2442
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2443
+ }> | undefined;
2444
+ };
2445
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2446
+ singularName?: string | undefined;
2447
+ displayName?: string | undefined;
2448
+ }>;
2449
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2450
+ getOptions: () => object & Readonly<{
2451
+ [s: string]: any;
2452
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2453
+ }>;
2454
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2455
+ }>>;
2456
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2457
+ getModel: () => Readonly<{
2458
+ getName: () => string;
2459
+ getSingularName: () => string;
2460
+ getDisplayName: () => string;
2461
+ getPrimaryKeyName: () => string;
2462
+ getModelDefinition: () => Readonly<{
2463
+ getPrimaryKeyName?: (() => string) | undefined;
2464
+ properties: any & {
2465
+ readonly [x: string]: Readonly<{
2466
+ getConfig: () => object;
2467
+ getChoices: () => readonly (string | number | boolean | null)[];
2468
+ getDefaultValue: () => any;
2469
+ getConstantValue: () => any;
2470
+ getPropertyType: () => string;
2471
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2472
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2473
+ }>;
2474
+ readonly id?: Readonly<{
2475
+ getConfig: () => object;
2476
+ getChoices: () => readonly (string | number | boolean | null)[];
2477
+ getDefaultValue: () => any;
2478
+ getConstantValue: () => any;
2479
+ getPropertyType: () => string;
2480
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2481
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2482
+ }> | undefined;
2483
+ };
2484
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2485
+ singularName?: string | undefined;
2486
+ displayName?: string | undefined;
2487
+ }>;
2488
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2489
+ getOptions: () => object & Readonly<{
2490
+ [s: string]: any;
2491
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2492
+ }>;
2493
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2494
+ }>;
2495
+ }>>;
2496
+ }> | Readonly<{
2497
+ getConfig: () => object;
2498
+ getChoices: () => readonly (string | number | boolean | null)[];
2499
+ getDefaultValue: () => number;
2500
+ getConstantValue: () => number;
2501
+ getPropertyType: () => string;
2502
+ createGetter: (value: number, modelData: FunctionalModel, modelInstance: Readonly<{
2503
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2504
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2505
+ };
2506
+ references: Readonly<{
2507
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2508
+ }>;
2509
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2510
+ getPrimaryKeyName: () => string;
2511
+ getPrimaryKey: () => PrimaryKeyType;
2512
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2513
+ getName: () => string;
2514
+ getSingularName: () => string;
2515
+ getDisplayName: () => string;
2516
+ getPrimaryKeyName: () => string;
2517
+ getModelDefinition: () => Readonly<{
2518
+ getPrimaryKeyName?: (() => string) | undefined;
2519
+ properties: any & {
2520
+ readonly [x: string]: Readonly<{
2521
+ getConfig: () => object;
2522
+ getChoices: () => readonly (string | number | boolean | null)[];
2523
+ getDefaultValue: () => any;
2524
+ getConstantValue: () => any;
2525
+ getPropertyType: () => string;
2526
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2527
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2528
+ }>;
2529
+ readonly id?: Readonly<{
2530
+ getConfig: () => object;
2531
+ getChoices: () => readonly (string | number | boolean | null)[];
2532
+ getDefaultValue: () => any;
2533
+ getConstantValue: () => any;
2534
+ getPropertyType: () => string;
2535
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2536
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2537
+ }> | undefined;
2538
+ };
2539
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2540
+ singularName?: string | undefined;
2541
+ displayName?: string | undefined;
2542
+ }>;
2543
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2544
+ getOptions: () => object & Readonly<{
2545
+ [s: string]: any;
2546
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2547
+ }>;
2548
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2549
+ }>>;
2550
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2551
+ getModel: () => Readonly<{
2552
+ getName: () => string;
2553
+ getSingularName: () => string;
2554
+ getDisplayName: () => string;
2555
+ getPrimaryKeyName: () => string;
2556
+ getModelDefinition: () => Readonly<{
2557
+ getPrimaryKeyName?: (() => string) | undefined;
2558
+ properties: any & {
2559
+ readonly [x: string]: Readonly<{
2560
+ getConfig: () => object;
2561
+ getChoices: () => readonly (string | number | boolean | null)[];
2562
+ getDefaultValue: () => any;
2563
+ getConstantValue: () => any;
2564
+ getPropertyType: () => string;
2565
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2566
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2567
+ }>;
2568
+ readonly id?: Readonly<{
2569
+ getConfig: () => object;
2570
+ getChoices: () => readonly (string | number | boolean | null)[];
2571
+ getDefaultValue: () => any;
2572
+ getConstantValue: () => any;
2573
+ getPropertyType: () => string;
2574
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2575
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2576
+ }> | undefined;
2577
+ };
2578
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2579
+ singularName?: string | undefined;
2580
+ displayName?: string | undefined;
2581
+ }>;
2582
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2583
+ getOptions: () => object & Readonly<{
2584
+ [s: string]: any;
2585
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2586
+ }>;
2587
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2588
+ }>;
2589
+ }>) => import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
2590
+ getName: () => string;
2591
+ getSingularName: () => string;
2592
+ getDisplayName: () => string;
2593
+ getPrimaryKeyName: () => string;
2594
+ getModelDefinition: () => Readonly<{
2595
+ getPrimaryKeyName?: (() => string) | undefined;
2596
+ properties: any & {
2597
+ readonly [x: string]: Readonly<{
2598
+ getConfig: () => object;
2599
+ getChoices: () => readonly (string | number | boolean | null)[];
2600
+ getDefaultValue: () => any;
2601
+ getConstantValue: () => any;
2602
+ getPropertyType: () => string;
2603
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2604
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2605
+ }>;
2606
+ readonly id?: Readonly<{
2607
+ getConfig: () => object;
2608
+ getChoices: () => readonly (string | number | boolean | null)[];
2609
+ getDefaultValue: () => any;
2610
+ getConstantValue: () => any;
2611
+ getPropertyType: () => string;
2612
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2613
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2614
+ }> | undefined;
2615
+ };
2616
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2617
+ singularName?: string | undefined;
2618
+ displayName?: string | undefined;
2619
+ }>;
2620
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2621
+ getOptions: () => object & Readonly<{
2622
+ [s: string]: any;
2623
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2624
+ }>;
2625
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2626
+ }>, Readonly<{
2627
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2628
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2629
+ };
2630
+ references: Readonly<{
2631
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2632
+ }>;
2633
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2634
+ getPrimaryKeyName: () => string;
2635
+ getPrimaryKey: () => PrimaryKeyType;
2636
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2637
+ getName: () => string;
2638
+ getSingularName: () => string;
2639
+ getDisplayName: () => string;
2640
+ getPrimaryKeyName: () => string;
2641
+ getModelDefinition: () => Readonly<{
2642
+ getPrimaryKeyName?: (() => string) | undefined;
2643
+ properties: any & {
2644
+ readonly [x: string]: Readonly<{
2645
+ getConfig: () => object;
2646
+ getChoices: () => readonly (string | number | boolean | null)[];
2647
+ getDefaultValue: () => any;
2648
+ getConstantValue: () => any;
2649
+ getPropertyType: () => string;
2650
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2651
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2652
+ }>;
2653
+ readonly id?: Readonly<{
2654
+ getConfig: () => object;
2655
+ getChoices: () => readonly (string | number | boolean | null)[];
2656
+ getDefaultValue: () => any;
2657
+ getConstantValue: () => any;
2658
+ getPropertyType: () => string;
2659
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2660
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2661
+ }> | undefined;
2662
+ };
2663
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2664
+ singularName?: string | undefined;
2665
+ displayName?: string | undefined;
2666
+ }>;
2667
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2668
+ getOptions: () => object & Readonly<{
2669
+ [s: string]: any;
2670
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2671
+ }>;
2672
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2673
+ }>>;
2674
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2675
+ getModel: () => Readonly<{
2676
+ getName: () => string;
2677
+ getSingularName: () => string;
2678
+ getDisplayName: () => string;
2679
+ getPrimaryKeyName: () => string;
2680
+ getModelDefinition: () => Readonly<{
2681
+ getPrimaryKeyName?: (() => string) | undefined;
2682
+ properties: any & {
2683
+ readonly [x: string]: Readonly<{
2684
+ getConfig: () => object;
2685
+ getChoices: () => readonly (string | number | boolean | null)[];
2686
+ getDefaultValue: () => any;
2687
+ getConstantValue: () => any;
2688
+ getPropertyType: () => string;
2689
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2690
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2691
+ }>;
2692
+ readonly id?: Readonly<{
2693
+ getConfig: () => object;
2694
+ getChoices: () => readonly (string | number | boolean | null)[];
2695
+ getDefaultValue: () => any;
2696
+ getConstantValue: () => any;
2697
+ getPropertyType: () => string;
2698
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2699
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2700
+ }> | undefined;
2701
+ };
2702
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2703
+ singularName?: string | undefined;
2704
+ displayName?: string | undefined;
2705
+ }>;
2706
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2707
+ getOptions: () => object & Readonly<{
2708
+ [s: string]: any;
2709
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2710
+ }>;
2711
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2712
+ }>;
2713
+ }>>;
2714
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
2715
+ getName: () => string;
2716
+ getSingularName: () => string;
2717
+ getDisplayName: () => string;
2718
+ getPrimaryKeyName: () => string;
2719
+ getModelDefinition: () => Readonly<{
2720
+ getPrimaryKeyName?: (() => string) | undefined;
2721
+ properties: any & {
2722
+ readonly [x: string]: Readonly<{
2723
+ getConfig: () => object;
2724
+ getChoices: () => readonly (string | number | boolean | null)[];
2725
+ getDefaultValue: () => any;
2726
+ getConstantValue: () => any;
2727
+ getPropertyType: () => string;
2728
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2729
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2730
+ }>;
2731
+ readonly id?: Readonly<{
2732
+ getConfig: () => object;
2733
+ getChoices: () => readonly (string | number | boolean | null)[];
2734
+ getDefaultValue: () => any;
2735
+ getConstantValue: () => any;
2736
+ getPropertyType: () => string;
2737
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2738
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2739
+ }> | undefined;
2740
+ };
2741
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2742
+ singularName?: string | undefined;
2743
+ displayName?: string | undefined;
2744
+ }>;
2745
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2746
+ getOptions: () => object & Readonly<{
2747
+ [s: string]: any;
2748
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2749
+ }>;
2750
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2751
+ }>, Readonly<{
2752
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2753
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2754
+ };
2755
+ references: Readonly<{
2756
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2757
+ }>;
2758
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2759
+ getPrimaryKeyName: () => string;
2760
+ getPrimaryKey: () => PrimaryKeyType;
2761
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2762
+ getName: () => string;
2763
+ getSingularName: () => string;
2764
+ getDisplayName: () => string;
2765
+ getPrimaryKeyName: () => string;
2766
+ getModelDefinition: () => Readonly<{
2767
+ getPrimaryKeyName?: (() => string) | undefined;
2768
+ properties: any & {
2769
+ readonly [x: string]: Readonly<{
2770
+ getConfig: () => object;
2771
+ getChoices: () => readonly (string | number | boolean | null)[];
2772
+ getDefaultValue: () => any;
2773
+ getConstantValue: () => any;
2774
+ getPropertyType: () => string;
2775
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2776
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2777
+ }>;
2778
+ readonly id?: Readonly<{
2779
+ getConfig: () => object;
2780
+ getChoices: () => readonly (string | number | boolean | null)[];
2781
+ getDefaultValue: () => any;
2782
+ getConstantValue: () => any;
2783
+ getPropertyType: () => string;
2784
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2785
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2786
+ }> | undefined;
2787
+ };
2788
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2789
+ singularName?: string | undefined;
2790
+ displayName?: string | undefined;
2791
+ }>;
2792
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2793
+ getOptions: () => object & Readonly<{
2794
+ [s: string]: any;
2795
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2796
+ }>;
2797
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2798
+ }>>;
2799
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2800
+ getModel: () => Readonly<{
2801
+ getName: () => string;
2802
+ getSingularName: () => string;
2803
+ getDisplayName: () => string;
2804
+ getPrimaryKeyName: () => string;
2805
+ getModelDefinition: () => Readonly<{
2806
+ getPrimaryKeyName?: (() => string) | undefined;
2807
+ properties: any & {
2808
+ readonly [x: string]: Readonly<{
2809
+ getConfig: () => object;
2810
+ getChoices: () => readonly (string | number | boolean | null)[];
2811
+ getDefaultValue: () => any;
2812
+ getConstantValue: () => any;
2813
+ getPropertyType: () => string;
2814
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2815
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2816
+ }>;
2817
+ readonly id?: Readonly<{
2818
+ getConfig: () => object;
2819
+ getChoices: () => readonly (string | number | boolean | null)[];
2820
+ getDefaultValue: () => any;
2821
+ getConstantValue: () => any;
2822
+ getPropertyType: () => string;
2823
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2824
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2825
+ }> | undefined;
2826
+ };
2827
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2828
+ singularName?: string | undefined;
2829
+ displayName?: string | undefined;
2830
+ }>;
2831
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2832
+ getOptions: () => object & Readonly<{
2833
+ [s: string]: any;
2834
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2835
+ }>;
2836
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2837
+ }>;
2838
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
2839
+ getName: () => string;
2840
+ getSingularName: () => string;
2841
+ getDisplayName: () => string;
2842
+ getPrimaryKeyName: () => string;
2843
+ getModelDefinition: () => Readonly<{
2844
+ getPrimaryKeyName?: (() => string) | undefined;
2845
+ properties: any & {
2846
+ readonly [x: string]: Readonly<{
2847
+ getConfig: () => object;
2848
+ getChoices: () => readonly (string | number | boolean | null)[];
2849
+ getDefaultValue: () => any;
2850
+ getConstantValue: () => any;
2851
+ getPropertyType: () => string;
2852
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2853
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2854
+ }>;
2855
+ readonly id?: Readonly<{
2856
+ getConfig: () => object;
2857
+ getChoices: () => readonly (string | number | boolean | null)[];
2858
+ getDefaultValue: () => any;
2859
+ getConstantValue: () => any;
2860
+ getPropertyType: () => string;
2861
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2862
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2863
+ }> | undefined;
2864
+ };
2865
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2866
+ singularName?: string | undefined;
2867
+ displayName?: string | undefined;
2868
+ }>;
2869
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2870
+ getOptions: () => object & Readonly<{
2871
+ [s: string]: any;
2872
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2873
+ }>;
2874
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2875
+ }>, Readonly<{
2876
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
2877
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2878
+ };
2879
+ references: Readonly<{
2880
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2881
+ }>;
2882
+ toObj: import("./interfaces").toObj<FunctionalModel>;
2883
+ getPrimaryKeyName: () => string;
2884
+ getPrimaryKey: () => PrimaryKeyType;
2885
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
2886
+ getName: () => string;
2887
+ getSingularName: () => string;
2888
+ getDisplayName: () => string;
2889
+ getPrimaryKeyName: () => string;
2890
+ getModelDefinition: () => Readonly<{
2891
+ getPrimaryKeyName?: (() => string) | undefined;
2892
+ properties: any & {
2893
+ readonly [x: string]: Readonly<{
2894
+ getConfig: () => object;
2895
+ getChoices: () => readonly (string | number | boolean | null)[];
2896
+ getDefaultValue: () => any;
2897
+ getConstantValue: () => any;
2898
+ getPropertyType: () => string;
2899
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2900
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2901
+ }>;
2902
+ readonly id?: Readonly<{
2903
+ getConfig: () => object;
2904
+ getChoices: () => readonly (string | number | boolean | null)[];
2905
+ getDefaultValue: () => any;
2906
+ getConstantValue: () => any;
2907
+ getPropertyType: () => string;
2908
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2909
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2910
+ }> | undefined;
2911
+ };
2912
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2913
+ singularName?: string | undefined;
2914
+ displayName?: string | undefined;
2915
+ }>;
2916
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2917
+ getOptions: () => object & Readonly<{
2918
+ [s: string]: any;
2919
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2920
+ }>;
2921
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2922
+ }>>;
2923
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
2924
+ getModel: () => Readonly<{
2925
+ getName: () => string;
2926
+ getSingularName: () => string;
2927
+ getDisplayName: () => string;
2928
+ getPrimaryKeyName: () => string;
2929
+ getModelDefinition: () => Readonly<{
2930
+ getPrimaryKeyName?: (() => string) | undefined;
2931
+ properties: any & {
2932
+ readonly [x: string]: Readonly<{
2933
+ getConfig: () => object;
2934
+ getChoices: () => readonly (string | number | boolean | null)[];
2935
+ getDefaultValue: () => any;
2936
+ getConstantValue: () => any;
2937
+ getPropertyType: () => string;
2938
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2939
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2940
+ }>;
2941
+ readonly id?: Readonly<{
2942
+ getConfig: () => object;
2943
+ getChoices: () => readonly (string | number | boolean | null)[];
2944
+ getDefaultValue: () => any;
2945
+ getConstantValue: () => any;
2946
+ getPropertyType: () => string;
2947
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2948
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2949
+ }> | undefined;
2950
+ };
2951
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
2952
+ singularName?: string | undefined;
2953
+ displayName?: string | undefined;
2954
+ }>;
2955
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
2956
+ getOptions: () => object & Readonly<{
2957
+ [s: string]: any;
2958
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
2959
+ }>;
2960
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
2961
+ }>;
2962
+ }>>;
2963
+ }>) | undefined;
2964
+ } & { readonly [P in keyof T as T[P] extends Arrayable<FunctionalValue> ? P : never]: Readonly<{
2965
+ getConfig: () => object;
2966
+ getChoices: () => readonly (string | number | boolean | null)[];
2967
+ getDefaultValue: () => any;
2968
+ getConstantValue: () => any;
2969
+ getPropertyType: () => string;
2970
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
2971
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
2972
+ }>; };
2973
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<T, Readonly<any>, Readonly<{
2974
+ get: import("./interfaces").PropertyGetters<T> & {
2975
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2976
+ };
2977
+ references: Readonly<{
2978
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2979
+ }>;
2980
+ toObj: import("./interfaces").toObj<T>;
2981
+ getPrimaryKeyName: () => string;
2982
+ getPrimaryKey: () => PrimaryKeyType;
2983
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
2984
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
2985
+ getModel: () => Readonly<any>;
2986
+ }>>[] | undefined;
2987
+ singularName?: string | undefined;
2988
+ displayName?: string | undefined;
2989
+ }>;
2990
+ getPrimaryKey: (t: T | import("./interfaces").TypedJsonObj<T>) => PrimaryKeyType;
2991
+ getOptions: () => object & Readonly<{
2992
+ [s: string]: any;
2993
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<{
2994
+ get: import("./interfaces").PropertyGetters<T> & {
2995
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
2996
+ };
2997
+ references: Readonly<{
2998
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
2999
+ }>;
3000
+ toObj: import("./interfaces").toObj<T>;
3001
+ getPrimaryKeyName: () => string;
3002
+ getPrimaryKey: () => PrimaryKeyType;
3003
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
3004
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
3005
+ getModel: () => Readonly<any>;
3006
+ }>) => void>>;
3007
+ }>;
3008
+ create: (data: import("./interfaces").CreateParams<T>) => Readonly<{
3009
+ get: import("./interfaces").PropertyGetters<T> & {
3010
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3011
+ };
3012
+ references: Readonly<{
3013
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3014
+ }>;
3015
+ toObj: import("./interfaces").toObj<T>;
3016
+ getPrimaryKeyName: () => string;
3017
+ getPrimaryKey: () => PrimaryKeyType;
3018
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
3019
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
3020
+ getModel: () => Readonly<any>;
3021
+ }>;
3022
+ }>, Readonly<{
3023
+ get: import("./interfaces").PropertyGetters<T> & {
3024
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3025
+ };
3026
+ references: Readonly<{
3027
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3028
+ }>;
3029
+ toObj: import("./interfaces").toObj<T>;
3030
+ getPrimaryKeyName: () => string;
3031
+ getPrimaryKey: () => PrimaryKeyType;
3032
+ validators: import("./interfaces").PropertyValidators<T, Readonly<{
3033
+ getName: () => string;
3034
+ getSingularName: () => string;
3035
+ getDisplayName: () => string;
3036
+ getPrimaryKeyName: () => string;
3037
+ getModelDefinition: () => Readonly<{
3038
+ getPrimaryKeyName?: (() => string) | undefined;
3039
+ properties: {
3040
+ id?: (Readonly<{
3041
+ getConfig: () => object;
3042
+ getChoices: () => readonly (string | number | boolean | null)[];
3043
+ getDefaultValue: () => string;
3044
+ getConstantValue: () => string;
3045
+ getPropertyType: () => string;
3046
+ createGetter: (value: string, modelData: FunctionalModel, modelInstance: Readonly<{
3047
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3048
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3049
+ };
3050
+ references: Readonly<{
3051
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3052
+ }>;
3053
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3054
+ getPrimaryKeyName: () => string;
3055
+ getPrimaryKey: () => PrimaryKeyType;
3056
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3057
+ getName: () => string;
3058
+ getSingularName: () => string;
3059
+ getDisplayName: () => string;
3060
+ getPrimaryKeyName: () => string;
3061
+ getModelDefinition: () => Readonly<{
3062
+ getPrimaryKeyName?: (() => string) | undefined;
3063
+ properties: any & {
3064
+ readonly [x: string]: Readonly<{
3065
+ getConfig: () => object;
3066
+ getChoices: () => readonly (string | number | boolean | null)[];
3067
+ getDefaultValue: () => any;
3068
+ getConstantValue: () => any;
3069
+ getPropertyType: () => string;
3070
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3071
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3072
+ }>;
3073
+ readonly id?: Readonly<{
3074
+ getConfig: () => object;
3075
+ getChoices: () => readonly (string | number | boolean | null)[];
3076
+ getDefaultValue: () => any;
3077
+ getConstantValue: () => any;
3078
+ getPropertyType: () => string;
3079
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3080
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3081
+ }> | undefined;
3082
+ };
3083
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3084
+ singularName?: string | undefined;
3085
+ displayName?: string | undefined;
3086
+ }>;
3087
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3088
+ getOptions: () => object & Readonly<{
3089
+ [s: string]: any;
3090
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3091
+ }>;
3092
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3093
+ }>>;
3094
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3095
+ getModel: () => Readonly<{
3096
+ getName: () => string;
3097
+ getSingularName: () => string;
3098
+ getDisplayName: () => string;
3099
+ getPrimaryKeyName: () => string;
3100
+ getModelDefinition: () => Readonly<{
3101
+ getPrimaryKeyName?: (() => string) | undefined;
3102
+ properties: any & {
3103
+ readonly [x: string]: Readonly<{
3104
+ getConfig: () => object;
3105
+ getChoices: () => readonly (string | number | boolean | null)[];
3106
+ getDefaultValue: () => any;
3107
+ getConstantValue: () => any;
3108
+ getPropertyType: () => string;
3109
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3110
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3111
+ }>;
3112
+ readonly id?: Readonly<{
3113
+ getConfig: () => object;
3114
+ getChoices: () => readonly (string | number | boolean | null)[];
3115
+ getDefaultValue: () => any;
3116
+ getConstantValue: () => any;
3117
+ getPropertyType: () => string;
3118
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3119
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3120
+ }> | undefined;
3121
+ };
3122
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3123
+ singularName?: string | undefined;
3124
+ displayName?: string | undefined;
3125
+ }>;
3126
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3127
+ getOptions: () => object & Readonly<{
3128
+ [s: string]: any;
3129
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3130
+ }>;
3131
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3132
+ }>;
3133
+ }>) => import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
3134
+ getName: () => string;
3135
+ getSingularName: () => string;
3136
+ getDisplayName: () => string;
3137
+ getPrimaryKeyName: () => string;
3138
+ getModelDefinition: () => Readonly<{
3139
+ getPrimaryKeyName?: (() => string) | undefined;
3140
+ properties: any & {
3141
+ readonly [x: string]: Readonly<{
3142
+ getConfig: () => object;
3143
+ getChoices: () => readonly (string | number | boolean | null)[];
3144
+ getDefaultValue: () => any;
3145
+ getConstantValue: () => any;
3146
+ getPropertyType: () => string;
3147
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3148
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3149
+ }>;
3150
+ readonly id?: Readonly<{
3151
+ getConfig: () => object;
3152
+ getChoices: () => readonly (string | number | boolean | null)[];
3153
+ getDefaultValue: () => any;
3154
+ getConstantValue: () => any;
3155
+ getPropertyType: () => string;
3156
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3157
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3158
+ }> | undefined;
3159
+ };
3160
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3161
+ singularName?: string | undefined;
3162
+ displayName?: string | undefined;
3163
+ }>;
3164
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3165
+ getOptions: () => object & Readonly<{
3166
+ [s: string]: any;
3167
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3168
+ }>;
3169
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3170
+ }>, Readonly<{
3171
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3172
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3173
+ };
3174
+ references: Readonly<{
3175
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3176
+ }>;
3177
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3178
+ getPrimaryKeyName: () => string;
3179
+ getPrimaryKey: () => PrimaryKeyType;
3180
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3181
+ getName: () => string;
3182
+ getSingularName: () => string;
3183
+ getDisplayName: () => string;
3184
+ getPrimaryKeyName: () => string;
3185
+ getModelDefinition: () => Readonly<{
3186
+ getPrimaryKeyName?: (() => string) | undefined;
3187
+ properties: any & {
3188
+ readonly [x: string]: Readonly<{
3189
+ getConfig: () => object;
3190
+ getChoices: () => readonly (string | number | boolean | null)[];
3191
+ getDefaultValue: () => any;
3192
+ getConstantValue: () => any;
3193
+ getPropertyType: () => string;
3194
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3195
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3196
+ }>;
3197
+ readonly id?: Readonly<{
3198
+ getConfig: () => object;
3199
+ getChoices: () => readonly (string | number | boolean | null)[];
3200
+ getDefaultValue: () => any;
3201
+ getConstantValue: () => any;
3202
+ getPropertyType: () => string;
3203
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3204
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3205
+ }> | undefined;
3206
+ };
3207
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3208
+ singularName?: string | undefined;
3209
+ displayName?: string | undefined;
3210
+ }>;
3211
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3212
+ getOptions: () => object & Readonly<{
3213
+ [s: string]: any;
3214
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3215
+ }>;
3216
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3217
+ }>>;
3218
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3219
+ getModel: () => Readonly<{
3220
+ getName: () => string;
3221
+ getSingularName: () => string;
3222
+ getDisplayName: () => string;
3223
+ getPrimaryKeyName: () => string;
3224
+ getModelDefinition: () => Readonly<{
3225
+ getPrimaryKeyName?: (() => string) | undefined;
3226
+ properties: any & {
3227
+ readonly [x: string]: Readonly<{
3228
+ getConfig: () => object;
3229
+ getChoices: () => readonly (string | number | boolean | null)[];
3230
+ getDefaultValue: () => any;
3231
+ getConstantValue: () => any;
3232
+ getPropertyType: () => string;
3233
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3234
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3235
+ }>;
3236
+ readonly id?: Readonly<{
3237
+ getConfig: () => object;
3238
+ getChoices: () => readonly (string | number | boolean | null)[];
3239
+ getDefaultValue: () => any;
3240
+ getConstantValue: () => any;
3241
+ getPropertyType: () => string;
3242
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3243
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3244
+ }> | undefined;
3245
+ };
3246
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3247
+ singularName?: string | undefined;
3248
+ displayName?: string | undefined;
3249
+ }>;
3250
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3251
+ getOptions: () => object & Readonly<{
3252
+ [s: string]: any;
3253
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3254
+ }>;
3255
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3256
+ }>;
3257
+ }>>;
3258
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<string, FunctionalModel, Readonly<{
3259
+ getName: () => string;
3260
+ getSingularName: () => string;
3261
+ getDisplayName: () => string;
3262
+ getPrimaryKeyName: () => string;
3263
+ getModelDefinition: () => Readonly<{
3264
+ getPrimaryKeyName?: (() => string) | undefined;
3265
+ properties: any & {
3266
+ readonly [x: string]: Readonly<{
3267
+ getConfig: () => object;
3268
+ getChoices: () => readonly (string | number | boolean | null)[];
3269
+ getDefaultValue: () => any;
3270
+ getConstantValue: () => any;
3271
+ getPropertyType: () => string;
3272
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3273
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3274
+ }>;
3275
+ readonly id?: Readonly<{
3276
+ getConfig: () => object;
3277
+ getChoices: () => readonly (string | number | boolean | null)[];
3278
+ getDefaultValue: () => any;
3279
+ getConstantValue: () => any;
3280
+ getPropertyType: () => string;
3281
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3282
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3283
+ }> | undefined;
3284
+ };
3285
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3286
+ singularName?: string | undefined;
3287
+ displayName?: string | undefined;
3288
+ }>;
3289
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3290
+ getOptions: () => object & Readonly<{
3291
+ [s: string]: any;
3292
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3293
+ }>;
3294
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3295
+ }>, Readonly<{
3296
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3297
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3298
+ };
3299
+ references: Readonly<{
3300
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3301
+ }>;
3302
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3303
+ getPrimaryKeyName: () => string;
3304
+ getPrimaryKey: () => PrimaryKeyType;
3305
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3306
+ getName: () => string;
3307
+ getSingularName: () => string;
3308
+ getDisplayName: () => string;
3309
+ getPrimaryKeyName: () => string;
3310
+ getModelDefinition: () => Readonly<{
3311
+ getPrimaryKeyName?: (() => string) | undefined;
3312
+ properties: any & {
3313
+ readonly [x: string]: Readonly<{
3314
+ getConfig: () => object;
3315
+ getChoices: () => readonly (string | number | boolean | null)[];
3316
+ getDefaultValue: () => any;
3317
+ getConstantValue: () => any;
3318
+ getPropertyType: () => string;
3319
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3320
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3321
+ }>;
3322
+ readonly id?: Readonly<{
3323
+ getConfig: () => object;
3324
+ getChoices: () => readonly (string | number | boolean | null)[];
3325
+ getDefaultValue: () => any;
3326
+ getConstantValue: () => any;
3327
+ getPropertyType: () => string;
3328
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3329
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3330
+ }> | undefined;
3331
+ };
3332
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3333
+ singularName?: string | undefined;
3334
+ displayName?: string | undefined;
3335
+ }>;
3336
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3337
+ getOptions: () => object & Readonly<{
3338
+ [s: string]: any;
3339
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3340
+ }>;
3341
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3342
+ }>>;
3343
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3344
+ getModel: () => Readonly<{
3345
+ getName: () => string;
3346
+ getSingularName: () => string;
3347
+ getDisplayName: () => string;
3348
+ getPrimaryKeyName: () => string;
3349
+ getModelDefinition: () => Readonly<{
3350
+ getPrimaryKeyName?: (() => string) | undefined;
3351
+ properties: any & {
3352
+ readonly [x: string]: Readonly<{
3353
+ getConfig: () => object;
3354
+ getChoices: () => readonly (string | number | boolean | null)[];
3355
+ getDefaultValue: () => any;
3356
+ getConstantValue: () => any;
3357
+ getPropertyType: () => string;
3358
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3359
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3360
+ }>;
3361
+ readonly id?: Readonly<{
3362
+ getConfig: () => object;
3363
+ getChoices: () => readonly (string | number | boolean | null)[];
3364
+ getDefaultValue: () => any;
3365
+ getConstantValue: () => any;
3366
+ getPropertyType: () => string;
3367
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3368
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3369
+ }> | undefined;
3370
+ };
3371
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3372
+ singularName?: string | undefined;
3373
+ displayName?: string | undefined;
3374
+ }>;
3375
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3376
+ getOptions: () => object & Readonly<{
3377
+ [s: string]: any;
3378
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3379
+ }>;
3380
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3381
+ }>;
3382
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
3383
+ getName: () => string;
3384
+ getSingularName: () => string;
3385
+ getDisplayName: () => string;
3386
+ getPrimaryKeyName: () => string;
3387
+ getModelDefinition: () => Readonly<{
3388
+ getPrimaryKeyName?: (() => string) | undefined;
3389
+ properties: any & {
3390
+ readonly [x: string]: Readonly<{
3391
+ getConfig: () => object;
3392
+ getChoices: () => readonly (string | number | boolean | null)[];
3393
+ getDefaultValue: () => any;
3394
+ getConstantValue: () => any;
3395
+ getPropertyType: () => string;
3396
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3397
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3398
+ }>;
3399
+ readonly id?: Readonly<{
3400
+ getConfig: () => object;
3401
+ getChoices: () => readonly (string | number | boolean | null)[];
3402
+ getDefaultValue: () => any;
3403
+ getConstantValue: () => any;
3404
+ getPropertyType: () => string;
3405
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3406
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3407
+ }> | undefined;
3408
+ };
3409
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3410
+ singularName?: string | undefined;
3411
+ displayName?: string | undefined;
3412
+ }>;
3413
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3414
+ getOptions: () => object & Readonly<{
3415
+ [s: string]: any;
3416
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3417
+ }>;
3418
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3419
+ }>, Readonly<{
3420
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3421
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3422
+ };
3423
+ references: Readonly<{
3424
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3425
+ }>;
3426
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3427
+ getPrimaryKeyName: () => string;
3428
+ getPrimaryKey: () => PrimaryKeyType;
3429
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3430
+ getName: () => string;
3431
+ getSingularName: () => string;
3432
+ getDisplayName: () => string;
3433
+ getPrimaryKeyName: () => string;
3434
+ getModelDefinition: () => Readonly<{
3435
+ getPrimaryKeyName?: (() => string) | undefined;
3436
+ properties: any & {
3437
+ readonly [x: string]: Readonly<{
3438
+ getConfig: () => object;
3439
+ getChoices: () => readonly (string | number | boolean | null)[];
3440
+ getDefaultValue: () => any;
3441
+ getConstantValue: () => any;
3442
+ getPropertyType: () => string;
3443
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3444
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3445
+ }>;
3446
+ readonly id?: Readonly<{
3447
+ getConfig: () => object;
3448
+ getChoices: () => readonly (string | number | boolean | null)[];
3449
+ getDefaultValue: () => any;
3450
+ getConstantValue: () => any;
3451
+ getPropertyType: () => string;
3452
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3453
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3454
+ }> | undefined;
3455
+ };
3456
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3457
+ singularName?: string | undefined;
3458
+ displayName?: string | undefined;
3459
+ }>;
3460
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3461
+ getOptions: () => object & Readonly<{
3462
+ [s: string]: any;
3463
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3464
+ }>;
3465
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3466
+ }>>;
3467
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3468
+ getModel: () => Readonly<{
3469
+ getName: () => string;
3470
+ getSingularName: () => string;
3471
+ getDisplayName: () => string;
3472
+ getPrimaryKeyName: () => string;
3473
+ getModelDefinition: () => Readonly<{
3474
+ getPrimaryKeyName?: (() => string) | undefined;
3475
+ properties: any & {
3476
+ readonly [x: string]: Readonly<{
3477
+ getConfig: () => object;
3478
+ getChoices: () => readonly (string | number | boolean | null)[];
3479
+ getDefaultValue: () => any;
3480
+ getConstantValue: () => any;
3481
+ getPropertyType: () => string;
3482
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3483
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3484
+ }>;
3485
+ readonly id?: Readonly<{
3486
+ getConfig: () => object;
3487
+ getChoices: () => readonly (string | number | boolean | null)[];
3488
+ getDefaultValue: () => any;
3489
+ getConstantValue: () => any;
3490
+ getPropertyType: () => string;
3491
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3492
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3493
+ }> | undefined;
3494
+ };
3495
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3496
+ singularName?: string | undefined;
3497
+ displayName?: string | undefined;
3498
+ }>;
3499
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3500
+ getOptions: () => object & Readonly<{
3501
+ [s: string]: any;
3502
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3503
+ }>;
3504
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3505
+ }>;
3506
+ }>>;
3507
+ }> | Readonly<{
3508
+ getConfig: () => object;
3509
+ getChoices: () => readonly (string | number | boolean | null)[];
3510
+ getDefaultValue: () => number;
3511
+ getConstantValue: () => number;
3512
+ getPropertyType: () => string;
3513
+ createGetter: (value: number, modelData: FunctionalModel, modelInstance: Readonly<{
3514
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3515
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3516
+ };
3517
+ references: Readonly<{
3518
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3519
+ }>;
3520
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3521
+ getPrimaryKeyName: () => string;
3522
+ getPrimaryKey: () => PrimaryKeyType;
3523
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3524
+ getName: () => string;
3525
+ getSingularName: () => string;
3526
+ getDisplayName: () => string;
3527
+ getPrimaryKeyName: () => string;
3528
+ getModelDefinition: () => Readonly<{
3529
+ getPrimaryKeyName?: (() => string) | undefined;
3530
+ properties: any & {
3531
+ readonly [x: string]: Readonly<{
3532
+ getConfig: () => object;
3533
+ getChoices: () => readonly (string | number | boolean | null)[];
3534
+ getDefaultValue: () => any;
3535
+ getConstantValue: () => any;
3536
+ getPropertyType: () => string;
3537
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3538
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3539
+ }>;
3540
+ readonly id?: Readonly<{
3541
+ getConfig: () => object;
3542
+ getChoices: () => readonly (string | number | boolean | null)[];
3543
+ getDefaultValue: () => any;
3544
+ getConstantValue: () => any;
3545
+ getPropertyType: () => string;
3546
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3547
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3548
+ }> | undefined;
3549
+ };
3550
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3551
+ singularName?: string | undefined;
3552
+ displayName?: string | undefined;
3553
+ }>;
3554
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3555
+ getOptions: () => object & Readonly<{
3556
+ [s: string]: any;
3557
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3558
+ }>;
3559
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3560
+ }>>;
3561
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3562
+ getModel: () => Readonly<{
3563
+ getName: () => string;
3564
+ getSingularName: () => string;
3565
+ getDisplayName: () => string;
3566
+ getPrimaryKeyName: () => string;
3567
+ getModelDefinition: () => Readonly<{
3568
+ getPrimaryKeyName?: (() => string) | undefined;
3569
+ properties: any & {
3570
+ readonly [x: string]: Readonly<{
3571
+ getConfig: () => object;
3572
+ getChoices: () => readonly (string | number | boolean | null)[];
3573
+ getDefaultValue: () => any;
3574
+ getConstantValue: () => any;
3575
+ getPropertyType: () => string;
3576
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3577
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3578
+ }>;
3579
+ readonly id?: Readonly<{
3580
+ getConfig: () => object;
3581
+ getChoices: () => readonly (string | number | boolean | null)[];
3582
+ getDefaultValue: () => any;
3583
+ getConstantValue: () => any;
3584
+ getPropertyType: () => string;
3585
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3586
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3587
+ }> | undefined;
3588
+ };
3589
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3590
+ singularName?: string | undefined;
3591
+ displayName?: string | undefined;
3592
+ }>;
3593
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3594
+ getOptions: () => object & Readonly<{
3595
+ [s: string]: any;
3596
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3597
+ }>;
3598
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3599
+ }>;
3600
+ }>) => import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
3601
+ getName: () => string;
3602
+ getSingularName: () => string;
3603
+ getDisplayName: () => string;
3604
+ getPrimaryKeyName: () => string;
3605
+ getModelDefinition: () => Readonly<{
3606
+ getPrimaryKeyName?: (() => string) | undefined;
3607
+ properties: any & {
3608
+ readonly [x: string]: Readonly<{
3609
+ getConfig: () => object;
3610
+ getChoices: () => readonly (string | number | boolean | null)[];
3611
+ getDefaultValue: () => any;
3612
+ getConstantValue: () => any;
3613
+ getPropertyType: () => string;
3614
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3615
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3616
+ }>;
3617
+ readonly id?: Readonly<{
3618
+ getConfig: () => object;
3619
+ getChoices: () => readonly (string | number | boolean | null)[];
3620
+ getDefaultValue: () => any;
3621
+ getConstantValue: () => any;
3622
+ getPropertyType: () => string;
3623
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3624
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3625
+ }> | undefined;
3626
+ };
3627
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3628
+ singularName?: string | undefined;
3629
+ displayName?: string | undefined;
3630
+ }>;
3631
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3632
+ getOptions: () => object & Readonly<{
3633
+ [s: string]: any;
3634
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3635
+ }>;
3636
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3637
+ }>, Readonly<{
3638
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3639
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3640
+ };
3641
+ references: Readonly<{
3642
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3643
+ }>;
3644
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3645
+ getPrimaryKeyName: () => string;
3646
+ getPrimaryKey: () => PrimaryKeyType;
3647
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3648
+ getName: () => string;
3649
+ getSingularName: () => string;
3650
+ getDisplayName: () => string;
3651
+ getPrimaryKeyName: () => string;
3652
+ getModelDefinition: () => Readonly<{
3653
+ getPrimaryKeyName?: (() => string) | undefined;
3654
+ properties: any & {
3655
+ readonly [x: string]: Readonly<{
3656
+ getConfig: () => object;
3657
+ getChoices: () => readonly (string | number | boolean | null)[];
3658
+ getDefaultValue: () => any;
3659
+ getConstantValue: () => any;
3660
+ getPropertyType: () => string;
3661
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3662
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3663
+ }>;
3664
+ readonly id?: Readonly<{
3665
+ getConfig: () => object;
3666
+ getChoices: () => readonly (string | number | boolean | null)[];
3667
+ getDefaultValue: () => any;
3668
+ getConstantValue: () => any;
3669
+ getPropertyType: () => string;
3670
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3671
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3672
+ }> | undefined;
3673
+ };
3674
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3675
+ singularName?: string | undefined;
3676
+ displayName?: string | undefined;
3677
+ }>;
3678
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3679
+ getOptions: () => object & Readonly<{
3680
+ [s: string]: any;
3681
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3682
+ }>;
3683
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3684
+ }>>;
3685
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3686
+ getModel: () => Readonly<{
3687
+ getName: () => string;
3688
+ getSingularName: () => string;
3689
+ getDisplayName: () => string;
3690
+ getPrimaryKeyName: () => string;
3691
+ getModelDefinition: () => Readonly<{
3692
+ getPrimaryKeyName?: (() => string) | undefined;
3693
+ properties: any & {
3694
+ readonly [x: string]: Readonly<{
3695
+ getConfig: () => object;
3696
+ getChoices: () => readonly (string | number | boolean | null)[];
3697
+ getDefaultValue: () => any;
3698
+ getConstantValue: () => any;
3699
+ getPropertyType: () => string;
3700
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3701
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3702
+ }>;
3703
+ readonly id?: Readonly<{
3704
+ getConfig: () => object;
3705
+ getChoices: () => readonly (string | number | boolean | null)[];
3706
+ getDefaultValue: () => any;
3707
+ getConstantValue: () => any;
3708
+ getPropertyType: () => string;
3709
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3710
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3711
+ }> | undefined;
3712
+ };
3713
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3714
+ singularName?: string | undefined;
3715
+ displayName?: string | undefined;
3716
+ }>;
3717
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3718
+ getOptions: () => object & Readonly<{
3719
+ [s: string]: any;
3720
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3721
+ }>;
3722
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3723
+ }>;
3724
+ }>>;
3725
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<number, FunctionalModel, Readonly<{
3726
+ getName: () => string;
3727
+ getSingularName: () => string;
3728
+ getDisplayName: () => string;
3729
+ getPrimaryKeyName: () => string;
3730
+ getModelDefinition: () => Readonly<{
3731
+ getPrimaryKeyName?: (() => string) | undefined;
3732
+ properties: any & {
3733
+ readonly [x: string]: Readonly<{
3734
+ getConfig: () => object;
3735
+ getChoices: () => readonly (string | number | boolean | null)[];
3736
+ getDefaultValue: () => any;
3737
+ getConstantValue: () => any;
3738
+ getPropertyType: () => string;
3739
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3740
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3741
+ }>;
3742
+ readonly id?: Readonly<{
3743
+ getConfig: () => object;
3744
+ getChoices: () => readonly (string | number | boolean | null)[];
3745
+ getDefaultValue: () => any;
3746
+ getConstantValue: () => any;
3747
+ getPropertyType: () => string;
3748
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3749
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3750
+ }> | undefined;
3751
+ };
3752
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3753
+ singularName?: string | undefined;
3754
+ displayName?: string | undefined;
3755
+ }>;
3756
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3757
+ getOptions: () => object & Readonly<{
3758
+ [s: string]: any;
3759
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3760
+ }>;
3761
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3762
+ }>, Readonly<{
3763
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3764
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3765
+ };
3766
+ references: Readonly<{
3767
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3768
+ }>;
3769
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3770
+ getPrimaryKeyName: () => string;
3771
+ getPrimaryKey: () => PrimaryKeyType;
3772
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3773
+ getName: () => string;
3774
+ getSingularName: () => string;
3775
+ getDisplayName: () => string;
3776
+ getPrimaryKeyName: () => string;
3777
+ getModelDefinition: () => Readonly<{
3778
+ getPrimaryKeyName?: (() => string) | undefined;
3779
+ properties: any & {
3780
+ readonly [x: string]: Readonly<{
3781
+ getConfig: () => object;
3782
+ getChoices: () => readonly (string | number | boolean | null)[];
3783
+ getDefaultValue: () => any;
3784
+ getConstantValue: () => any;
3785
+ getPropertyType: () => string;
3786
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3787
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3788
+ }>;
3789
+ readonly id?: Readonly<{
3790
+ getConfig: () => object;
3791
+ getChoices: () => readonly (string | number | boolean | null)[];
3792
+ getDefaultValue: () => any;
3793
+ getConstantValue: () => any;
3794
+ getPropertyType: () => string;
3795
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3796
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3797
+ }> | undefined;
3798
+ };
3799
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3800
+ singularName?: string | undefined;
3801
+ displayName?: string | undefined;
3802
+ }>;
3803
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3804
+ getOptions: () => object & Readonly<{
3805
+ [s: string]: any;
3806
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3807
+ }>;
3808
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3809
+ }>>;
3810
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3811
+ getModel: () => Readonly<{
3812
+ getName: () => string;
3813
+ getSingularName: () => string;
3814
+ getDisplayName: () => string;
3815
+ getPrimaryKeyName: () => string;
3816
+ getModelDefinition: () => Readonly<{
3817
+ getPrimaryKeyName?: (() => string) | undefined;
3818
+ properties: any & {
3819
+ readonly [x: string]: Readonly<{
3820
+ getConfig: () => object;
3821
+ getChoices: () => readonly (string | number | boolean | null)[];
3822
+ getDefaultValue: () => any;
3823
+ getConstantValue: () => any;
3824
+ getPropertyType: () => string;
3825
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3826
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3827
+ }>;
3828
+ readonly id?: Readonly<{
3829
+ getConfig: () => object;
3830
+ getChoices: () => readonly (string | number | boolean | null)[];
3831
+ getDefaultValue: () => any;
3832
+ getConstantValue: () => any;
3833
+ getPropertyType: () => string;
3834
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3835
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3836
+ }> | undefined;
3837
+ };
3838
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3839
+ singularName?: string | undefined;
3840
+ displayName?: string | undefined;
3841
+ }>;
3842
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3843
+ getOptions: () => object & Readonly<{
3844
+ [s: string]: any;
3845
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3846
+ }>;
3847
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3848
+ }>;
3849
+ }>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<{
3850
+ getName: () => string;
3851
+ getSingularName: () => string;
3852
+ getDisplayName: () => string;
3853
+ getPrimaryKeyName: () => string;
3854
+ getModelDefinition: () => Readonly<{
3855
+ getPrimaryKeyName?: (() => string) | undefined;
3856
+ properties: any & {
3857
+ readonly [x: string]: Readonly<{
3858
+ getConfig: () => object;
3859
+ getChoices: () => readonly (string | number | boolean | null)[];
3860
+ getDefaultValue: () => any;
3861
+ getConstantValue: () => any;
3862
+ getPropertyType: () => string;
3863
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3864
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3865
+ }>;
3866
+ readonly id?: Readonly<{
3867
+ getConfig: () => object;
3868
+ getChoices: () => readonly (string | number | boolean | null)[];
3869
+ getDefaultValue: () => any;
3870
+ getConstantValue: () => any;
3871
+ getPropertyType: () => string;
3872
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3873
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3874
+ }> | undefined;
3875
+ };
3876
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3877
+ singularName?: string | undefined;
3878
+ displayName?: string | undefined;
3879
+ }>;
3880
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3881
+ getOptions: () => object & Readonly<{
3882
+ [s: string]: any;
3883
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3884
+ }>;
3885
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3886
+ }>, Readonly<{
3887
+ get: import("./interfaces").PropertyGetters<FunctionalModel> & {
3888
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3889
+ };
3890
+ references: Readonly<{
3891
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3892
+ }>;
3893
+ toObj: import("./interfaces").toObj<FunctionalModel>;
3894
+ getPrimaryKeyName: () => string;
3895
+ getPrimaryKey: () => PrimaryKeyType;
3896
+ validators: import("./interfaces").PropertyValidators<FunctionalModel, Readonly<{
3897
+ getName: () => string;
3898
+ getSingularName: () => string;
3899
+ getDisplayName: () => string;
3900
+ getPrimaryKeyName: () => string;
3901
+ getModelDefinition: () => Readonly<{
3902
+ getPrimaryKeyName?: (() => string) | undefined;
3903
+ properties: any & {
3904
+ readonly [x: string]: Readonly<{
3905
+ getConfig: () => object;
3906
+ getChoices: () => readonly (string | number | boolean | null)[];
3907
+ getDefaultValue: () => any;
3908
+ getConstantValue: () => any;
3909
+ getPropertyType: () => string;
3910
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3911
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3912
+ }>;
3913
+ readonly id?: Readonly<{
3914
+ getConfig: () => object;
3915
+ getChoices: () => readonly (string | number | boolean | null)[];
3916
+ getDefaultValue: () => any;
3917
+ getConstantValue: () => any;
3918
+ getPropertyType: () => string;
3919
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3920
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3921
+ }> | undefined;
3922
+ };
3923
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3924
+ singularName?: string | undefined;
3925
+ displayName?: string | undefined;
3926
+ }>;
3927
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3928
+ getOptions: () => object & Readonly<{
3929
+ [s: string]: any;
3930
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3931
+ }>;
3932
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3933
+ }>>;
3934
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<FunctionalModel>>;
3935
+ getModel: () => Readonly<{
3936
+ getName: () => string;
3937
+ getSingularName: () => string;
3938
+ getDisplayName: () => string;
3939
+ getPrimaryKeyName: () => string;
3940
+ getModelDefinition: () => Readonly<{
3941
+ getPrimaryKeyName?: (() => string) | undefined;
3942
+ properties: any & {
3943
+ readonly [x: string]: Readonly<{
3944
+ getConfig: () => object;
3945
+ getChoices: () => readonly (string | number | boolean | null)[];
3946
+ getDefaultValue: () => any;
3947
+ getConstantValue: () => any;
3948
+ getPropertyType: () => string;
3949
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3950
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3951
+ }>;
3952
+ readonly id?: Readonly<{
3953
+ getConfig: () => object;
3954
+ getChoices: () => readonly (string | number | boolean | null)[];
3955
+ getDefaultValue: () => any;
3956
+ getConstantValue: () => any;
3957
+ getPropertyType: () => string;
3958
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3959
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3960
+ }> | undefined;
3961
+ };
3962
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<FunctionalModel, Readonly<any>, Readonly<any>>[] | undefined;
3963
+ singularName?: string | undefined;
3964
+ displayName?: string | undefined;
3965
+ }>;
3966
+ getPrimaryKey: (t: FunctionalModel | import("./interfaces").TypedJsonObj<FunctionalModel>) => PrimaryKeyType;
3967
+ getOptions: () => object & Readonly<{
3968
+ [s: string]: any;
3969
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<any>) => void>>;
3970
+ }>;
3971
+ create: (data: import("./interfaces").CreateParams<FunctionalModel>) => Readonly<any>;
3972
+ }>;
3973
+ }>>;
3974
+ }>) | undefined;
3975
+ } & { readonly [P in keyof T as T[P] extends Arrayable<FunctionalValue> ? P : never]: Readonly<{
3976
+ getConfig: () => object;
3977
+ getChoices: () => readonly (string | number | boolean | null)[];
3978
+ getDefaultValue: () => any;
3979
+ getConstantValue: () => any;
3980
+ getPropertyType: () => string;
3981
+ createGetter: (value: any, modelData: FunctionalModel, modelInstance: Readonly<any>) => import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>;
3982
+ getValidator: (valueGetter: import("./interfaces").ValueGetter<any, FunctionalModel, Readonly<any>, Readonly<any>>) => import("./interfaces").PropertyValidator<FunctionalModel, Readonly<any>, Readonly<any>>;
3983
+ }>; };
3984
+ modelValidators?: readonly import("./interfaces").ModelValidatorComponent<T, Readonly<any>, Readonly<{
3985
+ get: import("./interfaces").PropertyGetters<T> & {
3986
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
3987
+ };
3988
+ references: Readonly<{
3989
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
3990
+ }>;
3991
+ toObj: import("./interfaces").toObj<T>;
3992
+ getPrimaryKeyName: () => string;
3993
+ getPrimaryKey: () => PrimaryKeyType;
3994
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
3995
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
3996
+ getModel: () => Readonly<any>;
3997
+ }>>[] | undefined;
3998
+ singularName?: string | undefined;
3999
+ displayName?: string | undefined;
4000
+ }>;
4001
+ getPrimaryKey: (t: T | import("./interfaces").TypedJsonObj<T>) => PrimaryKeyType;
4002
+ getOptions: () => object & Readonly<{
4003
+ [s: string]: any;
4004
+ instanceCreatedCallback: import("./interfaces").Nullable<Arrayable<(instance: Readonly<{
4005
+ get: import("./interfaces").PropertyGetters<T> & {
4006
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
4007
+ };
4008
+ references: Readonly<{
4009
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
4010
+ }>;
4011
+ toObj: import("./interfaces").toObj<T>;
4012
+ getPrimaryKeyName: () => string;
4013
+ getPrimaryKey: () => PrimaryKeyType;
4014
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
4015
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
4016
+ getModel: () => Readonly<any>;
4017
+ }>) => void>>;
4018
+ }>;
4019
+ create: (data: import("./interfaces").CreateParams<T>) => Readonly<{
4020
+ get: import("./interfaces").PropertyGetters<T> & {
4021
+ id?: (() => import("./interfaces").MaybePromise<PrimaryKeyType>) | undefined;
4022
+ };
4023
+ references: Readonly<{
4024
+ [s: string]: () => import("./interfaces").Maybe<PrimaryKeyType>;
4025
+ }>;
4026
+ toObj: import("./interfaces").toObj<T>;
4027
+ getPrimaryKeyName: () => string;
4028
+ getPrimaryKey: () => PrimaryKeyType;
4029
+ validators: import("./interfaces").PropertyValidators<T, Readonly<any>>;
4030
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
4031
+ getModel: () => Readonly<any>;
4032
+ }>;
4033
+ }>>;
4034
+ validate: (options?: object | undefined) => Promise<import("./interfaces").ModelErrors<T>>;
4035
+ getModel: () => Readonly<any>;
4036
+ }>>;
4037
+ declare const getCommonNumberValidators: <TModifier extends PropertyModifier<number>>(config: PropertyConfig<TModifier>) => readonly PropertyValidatorComponent<any>[];
4038
+ declare const mergeValidators: <T extends Arrayable<FunctionalValue>>(config: PropertyConfig<T>, validators: readonly (PropertyValidatorComponent<any> | PropertyValidatorComponentTypeAdvanced<any, any>)[]) => PropertyValidatorComponent<any>[];
4039
+ export { isReferencedProperty, getValueForModelInstance, getValueForReferencedModel, getCommonTextValidators, getValidatorFromConfigElseEmpty, getCommonNumberValidators, mergeValidators, };