feat: twenty orm sync (#5266)
This PR is updating all object metadata entities with the new decorators, and deleting the old ones. This way we can use the new TwentyORM with all the standard objects. --------- Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
@ -15,7 +15,7 @@ export interface WorkspaceFieldMetadataArgs {
|
||||
* Class to which field is applied.
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
readonly target: Function | string;
|
||||
readonly target: Function;
|
||||
|
||||
/**
|
||||
* Field name.
|
||||
@ -57,17 +57,17 @@ export interface WorkspaceFieldMetadataArgs {
|
||||
/**
|
||||
* Is primary field.
|
||||
*/
|
||||
readonly isPrimary?: boolean;
|
||||
readonly isPrimary: boolean;
|
||||
|
||||
/**
|
||||
* Is system field.
|
||||
*/
|
||||
readonly isSystem?: boolean;
|
||||
readonly isSystem: boolean;
|
||||
|
||||
/**
|
||||
* Is nullable field.
|
||||
*/
|
||||
readonly isNullable?: boolean;
|
||||
readonly isNullable: boolean;
|
||||
|
||||
/**
|
||||
* Field gate.
|
||||
|
||||
Reference in New Issue
Block a user