@shakerquiz/utilities 0.5.186 → 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.
Files changed (51) hide show
  1. package/package.json +2 -3
  2. package/source/enumerations/entities/registration-attribute.js +2 -2
  3. package/source/enumerations/route.js +6 -6
  4. package/source/functions/hydrate-route-params.js +11 -17
  5. package/source/functions/hydrate-route-pathname.js +17 -23
  6. package/source/functions/key.js +7 -16
  7. package/source/functions/string-tag.js +3 -0
  8. package/source/index.js +1 -1
  9. package/source/functions/tag.js +0 -6
  10. package/source/schemas/PATCH/city/admin.json +0 -126
  11. package/source/schemas/PATCH/city/currency/admin.json +0 -173
  12. package/source/schemas/PATCH/city/timezone/admin.json +0 -501
  13. package/source/schemas/PATCH/game/admin.json +0 -30
  14. package/source/schemas/PATCH/game/organizer.json +0 -30
  15. package/source/schemas/PATCH/games/admin.json +0 -34
  16. package/source/schemas/PATCH/games/organizer.json +0 -34
  17. package/source/schemas/PATCH/registration/Unknown.json +0 -10
  18. package/source/schemas/PATCH/registration/admin.json +0 -43
  19. package/source/schemas/PATCH/registration/cancellation/Unknown.json +0 -12
  20. package/source/schemas/PATCH/registration/channel/Unknown.json +0 -22
  21. package/source/schemas/PATCH/registration/confirmation/Unknown.json +0 -12
  22. package/source/schemas/PATCH/registration/organizer.json +0 -43
  23. package/source/schemas/PATCH/theme/admin.json +0 -19
  24. package/source/schemas/PATCH/user/admin.json +0 -30
  25. package/source/schemas/PATCH/user/cities/admin.json +0 -17
  26. package/source/schemas/PATCH/user/password/admin.json +0 -12
  27. package/source/schemas/PATCH/user/role/admin.json +0 -13
  28. package/source/schemas/PATCH/users/cities/admin.json +0 -19
  29. package/source/schemas/PATCH/users/role/admin.json +0 -19
  30. package/source/schemas/PATCH/venue/admin.json +0 -44
  31. package/source/schemas/PATCH/venue/organizer.json +0 -44
  32. package/source/schemas/POST/checkin/Unknown.json +0 -16
  33. package/source/schemas/POST/city/admin.json +0 -696
  34. package/source/schemas/POST/cover/admin.json +0 -24
  35. package/source/schemas/POST/game/admin.json +0 -27
  36. package/source/schemas/POST/game/organizer.json +0 -27
  37. package/source/schemas/POST/game/registrations/export/admin.json +0 -17
  38. package/source/schemas/POST/game/registrations/export/organizer.json +0 -17
  39. package/source/schemas/POST/registration/Unknown.json +0 -125
  40. package/source/schemas/POST/registration/mailing/admin.json +0 -16
  41. package/source/schemas/POST/registration/mailing/organizer.json +0 -16
  42. package/source/schemas/POST/registrations/export/admin.json +0 -17
  43. package/source/schemas/POST/registrations/export/organizer.json +0 -17
  44. package/source/schemas/POST/theme/admin.json +0 -24
  45. package/source/schemas/POST/user/admin.json +0 -12
  46. package/source/schemas/POST/user/cities/admin.json +0 -17
  47. package/source/schemas/POST/user/password/admin.json +0 -12
  48. package/source/schemas/POST/user/role/admin.json +0 -13
  49. package/source/schemas/POST/venue/admin.json +0 -38
  50. package/source/schemas/POST/venue/organizer.json +0 -38
  51. 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,17 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- }
10
- },
11
- "required": [
12
- "id"
13
- ],
14
- "additionalProperties": false
15
- },
16
- "uniqueItems": true
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- }
10
- },
11
- "required": [
12
- "id"
13
- ],
14
- "additionalProperties": false
15
- },
16
- "uniqueItems": true
17
- }
@@ -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,16 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "template": {
5
- "type": "string"
6
- },
7
- "text": {
8
- "type": "string"
9
- }
10
- },
11
- "required": [
12
- "template",
13
- "text"
14
- ],
15
- "additionalProperties": false
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "template": {
5
- "type": "string"
6
- },
7
- "text": {
8
- "type": "string"
9
- }
10
- },
11
- "required": [
12
- "template",
13
- "text"
14
- ],
15
- "additionalProperties": false
16
- }
@@ -1,17 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- }
10
- },
11
- "required": [
12
- "id"
13
- ],
14
- "additionalProperties": false
15
- },
16
- "uniqueItems": true
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- }
10
- },
11
- "required": [
12
- "id"
13
- ],
14
- "additionalProperties": false
15
- },
16
- "uniqueItems": true
17
- }
@@ -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,12 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "email": {
5
- "type": "string"
6
- }
7
- },
8
- "required": [
9
- "email"
10
- ],
11
- "additionalProperties": false
12
- }
@@ -1,17 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- }
10
- },
11
- "required": [
12
- "id"
13
- ],
14
- "additionalProperties": false
15
- },
16
- "uniqueItems": true
17
- }
@@ -1,12 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "password": {
5
- "type": "string"
6
- }
7
- },
8
- "required": [
9
- "password"
10
- ],
11
- "additionalProperties": false
12
- }
@@ -1,13 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "id": {
5
- "type": "string",
6
- "format": "uuid"
7
- }
8
- },
9
- "required": [
10
- "id"
11
- ],
12
- "additionalProperties": false
13
- }
@@ -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
- }
@@ -1,13 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "cover": {
5
- "type": "string",
6
- "format": "base64"
7
- }
8
- },
9
- "required": [
10
- "cover"
11
- ],
12
- "additionalProperties": false
13
- }