@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.
- package/package.json +1 -1
- package/source/city.d.ts +195 -0
- package/source/enumerations/features.d.ts +26 -20
- package/source/enumerations/features.js +20 -20
- package/source/functions/request.d.ts +423 -107
- package/source/game.d.ts +179 -0
- package/source/index.d.ts +7 -2
- package/source/location.d.ts +103 -0
- package/source/registration.d.ts +136 -0
- package/source/role.d.ts +22 -0
- package/source/rows.d.ts +0 -472
- package/source/theme.d.ts +54 -0
- package/source/user.d.ts +126 -0
- package/source/results.d.ts +0 -137
package/package.json
CHANGED
package/source/city.d.ts
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
type CityAdminResult = CityRow
|
|
2
|
+
|
|
3
|
+
type CityOrganizerResult = CityRow
|
|
4
|
+
|
|
5
|
+
type CityDefaultResult = {
|
|
6
|
+
address: CityRow['address']
|
|
7
|
+
alias: CityRow['alias']
|
|
8
|
+
country: CityRow['country']
|
|
9
|
+
custom_html: CityRow['custom_html']
|
|
10
|
+
custom_script: CityRow['custom_script']
|
|
11
|
+
email: CityRow['email']
|
|
12
|
+
id: CityRow['id']
|
|
13
|
+
inst_link: CityRow['inst_link']
|
|
14
|
+
max_members_count: CityRow['max_members_count']
|
|
15
|
+
meta_description: CityRow['meta_description']
|
|
16
|
+
meta_title: CityRow['meta_title']
|
|
17
|
+
min_members_count: CityRow['min_members_count']
|
|
18
|
+
name: CityRow['name']
|
|
19
|
+
phone: CityRow['phone']
|
|
20
|
+
tg_link: CityRow['tg_link']
|
|
21
|
+
vk_group_id: CityRow['vk_group_id']
|
|
22
|
+
vk_link: CityRow['vk_link']
|
|
23
|
+
yandex_metrica: CityRow['yandex_metrica']
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type CityRow = {
|
|
27
|
+
/**
|
|
28
|
+
* @description "timestamp with time zone"
|
|
29
|
+
*/
|
|
30
|
+
time_created: string
|
|
31
|
+
/**
|
|
32
|
+
* @description "integer"
|
|
33
|
+
*/
|
|
34
|
+
timezone: Nullable<number>
|
|
35
|
+
/**
|
|
36
|
+
* @description "boolean"
|
|
37
|
+
*/
|
|
38
|
+
is_default: Nullable<boolean>
|
|
39
|
+
/**
|
|
40
|
+
* @description "boolean"
|
|
41
|
+
*/
|
|
42
|
+
is_franchise: Nullable<boolean>
|
|
43
|
+
/**
|
|
44
|
+
* @description "integer"
|
|
45
|
+
*/
|
|
46
|
+
min_members_count: Nullable<number>
|
|
47
|
+
/**
|
|
48
|
+
* @description "integer"
|
|
49
|
+
*/
|
|
50
|
+
max_members_count: Nullable<number>
|
|
51
|
+
/**
|
|
52
|
+
* @description "boolean"
|
|
53
|
+
*/
|
|
54
|
+
chatapp_legacy: Nullable<boolean>
|
|
55
|
+
/**
|
|
56
|
+
* @description "timestamp with time zone"
|
|
57
|
+
*/
|
|
58
|
+
time_updated: Nullable<string>
|
|
59
|
+
/**
|
|
60
|
+
* @description "double precision"
|
|
61
|
+
*/
|
|
62
|
+
price: Nullable<number>
|
|
63
|
+
/**
|
|
64
|
+
* @description "uuid"
|
|
65
|
+
*/
|
|
66
|
+
id: Nullable<string>
|
|
67
|
+
/**
|
|
68
|
+
* @description "character varying"
|
|
69
|
+
*/
|
|
70
|
+
inst_login: Nullable<string>
|
|
71
|
+
/**
|
|
72
|
+
* @description "character varying"
|
|
73
|
+
*/
|
|
74
|
+
inst_password: Nullable<string>
|
|
75
|
+
/**
|
|
76
|
+
* @description "character varying"
|
|
77
|
+
*/
|
|
78
|
+
inst_comment: Nullable<string>
|
|
79
|
+
/**
|
|
80
|
+
* @description "character varying"
|
|
81
|
+
*/
|
|
82
|
+
custom_script: Nullable<string>
|
|
83
|
+
/**
|
|
84
|
+
* @description "character varying"
|
|
85
|
+
*/
|
|
86
|
+
custom_html: Nullable<string>
|
|
87
|
+
/**
|
|
88
|
+
* @description "character varying"
|
|
89
|
+
*/
|
|
90
|
+
alias: Nullable<string>
|
|
91
|
+
/**
|
|
92
|
+
* @description "character varying"
|
|
93
|
+
*/
|
|
94
|
+
vk_group_id: Nullable<string>
|
|
95
|
+
/**
|
|
96
|
+
* @description "character varying"
|
|
97
|
+
*/
|
|
98
|
+
chatapp_line: Nullable<string>
|
|
99
|
+
/**
|
|
100
|
+
* @description "character varying"
|
|
101
|
+
*/
|
|
102
|
+
chatapp_user: Nullable<string>
|
|
103
|
+
/**
|
|
104
|
+
* @description "character varying"
|
|
105
|
+
*/
|
|
106
|
+
chatapp_tag: Nullable<string>
|
|
107
|
+
/**
|
|
108
|
+
* @description "character varying"
|
|
109
|
+
*/
|
|
110
|
+
chatapp_category: Nullable<string>
|
|
111
|
+
/**
|
|
112
|
+
* @description "character varying"
|
|
113
|
+
*/
|
|
114
|
+
telegram_chat_id: Nullable<string>
|
|
115
|
+
/**
|
|
116
|
+
* @description "character varying"
|
|
117
|
+
*/
|
|
118
|
+
title: Nullable<string>
|
|
119
|
+
/**
|
|
120
|
+
* @description "character varying"
|
|
121
|
+
*/
|
|
122
|
+
description: Nullable<string>
|
|
123
|
+
/**
|
|
124
|
+
* @description "character varying"
|
|
125
|
+
*/
|
|
126
|
+
region: Nullable<string>
|
|
127
|
+
/**
|
|
128
|
+
* @description "character varying"
|
|
129
|
+
*/
|
|
130
|
+
country: Nullable<string>
|
|
131
|
+
/**
|
|
132
|
+
* @description "character varying"
|
|
133
|
+
*/
|
|
134
|
+
yandex_metrica: Nullable<string>
|
|
135
|
+
/**
|
|
136
|
+
* @description "character varying"
|
|
137
|
+
*/
|
|
138
|
+
meta_title: Nullable<string>
|
|
139
|
+
/**
|
|
140
|
+
* @description "character varying"
|
|
141
|
+
*/
|
|
142
|
+
meta_description: Nullable<string>
|
|
143
|
+
/**
|
|
144
|
+
* @description "character varying"
|
|
145
|
+
*/
|
|
146
|
+
phone: Nullable<string>
|
|
147
|
+
/**
|
|
148
|
+
* @description "character varying"
|
|
149
|
+
*/
|
|
150
|
+
email: Nullable<string>
|
|
151
|
+
/**
|
|
152
|
+
* @description "character varying"
|
|
153
|
+
*/
|
|
154
|
+
name: Nullable<string>
|
|
155
|
+
/**
|
|
156
|
+
* @description "character varying"
|
|
157
|
+
*/
|
|
158
|
+
address: Nullable<string>
|
|
159
|
+
/**
|
|
160
|
+
* @description "character varying"
|
|
161
|
+
*/
|
|
162
|
+
currency: Nullable<string>
|
|
163
|
+
/**
|
|
164
|
+
* @description "character varying"
|
|
165
|
+
*/
|
|
166
|
+
game_time: Nullable<string>
|
|
167
|
+
/**
|
|
168
|
+
* @description "character varying"
|
|
169
|
+
*/
|
|
170
|
+
vk_link: Nullable<string>
|
|
171
|
+
/**
|
|
172
|
+
* @description "character varying"
|
|
173
|
+
*/
|
|
174
|
+
vk_comment: Nullable<string>
|
|
175
|
+
/**
|
|
176
|
+
* @description "character varying"
|
|
177
|
+
*/
|
|
178
|
+
tg_link: Nullable<string>
|
|
179
|
+
/**
|
|
180
|
+
* @description "character varying"
|
|
181
|
+
*/
|
|
182
|
+
tg_login: Nullable<string>
|
|
183
|
+
/**
|
|
184
|
+
* @description "character varying"
|
|
185
|
+
*/
|
|
186
|
+
tg_password: Nullable<string>
|
|
187
|
+
/**
|
|
188
|
+
* @description "character varying"
|
|
189
|
+
*/
|
|
190
|
+
tg_comment: Nullable<string>
|
|
191
|
+
/**
|
|
192
|
+
* @description "character varying"
|
|
193
|
+
*/
|
|
194
|
+
inst_link: Nullable<string>
|
|
195
|
+
}
|
|
@@ -6,45 +6,51 @@ import { Networks } from './networks'
|
|
|
6
6
|
export let Features: {
|
|
7
7
|
Checkin: 'Checkin'
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
User: 'User'
|
|
10
|
+
Users: 'Users'
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
Theme: 'Theme'
|
|
13
|
+
Themes: 'Themes'
|
|
14
14
|
|
|
15
15
|
Game: 'Game'
|
|
16
16
|
Games: 'Games'
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Registration: 'Registration'
|
|
19
|
+
Registrations: 'Registrations'
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
City: 'City'
|
|
22
|
+
Cities: 'Cities'
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
CityPublic: 'CityPublic'
|
|
25
|
+
CitiesPublic: 'CitiesPublic'
|
|
26
|
+
|
|
27
|
+
Location: 'Location'
|
|
28
|
+
Locations: 'Locations'
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
export let FeatureKinds: {
|
|
29
32
|
[Features.Checkin]: Kinds.Item
|
|
30
33
|
|
|
31
|
-
[Features.
|
|
32
|
-
[Features.
|
|
34
|
+
[Features.User]: Kinds.Item
|
|
35
|
+
[Features.Users]: Kinds.List
|
|
33
36
|
|
|
34
|
-
[Features.
|
|
35
|
-
[Features.
|
|
37
|
+
[Features.Theme]: Kinds.Item
|
|
38
|
+
[Features.Themes]: Kinds.List
|
|
36
39
|
|
|
37
40
|
[Features.Game]: Kinds.Item
|
|
38
41
|
[Features.Games]: Kinds.List
|
|
39
42
|
|
|
40
|
-
[Features.
|
|
41
|
-
[Features.
|
|
43
|
+
[Features.Registration]: Kinds.Item
|
|
44
|
+
[Features.Registrations]: Kinds.List
|
|
42
45
|
|
|
43
|
-
[Features.
|
|
44
|
-
[Features.
|
|
46
|
+
[Features.City]: Kinds.Item
|
|
47
|
+
[Features.Cities]: Kinds.List
|
|
45
48
|
|
|
46
|
-
[Features.
|
|
47
|
-
[Features.
|
|
49
|
+
[Features.CityPublic]: Kinds.Item
|
|
50
|
+
[Features.CitiesPublic]: Kinds.List
|
|
51
|
+
|
|
52
|
+
[Features.Location]: Kinds.Item
|
|
53
|
+
[Features.Locations]: Kinds.List
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
export let FeatureRequests: Map<
|
|
@@ -3,45 +3,45 @@ import { Kinds } from './kinds.js'
|
|
|
3
3
|
export let Features = {
|
|
4
4
|
Checkin: 'Checkin',
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
User: 'User',
|
|
7
|
+
Users: 'Users',
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Theme: 'Theme',
|
|
10
|
+
Themes: 'Themes',
|
|
11
11
|
|
|
12
12
|
Game: 'Game',
|
|
13
13
|
Games: 'Games',
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
Registration: 'Registration',
|
|
16
|
+
Registrations: 'Registrations',
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
City: 'City',
|
|
19
|
+
Cities: 'Cities',
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
Location: 'Location',
|
|
22
|
+
Locations: 'Locations',
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export let FeatureKinds = {
|
|
26
26
|
[Features.Checkin]: Kinds.Item,
|
|
27
27
|
|
|
28
|
-
[Features.
|
|
29
|
-
[Features.
|
|
28
|
+
[Features.User]: Kinds.Item,
|
|
29
|
+
[Features.Users]: Kinds.List,
|
|
30
30
|
|
|
31
|
-
[Features.
|
|
32
|
-
[Features.
|
|
31
|
+
[Features.Theme]: Kinds.Item,
|
|
32
|
+
[Features.Themes]: Kinds.List,
|
|
33
33
|
|
|
34
34
|
[Features.Game]: Kinds.Item,
|
|
35
35
|
[Features.Games]: Kinds.List,
|
|
36
36
|
|
|
37
|
-
[Features.
|
|
38
|
-
[Features.
|
|
37
|
+
[Features.Registration]: Kinds.Item,
|
|
38
|
+
[Features.Registrations]: Kinds.List,
|
|
39
39
|
|
|
40
|
-
[Features.
|
|
41
|
-
[Features.
|
|
40
|
+
[Features.City]: Kinds.Item,
|
|
41
|
+
[Features.Cities]: Kinds.List,
|
|
42
42
|
|
|
43
|
-
[Features.
|
|
44
|
-
[Features.
|
|
43
|
+
[Features.Location]: Kinds.Item,
|
|
44
|
+
[Features.Locations]: Kinds.List,
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export let FeatureRequests = new Map()
|