38 lines
541 B
Odin
38 lines
541 B
Odin
package szlib
|
|
|
|
Dataset :: struct {
|
|
name: string,
|
|
id: string,
|
|
uuid: string,
|
|
data_object_type: string,
|
|
objects: [dynamic]SzDataObject
|
|
}
|
|
|
|
SzDataObject :: struct {
|
|
name: string,
|
|
id: string,
|
|
fields: [dynamic]SzField
|
|
}
|
|
|
|
SzField :: struct {
|
|
id: string,
|
|
type: SzFieldType,
|
|
is_list: bool,
|
|
value: string,
|
|
}
|
|
|
|
SzDataObjectTemplate :: struct {
|
|
|
|
}
|
|
|
|
SzTemplateField :: struct {
|
|
id: string,
|
|
type: SzFieldType,
|
|
is_list: bool,
|
|
default_value: string,
|
|
}
|
|
|
|
SzFieldType :: enum {
|
|
TEXT, NUMBER, BOOL, FORMULA, REF
|
|
}
|