-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.tosd
More file actions
99 lines (97 loc) · 1.79 KB
/
config.tosd
File metadata and controls
99 lines (97 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[toml-schema]
version = "1.0"
[types]
[types.field]
[types.field.name]
type = "string"
[types.field.type]
type = "string"
allowedvalues = [
"int",
"serial",
"integer",
"small_int",
"tiny_int",
"medium_int",
"big_int",
"big_serial",
"unsigned_serial",
"uint",
"unsigned_tiny_int",
"unsigned_tiny_integer",
"unsigned",
"unsigned_medium_int",
"unsigned_medium_integer",
"unsigned_big_int",
"unsigned_big_integer",
"float",
"float32",
"double",
"float64",
"string",
"char(\\d+)",
"varchar(\\d+)",
"tiny_text",
"text",
"medium_text",
"long_text",
"tiny_blob",
"blob",
"medium_blob",
"long_blob",
"bool",
"date",
"date_time",
"time",
"timestamp",
]
[elements]
[elements.api]
type = "table"
optional = true
[elements.api.name]
type = "string"
[elements.api.fields]
type = "array"
arraytype = "string"
[elements.api.fields.elements]
type = "array"
arraytypeof = "field"
[elements.implementation]
type = "table"
[elements.implementation.framework]
type = "string"
allowedvalues = ["golang"]
optional = true
default = "golang"
[elements.implementation.database]
type = "table"
[elements.implementation.database.engine]
type = "string"
allowedvalues = ["postgres", "pgsql", "postgresql"]
optional = true
default = "pgsql"
[elements.implementation.database.url]
type = "string"
optional = true
[elements.cicd]
[elements.cicd.docker]
type = "table"
optional = true
[elements.cicd.docker.generate_file]
type = "bool"
default = true
[elements.cicd.docker.username]
type = string
optional = true
[elements.cicd.docker.tag]
type = string
optional = true
[elements.cicd.k8s]
type = "bool"
optional = true
default = true
[elements.cicd.github_actions]
type = "bool"
optional = true
default = true