Use new type position for standard objects and newly created objects (#4349)

Co-authored-by: Thomas Trompette <thomast@twenty.com>
This commit is contained in:
Thomas Trompette
2024-03-06 18:34:10 +01:00
committed by GitHub
parent e5c09deae5
commit 019c630686
9 changed files with 13 additions and 8 deletions

View File

@ -291,7 +291,7 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadataEnt
defaultValue: { type: 'now' },
},
{
type: FieldMetadataType.NUMBER,
type: FieldMetadataType.POSITION,
name: 'position',
label: 'Position',
targetColumnMap: {

View File

@ -24,7 +24,8 @@ export type BasicFieldMetadataType =
| FieldMetadataType.PROBABILITY
| FieldMetadataType.BOOLEAN
| FieldMetadataType.POSITION
| FieldMetadataType.DATE_TIME;
| FieldMetadataType.DATE_TIME
| FieldMetadataType.POSITION;
@Injectable()
export class BasicColumnActionFactory extends ColumnActionAbstractFactory<BasicFieldMetadataType> {