Skip to main content

height-app-api > FieldTemplateObject

FieldTemplateObject type

Signature:

export type FieldTemplateObject = {
id: string;
model: 'fieldTemplate';
name: string;
type: 'text' | 'labels' | 'select' | 'date' | 'linkedTasks' | 'status';
labelSets?: Array<{
id: string;
model: 'fieldLabelSet';
value: string;
}>;
labels?: Array<{
id: string;
model: 'fieldLabel';
value: string;
hue: number;
labelSetId?: string;
statusState: 'default' | 'started' | 'blocked' | 'canceled' | 'completed';
}>;
archive: boolean;
};