pre form builder handler

This commit is contained in:
2026-03-23 00:47:20 +03:30
commit 6a1ed57d23
50 changed files with 5738 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
export interface MLogin{
username: string
password: string
}
export interface FormFieldConfig {
id: string
type: 'input' | 'select' | 'slider'
label?: string
inputType?: 'text' | 'number' | 'color' | 'checkbox' | 'radio'
required?: boolean
minLength?: number
maxLength?: number
min?: number
max?: number
step?: number
x: number
y: number
width: number
height: number
options?: string[]
multiple?: boolean
}
export interface SavedForm {
id: string
name: string
fields: FormFieldConfig[]
createdAt: number
}