@shakerquiz/utilities 0.4.14 → 0.4.16
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/api.d.ts +880 -0
- package/source/database.d.ts +187 -0
- package/source/enumerations/core/features.js +11 -0
- package/source/enumerations/core/methods.d.ts +1 -1
- package/source/enumerations/core/methods.js +10 -10
- package/source/globals.d.ts +0 -17
- package/source/index.d.ts +2 -11
- package/source/index.js +2 -9
- package/source/checkin.d.ts +0 -9
- package/source/city.d.ts +0 -191
- package/source/game.d.ts +0 -188
- package/source/image-media.d.ts +0 -30
- package/source/media.d.ts +0 -30
- package/source/registration.d.ts +0 -148
- package/source/role.d.ts +0 -30
- package/source/theme.d.ts +0 -41
- package/source/user.d.ts +0 -104
- package/source/venue.d.ts +0 -100
package/source/image-media.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
type ImageMediaTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
media_id: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "integer"
|
|
8
|
-
*/
|
|
9
|
-
width: number | null
|
|
10
|
-
/**
|
|
11
|
-
* @description "integer"
|
|
12
|
-
*/
|
|
13
|
-
height: number | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "timestamp with time zone"
|
|
16
|
-
*/
|
|
17
|
-
time_updated: string | null
|
|
18
|
-
/**
|
|
19
|
-
* @description "uuid"
|
|
20
|
-
*/
|
|
21
|
-
id: string
|
|
22
|
-
/**
|
|
23
|
-
* @description "timestamp with time zone"
|
|
24
|
-
*/
|
|
25
|
-
time_created: string
|
|
26
|
-
/**
|
|
27
|
-
* @description "character varying"
|
|
28
|
-
*/
|
|
29
|
-
file_format: string | null
|
|
30
|
-
}
|
package/source/media.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
type MediaTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
id: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "timestamp with time zone"
|
|
8
|
-
*/
|
|
9
|
-
time_created: string
|
|
10
|
-
/**
|
|
11
|
-
* @description "timestamp with time zone"
|
|
12
|
-
*/
|
|
13
|
-
time_updated: string | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "character varying"
|
|
16
|
-
*/
|
|
17
|
-
title: string | null
|
|
18
|
-
/**
|
|
19
|
-
* @description "character varying"
|
|
20
|
-
*/
|
|
21
|
-
cached_link: string | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "character varying"
|
|
24
|
-
*/
|
|
25
|
-
description: string | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "character varying"
|
|
28
|
-
*/
|
|
29
|
-
path: string | null
|
|
30
|
-
}
|
package/source/registration.d.ts
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
type RegistrationTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "boolean"
|
|
4
|
-
*/
|
|
5
|
-
is_extensible: boolean | null
|
|
6
|
-
/**
|
|
7
|
-
* @description "integer"
|
|
8
|
-
*/
|
|
9
|
-
people_count: number | null
|
|
10
|
-
/**
|
|
11
|
-
* @description "boolean"
|
|
12
|
-
*/
|
|
13
|
-
is_first: boolean | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "boolean"
|
|
16
|
-
*/
|
|
17
|
-
is_canceled: boolean | null
|
|
18
|
-
/**
|
|
19
|
-
* @description "boolean"
|
|
20
|
-
*/
|
|
21
|
-
is_actual_presence: boolean | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "boolean"
|
|
24
|
-
*/
|
|
25
|
-
is_confirm: boolean | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "integer"
|
|
28
|
-
*/
|
|
29
|
-
change_people_count: number | null
|
|
30
|
-
/**
|
|
31
|
-
* @description "integer"
|
|
32
|
-
*/
|
|
33
|
-
fact_people_count: number | null
|
|
34
|
-
/**
|
|
35
|
-
* @description "boolean"
|
|
36
|
-
*/
|
|
37
|
-
is_birthday: boolean | null
|
|
38
|
-
/**
|
|
39
|
-
* @description "uuid"
|
|
40
|
-
*/
|
|
41
|
-
event_id: string
|
|
42
|
-
/**
|
|
43
|
-
* @description "uuid"
|
|
44
|
-
*/
|
|
45
|
-
id: string
|
|
46
|
-
/**
|
|
47
|
-
* @description "timestamp with time zone"
|
|
48
|
-
*/
|
|
49
|
-
time_created: string
|
|
50
|
-
/**
|
|
51
|
-
* @description "timestamp with time zone"
|
|
52
|
-
*/
|
|
53
|
-
time_updated: string | null
|
|
54
|
-
/**
|
|
55
|
-
* @description "boolean"
|
|
56
|
-
*/
|
|
57
|
-
is_reserve: boolean | null
|
|
58
|
-
/**
|
|
59
|
-
* @description "boolean"
|
|
60
|
-
*/
|
|
61
|
-
is_alone: boolean | null
|
|
62
|
-
/**
|
|
63
|
-
* @description "character varying"
|
|
64
|
-
*/
|
|
65
|
-
utm_campaign: string | null
|
|
66
|
-
/**
|
|
67
|
-
* @description "character varying"
|
|
68
|
-
*/
|
|
69
|
-
human_name: string | null
|
|
70
|
-
/**
|
|
71
|
-
* @description "character varying"
|
|
72
|
-
*/
|
|
73
|
-
last_broadcast: string | null
|
|
74
|
-
/**
|
|
75
|
-
* @description "character varying"
|
|
76
|
-
*/
|
|
77
|
-
email: string | null
|
|
78
|
-
/**
|
|
79
|
-
* @description "character varying"
|
|
80
|
-
*/
|
|
81
|
-
phone: string | null
|
|
82
|
-
/**
|
|
83
|
-
* @description "character varying"
|
|
84
|
-
*/
|
|
85
|
-
team_name: string | null
|
|
86
|
-
/**
|
|
87
|
-
* @description "character varying"
|
|
88
|
-
*/
|
|
89
|
-
ads_from: string | null
|
|
90
|
-
/**
|
|
91
|
-
* @description "character varying"
|
|
92
|
-
*/
|
|
93
|
-
comment: string | null
|
|
94
|
-
/**
|
|
95
|
-
* @description "character varying"
|
|
96
|
-
*/
|
|
97
|
-
promocode: string | null
|
|
98
|
-
/**
|
|
99
|
-
* @description "character varying"
|
|
100
|
-
*/
|
|
101
|
-
channel: string | null
|
|
102
|
-
/**
|
|
103
|
-
* @description "character varying"
|
|
104
|
-
*/
|
|
105
|
-
vkontakte: string | null
|
|
106
|
-
/**
|
|
107
|
-
* @description "character varying"
|
|
108
|
-
*/
|
|
109
|
-
telegramBot: string | null
|
|
110
|
-
/**
|
|
111
|
-
* @description "character varying"
|
|
112
|
-
*/
|
|
113
|
-
chatapp_id: string | null
|
|
114
|
-
/**
|
|
115
|
-
* @description "character varying"
|
|
116
|
-
*/
|
|
117
|
-
utm_term: string | null
|
|
118
|
-
/**
|
|
119
|
-
* @description "character varying"
|
|
120
|
-
*/
|
|
121
|
-
utm_source: string | null
|
|
122
|
-
/**
|
|
123
|
-
* @description "character varying"
|
|
124
|
-
*/
|
|
125
|
-
utm_medium: string | null
|
|
126
|
-
/**
|
|
127
|
-
* @description "character varying"
|
|
128
|
-
*/
|
|
129
|
-
utm_content: string | null
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
type RegistrationResponse = {
|
|
133
|
-
can_cancel: boolean
|
|
134
|
-
can_change_people_count: boolean
|
|
135
|
-
can_confirm: boolean
|
|
136
|
-
change_people_count: RegistrationTable['change_people_count']
|
|
137
|
-
channel: RegistrationTable['channel']
|
|
138
|
-
event_id: RegistrationTable['event_id']
|
|
139
|
-
event_time_utc: GameRow['event_time']
|
|
140
|
-
event_timezone: GameRow['timezone']
|
|
141
|
-
id: RegistrationTable['id']
|
|
142
|
-
is_canceled: RegistrationTable['is_canceled']
|
|
143
|
-
is_confirm: RegistrationTable['is_confirm']
|
|
144
|
-
is_reserve: RegistrationTable['is_reserve']
|
|
145
|
-
max_members_count: GameRow['max_members_count']
|
|
146
|
-
people_count: RegistrationTable['people_count']
|
|
147
|
-
team_name: RegistrationTable['team_name']
|
|
148
|
-
}
|
package/source/role.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
type RoleTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
id: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "timestamp with time zone"
|
|
8
|
-
*/
|
|
9
|
-
time_created: string
|
|
10
|
-
/**
|
|
11
|
-
* @description "timestamp with time zone"
|
|
12
|
-
*/
|
|
13
|
-
time_updated: string | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "character varying"
|
|
16
|
-
*/
|
|
17
|
-
name: Role
|
|
18
|
-
/**
|
|
19
|
-
* @description "character varying"
|
|
20
|
-
*/
|
|
21
|
-
description: string | null
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
type RoleResponse = {
|
|
25
|
-
id: RoleTable['id']
|
|
26
|
-
time_created: RoleTable['time_created']
|
|
27
|
-
time_updated: RoleTable['time_updated']
|
|
28
|
-
name: RoleTable['name']
|
|
29
|
-
description: RoleTable['description']
|
|
30
|
-
}
|
package/source/theme.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
type ThemeTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "timestamp with time zone"
|
|
4
|
-
*/
|
|
5
|
-
time_updated: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "uuid"
|
|
8
|
-
*/
|
|
9
|
-
id: string
|
|
10
|
-
/**
|
|
11
|
-
* @description "timestamp with time zone"
|
|
12
|
-
*/
|
|
13
|
-
time_created: string
|
|
14
|
-
/**
|
|
15
|
-
* @description "uuid"
|
|
16
|
-
*/
|
|
17
|
-
image_id: string
|
|
18
|
-
/**
|
|
19
|
-
* @description "character varying"
|
|
20
|
-
*/
|
|
21
|
-
short_description: string | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "character varying"
|
|
24
|
-
*/
|
|
25
|
-
description: string | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "character varying"
|
|
28
|
-
*/
|
|
29
|
-
name: string | null
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
type ThemeResponse = {
|
|
33
|
-
description: ThemeTable['description']
|
|
34
|
-
id: ThemeTable['id']
|
|
35
|
-
image_id: ImageMediaTable['id']
|
|
36
|
-
media_path: MediaTable['path']
|
|
37
|
-
media_title: MediaTable['title']
|
|
38
|
-
name: ThemeTable['name']
|
|
39
|
-
short_description: ThemeTable['short_description']
|
|
40
|
-
time_created: ThemeTable['time_created']
|
|
41
|
-
}
|
package/source/user.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
type UserTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
role_id: string
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @description "uuid"
|
|
9
|
-
*/
|
|
10
|
-
id: string
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @description "timestamp with time zone"
|
|
14
|
-
*/
|
|
15
|
-
time_created: string
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @description "timestamp with time zone"
|
|
19
|
-
*/
|
|
20
|
-
time_updated: string | null
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @description "boolean"
|
|
24
|
-
*/
|
|
25
|
-
is_active: boolean | null
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @description "boolean"
|
|
29
|
-
*/
|
|
30
|
-
is_superuser: boolean | null
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @description "boolean"
|
|
34
|
-
*/
|
|
35
|
-
is_verified: boolean | null
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @description "uuid"
|
|
39
|
-
*/
|
|
40
|
-
image_id: string | null
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @description "character varying"
|
|
44
|
-
*/
|
|
45
|
-
mailru_link: string | null
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @description "character varying"
|
|
49
|
-
*/
|
|
50
|
-
telegram_id: string | null
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @description "character varying"
|
|
54
|
-
*/
|
|
55
|
-
hashed_password: string | null
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @description "character varying"
|
|
59
|
-
*/
|
|
60
|
-
telegram_data: string | null
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @description "character varying"
|
|
64
|
-
*/
|
|
65
|
-
third_name: string | null
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @description "character varying"
|
|
69
|
-
*/
|
|
70
|
-
phone: string | null
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @description "character varying"
|
|
74
|
-
*/
|
|
75
|
-
first_name: string | null
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @description "character varying"
|
|
79
|
-
*/
|
|
80
|
-
last_name: string | null
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @description "character varying"
|
|
84
|
-
*/
|
|
85
|
-
email: string | null
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @description "character varying"
|
|
89
|
-
*/
|
|
90
|
-
gmail_link: string | null
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type UserResponse = {
|
|
94
|
-
email: UserTable['email']
|
|
95
|
-
first_name: UserTable['first_name']
|
|
96
|
-
gmail_link: UserTable['gmail_link']
|
|
97
|
-
id: UserTable['id']
|
|
98
|
-
is_active: UserTable['is_active']
|
|
99
|
-
last_name: UserTable['last_name']
|
|
100
|
-
mailru_link: UserTable['mailru_link']
|
|
101
|
-
phone: UserTable['phone']
|
|
102
|
-
role: RoleResponse
|
|
103
|
-
cities: CityResponse[]
|
|
104
|
-
}
|
package/source/venue.d.ts
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
type VenueTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
id: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "timestamp with time zone"
|
|
8
|
-
*/
|
|
9
|
-
time_created: string
|
|
10
|
-
/**
|
|
11
|
-
* @description "timestamp with time zone"
|
|
12
|
-
*/
|
|
13
|
-
time_updated: string | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "double precision"
|
|
16
|
-
*/
|
|
17
|
-
longitude: number | null
|
|
18
|
-
/**
|
|
19
|
-
* @description "uuid"
|
|
20
|
-
*/
|
|
21
|
-
city_id: string | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "double precision"
|
|
24
|
-
*/
|
|
25
|
-
latitude: number | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "integer"
|
|
28
|
-
*/
|
|
29
|
-
people_capacity: number | null
|
|
30
|
-
/**
|
|
31
|
-
* @description "integer"
|
|
32
|
-
*/
|
|
33
|
-
team_capacity: number | null
|
|
34
|
-
/**
|
|
35
|
-
* @description "boolean"
|
|
36
|
-
*/
|
|
37
|
-
is_adult: boolean | null
|
|
38
|
-
/**
|
|
39
|
-
* @description "character varying"
|
|
40
|
-
*/
|
|
41
|
-
name: string | null
|
|
42
|
-
/**
|
|
43
|
-
* @description "character varying"
|
|
44
|
-
*/
|
|
45
|
-
house_number: string | null
|
|
46
|
-
/**
|
|
47
|
-
* @description "character varying"
|
|
48
|
-
*/
|
|
49
|
-
comment: string | null
|
|
50
|
-
/**
|
|
51
|
-
* @description "character varying"
|
|
52
|
-
*/
|
|
53
|
-
comment_responsible: string | null
|
|
54
|
-
/**
|
|
55
|
-
* @description "character varying"
|
|
56
|
-
*/
|
|
57
|
-
comment_equipment: string | null
|
|
58
|
-
/**
|
|
59
|
-
* @description "character varying"
|
|
60
|
-
*/
|
|
61
|
-
street: string | null
|
|
62
|
-
/**
|
|
63
|
-
* @description "character varying"
|
|
64
|
-
*/
|
|
65
|
-
game_time: string | null
|
|
66
|
-
/**
|
|
67
|
-
* @description "character varying"
|
|
68
|
-
*/
|
|
69
|
-
floor: string | null
|
|
70
|
-
/**
|
|
71
|
-
* @description "character varying"
|
|
72
|
-
*/
|
|
73
|
-
metro: string | null
|
|
74
|
-
/**
|
|
75
|
-
* @description "character varying"
|
|
76
|
-
*/
|
|
77
|
-
location_info: string | null
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
type VenueResponse = {
|
|
81
|
-
id: VenueTable['id']
|
|
82
|
-
time_created: VenueTable['time_created']
|
|
83
|
-
time_updated: VenueTable['time_updated']
|
|
84
|
-
longitude: VenueTable['longitude']
|
|
85
|
-
latitude: VenueTable['latitude']
|
|
86
|
-
people_capacity: VenueTable['people_capacity']
|
|
87
|
-
team_capacity: VenueTable['team_capacity']
|
|
88
|
-
is_adult: VenueTable['is_adult']
|
|
89
|
-
name: VenueTable['name']
|
|
90
|
-
house_number: VenueTable['house_number']
|
|
91
|
-
comment: VenueTable['comment']
|
|
92
|
-
comment_responsible: VenueTable['comment_responsible']
|
|
93
|
-
comment_equipment: VenueTable['comment_equipment']
|
|
94
|
-
street: VenueTable['street']
|
|
95
|
-
game_time: VenueTable['game_time']
|
|
96
|
-
floor: VenueTable['floor']
|
|
97
|
-
metro: VenueTable['metro']
|
|
98
|
-
location_info: VenueTable['location_info']
|
|
99
|
-
city: CityResponse
|
|
100
|
-
}
|