@shakerquiz/utilities 0.5.187 → 0.5.188
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 -3
- package/source/enumerations/entities/registration-attribute.js +2 -2
- package/source/functions/hydrate-route-params.js +11 -17
- package/source/functions/hydrate-route-pathname.js +17 -23
- package/source/functions/key.js +8 -13
- package/source/functions/string-tag.js +3 -0
- package/source/index.js +1 -1
- package/source/functions/tag.js +0 -6
- package/source/schemas/PATCH/city/admin.json +0 -126
- package/source/schemas/PATCH/city/currency/admin.json +0 -173
- package/source/schemas/PATCH/city/timezone/admin.json +0 -501
- package/source/schemas/PATCH/game/admin.json +0 -30
- package/source/schemas/PATCH/game/organizer.json +0 -30
- package/source/schemas/PATCH/games/admin.json +0 -34
- package/source/schemas/PATCH/games/organizer.json +0 -34
- package/source/schemas/PATCH/registration/Unknown.json +0 -10
- package/source/schemas/PATCH/registration/admin.json +0 -43
- package/source/schemas/PATCH/registration/cancellation/Unknown.json +0 -12
- package/source/schemas/PATCH/registration/channel/Unknown.json +0 -22
- package/source/schemas/PATCH/registration/confirmation/Unknown.json +0 -12
- package/source/schemas/PATCH/registration/organizer.json +0 -43
- package/source/schemas/PATCH/theme/admin.json +0 -19
- package/source/schemas/PATCH/user/admin.json +0 -30
- package/source/schemas/PATCH/user/cities/admin.json +0 -17
- package/source/schemas/PATCH/user/password/admin.json +0 -12
- package/source/schemas/PATCH/user/role/admin.json +0 -13
- package/source/schemas/PATCH/users/cities/admin.json +0 -19
- package/source/schemas/PATCH/users/role/admin.json +0 -19
- package/source/schemas/PATCH/venue/admin.json +0 -44
- package/source/schemas/PATCH/venue/organizer.json +0 -44
- package/source/schemas/POST/checkin/Unknown.json +0 -16
- package/source/schemas/POST/city/admin.json +0 -696
- package/source/schemas/POST/cover/admin.json +0 -24
- package/source/schemas/POST/game/admin.json +0 -27
- package/source/schemas/POST/game/organizer.json +0 -27
- package/source/schemas/POST/game/registrations/export/admin.json +0 -17
- package/source/schemas/POST/game/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/registration/Unknown.json +0 -125
- package/source/schemas/POST/registration/mailing/admin.json +0 -16
- package/source/schemas/POST/registration/mailing/organizer.json +0 -16
- package/source/schemas/POST/registrations/export/admin.json +0 -17
- package/source/schemas/POST/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/theme/admin.json +0 -24
- package/source/schemas/POST/user/admin.json +0 -12
- package/source/schemas/POST/user/cities/admin.json +0 -17
- package/source/schemas/POST/user/password/admin.json +0 -12
- package/source/schemas/POST/user/role/admin.json +0 -13
- package/source/schemas/POST/venue/admin.json +0 -38
- package/source/schemas/POST/venue/organizer.json +0 -38
- package/source/schemas/PUT/cover/admin.json +0 -13
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"theme_id": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"format": "uuid"
|
|
7
|
-
},
|
|
8
|
-
"cover": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"format": "base64"
|
|
11
|
-
},
|
|
12
|
-
"name": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"type": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"required": [
|
|
20
|
-
"theme_id",
|
|
21
|
-
"cover"
|
|
22
|
-
],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"location_id": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"format": "uuid"
|
|
7
|
-
},
|
|
8
|
-
"theme_id": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"format": "uuid"
|
|
11
|
-
},
|
|
12
|
-
"number": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"event_time": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"format": "iso-date-time"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"location_id",
|
|
22
|
-
"theme_id",
|
|
23
|
-
"number",
|
|
24
|
-
"event_time"
|
|
25
|
-
],
|
|
26
|
-
"additionalProperties": false
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"location_id": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"format": "uuid"
|
|
7
|
-
},
|
|
8
|
-
"theme_id": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"format": "uuid"
|
|
11
|
-
},
|
|
12
|
-
"number": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"event_time": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"format": "iso-date-time"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"location_id",
|
|
22
|
-
"theme_id",
|
|
23
|
-
"number",
|
|
24
|
-
"event_time"
|
|
25
|
-
],
|
|
26
|
-
"additionalProperties": false
|
|
27
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"ads_from": {
|
|
5
|
-
"type": "string"
|
|
6
|
-
},
|
|
7
|
-
"channel": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"confirmed_channel": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"comment": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"email": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"event_id": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"format": "uuid"
|
|
22
|
-
},
|
|
23
|
-
"human_name": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"is_alone": {
|
|
27
|
-
"type": "boolean"
|
|
28
|
-
},
|
|
29
|
-
"is_birthday": {
|
|
30
|
-
"type": "boolean"
|
|
31
|
-
},
|
|
32
|
-
"is_extensible": {
|
|
33
|
-
"type": "boolean"
|
|
34
|
-
},
|
|
35
|
-
"is_first": {
|
|
36
|
-
"type": "boolean"
|
|
37
|
-
},
|
|
38
|
-
"people_count": {
|
|
39
|
-
"type": "integer"
|
|
40
|
-
},
|
|
41
|
-
"phone": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
},
|
|
44
|
-
"promocode": {
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
|
-
"team_name": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"telegramBot": {
|
|
51
|
-
"type": "string"
|
|
52
|
-
},
|
|
53
|
-
"utm_campaign": {
|
|
54
|
-
"type": "string"
|
|
55
|
-
},
|
|
56
|
-
"utm_content": {
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
|
-
"utm_medium": {
|
|
60
|
-
"type": "string"
|
|
61
|
-
},
|
|
62
|
-
"utm_source": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"utm_term": {
|
|
66
|
-
"type": "string"
|
|
67
|
-
},
|
|
68
|
-
"vkontakte": {
|
|
69
|
-
"type": "string"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"required": [
|
|
73
|
-
"event_id",
|
|
74
|
-
"human_name",
|
|
75
|
-
"is_alone",
|
|
76
|
-
"is_birthday",
|
|
77
|
-
"is_extensible",
|
|
78
|
-
"is_first",
|
|
79
|
-
"people_count",
|
|
80
|
-
"team_name",
|
|
81
|
-
"channel",
|
|
82
|
-
"email"
|
|
83
|
-
],
|
|
84
|
-
"additionalProperties": false,
|
|
85
|
-
"allOf": [
|
|
86
|
-
{
|
|
87
|
-
"if": {
|
|
88
|
-
"properties": {
|
|
89
|
-
"channel": {
|
|
90
|
-
"const": "telegramBot"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"required": [
|
|
94
|
-
"channel"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
"then": {
|
|
98
|
-
"required": [
|
|
99
|
-
"channel",
|
|
100
|
-
"confirmed_channel",
|
|
101
|
-
"telegramBot"
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"if": {
|
|
107
|
-
"properties": {
|
|
108
|
-
"channel": {
|
|
109
|
-
"const": "vkontakte"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"required": [
|
|
113
|
-
"channel"
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
"then": {
|
|
117
|
-
"required": [
|
|
118
|
-
"channel",
|
|
119
|
-
"confirmed_channel",
|
|
120
|
-
"vkontakte"
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"name": {
|
|
5
|
-
"type": "string"
|
|
6
|
-
},
|
|
7
|
-
"short_description": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"description": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"alias": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"required": [
|
|
18
|
-
"name",
|
|
19
|
-
"short_description",
|
|
20
|
-
"description",
|
|
21
|
-
"alias"
|
|
22
|
-
],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"name": {
|
|
5
|
-
"type": "string"
|
|
6
|
-
},
|
|
7
|
-
"street": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"house_number": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"people_capacity": {
|
|
14
|
-
"type": "integer"
|
|
15
|
-
},
|
|
16
|
-
"team_capacity": {
|
|
17
|
-
"type": "integer"
|
|
18
|
-
},
|
|
19
|
-
"game_time": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"format": "iso-time"
|
|
22
|
-
},
|
|
23
|
-
"city_id": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"format": "uuid"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"required": [
|
|
29
|
-
"name",
|
|
30
|
-
"street",
|
|
31
|
-
"house_number",
|
|
32
|
-
"people_capacity",
|
|
33
|
-
"team_capacity",
|
|
34
|
-
"game_time",
|
|
35
|
-
"city_id"
|
|
36
|
-
],
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"name": {
|
|
5
|
-
"type": "string"
|
|
6
|
-
},
|
|
7
|
-
"street": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"house_number": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"people_capacity": {
|
|
14
|
-
"type": "integer"
|
|
15
|
-
},
|
|
16
|
-
"team_capacity": {
|
|
17
|
-
"type": "integer"
|
|
18
|
-
},
|
|
19
|
-
"game_time": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"format": "iso-time"
|
|
22
|
-
},
|
|
23
|
-
"city_id": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"format": "uuid"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"required": [
|
|
29
|
-
"name",
|
|
30
|
-
"street",
|
|
31
|
-
"house_number",
|
|
32
|
-
"people_capacity",
|
|
33
|
-
"team_capacity",
|
|
34
|
-
"game_time",
|
|
35
|
-
"city_id"
|
|
36
|
-
],
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
}
|