Add single subtype

This commit is contained in:
Adria Navarro 2024-03-20 13:18:22 +01:00
parent 1de2002341
commit 23ac11ad6b
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@ export interface Row extends Document {
export enum FieldSubtype { export enum FieldSubtype {
USER = "user", USER = "user",
USERS = "users", USERS = "users",
SINGLE = "single",
} }
export const FieldTypeSubtypes = { export const FieldTypeSubtypes = {
@ -45,4 +46,7 @@ export const FieldTypeSubtypes = {
USER: FieldSubtype.USER, USER: FieldSubtype.USER,
USERS: FieldSubtype.USERS, USERS: FieldSubtype.USERS,
}, },
ATTACHMENT: {
SINGLE: FieldSubtype.SINGLE,
},
} }