@shakerquiz/utilities 0.1.37
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/LICENSE +21 -0
- package/dprint.json +32 -0
- package/jsconfig.json +11 -0
- package/package.json +20 -0
- package/source/enumerations/constants.d.ts +3 -0
- package/source/enumerations/constants.js +6 -0
- package/source/enumerations/cookies.d.ts +5 -0
- package/source/enumerations/cookies.js +5 -0
- package/source/enumerations/features.d.ts +58 -0
- package/source/enumerations/features.js +49 -0
- package/source/enumerations/game-statuses.d.ts +39 -0
- package/source/enumerations/game-statuses.js +39 -0
- package/source/enumerations/kinds.d.ts +4 -0
- package/source/enumerations/kinds.js +4 -0
- package/source/enumerations/methods.d.ts +7 -0
- package/source/enumerations/methods.js +7 -0
- package/source/enumerations/networks.d.ts +4 -0
- package/source/enumerations/networks.js +4 -0
- package/source/enumerations/phases.d.ts +7 -0
- package/source/enumerations/phases.js +7 -0
- package/source/enumerations/regexps.d.ts +4 -0
- package/source/enumerations/regexps.js +6 -0
- package/source/enumerations/roles.d.ts +5 -0
- package/source/enumerations/roles.js +5 -0
- package/source/functions/request.d.ts +131 -0
- package/source/functions/request.js +202 -0
- package/source/globals.d.ts +14 -0
- package/source/index.d.ts +15 -0
- package/source/index.js +11 -0
- package/source/results.d.ts +135 -0
- package/source/rows.d.ts +533 -0
package/source/rows.d.ts
ADDED
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
type CityRow = {
|
|
2
|
+
/**
|
|
3
|
+
* @description "timestamp with time zone"
|
|
4
|
+
*/
|
|
5
|
+
time_created: string
|
|
6
|
+
/**
|
|
7
|
+
* @description "integer"
|
|
8
|
+
*/
|
|
9
|
+
timezone: Nullable<number>
|
|
10
|
+
/**
|
|
11
|
+
* @description "boolean"
|
|
12
|
+
*/
|
|
13
|
+
is_default: Nullable<boolean>
|
|
14
|
+
/**
|
|
15
|
+
* @description "boolean"
|
|
16
|
+
*/
|
|
17
|
+
is_franchise: Nullable<boolean>
|
|
18
|
+
/**
|
|
19
|
+
* @description "integer"
|
|
20
|
+
*/
|
|
21
|
+
min_members_count: Nullable<number>
|
|
22
|
+
/**
|
|
23
|
+
* @description "integer"
|
|
24
|
+
*/
|
|
25
|
+
max_members_count: Nullable<number>
|
|
26
|
+
/**
|
|
27
|
+
* @description "boolean"
|
|
28
|
+
*/
|
|
29
|
+
chatapp_legacy: Nullable<boolean>
|
|
30
|
+
/**
|
|
31
|
+
* @description "timestamp with time zone"
|
|
32
|
+
*/
|
|
33
|
+
time_updated: Nullable<string>
|
|
34
|
+
/**
|
|
35
|
+
* @description "double precision"
|
|
36
|
+
*/
|
|
37
|
+
price: Nullable<number>
|
|
38
|
+
/**
|
|
39
|
+
* @description "uuid"
|
|
40
|
+
*/
|
|
41
|
+
id: Nullable<string>
|
|
42
|
+
/**
|
|
43
|
+
* @description "character varying"
|
|
44
|
+
*/
|
|
45
|
+
inst_login: Nullable<string>
|
|
46
|
+
/**
|
|
47
|
+
* @description "character varying"
|
|
48
|
+
*/
|
|
49
|
+
inst_password: Nullable<string>
|
|
50
|
+
/**
|
|
51
|
+
* @description "character varying"
|
|
52
|
+
*/
|
|
53
|
+
inst_comment: Nullable<string>
|
|
54
|
+
/**
|
|
55
|
+
* @description "character varying"
|
|
56
|
+
*/
|
|
57
|
+
custom_script: Nullable<string>
|
|
58
|
+
/**
|
|
59
|
+
* @description "character varying"
|
|
60
|
+
*/
|
|
61
|
+
custom_html: Nullable<string>
|
|
62
|
+
/**
|
|
63
|
+
* @description "character varying"
|
|
64
|
+
*/
|
|
65
|
+
alias: Nullable<string>
|
|
66
|
+
/**
|
|
67
|
+
* @description "character varying"
|
|
68
|
+
*/
|
|
69
|
+
vk_group_id: Nullable<string>
|
|
70
|
+
/**
|
|
71
|
+
* @description "character varying"
|
|
72
|
+
*/
|
|
73
|
+
chatapp_line: Nullable<string>
|
|
74
|
+
/**
|
|
75
|
+
* @description "character varying"
|
|
76
|
+
*/
|
|
77
|
+
chatapp_user: Nullable<string>
|
|
78
|
+
/**
|
|
79
|
+
* @description "character varying"
|
|
80
|
+
*/
|
|
81
|
+
chatapp_tag: Nullable<string>
|
|
82
|
+
/**
|
|
83
|
+
* @description "character varying"
|
|
84
|
+
*/
|
|
85
|
+
chatapp_category: Nullable<string>
|
|
86
|
+
/**
|
|
87
|
+
* @description "character varying"
|
|
88
|
+
*/
|
|
89
|
+
telegram_chat_id: Nullable<string>
|
|
90
|
+
/**
|
|
91
|
+
* @description "character varying"
|
|
92
|
+
*/
|
|
93
|
+
title: Nullable<string>
|
|
94
|
+
/**
|
|
95
|
+
* @description "character varying"
|
|
96
|
+
*/
|
|
97
|
+
description: Nullable<string>
|
|
98
|
+
/**
|
|
99
|
+
* @description "character varying"
|
|
100
|
+
*/
|
|
101
|
+
region: Nullable<string>
|
|
102
|
+
/**
|
|
103
|
+
* @description "character varying"
|
|
104
|
+
*/
|
|
105
|
+
country: Nullable<string>
|
|
106
|
+
/**
|
|
107
|
+
* @description "character varying"
|
|
108
|
+
*/
|
|
109
|
+
yandex_metrica: Nullable<string>
|
|
110
|
+
/**
|
|
111
|
+
* @description "character varying"
|
|
112
|
+
*/
|
|
113
|
+
meta_title: Nullable<string>
|
|
114
|
+
/**
|
|
115
|
+
* @description "character varying"
|
|
116
|
+
*/
|
|
117
|
+
meta_description: Nullable<string>
|
|
118
|
+
/**
|
|
119
|
+
* @description "character varying"
|
|
120
|
+
*/
|
|
121
|
+
phone: Nullable<string>
|
|
122
|
+
/**
|
|
123
|
+
* @description "character varying"
|
|
124
|
+
*/
|
|
125
|
+
email: Nullable<string>
|
|
126
|
+
/**
|
|
127
|
+
* @description "character varying"
|
|
128
|
+
*/
|
|
129
|
+
name: Nullable<string>
|
|
130
|
+
/**
|
|
131
|
+
* @description "character varying"
|
|
132
|
+
*/
|
|
133
|
+
address: Nullable<string>
|
|
134
|
+
/**
|
|
135
|
+
* @description "character varying"
|
|
136
|
+
*/
|
|
137
|
+
currency: Nullable<string>
|
|
138
|
+
/**
|
|
139
|
+
* @description "character varying"
|
|
140
|
+
*/
|
|
141
|
+
game_time: Nullable<string>
|
|
142
|
+
/**
|
|
143
|
+
* @description "character varying"
|
|
144
|
+
*/
|
|
145
|
+
vk_link: Nullable<string>
|
|
146
|
+
/**
|
|
147
|
+
* @description "character varying"
|
|
148
|
+
*/
|
|
149
|
+
vk_comment: Nullable<string>
|
|
150
|
+
/**
|
|
151
|
+
* @description "character varying"
|
|
152
|
+
*/
|
|
153
|
+
tg_link: Nullable<string>
|
|
154
|
+
/**
|
|
155
|
+
* @description "character varying"
|
|
156
|
+
*/
|
|
157
|
+
tg_login: Nullable<string>
|
|
158
|
+
/**
|
|
159
|
+
* @description "character varying"
|
|
160
|
+
*/
|
|
161
|
+
tg_password: Nullable<string>
|
|
162
|
+
/**
|
|
163
|
+
* @description "character varying"
|
|
164
|
+
*/
|
|
165
|
+
tg_comment: Nullable<string>
|
|
166
|
+
/**
|
|
167
|
+
* @description "character varying"
|
|
168
|
+
*/
|
|
169
|
+
inst_link: Nullable<string>
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
type GameRow = {
|
|
173
|
+
/**
|
|
174
|
+
* @description "uuid"
|
|
175
|
+
*/
|
|
176
|
+
city_id: Nullable<string>
|
|
177
|
+
/**
|
|
178
|
+
* @description "uuid"
|
|
179
|
+
*/
|
|
180
|
+
game_pack_id: Nullable<string>
|
|
181
|
+
/**
|
|
182
|
+
* @description "uuid"
|
|
183
|
+
*/
|
|
184
|
+
id: Nullable<string>
|
|
185
|
+
/**
|
|
186
|
+
* @description "timestamp with time zone"
|
|
187
|
+
*/
|
|
188
|
+
time_created: string
|
|
189
|
+
/**
|
|
190
|
+
* @description "timestamp with time zone"
|
|
191
|
+
*/
|
|
192
|
+
time_updated: Nullable<string>
|
|
193
|
+
/**
|
|
194
|
+
* @description "uuid"
|
|
195
|
+
*/
|
|
196
|
+
owner_id: string
|
|
197
|
+
/**
|
|
198
|
+
* @description "integer"
|
|
199
|
+
*/
|
|
200
|
+
timezone: Nullable<number>
|
|
201
|
+
/**
|
|
202
|
+
* @description "integer"
|
|
203
|
+
*/
|
|
204
|
+
min_members_count: Nullable<number>
|
|
205
|
+
/**
|
|
206
|
+
* @description "integer"
|
|
207
|
+
*/
|
|
208
|
+
max_members_count: Nullable<number>
|
|
209
|
+
/**
|
|
210
|
+
* @description "USER-DEFINED"
|
|
211
|
+
*/
|
|
212
|
+
status: Nullable<string>
|
|
213
|
+
/**
|
|
214
|
+
* @description "timestamp without time zone"
|
|
215
|
+
*/
|
|
216
|
+
event_time: Nullable<string>
|
|
217
|
+
/**
|
|
218
|
+
* @description "double precision"
|
|
219
|
+
*/
|
|
220
|
+
price: Nullable<number>
|
|
221
|
+
/**
|
|
222
|
+
* @description "uuid"
|
|
223
|
+
*/
|
|
224
|
+
created_by_id: string
|
|
225
|
+
/**
|
|
226
|
+
* @description "uuid"
|
|
227
|
+
*/
|
|
228
|
+
image_id: Nullable<string>
|
|
229
|
+
/**
|
|
230
|
+
* @description "uuid"
|
|
231
|
+
*/
|
|
232
|
+
location_id: string
|
|
233
|
+
/**
|
|
234
|
+
* @description "uuid"
|
|
235
|
+
*/
|
|
236
|
+
theme_id: string
|
|
237
|
+
/**
|
|
238
|
+
* @description "character varying"
|
|
239
|
+
*/
|
|
240
|
+
description: Nullable<string>
|
|
241
|
+
/**
|
|
242
|
+
* @description "character varying"
|
|
243
|
+
*/
|
|
244
|
+
number: Nullable<string>
|
|
245
|
+
/**
|
|
246
|
+
* @description "character varying"
|
|
247
|
+
*/
|
|
248
|
+
short_description: Nullable<string>
|
|
249
|
+
/**
|
|
250
|
+
* @description "character varying"
|
|
251
|
+
*/
|
|
252
|
+
personal_comment: Nullable<string>
|
|
253
|
+
/**
|
|
254
|
+
* @description "character varying"
|
|
255
|
+
*/
|
|
256
|
+
weekday: Nullable<string>
|
|
257
|
+
/**
|
|
258
|
+
* @description "character varying"
|
|
259
|
+
*/
|
|
260
|
+
alias: Nullable<string>
|
|
261
|
+
/**
|
|
262
|
+
* @description "character varying"
|
|
263
|
+
*/
|
|
264
|
+
name: Nullable<string>
|
|
265
|
+
/**
|
|
266
|
+
* @description "character varying"
|
|
267
|
+
*/
|
|
268
|
+
currency: Nullable<string>
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
type ThemeRow = {
|
|
272
|
+
/**
|
|
273
|
+
* @description "timestamp with time zone"
|
|
274
|
+
*/
|
|
275
|
+
time_updated: string
|
|
276
|
+
/**
|
|
277
|
+
* @description "uuid"
|
|
278
|
+
*/
|
|
279
|
+
id: string
|
|
280
|
+
/**
|
|
281
|
+
* @description "timestamp with time zone"
|
|
282
|
+
*/
|
|
283
|
+
time_created: Nullable<string>
|
|
284
|
+
/**
|
|
285
|
+
* @description "uuid"
|
|
286
|
+
*/
|
|
287
|
+
image_id: string
|
|
288
|
+
/**
|
|
289
|
+
* @description "character varying"
|
|
290
|
+
*/
|
|
291
|
+
short_description: Nullable<string>
|
|
292
|
+
/**
|
|
293
|
+
* @description "character varying"
|
|
294
|
+
*/
|
|
295
|
+
description: Nullable<string>
|
|
296
|
+
/**
|
|
297
|
+
* @description "character varying"
|
|
298
|
+
*/
|
|
299
|
+
name: Nullable<string>
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
type ImageMediaRow = {
|
|
303
|
+
/**
|
|
304
|
+
* @description "uuid"
|
|
305
|
+
*/
|
|
306
|
+
media_id: string
|
|
307
|
+
/**
|
|
308
|
+
* @description "integer"
|
|
309
|
+
*/
|
|
310
|
+
width: Nullable<number>
|
|
311
|
+
/**
|
|
312
|
+
* @description "integer"
|
|
313
|
+
*/
|
|
314
|
+
height: Nullable<number>
|
|
315
|
+
/**
|
|
316
|
+
* @description "timestamp with time zone"
|
|
317
|
+
*/
|
|
318
|
+
time_updated: Nullable<string>
|
|
319
|
+
/**
|
|
320
|
+
* @description "uuid"
|
|
321
|
+
*/
|
|
322
|
+
id: string
|
|
323
|
+
/**
|
|
324
|
+
* @description "timestamp with time zone"
|
|
325
|
+
*/
|
|
326
|
+
time_created: string
|
|
327
|
+
/**
|
|
328
|
+
* @description "character varying"
|
|
329
|
+
*/
|
|
330
|
+
file_format: Nullable<string>
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
type LocationRow = {
|
|
334
|
+
/**
|
|
335
|
+
* @description "uuid"
|
|
336
|
+
*/
|
|
337
|
+
id: string
|
|
338
|
+
/**
|
|
339
|
+
* @description "timestamp with time zone"
|
|
340
|
+
*/
|
|
341
|
+
time_created: string
|
|
342
|
+
/**
|
|
343
|
+
* @description "timestamp with time zone"
|
|
344
|
+
*/
|
|
345
|
+
time_updated: Nullable<string>
|
|
346
|
+
/**
|
|
347
|
+
* @description "double precision"
|
|
348
|
+
*/
|
|
349
|
+
longitude: Nullable<number>
|
|
350
|
+
/**
|
|
351
|
+
* @description "uuid"
|
|
352
|
+
*/
|
|
353
|
+
city_id: string
|
|
354
|
+
/**
|
|
355
|
+
* @description "double precision"
|
|
356
|
+
*/
|
|
357
|
+
latitude: Nullable<number>
|
|
358
|
+
/**
|
|
359
|
+
* @description "integer"
|
|
360
|
+
*/
|
|
361
|
+
people_capacity: Nullable<number>
|
|
362
|
+
/**
|
|
363
|
+
* @description "integer"
|
|
364
|
+
*/
|
|
365
|
+
team_capacity: Nullable<number>
|
|
366
|
+
/**
|
|
367
|
+
* @description "boolean"
|
|
368
|
+
*/
|
|
369
|
+
is_adult: Nullable<boolean>
|
|
370
|
+
/**
|
|
371
|
+
* @description "character varying"
|
|
372
|
+
*/
|
|
373
|
+
name: Nullable<string>
|
|
374
|
+
/**
|
|
375
|
+
* @description "character varying"
|
|
376
|
+
*/
|
|
377
|
+
house_number: Nullable<string>
|
|
378
|
+
/**
|
|
379
|
+
* @description "character varying"
|
|
380
|
+
*/
|
|
381
|
+
comment: Nullable<string>
|
|
382
|
+
/**
|
|
383
|
+
* @description "character varying"
|
|
384
|
+
*/
|
|
385
|
+
comment_responsible: Nullable<string>
|
|
386
|
+
/**
|
|
387
|
+
* @description "character varying"
|
|
388
|
+
*/
|
|
389
|
+
comment_equipment: Nullable<string>
|
|
390
|
+
/**
|
|
391
|
+
* @description "character varying"
|
|
392
|
+
*/
|
|
393
|
+
street: Nullable<string>
|
|
394
|
+
/**
|
|
395
|
+
* @description "character varying"
|
|
396
|
+
*/
|
|
397
|
+
game_time: Nullable<string>
|
|
398
|
+
/**
|
|
399
|
+
* @description "character varying"
|
|
400
|
+
*/
|
|
401
|
+
floor: Nullable<string>
|
|
402
|
+
/**
|
|
403
|
+
* @description "character varying"
|
|
404
|
+
*/
|
|
405
|
+
metro: Nullable<string>
|
|
406
|
+
/**
|
|
407
|
+
* @description "character varying"
|
|
408
|
+
*/
|
|
409
|
+
location_info: Nullable<string>
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
type MediaRow = {
|
|
413
|
+
/**
|
|
414
|
+
* @description "uuid"
|
|
415
|
+
*/
|
|
416
|
+
id: string
|
|
417
|
+
/**
|
|
418
|
+
* @description "timestamp with time zone"
|
|
419
|
+
*/
|
|
420
|
+
time_created: string
|
|
421
|
+
/**
|
|
422
|
+
* @description "timestamp with time zone"
|
|
423
|
+
*/
|
|
424
|
+
time_updated: Nullable<string>
|
|
425
|
+
/**
|
|
426
|
+
* @description "character varying"
|
|
427
|
+
*/
|
|
428
|
+
title: Nullable<string>
|
|
429
|
+
/**
|
|
430
|
+
* @description "character varying"
|
|
431
|
+
*/
|
|
432
|
+
cached_link: Nullable<string>
|
|
433
|
+
/**
|
|
434
|
+
* @description "character varying"
|
|
435
|
+
*/
|
|
436
|
+
description: Nullable<string>
|
|
437
|
+
/**
|
|
438
|
+
* @description "character varying"
|
|
439
|
+
*/
|
|
440
|
+
path: Nullable<string>
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
type UserRow = {
|
|
444
|
+
/**
|
|
445
|
+
* @description "uuid"
|
|
446
|
+
*/
|
|
447
|
+
role_id: string
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* @description "uuid"
|
|
451
|
+
*/
|
|
452
|
+
id: string
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @description "timestamp with time zone"
|
|
456
|
+
*/
|
|
457
|
+
time_created: Nullable<string>
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @description "timestamp with time zone"
|
|
461
|
+
*/
|
|
462
|
+
time_updated: Nullable<string>
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @description "boolean"
|
|
466
|
+
*/
|
|
467
|
+
is_active: Nullable<boolean>
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @description "boolean"
|
|
471
|
+
*/
|
|
472
|
+
is_superuser: Nullable<boolean>
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @description "boolean"
|
|
476
|
+
*/
|
|
477
|
+
is_verified: Nullable<boolean>
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @description "uuid"
|
|
481
|
+
*/
|
|
482
|
+
image_id: Nullable<string>
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @description "character varying"
|
|
486
|
+
*/
|
|
487
|
+
mailru_link: Nullable<string>
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* @description "character varying"
|
|
491
|
+
*/
|
|
492
|
+
telegram_id: Nullable<string>
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @description "character varying"
|
|
496
|
+
*/
|
|
497
|
+
hashed_password: Nullable<string>
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @description "character varying"
|
|
501
|
+
*/
|
|
502
|
+
telegram_data: Nullable<string>
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* @description "character varying"
|
|
506
|
+
*/
|
|
507
|
+
third_name: Nullable<string>
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @description "character varying"
|
|
511
|
+
*/
|
|
512
|
+
phone: Nullable<string>
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @description "character varying"
|
|
516
|
+
*/
|
|
517
|
+
first_name: Nullable<string>
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @description "character varying"
|
|
521
|
+
*/
|
|
522
|
+
last_name: Nullable<string>
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* @description "character varying"
|
|
526
|
+
*/
|
|
527
|
+
email: Nullable<string>
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @description "character varying"
|
|
531
|
+
*/
|
|
532
|
+
gmail_link: Nullable<string>
|
|
533
|
+
}
|