@shakerquiz/utilities 0.5.41 → 0.5.43
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 +1 -1
- package/source/enumerations/entities/role-mode.js +2 -2
- package/source/schemas/PATCH/city/admin.json +86 -0
- package/source/schemas/PATCH/{Venue/admin/schema.json → venue/admin.json} +2 -1
- package/source/schemas/PATCH/{Venue/organizer/schema.json → venue/organizer.json} +3 -2
- package/source/schemas/POST/city/admin.json +32 -0
- package/source/schemas/POST/{Venue/organizer/schema.json → venue/admin.json} +2 -13
- package/source/schemas/POST/venue/organizer.json +38 -0
- package/source/schemas/PATCH/Venue/default/schema.json +0 -6
- package/source/schemas/POST/Venue/admin/schema.json +0 -6
- package/source/schemas/POST/Venue/default/schema.json +0 -6
package/package.json
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"price": {
|
|
8
|
+
"type": "number"
|
|
9
|
+
},
|
|
10
|
+
"currency": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"game_time": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "iso-time"
|
|
16
|
+
},
|
|
17
|
+
"vk_link": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"tg_link": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"inst_link": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"is_franshise": {
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
},
|
|
29
|
+
"min_members_count": {
|
|
30
|
+
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
"max_members_count": {
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
"custom_script": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"custom_html": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"alias": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"vk_group_id": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"chatapp_line": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"chatapp_user": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"chatapp_tag": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"chatapp_category": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"telegram_chat_id": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"country": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"yandex_metrica": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"chatapp_legacy": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"phone": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"email": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"address": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
80
|
+
"timezone_name": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [],
|
|
85
|
+
"additionalProperties": false
|
|
86
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"country": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"currency": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"alias": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"is_franshise": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"timezone_name": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"name",
|
|
25
|
+
"country",
|
|
26
|
+
"currency",
|
|
27
|
+
"alias",
|
|
28
|
+
"is_franshise",
|
|
29
|
+
"timezone_name"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
@@ -16,24 +16,13 @@
|
|
|
16
16
|
"team_capacity": {
|
|
17
17
|
"type": "integer"
|
|
18
18
|
},
|
|
19
|
-
"is_adult": {
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
19
|
"game_time": {
|
|
23
|
-
"type": "string"
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "iso-time"
|
|
24
22
|
},
|
|
25
23
|
"city_id": {
|
|
26
24
|
"type": "string",
|
|
27
25
|
"format": "uuid"
|
|
28
|
-
},
|
|
29
|
-
"location_info": {
|
|
30
|
-
"type": "string"
|
|
31
|
-
},
|
|
32
|
-
"status": {
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
"href": {
|
|
36
|
-
"type": "string"
|
|
37
26
|
}
|
|
38
27
|
},
|
|
39
28
|
"required": [
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
}
|