@shakerquiz/forms 0.0.141 → 0.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/source/forms/PATCH/city/admin.json +58 -2
- package/source/forms/PATCH/city/organizer.json +85 -1
- package/source/forms/PATCH/city/vk_group_token/organizer.json +9 -0
- package/source/forms/PATCH/game/admin.json +20 -9
- package/source/forms/PATCH/game/organizer.json +20 -9
- package/source/forms/PATCH/registration/admin.json +80 -3
- package/source/forms/PATCH/registration/organizer.json +99 -65
- package/source/forms/PATCH/theme/admin.json +2 -2
- package/source/forms/PATCH/theme/organizer.json +25 -0
- package/source/forms/PATCH/user/admin.json +7 -7
- package/source/forms/PATCH/venue/admin.json +11 -11
- package/source/forms/PATCH/venue/organizer.json +11 -11
- package/source/forms/PUT/theme/cover/admin.json +2 -2
- package/source/forms/PUT/theme/cover/organizer.json +9 -0
- package/source/index.js +107 -107
- package/source/forms/PATCH/game/status/admin.json +0 -9
- package/source/forms/PATCH/game/status/organizer.json +0 -9
- package/source/forms/PATCH/registration/Unknown.json +0 -37
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/forms",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.143",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": "./source/index.js",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@shakerquiz/contracts": "0.0.
|
|
19
|
+
"@shakerquiz/contracts": "0.0.169",
|
|
20
20
|
"@shakerquiz/utilities": "4.0.71",
|
|
21
21
|
"@types/bun": "1.3.7"
|
|
22
22
|
}
|
|
@@ -15,17 +15,61 @@
|
|
|
15
15
|
"kind": "autocomplete-static"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
"name": "
|
|
19
|
-
"kind": "
|
|
18
|
+
"name": "vk_link",
|
|
19
|
+
"kind": "url"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": "vk_group_id",
|
|
23
23
|
"kind": "string"
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
"name": "tg_link",
|
|
27
|
+
"kind": "url"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "telegram_chat_id",
|
|
31
|
+
"kind": "string"
|
|
32
|
+
},
|
|
25
33
|
{
|
|
26
34
|
"name": "telegram_channel_id",
|
|
27
35
|
"kind": "string"
|
|
28
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"name": "inst_link",
|
|
39
|
+
"kind": "url"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "phone",
|
|
43
|
+
"kind": "phone"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "email",
|
|
47
|
+
"kind": "email"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "address",
|
|
51
|
+
"kind": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "game_time",
|
|
55
|
+
"kind": "time"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "price",
|
|
59
|
+
"kind": "number"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "min_members_count",
|
|
63
|
+
"kind": "number"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "max_members_count",
|
|
67
|
+
"kind": "number"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "chatapp_version",
|
|
71
|
+
"kind": "autocomplete-static"
|
|
72
|
+
},
|
|
29
73
|
{
|
|
30
74
|
"name": "chatapp_line",
|
|
31
75
|
"kind": "string"
|
|
@@ -41,6 +85,18 @@
|
|
|
41
85
|
{
|
|
42
86
|
"name": "chatapp_category",
|
|
43
87
|
"kind": "string"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "yandex_metrica",
|
|
91
|
+
"kind": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "custom_script",
|
|
95
|
+
"kind": "text"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "custom_html",
|
|
99
|
+
"kind": "text"
|
|
44
100
|
}
|
|
45
101
|
]
|
|
46
102
|
}
|
|
@@ -13,6 +13,90 @@
|
|
|
13
13
|
{
|
|
14
14
|
"name": "affilation",
|
|
15
15
|
"kind": "autocomplete-static"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "vk_link",
|
|
19
|
+
"kind": "url"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "vk_group_id",
|
|
23
|
+
"kind": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "tg_link",
|
|
27
|
+
"kind": "url"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "telegram_chat_id",
|
|
31
|
+
"kind": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "telegram_channel_id",
|
|
35
|
+
"kind": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "inst_link",
|
|
39
|
+
"kind": "url"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "phone",
|
|
43
|
+
"kind": "phone"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "email",
|
|
47
|
+
"kind": "email"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "address",
|
|
51
|
+
"kind": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "game_time",
|
|
55
|
+
"kind": "time"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "price",
|
|
59
|
+
"kind": "number"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "min_members_count",
|
|
63
|
+
"kind": "number"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "max_members_count",
|
|
67
|
+
"kind": "number"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "chatapp_version",
|
|
71
|
+
"kind": "autocomplete-static"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "chatapp_line",
|
|
75
|
+
"kind": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "chatapp_user",
|
|
79
|
+
"kind": "string"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "chatapp_tag",
|
|
83
|
+
"kind": "string"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "chatapp_category",
|
|
87
|
+
"kind": "string"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "yandex_metrica",
|
|
91
|
+
"kind": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "custom_script",
|
|
95
|
+
"kind": "text"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "custom_html",
|
|
99
|
+
"kind": "text"
|
|
16
100
|
}
|
|
17
101
|
]
|
|
18
|
-
}
|
|
102
|
+
}
|
|
@@ -2,22 +2,33 @@
|
|
|
2
2
|
"state": "Interactive",
|
|
3
3
|
"fields": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
6
|
-
"kind": "
|
|
7
|
-
"state": "Readonly"
|
|
5
|
+
"name": "number",
|
|
6
|
+
"kind": "number"
|
|
8
7
|
},
|
|
9
8
|
{
|
|
10
|
-
"name": "
|
|
11
|
-
"kind": "
|
|
9
|
+
"name": "alias",
|
|
10
|
+
"kind": "string",
|
|
12
11
|
"state": "Readonly"
|
|
13
12
|
},
|
|
14
13
|
{
|
|
15
|
-
"name": "
|
|
14
|
+
"name": "event_time",
|
|
15
|
+
"kind": "datetime"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "price",
|
|
16
19
|
"kind": "number"
|
|
17
20
|
},
|
|
18
21
|
{
|
|
19
|
-
"name": "
|
|
20
|
-
"kind": "
|
|
22
|
+
"name": "min_members_count",
|
|
23
|
+
"kind": "number"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "max_members_count",
|
|
27
|
+
"kind": "number"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "status",
|
|
31
|
+
"kind": "autocomplete-static"
|
|
21
32
|
}
|
|
22
33
|
]
|
|
23
|
-
}
|
|
34
|
+
}
|
|
@@ -2,22 +2,33 @@
|
|
|
2
2
|
"state": "Interactive",
|
|
3
3
|
"fields": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
6
|
-
"kind": "
|
|
7
|
-
"state": "Readonly"
|
|
5
|
+
"name": "number",
|
|
6
|
+
"kind": "number"
|
|
8
7
|
},
|
|
9
8
|
{
|
|
10
|
-
"name": "
|
|
11
|
-
"kind": "
|
|
9
|
+
"name": "alias",
|
|
10
|
+
"kind": "string",
|
|
12
11
|
"state": "Readonly"
|
|
13
12
|
},
|
|
14
13
|
{
|
|
15
|
-
"name": "
|
|
14
|
+
"name": "event_time",
|
|
15
|
+
"kind": "datetime"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "price",
|
|
16
19
|
"kind": "number"
|
|
17
20
|
},
|
|
18
21
|
{
|
|
19
|
-
"name": "
|
|
20
|
-
"kind": "
|
|
22
|
+
"name": "min_members_count",
|
|
23
|
+
"kind": "number"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "max_members_count",
|
|
27
|
+
"kind": "number"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "status",
|
|
31
|
+
"kind": "autocomplete-static"
|
|
21
32
|
}
|
|
22
33
|
]
|
|
23
|
-
}
|
|
34
|
+
}
|
|
@@ -15,11 +15,88 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "phone",
|
|
18
|
-
"kind": "phone"
|
|
18
|
+
"kind": "phone",
|
|
19
|
+
"state": "Readonly"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "email",
|
|
23
|
+
"kind": "email",
|
|
24
|
+
"state": "Readonly"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "vkontakte",
|
|
28
|
+
"kind": "string",
|
|
29
|
+
"state": "Readonly"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "telegramBot",
|
|
33
|
+
"kind": "string",
|
|
34
|
+
"state": "Readonly"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "is_alone",
|
|
38
|
+
"kind": "checkbox"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "is_first",
|
|
42
|
+
"kind": "checkbox"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "is_birthday",
|
|
46
|
+
"kind": "checkbox"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "is_extensible",
|
|
50
|
+
"kind": "checkbox"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "promocode",
|
|
54
|
+
"kind": "string",
|
|
55
|
+
"state": "Readonly"
|
|
19
56
|
},
|
|
20
57
|
{
|
|
21
58
|
"name": "celebrant",
|
|
22
|
-
"kind": "string"
|
|
59
|
+
"kind": "string",
|
|
60
|
+
"state": "Readonly"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "comment",
|
|
64
|
+
"kind": "text",
|
|
65
|
+
"state": "Readonly"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "note",
|
|
69
|
+
"kind": "text"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "ads_from",
|
|
73
|
+
"kind": "string",
|
|
74
|
+
"state": "Readonly"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "utm_source",
|
|
78
|
+
"kind": "string",
|
|
79
|
+
"state": "Readonly"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "utm_medium",
|
|
83
|
+
"kind": "string",
|
|
84
|
+
"state": "Readonly"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "utm_campaign",
|
|
88
|
+
"kind": "string",
|
|
89
|
+
"state": "Readonly"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "utm_content",
|
|
93
|
+
"kind": "string",
|
|
94
|
+
"state": "Readonly"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "utm_term",
|
|
98
|
+
"kind": "string",
|
|
99
|
+
"state": "Readonly"
|
|
23
100
|
}
|
|
24
101
|
]
|
|
25
|
-
}
|
|
102
|
+
}
|
|
@@ -1,68 +1,102 @@
|
|
|
1
1
|
{
|
|
2
2
|
"state": "Interactive",
|
|
3
3
|
"fields": [
|
|
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
|
-
|
|
4
|
+
{
|
|
5
|
+
"name": "team_name",
|
|
6
|
+
"kind": "string"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "human_name",
|
|
10
|
+
"kind": "string"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "people_count",
|
|
14
|
+
"kind": "number"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "phone",
|
|
18
|
+
"kind": "phone",
|
|
19
|
+
"state": "Readonly"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "email",
|
|
23
|
+
"kind": "email",
|
|
24
|
+
"state": "Readonly"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "vkontakte",
|
|
28
|
+
"kind": "string",
|
|
29
|
+
"state": "Readonly"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "telegramBot",
|
|
33
|
+
"kind": "string",
|
|
34
|
+
"state": "Readonly"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "is_alone",
|
|
38
|
+
"kind": "checkbox"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "is_first",
|
|
42
|
+
"kind": "checkbox"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "is_birthday",
|
|
46
|
+
"kind": "checkbox"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "is_extensible",
|
|
50
|
+
"kind": "checkbox"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "promocode",
|
|
54
|
+
"kind": "string",
|
|
55
|
+
"state": "Readonly"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "celebrant",
|
|
59
|
+
"kind": "string",
|
|
60
|
+
"state": "Readonly"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "comment",
|
|
64
|
+
"kind": "text",
|
|
65
|
+
"state": "Readonly"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "note",
|
|
69
|
+
"kind": "text"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "ads_from",
|
|
73
|
+
"kind": "string",
|
|
74
|
+
"state": "Readonly"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "utm_source",
|
|
78
|
+
"kind": "string",
|
|
79
|
+
"state": "Readonly"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "utm_medium",
|
|
83
|
+
"kind": "string",
|
|
84
|
+
"state": "Readonly"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "utm_campaign",
|
|
88
|
+
"kind": "string",
|
|
89
|
+
"state": "Readonly"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "utm_content",
|
|
93
|
+
"kind": "string",
|
|
94
|
+
"state": "Readonly"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "utm_term",
|
|
98
|
+
"kind": "string",
|
|
99
|
+
"state": "Readonly"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"state": "Interactive",
|
|
3
|
+
"fields": [
|
|
4
|
+
{
|
|
5
|
+
"name": "name",
|
|
6
|
+
"kind": "string"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "subtitle",
|
|
10
|
+
"kind": "string"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "alias",
|
|
14
|
+
"kind": "string"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "description",
|
|
18
|
+
"kind": "text"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "status",
|
|
22
|
+
"kind": "autocomplete-static"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"state": "Interactive",
|
|
3
3
|
"fields": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
5
|
+
"name": "email",
|
|
6
6
|
"kind": "string"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
|
-
"name": "
|
|
10
|
-
"kind": "
|
|
9
|
+
"name": "phone",
|
|
10
|
+
"kind": "phone"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "first_name",
|
|
14
14
|
"kind": "string"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"name": "
|
|
18
|
-
"kind": "
|
|
17
|
+
"name": "last_name",
|
|
18
|
+
"kind": "string"
|
|
19
19
|
}
|
|
20
20
|
]
|
|
21
|
-
}
|
|
21
|
+
}
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
"name": "house_number",
|
|
14
14
|
"kind": "string"
|
|
15
15
|
},
|
|
16
|
-
{
|
|
17
|
-
"name": "people_capacity",
|
|
18
|
-
"kind": "number"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "team_capacity",
|
|
22
|
-
"kind": "number"
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
"name": "game_time",
|
|
26
18
|
"kind": "time"
|
|
@@ -30,8 +22,12 @@
|
|
|
30
22
|
"kind": "autocomplete-static"
|
|
31
23
|
},
|
|
32
24
|
{
|
|
33
|
-
"name": "
|
|
34
|
-
"kind": "
|
|
25
|
+
"name": "people_capacity",
|
|
26
|
+
"kind": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "team_capacity",
|
|
30
|
+
"kind": "number"
|
|
35
31
|
},
|
|
36
32
|
{
|
|
37
33
|
"name": "location_info",
|
|
@@ -40,6 +36,10 @@
|
|
|
40
36
|
{
|
|
41
37
|
"name": "href",
|
|
42
38
|
"kind": "url"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "status",
|
|
42
|
+
"kind": "autocomplete-static"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}
|
|
45
|
+
}
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
"name": "house_number",
|
|
14
14
|
"kind": "string"
|
|
15
15
|
},
|
|
16
|
-
{
|
|
17
|
-
"name": "people_capacity",
|
|
18
|
-
"kind": "number"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "team_capacity",
|
|
22
|
-
"kind": "number"
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
"name": "game_time",
|
|
26
18
|
"kind": "time"
|
|
@@ -30,8 +22,12 @@
|
|
|
30
22
|
"kind": "autocomplete-static"
|
|
31
23
|
},
|
|
32
24
|
{
|
|
33
|
-
"name": "
|
|
34
|
-
"kind": "
|
|
25
|
+
"name": "people_capacity",
|
|
26
|
+
"kind": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "team_capacity",
|
|
30
|
+
"kind": "number"
|
|
35
31
|
},
|
|
36
32
|
{
|
|
37
33
|
"name": "location_info",
|
|
@@ -40,6 +36,10 @@
|
|
|
40
36
|
{
|
|
41
37
|
"name": "href",
|
|
42
38
|
"kind": "url"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "status",
|
|
42
|
+
"kind": "autocomplete-static"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
}
|
|
45
|
+
}
|
package/source/index.js
CHANGED
|
@@ -1,139 +1,139 @@
|
|
|
1
|
-
import POST_theme_cover_admin from './forms/POST/theme/cover/admin.json' with { type: 'json' }
|
|
2
|
-
import POST_theme_admin from './forms/POST/theme/admin.json' with { type: 'json' }
|
|
3
|
-
import POST_checkin_Unknown from './forms/POST/checkin/Unknown.json' with { type: 'json' }
|
|
4
|
-
import POST_user_role_admin from './forms/POST/user/role/admin.json' with { type: 'json' }
|
|
5
|
-
import POST_user_city_admin from './forms/POST/user/city/admin.json' with { type: 'json' }
|
|
6
|
-
import POST_user_password_admin from './forms/POST/user/password/admin.json' with { type: 'json' }
|
|
7
|
-
import POST_user_admin from './forms/POST/user/admin.json' with { type: 'json' }
|
|
8
|
-
import POST_game_admin from './forms/POST/game/admin.json' with { type: 'json' }
|
|
9
|
-
import POST_game_organizer from './forms/POST/game/organizer.json' with { type: 'json' }
|
|
10
|
-
import POST_city_vk_group_token_admin from './forms/POST/city/vk_group_token/admin.json' with { type: 'json' }
|
|
11
|
-
import POST_city_admin from './forms/POST/city/admin.json' with { type: 'json' }
|
|
12
|
-
import POST_venue_admin from './forms/POST/venue/admin.json' with { type: 'json' }
|
|
13
|
-
import POST_venue_organizer from './forms/POST/venue/organizer.json' with { type: 'json' }
|
|
14
|
-
import POST_registration_Unknown from './forms/POST/registration/Unknown.json' with { type: 'json' }
|
|
15
|
-
import POST_registration_admin from './forms/POST/registration/admin.json' with { type: 'json' }
|
|
16
|
-
import POST_registration_organizer from './forms/POST/registration/organizer.json' with { type: 'json' }
|
|
17
|
-
import PATCH_theme_admin from './forms/PATCH/theme/admin.json' with { type: 'json' }
|
|
18
|
-
import PATCH_user_role_admin from './forms/PATCH/user/role/admin.json' with { type: 'json' }
|
|
19
|
-
import PATCH_user_password_admin from './forms/PATCH/user/password/admin.json' with { type: 'json' }
|
|
20
|
-
import PATCH_user_admin from './forms/PATCH/user/admin.json' with { type: 'json' }
|
|
21
|
-
import PATCH_game_status_admin from './forms/PATCH/game/status/admin.json' with { type: 'json' }
|
|
22
|
-
import PATCH_game_status_organizer from './forms/PATCH/game/status/organizer.json' with { type: 'json' }
|
|
23
|
-
import PATCH_game_admin from './forms/PATCH/game/admin.json' with { type: 'json' }
|
|
24
1
|
import PATCH_game_organizer from './forms/PATCH/game/organizer.json' with { type: 'json' }
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import PATCH_city_currency_admin from './forms/PATCH/city/currency/admin.json' with { type: 'json' }
|
|
28
|
-
import PATCH_city_currency_organizer from './forms/PATCH/city/currency/organizer.json' with { type: 'json' }
|
|
29
|
-
import PATCH_city_country_admin from './forms/PATCH/city/country/admin.json' with { type: 'json' }
|
|
30
|
-
import PATCH_city_country_organizer from './forms/PATCH/city/country/organizer.json' with { type: 'json' }
|
|
2
|
+
import PATCH_game_admin from './forms/PATCH/game/admin.json' with { type: 'json' }
|
|
3
|
+
import PATCH_city_vk_group_token_organizer from './forms/PATCH/city/vk_group_token/organizer.json' with { type: 'json' }
|
|
31
4
|
import PATCH_city_vk_group_token_admin from './forms/PATCH/city/vk_group_token/admin.json' with { type: 'json' }
|
|
32
|
-
import PATCH_city_admin from './forms/PATCH/city/admin.json' with { type: 'json' }
|
|
33
5
|
import PATCH_city_organizer from './forms/PATCH/city/organizer.json' with { type: 'json' }
|
|
34
|
-
import
|
|
6
|
+
import PATCH_city_currency_organizer from './forms/PATCH/city/currency/organizer.json' with { type: 'json' }
|
|
7
|
+
import PATCH_city_currency_admin from './forms/PATCH/city/currency/admin.json' with { type: 'json' }
|
|
8
|
+
import PATCH_city_admin from './forms/PATCH/city/admin.json' with { type: 'json' }
|
|
9
|
+
import PATCH_city_country_organizer from './forms/PATCH/city/country/organizer.json' with { type: 'json' }
|
|
10
|
+
import PATCH_city_country_admin from './forms/PATCH/city/country/admin.json' with { type: 'json' }
|
|
11
|
+
import PATCH_city_timezone_organizer from './forms/PATCH/city/timezone/organizer.json' with { type: 'json' }
|
|
12
|
+
import PATCH_city_timezone_admin from './forms/PATCH/city/timezone/admin.json' with { type: 'json' }
|
|
13
|
+
import PATCH_theme_organizer from './forms/PATCH/theme/organizer.json' with { type: 'json' }
|
|
14
|
+
import PATCH_theme_admin from './forms/PATCH/theme/admin.json' with { type: 'json' }
|
|
35
15
|
import PATCH_venue_organizer from './forms/PATCH/venue/organizer.json' with { type: 'json' }
|
|
36
|
-
import
|
|
16
|
+
import PATCH_venue_admin from './forms/PATCH/venue/admin.json' with { type: 'json' }
|
|
17
|
+
import PATCH_user_password_admin from './forms/PATCH/user/password/admin.json' with { type: 'json' }
|
|
18
|
+
import PATCH_user_admin from './forms/PATCH/user/admin.json' with { type: 'json' }
|
|
19
|
+
import PATCH_user_role_admin from './forms/PATCH/user/role/admin.json' with { type: 'json' }
|
|
37
20
|
import PATCH_registration_attributes_admin from './forms/PATCH/registration/attributes/admin.json' with { type: 'json' }
|
|
38
|
-
import
|
|
39
|
-
import PATCH_registration_status_admin from './forms/PATCH/registration/status/admin.json' with { type: 'json' }
|
|
21
|
+
import PATCH_registration_organizer from './forms/PATCH/registration/organizer.json' with { type: 'json' }
|
|
40
22
|
import PATCH_registration_lineup_admin from './forms/PATCH/registration/lineup/admin.json' with { type: 'json' }
|
|
23
|
+
import PATCH_registration_channel_admin from './forms/PATCH/registration/channel/admin.json' with { type: 'json' }
|
|
41
24
|
import PATCH_registration_admin from './forms/PATCH/registration/admin.json' with { type: 'json' }
|
|
42
|
-
import
|
|
25
|
+
import PATCH_registration_status_admin from './forms/PATCH/registration/status/admin.json' with { type: 'json' }
|
|
26
|
+
import PUT_theme_cover_organizer from './forms/PUT/theme/cover/organizer.json' with { type: 'json' }
|
|
43
27
|
import PUT_theme_cover_admin from './forms/PUT/theme/cover/admin.json' with { type: 'json' }
|
|
28
|
+
import POST_game_organizer from './forms/POST/game/organizer.json' with { type: 'json' }
|
|
29
|
+
import POST_game_admin from './forms/POST/game/admin.json' with { type: 'json' }
|
|
30
|
+
import POST_city_vk_group_token_admin from './forms/POST/city/vk_group_token/admin.json' with { type: 'json' }
|
|
31
|
+
import POST_city_admin from './forms/POST/city/admin.json' with { type: 'json' }
|
|
32
|
+
import POST_theme_cover_admin from './forms/POST/theme/cover/admin.json' with { type: 'json' }
|
|
33
|
+
import POST_theme_admin from './forms/POST/theme/admin.json' with { type: 'json' }
|
|
34
|
+
import POST_venue_organizer from './forms/POST/venue/organizer.json' with { type: 'json' }
|
|
35
|
+
import POST_venue_admin from './forms/POST/venue/admin.json' with { type: 'json' }
|
|
36
|
+
import POST_checkin_Unknown from './forms/POST/checkin/Unknown.json' with { type: 'json' }
|
|
37
|
+
import POST_user_city_admin from './forms/POST/user/city/admin.json' with { type: 'json' }
|
|
38
|
+
import POST_user_password_admin from './forms/POST/user/password/admin.json' with { type: 'json' }
|
|
39
|
+
import POST_user_admin from './forms/POST/user/admin.json' with { type: 'json' }
|
|
40
|
+
import POST_user_role_admin from './forms/POST/user/role/admin.json' with { type: 'json' }
|
|
41
|
+
import POST_registration_organizer from './forms/POST/registration/organizer.json' with { type: 'json' }
|
|
42
|
+
import POST_registration_Unknown from './forms/POST/registration/Unknown.json' with { type: 'json' }
|
|
43
|
+
import POST_registration_admin from './forms/POST/registration/admin.json' with { type: 'json' }
|
|
44
44
|
|
|
45
45
|
export const FormSchema = Object.freeze(
|
|
46
46
|
/** @type {const} */ ({
|
|
47
|
-
'POST/theme/cover/admin': POST_theme_cover_admin,
|
|
48
|
-
'POST/theme/admin': POST_theme_admin,
|
|
49
|
-
'POST/checkin/Unknown': POST_checkin_Unknown,
|
|
50
|
-
'POST/user/role/admin': POST_user_role_admin,
|
|
51
|
-
'POST/user/city/admin': POST_user_city_admin,
|
|
52
|
-
'POST/user/password/admin': POST_user_password_admin,
|
|
53
|
-
'POST/user/admin': POST_user_admin,
|
|
54
|
-
'POST/game/admin': POST_game_admin,
|
|
55
|
-
'POST/game/organizer': POST_game_organizer,
|
|
56
|
-
'POST/city/vk_group_token/admin': POST_city_vk_group_token_admin,
|
|
57
|
-
'POST/city/admin': POST_city_admin,
|
|
58
|
-
'POST/venue/admin': POST_venue_admin,
|
|
59
|
-
'POST/venue/organizer': POST_venue_organizer,
|
|
60
|
-
'POST/registration/Unknown': POST_registration_Unknown,
|
|
61
|
-
'POST/registration/admin': POST_registration_admin,
|
|
62
|
-
'POST/registration/organizer': POST_registration_organizer,
|
|
63
|
-
'PATCH/theme/admin': PATCH_theme_admin,
|
|
64
|
-
'PATCH/user/role/admin': PATCH_user_role_admin,
|
|
65
|
-
'PATCH/user/password/admin': PATCH_user_password_admin,
|
|
66
|
-
'PATCH/user/admin': PATCH_user_admin,
|
|
67
|
-
'PATCH/game/status/admin': PATCH_game_status_admin,
|
|
68
|
-
'PATCH/game/status/organizer': PATCH_game_status_organizer,
|
|
69
|
-
'PATCH/game/admin': PATCH_game_admin,
|
|
70
47
|
'PATCH/game/organizer': PATCH_game_organizer,
|
|
71
|
-
'PATCH/
|
|
72
|
-
'PATCH/city/
|
|
73
|
-
'PATCH/city/currency/admin': PATCH_city_currency_admin,
|
|
74
|
-
'PATCH/city/currency/organizer': PATCH_city_currency_organizer,
|
|
75
|
-
'PATCH/city/country/admin': PATCH_city_country_admin,
|
|
76
|
-
'PATCH/city/country/organizer': PATCH_city_country_organizer,
|
|
48
|
+
'PATCH/game/admin': PATCH_game_admin,
|
|
49
|
+
'PATCH/city/vk_group_token/organizer': PATCH_city_vk_group_token_organizer,
|
|
77
50
|
'PATCH/city/vk_group_token/admin': PATCH_city_vk_group_token_admin,
|
|
78
|
-
'PATCH/city/admin': PATCH_city_admin,
|
|
79
51
|
'PATCH/city/organizer': PATCH_city_organizer,
|
|
80
|
-
'PATCH/
|
|
52
|
+
'PATCH/city/currency/organizer': PATCH_city_currency_organizer,
|
|
53
|
+
'PATCH/city/currency/admin': PATCH_city_currency_admin,
|
|
54
|
+
'PATCH/city/admin': PATCH_city_admin,
|
|
55
|
+
'PATCH/city/country/organizer': PATCH_city_country_organizer,
|
|
56
|
+
'PATCH/city/country/admin': PATCH_city_country_admin,
|
|
57
|
+
'PATCH/city/timezone/organizer': PATCH_city_timezone_organizer,
|
|
58
|
+
'PATCH/city/timezone/admin': PATCH_city_timezone_admin,
|
|
59
|
+
'PATCH/theme/organizer': PATCH_theme_organizer,
|
|
60
|
+
'PATCH/theme/admin': PATCH_theme_admin,
|
|
81
61
|
'PATCH/venue/organizer': PATCH_venue_organizer,
|
|
82
|
-
'PATCH/
|
|
62
|
+
'PATCH/venue/admin': PATCH_venue_admin,
|
|
63
|
+
'PATCH/user/password/admin': PATCH_user_password_admin,
|
|
64
|
+
'PATCH/user/admin': PATCH_user_admin,
|
|
65
|
+
'PATCH/user/role/admin': PATCH_user_role_admin,
|
|
83
66
|
'PATCH/registration/attributes/admin': PATCH_registration_attributes_admin,
|
|
84
|
-
'PATCH/registration/
|
|
85
|
-
'PATCH/registration/status/admin': PATCH_registration_status_admin,
|
|
67
|
+
'PATCH/registration/organizer': PATCH_registration_organizer,
|
|
86
68
|
'PATCH/registration/lineup/admin': PATCH_registration_lineup_admin,
|
|
69
|
+
'PATCH/registration/channel/admin': PATCH_registration_channel_admin,
|
|
87
70
|
'PATCH/registration/admin': PATCH_registration_admin,
|
|
88
|
-
'PATCH/registration/
|
|
89
|
-
'PUT/theme/cover/
|
|
71
|
+
'PATCH/registration/status/admin': PATCH_registration_status_admin,
|
|
72
|
+
'PUT/theme/cover/organizer': PUT_theme_cover_organizer,
|
|
73
|
+
'PUT/theme/cover/admin': PUT_theme_cover_admin,
|
|
74
|
+
'POST/game/organizer': POST_game_organizer,
|
|
75
|
+
'POST/game/admin': POST_game_admin,
|
|
76
|
+
'POST/city/vk_group_token/admin': POST_city_vk_group_token_admin,
|
|
77
|
+
'POST/city/admin': POST_city_admin,
|
|
78
|
+
'POST/theme/cover/admin': POST_theme_cover_admin,
|
|
79
|
+
'POST/theme/admin': POST_theme_admin,
|
|
80
|
+
'POST/venue/organizer': POST_venue_organizer,
|
|
81
|
+
'POST/venue/admin': POST_venue_admin,
|
|
82
|
+
'POST/checkin/Unknown': POST_checkin_Unknown,
|
|
83
|
+
'POST/user/city/admin': POST_user_city_admin,
|
|
84
|
+
'POST/user/password/admin': POST_user_password_admin,
|
|
85
|
+
'POST/user/admin': POST_user_admin,
|
|
86
|
+
'POST/user/role/admin': POST_user_role_admin,
|
|
87
|
+
'POST/registration/organizer': POST_registration_organizer,
|
|
88
|
+
'POST/registration/Unknown': POST_registration_Unknown,
|
|
89
|
+
'POST/registration/admin': POST_registration_admin
|
|
90
90
|
}),
|
|
91
91
|
)
|
|
92
92
|
|
|
93
93
|
export const FormKind = Object.freeze(
|
|
94
94
|
/** @type {const} */ ({
|
|
95
|
-
'POST/theme/cover/admin': 'Schema',
|
|
96
|
-
'POST/theme/admin': 'Schema',
|
|
97
|
-
'POST/checkin/Unknown': 'Schema',
|
|
98
|
-
'POST/user/role/admin': 'Schema',
|
|
99
|
-
'POST/user/city/admin': 'Schema',
|
|
100
|
-
'POST/user/password/admin': 'Schema',
|
|
101
|
-
'POST/user/admin': 'Schema',
|
|
102
|
-
'POST/game/admin': 'Schema',
|
|
103
|
-
'POST/game/organizer': 'Schema',
|
|
104
|
-
'POST/city/vk_group_token/admin': 'Schema',
|
|
105
|
-
'POST/city/admin': 'Schema',
|
|
106
|
-
'POST/venue/admin': 'Schema',
|
|
107
|
-
'POST/venue/organizer': 'Schema',
|
|
108
|
-
'POST/registration/Unknown': 'Schema',
|
|
109
|
-
'POST/registration/admin': 'Schema',
|
|
110
|
-
'POST/registration/organizer': 'Schema',
|
|
111
|
-
'PATCH/theme/admin': 'Schema',
|
|
112
|
-
'PATCH/user/role/admin': 'Schema',
|
|
113
|
-
'PATCH/user/password/admin': 'Schema',
|
|
114
|
-
'PATCH/user/admin': 'Schema',
|
|
115
|
-
'PATCH/game/status/admin': 'Unknown',
|
|
116
|
-
'PATCH/game/status/organizer': 'Unknown',
|
|
117
|
-
'PATCH/game/admin': 'Schema',
|
|
118
95
|
'PATCH/game/organizer': 'Schema',
|
|
119
|
-
'PATCH/
|
|
120
|
-
'PATCH/city/
|
|
121
|
-
'PATCH/city/currency/admin': 'Schema',
|
|
122
|
-
'PATCH/city/currency/organizer': 'Unknown',
|
|
123
|
-
'PATCH/city/country/admin': 'Schema',
|
|
124
|
-
'PATCH/city/country/organizer': 'Unknown',
|
|
96
|
+
'PATCH/game/admin': 'Schema',
|
|
97
|
+
'PATCH/city/vk_group_token/organizer': 'Schema',
|
|
125
98
|
'PATCH/city/vk_group_token/admin': 'Schema',
|
|
99
|
+
'PATCH/city/organizer': 'Schema',
|
|
100
|
+
'PATCH/city/currency/organizer': 'Schema',
|
|
101
|
+
'PATCH/city/currency/admin': 'Schema',
|
|
126
102
|
'PATCH/city/admin': 'Schema',
|
|
127
|
-
'PATCH/city/organizer': '
|
|
128
|
-
'PATCH/
|
|
103
|
+
'PATCH/city/country/organizer': 'Schema',
|
|
104
|
+
'PATCH/city/country/admin': 'Schema',
|
|
105
|
+
'PATCH/city/timezone/organizer': 'Schema',
|
|
106
|
+
'PATCH/city/timezone/admin': 'Schema',
|
|
107
|
+
'PATCH/theme/organizer': 'Unknown',
|
|
108
|
+
'PATCH/theme/admin': 'Schema',
|
|
129
109
|
'PATCH/venue/organizer': 'Schema',
|
|
130
|
-
'PATCH/
|
|
110
|
+
'PATCH/venue/admin': 'Schema',
|
|
111
|
+
'PATCH/user/password/admin': 'Schema',
|
|
112
|
+
'PATCH/user/admin': 'Schema',
|
|
113
|
+
'PATCH/user/role/admin': 'Schema',
|
|
131
114
|
'PATCH/registration/attributes/admin': 'Unknown',
|
|
132
|
-
'PATCH/registration/
|
|
133
|
-
'PATCH/registration/status/admin': 'Schema',
|
|
115
|
+
'PATCH/registration/organizer': 'Schema',
|
|
134
116
|
'PATCH/registration/lineup/admin': 'Schema',
|
|
117
|
+
'PATCH/registration/channel/admin': 'Schema',
|
|
135
118
|
'PATCH/registration/admin': 'Schema',
|
|
136
|
-
'PATCH/registration/
|
|
137
|
-
'PUT/theme/cover/
|
|
119
|
+
'PATCH/registration/status/admin': 'Schema',
|
|
120
|
+
'PUT/theme/cover/organizer': 'Schema',
|
|
121
|
+
'PUT/theme/cover/admin': 'Schema',
|
|
122
|
+
'POST/game/organizer': 'Schema',
|
|
123
|
+
'POST/game/admin': 'Schema',
|
|
124
|
+
'POST/city/vk_group_token/admin': 'Schema',
|
|
125
|
+
'POST/city/admin': 'Schema',
|
|
126
|
+
'POST/theme/cover/admin': 'Schema',
|
|
127
|
+
'POST/theme/admin': 'Schema',
|
|
128
|
+
'POST/venue/organizer': 'Schema',
|
|
129
|
+
'POST/venue/admin': 'Schema',
|
|
130
|
+
'POST/checkin/Unknown': 'Schema',
|
|
131
|
+
'POST/user/city/admin': 'Schema',
|
|
132
|
+
'POST/user/password/admin': 'Schema',
|
|
133
|
+
'POST/user/admin': 'Schema',
|
|
134
|
+
'POST/user/role/admin': 'Schema',
|
|
135
|
+
'POST/registration/organizer': 'Schema',
|
|
136
|
+
'POST/registration/Unknown': 'Schema',
|
|
137
|
+
'POST/registration/admin': 'Schema'
|
|
138
138
|
}),
|
|
139
139
|
)
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"state": "Interactive",
|
|
3
|
-
"fields": [
|
|
4
|
-
{
|
|
5
|
-
"name": "team_name",
|
|
6
|
-
"kind": "string"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"name": "human_name",
|
|
10
|
-
"kind": "string"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "people_count",
|
|
14
|
-
"kind": "number"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "is_alone",
|
|
18
|
-
"kind": "checkbox"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "is_birthday",
|
|
22
|
-
"kind": "checkbox"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "celebrant",
|
|
26
|
-
"kind": "string"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "is_extensible",
|
|
30
|
-
"kind": "checkbox"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "is_first",
|
|
34
|
-
"kind": "checkbox"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|