/
softailor
/
gridient
Обзор
Документация
Войти
/
softailor
/
gridient
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
frontend/src/models/fields.ts
33 строки
755 B
Jenkins
Auto add
18 фев 2026, 10:19
18 фев 2026, 10:19
1e6c4f8
Код
Авторство
О чём код?
import { FieldType } from "consts"; export type FormItem = { name: string; value: unknown; }; export interface Field { [key: string]: unknown; calculatingCondition: string | null; defaultValue: string | null; enableFilter: boolean | null; fieldType: FieldType; groupId: number | null; id: number; isDecimal: boolean | null; listId: number; lookupListId: number; lookupFieldId: number; name: string; options: string | null; requiredCondition: string | null; sortOrder: number; title: string; validationCondition: string | null; viewOrder: number | null; visibleCondition: string | null; } export type ViewField = Pick< Field, "id" | "name" | "title" | "fieldType" | "isDecimal" | "options" | "viewOrder" >;