WebdaFieldsMixIn
Function: WebdaFieldsMixIn()
WebdaFieldsMixIn<
T>(clazz): (...args) =>T
Defined in: packages/models/src/types.ts:53
Define Webda fields on a class
- Requires to have the .webda/module.d.ts file in your tsconfig "types" array
- Webda will automatically pick up the fields defined here for serialization, deserialization, validation, etc.
Type Parameters
T
T extends object
Parameters
clazz
(...args) => T
Returns
The same class constructor, unchanged.
(...args) => T