@shakerquiz/utilities 0.1.38 → 0.2.0

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.
@@ -1,137 +0,0 @@
1
- /**
2
- * Checkin
3
- */
4
-
5
- type CheckinResult =
6
- & {
7
- id: UserRow['id']
8
- first_name: UserRow['first_name']
9
- last_name: UserRow['last_name']
10
- third_name: UserRow['third_name']
11
- phone: UserRow['phone']
12
- email: UserRow['email']
13
- }
14
- & {
15
- image_id: ImageMediaRow['id']
16
- }
17
- & {
18
- role_id: string
19
- role_name: string
20
- }
21
-
22
- /**
23
- * City
24
- */
25
-
26
- type CityResult = CityRow
27
-
28
- type CityPublicResult = {
29
- address: CityRow['address']
30
- alias: CityRow['alias']
31
- country: CityRow['country']
32
- custom_html: CityRow['custom_html']
33
- custom_script: CityRow['custom_script']
34
- email: CityRow['email']
35
- id: CityRow['id']
36
- inst_link: CityRow['inst_link']
37
- max_members_count: CityRow['max_members_count']
38
- meta_description: CityRow['meta_description']
39
- meta_title: CityRow['meta_title']
40
- min_members_count: CityRow['min_members_count']
41
- name: CityRow['name']
42
- phone: CityRow['phone']
43
- tg_link: CityRow['tg_link']
44
- vk_group_id: CityRow['vk_group_id']
45
- vk_link: CityRow['vk_link']
46
- yandex_metrica: CityRow['yandex_metrica']
47
- }
48
-
49
- /**
50
- * Theme
51
- */
52
-
53
- type ThemeResult = {
54
- id: ThemeRow['id']
55
- time_created: ThemeRow['time_created']
56
- name: ThemeRow['name']
57
- description: ThemeRow['description']
58
- short_description: ThemeRow['short_description']
59
- image_id: ImageMediaRow['id']
60
- media_title: MediaRow['title']
61
- media_path: MediaRow['path']
62
- }
63
-
64
- /**
65
- * Game
66
- */
67
-
68
- type GameResult =
69
- & {
70
- event_id: GameRow['id']
71
- event_alias: GameRow['alias']
72
- event_number: GameRow['number']
73
- event_time: GameRow['event_time']
74
- event_status: GameRow['status']
75
- }
76
- & {
77
- location_id: LocationRow['id']
78
- location_name: LocationRow['name']
79
- }
80
- & {
81
- city_id: CityRow['id']
82
- city_alias: CityRow['alias']
83
- city_name: CityRow['name']
84
- city_is_franchise: CityRow['is_franchise']
85
- }
86
- & {
87
- theme_id: ThemeRow['id']
88
- theme_name: ThemeRow['name']
89
- }
90
- & {
91
- media_id: ImageMediaRow['id']
92
- media_title: ImageMediaRow['title']
93
- media_path: ImageMediaRow['path']
94
- }
95
- & {
96
- people_amount: number
97
- people_reserve_amount: number
98
- teams_amount: number
99
- teams_reserve_amount: number
100
- }
101
-
102
- type GamePublicResult =
103
- & {
104
- theme_description: ThemeRow['description']
105
- theme_id: ThemeRow['id']
106
- theme_name: ThemeRow['name']
107
- theme_short_description: ThemeRow['short_description']
108
- }
109
- & {
110
- alias: GameRow['alias']
111
- currency: GameRow['currency']
112
- id: GameRow['id']
113
- max_members_count: GameRow['max_members_count']
114
- min_members_count: GameRow['min_members_count']
115
- number: GameRow['number']
116
- price: GameRow['price']
117
- status: GameRow['status']
118
- event_time: GameRow['event_time']
119
- }
120
- & {
121
- city_alias: CityRow['alias']
122
- city_id: CityRow['id']
123
- }
124
- & {
125
- location_house_number: LocationRow['house_number']
126
- location_id: LocationRow['id']
127
- location_info: LocationRow['location_info']
128
- location_name: LocationRow['name']
129
- location_street: LocationRow['street']
130
- }
131
- & {
132
- media_id: MediaRow['id']
133
- media_path: MediaRow['path']
134
- }
135
- & {
136
- image_id: ImageMediaRow['id']
137
- }