группы

This commit is contained in:
Artem
2025-08-03 15:19:07 +03:00
parent 95e89b27bf
commit 4d69217967
17 changed files with 3549 additions and 84 deletions

View File

@@ -80,6 +80,16 @@ export interface TemplateAttributeDetail {
updated_at: string
}
// Группа шаблонов
export interface Group {
id: string
name: string
order: number
created_at: string
updated_at: string
deleted_at?: string | null
}
// Типы шаблонов
export interface Template {
id: string
@@ -90,6 +100,8 @@ export interface Template {
mergedCells?: MergedCell[] // информация об объединенных ячейках
elements: TemplateElement[]
layoutSettings?: FormLayoutSettings // настройки отображения формы
group_id?: string | null // ID группы к которой принадлежит шаблон
order?: number // порядок сортировки (float для гибкости)
createdAt: Date
updatedAt: Date
}