WebdaFieldsMixIn
Function: WebdaFieldsMixIn()
WebdaFieldsMixIn<
T>(clazz): new (...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
new (...args) => T
Returns
The same class constructor, unchanged.
new (...args) => T