@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.
Files changed (50) hide show
  1. package/package.json +2 -3
  2. package/source/enumerations/entities/registration-attribute.js +2 -2
  3. package/source/functions/hydrate-route-params.js +11 -17
  4. package/source/functions/hydrate-route-pathname.js +17 -23
  5. package/source/functions/key.js +8 -13
  6. package/source/functions/string-tag.js +3 -0
  7. package/source/index.js +1 -1
  8. package/source/functions/tag.js +0 -6
  9. package/source/schemas/PATCH/city/admin.json +0 -126
  10. package/source/schemas/PATCH/city/currency/admin.json +0 -173
  11. package/source/schemas/PATCH/city/timezone/admin.json +0 -501
  12. package/source/schemas/PATCH/game/admin.json +0 -30
  13. package/source/schemas/PATCH/game/organizer.json +0 -30
  14. package/source/schemas/PATCH/games/admin.json +0 -34
  15. package/source/schemas/PATCH/games/organizer.json +0 -34
  16. package/source/schemas/PATCH/registration/Unknown.json +0 -10
  17. package/source/schemas/PATCH/registration/admin.json +0 -43
  18. package/source/schemas/PATCH/registration/cancellation/Unknown.json +0 -12
  19. package/source/schemas/PATCH/registration/channel/Unknown.json +0 -22
  20. package/source/schemas/PATCH/registration/confirmation/Unknown.json +0 -12
  21. package/source/schemas/PATCH/registration/organizer.json +0 -43
  22. package/source/schemas/PATCH/theme/admin.json +0 -19
  23. package/source/schemas/PATCH/user/admin.json +0 -30
  24. package/source/schemas/PATCH/user/cities/admin.json +0 -17
  25. package/source/schemas/PATCH/user/password/admin.json +0 -12
  26. package/source/schemas/PATCH/user/role/admin.json +0 -13
  27. package/source/schemas/PATCH/users/cities/admin.json +0 -19
  28. package/source/schemas/PATCH/users/role/admin.json +0 -19
  29. package/source/schemas/PATCH/venue/admin.json +0 -44
  30. package/source/schemas/PATCH/venue/organizer.json +0 -44
  31. package/source/schemas/POST/checkin/Unknown.json +0 -16
  32. package/source/schemas/POST/city/admin.json +0 -696
  33. package/source/schemas/POST/cover/admin.json +0 -24
  34. package/source/schemas/POST/game/admin.json +0 -27
  35. package/source/schemas/POST/game/organizer.json +0 -27
  36. package/source/schemas/POST/game/registrations/export/admin.json +0 -17
  37. package/source/schemas/POST/game/registrations/export/organizer.json +0 -17
  38. package/source/schemas/POST/registration/Unknown.json +0 -125
  39. package/source/schemas/POST/registration/mailing/admin.json +0 -16
  40. package/source/schemas/POST/registration/mailing/organizer.json +0 -16
  41. package/source/schemas/POST/registrations/export/admin.json +0 -17
  42. package/source/schemas/POST/registrations/export/organizer.json +0 -17
  43. package/source/schemas/POST/theme/admin.json +0 -24
  44. package/source/schemas/POST/user/admin.json +0 -12
  45. package/source/schemas/POST/user/cities/admin.json +0 -17
  46. package/source/schemas/POST/user/password/admin.json +0 -12
  47. package/source/schemas/POST/user/role/admin.json +0 -13
  48. package/source/schemas/POST/venue/admin.json +0 -38
  49. package/source/schemas/POST/venue/organizer.json +0 -38
  50. package/source/schemas/PUT/cover/admin.json +0 -13
@@ -1,22 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "channel": {
5
- "type": "string"
6
- },
7
- "confirmed_channel": {
8
- "type": "string"
9
- },
10
- "email": {
11
- "type": "string"
12
- },
13
- "vkontakte": {
14
- "type": "string"
15
- },
16
- "telegramBot": {
17
- "type": "string"
18
- }
19
- },
20
- "required": [],
21
- "additionalProperties": false
22
- }
@@ -1,12 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "is_confirm": {
5
- "type": "boolean"
6
- }
7
- },
8
- "required": [
9
- "is_confirm"
10
- ],
11
- "additionalProperties": false
12
- }
@@ -1,43 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "people_count": {
5
- "type": "integer"
6
- },
7
- "human_name": {
8
- "type": "string"
9
- },
10
- "is_alone": {
11
- "type": "boolean"
12
- },
13
- "is_canceled": {
14
- "type": "boolean"
15
- },
16
- "is_confirm": {
17
- "type": "boolean"
18
- },
19
- "is_reserve": {
20
- "type": "boolean"
21
- },
22
- "team_name": {
23
- "type": "string"
24
- },
25
- "status": {
26
- "type": "string",
27
- "enum": [
28
- "Created",
29
- "Confirmed",
30
- "Cancelled"
31
- ]
32
- },
33
- "lineup": {
34
- "type": "string",
35
- "enum": [
36
- "Main",
37
- "Reserve"
38
- ]
39
- }
40
- },
41
- "required": [],
42
- "additionalProperties": false
43
- }
@@ -1,19 +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
- "additionalProperties": false
19
- }
@@ -1,30 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "email": {
5
- "type": "string"
6
- },
7
- "phone": {
8
- "type": [
9
- "string",
10
- "null"
11
- ]
12
- },
13
- "first_name": {
14
- "type": [
15
- "string",
16
- "null"
17
- ]
18
- },
19
- "last_name": {
20
- "type": [
21
- "string",
22
- "null"
23
- ]
24
- }
25
- },
26
- "required": [
27
- "email"
28
- ],
29
- "additionalProperties": false
30
- }
@@ -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,19 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string",
8
- "format": "uuid"
9
- },
10
- "cities": {
11
- "type": "array",
12
- "items": {
13
- "type": "object",
14
- "properties": {}
15
- }
16
- }
17
- }
18
- }
19
- }
@@ -1,19 +0,0 @@
1
- {
2
- "type": "array",
3
- "items": {
4
- "type": "object",
5
- "properties": {
6
- "id": {
7
- "type": "string"
8
- },
9
- "role": {
10
- "type": "object",
11
- "properties": {
12
- "id": {
13
- "type": "string"
14
- }
15
- }
16
- }
17
- }
18
- }
19
- }
@@ -1,44 +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
- "is_adult": {
20
- "type": "boolean"
21
- },
22
- "game_time": {
23
- "type": "string",
24
- "format": "iso-time"
25
- },
26
- "location_info": {
27
- "type": [
28
- "string",
29
- "null"
30
- ]
31
- },
32
- "status": {
33
- "type": "string"
34
- },
35
- "href": {
36
- "type": [
37
- "string",
38
- "null"
39
- ]
40
- }
41
- },
42
- "required": [],
43
- "additionalProperties": false
44
- }
@@ -1,44 +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
- "is_adult": {
20
- "type": "boolean"
21
- },
22
- "game_time": {
23
- "type": "string",
24
- "format": "iso-time"
25
- },
26
- "location_info": {
27
- "type": [
28
- "string",
29
- "null"
30
- ]
31
- },
32
- "status": {
33
- "type": "string"
34
- },
35
- "href": {
36
- "type": [
37
- "string",
38
- "null"
39
- ]
40
- }
41
- },
42
- "required": [],
43
- "additionalProperties": false
44
- }
@@ -1,16 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "email": {
5
- "type": "string"
6
- },
7
- "password": {
8
- "type": "string"
9
- }
10
- },
11
- "required": [
12
- "email",
13
- "password"
14
- ],
15
- "additionalProperties": false
16
- }