@shakerquiz/utilities 0.1.37 → 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 -135
package/source/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/// <reference path="globals.d.ts" />
|
|
2
|
-
/// <reference path="
|
|
3
|
-
/// <reference path="
|
|
2
|
+
/// <reference path="user.d.ts" />
|
|
3
|
+
/// <reference path="role.d.ts" />
|
|
4
|
+
/// <reference path="theme.d.ts" />
|
|
5
|
+
/// <reference path="game.d.ts" />
|
|
6
|
+
/// <reference path="registration.d.ts" />
|
|
7
|
+
/// <reference path="city.d.ts" />
|
|
8
|
+
/// <reference path="location.d.ts" />
|
|
4
9
|
|
|
5
10
|
export * from './enumerations/constants.js'
|
|
6
11
|
export * from './enumerations/cookies.js'
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
type LocationAdminResult = LocationRow
|
|
2
|
+
|
|
3
|
+
type LocationDefaultResult = {
|
|
4
|
+
address: LocationRow['address']
|
|
5
|
+
alias: LocationRow['alias']
|
|
6
|
+
country: LocationRow['country']
|
|
7
|
+
custom_html: LocationRow['custom_html']
|
|
8
|
+
custom_script: LocationRow['custom_script']
|
|
9
|
+
email: LocationRow['email']
|
|
10
|
+
id: LocationRow['id']
|
|
11
|
+
inst_link: LocationRow['inst_link']
|
|
12
|
+
max_members_count: LocationRow['max_members_count']
|
|
13
|
+
meta_description: LocationRow['meta_description']
|
|
14
|
+
meta_title: LocationRow['meta_title']
|
|
15
|
+
min_members_count: LocationRow['min_members_count']
|
|
16
|
+
name: LocationRow['name']
|
|
17
|
+
phone: LocationRow['phone']
|
|
18
|
+
tg_link: LocationRow['tg_link']
|
|
19
|
+
vk_group_id: LocationRow['vk_group_id']
|
|
20
|
+
vk_link: LocationRow['vk_link']
|
|
21
|
+
yandex_metrica: LocationRow['yandex_metrica']
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type LocationOrganizerResult = LocationRow
|
|
25
|
+
|
|
26
|
+
type LocationRow = {
|
|
27
|
+
/**
|
|
28
|
+
* @description "uuid"
|
|
29
|
+
*/
|
|
30
|
+
id: string
|
|
31
|
+
/**
|
|
32
|
+
* @description "timestamp with time zone"
|
|
33
|
+
*/
|
|
34
|
+
time_created: string
|
|
35
|
+
/**
|
|
36
|
+
* @description "timestamp with time zone"
|
|
37
|
+
*/
|
|
38
|
+
time_updated: Nullable<string>
|
|
39
|
+
/**
|
|
40
|
+
* @description "double precision"
|
|
41
|
+
*/
|
|
42
|
+
longitude: Nullable<number>
|
|
43
|
+
/**
|
|
44
|
+
* @description "uuid"
|
|
45
|
+
*/
|
|
46
|
+
city_id: Nullable<string>
|
|
47
|
+
/**
|
|
48
|
+
* @description "double precision"
|
|
49
|
+
*/
|
|
50
|
+
latitude: Nullable<number>
|
|
51
|
+
/**
|
|
52
|
+
* @description "integer"
|
|
53
|
+
*/
|
|
54
|
+
people_capacity: Nullable<number>
|
|
55
|
+
/**
|
|
56
|
+
* @description "integer"
|
|
57
|
+
*/
|
|
58
|
+
team_capacity: Nullable<number>
|
|
59
|
+
/**
|
|
60
|
+
* @description "boolean"
|
|
61
|
+
*/
|
|
62
|
+
is_adult: Nullable<boolean>
|
|
63
|
+
/**
|
|
64
|
+
* @description "character varying"
|
|
65
|
+
*/
|
|
66
|
+
name: Nullable<string>
|
|
67
|
+
/**
|
|
68
|
+
* @description "character varying"
|
|
69
|
+
*/
|
|
70
|
+
house_number: Nullable<string>
|
|
71
|
+
/**
|
|
72
|
+
* @description "character varying"
|
|
73
|
+
*/
|
|
74
|
+
comment: Nullable<string>
|
|
75
|
+
/**
|
|
76
|
+
* @description "character varying"
|
|
77
|
+
*/
|
|
78
|
+
comment_responsible: Nullable<string>
|
|
79
|
+
/**
|
|
80
|
+
* @description "character varying"
|
|
81
|
+
*/
|
|
82
|
+
comment_equipment: Nullable<string>
|
|
83
|
+
/**
|
|
84
|
+
* @description "character varying"
|
|
85
|
+
*/
|
|
86
|
+
street: Nullable<string>
|
|
87
|
+
/**
|
|
88
|
+
* @description "character varying"
|
|
89
|
+
*/
|
|
90
|
+
game_time: Nullable<string>
|
|
91
|
+
/**
|
|
92
|
+
* @description "character varying"
|
|
93
|
+
*/
|
|
94
|
+
floor: Nullable<string>
|
|
95
|
+
/**
|
|
96
|
+
* @description "character varying"
|
|
97
|
+
*/
|
|
98
|
+
metro: Nullable<string>
|
|
99
|
+
/**
|
|
100
|
+
* @description "character varying"
|
|
101
|
+
*/
|
|
102
|
+
location_info: Nullable<string>
|
|
103
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
type RegistrationAdminResult = unknown
|
|
2
|
+
|
|
3
|
+
type RegistrationDefaultResult = unknown
|
|
4
|
+
|
|
5
|
+
type RegistrationOrganizerResult = unknown
|
|
6
|
+
|
|
7
|
+
type RegistrationRow = {
|
|
8
|
+
/**
|
|
9
|
+
* @description "boolean"
|
|
10
|
+
*/
|
|
11
|
+
is_extensible: Nullable<boolean>
|
|
12
|
+
/**
|
|
13
|
+
* @description "integer"
|
|
14
|
+
*/
|
|
15
|
+
people_count: Nullable<number>
|
|
16
|
+
/**
|
|
17
|
+
* @description "boolean"
|
|
18
|
+
*/
|
|
19
|
+
is_first: Nullable<boolean>
|
|
20
|
+
/**
|
|
21
|
+
* @description "boolean"
|
|
22
|
+
*/
|
|
23
|
+
is_canceled: Nullable<boolean>
|
|
24
|
+
/**
|
|
25
|
+
* @description "boolean"
|
|
26
|
+
*/
|
|
27
|
+
is_actual_presence: Nullable<boolean>
|
|
28
|
+
/**
|
|
29
|
+
* @description "boolean"
|
|
30
|
+
*/
|
|
31
|
+
is_confirm: Nullable<boolean>
|
|
32
|
+
/**
|
|
33
|
+
* @description "integer"
|
|
34
|
+
*/
|
|
35
|
+
change_people_count: Nullable<number>
|
|
36
|
+
/**
|
|
37
|
+
* @description "integer"
|
|
38
|
+
*/
|
|
39
|
+
fact_people_count: Nullable<number>
|
|
40
|
+
/**
|
|
41
|
+
* @description "boolean"
|
|
42
|
+
*/
|
|
43
|
+
is_birthday: Nullable<boolean>
|
|
44
|
+
/**
|
|
45
|
+
* @description "uuid"
|
|
46
|
+
*/
|
|
47
|
+
event_id: string
|
|
48
|
+
/**
|
|
49
|
+
* @description "uuid"
|
|
50
|
+
*/
|
|
51
|
+
id: string
|
|
52
|
+
/**
|
|
53
|
+
* @description "timestamp with time zone"
|
|
54
|
+
*/
|
|
55
|
+
time_created: string
|
|
56
|
+
/**
|
|
57
|
+
* @description "timestamp with time zone"
|
|
58
|
+
*/
|
|
59
|
+
time_updated: Nullable<string>
|
|
60
|
+
/**
|
|
61
|
+
* @description "boolean"
|
|
62
|
+
*/
|
|
63
|
+
is_reserve: Nullable<boolean>
|
|
64
|
+
/**
|
|
65
|
+
* @description "boolean"
|
|
66
|
+
*/
|
|
67
|
+
is_alone: Nullable<boolean>
|
|
68
|
+
/**
|
|
69
|
+
* @description "character varying"
|
|
70
|
+
*/
|
|
71
|
+
utm_campaign: Nullable<string>
|
|
72
|
+
/**
|
|
73
|
+
* @description "character varying"
|
|
74
|
+
*/
|
|
75
|
+
human_name: Nullable<string>
|
|
76
|
+
/**
|
|
77
|
+
* @description "character varying"
|
|
78
|
+
*/
|
|
79
|
+
last_broadcast: Nullable<string>
|
|
80
|
+
/**
|
|
81
|
+
* @description "character varying"
|
|
82
|
+
*/
|
|
83
|
+
email: Nullable<string>
|
|
84
|
+
/**
|
|
85
|
+
* @description "character varying"
|
|
86
|
+
*/
|
|
87
|
+
phone: Nullable<string>
|
|
88
|
+
/**
|
|
89
|
+
* @description "character varying"
|
|
90
|
+
*/
|
|
91
|
+
team_name: Nullable<string>
|
|
92
|
+
/**
|
|
93
|
+
* @description "character varying"
|
|
94
|
+
*/
|
|
95
|
+
ads_from: Nullable<string>
|
|
96
|
+
/**
|
|
97
|
+
* @description "character varying"
|
|
98
|
+
*/
|
|
99
|
+
comment: Nullable<string>
|
|
100
|
+
/**
|
|
101
|
+
* @description "character varying"
|
|
102
|
+
*/
|
|
103
|
+
promocode: Nullable<string>
|
|
104
|
+
/**
|
|
105
|
+
* @description "character varying"
|
|
106
|
+
*/
|
|
107
|
+
channel: Nullable<string>
|
|
108
|
+
/**
|
|
109
|
+
* @description "character varying"
|
|
110
|
+
*/
|
|
111
|
+
vkontakte: Nullable<string>
|
|
112
|
+
/**
|
|
113
|
+
* @description "character varying"
|
|
114
|
+
*/
|
|
115
|
+
telegramBot: Nullable<string>
|
|
116
|
+
/**
|
|
117
|
+
* @description "character varying"
|
|
118
|
+
*/
|
|
119
|
+
chatapp_id: Nullable<string>
|
|
120
|
+
/**
|
|
121
|
+
* @description "character varying"
|
|
122
|
+
*/
|
|
123
|
+
utm_term: Nullable<string>
|
|
124
|
+
/**
|
|
125
|
+
* @description "character varying"
|
|
126
|
+
*/
|
|
127
|
+
utm_source: Nullable<string>
|
|
128
|
+
/**
|
|
129
|
+
* @description "character varying"
|
|
130
|
+
*/
|
|
131
|
+
utm_medium: Nullable<string>
|
|
132
|
+
/**
|
|
133
|
+
* @description "character varying"
|
|
134
|
+
*/
|
|
135
|
+
utm_content: Nullable<string>
|
|
136
|
+
}
|
package/source/role.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type RoleRow = {
|
|
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: Nullable<string>
|
|
14
|
+
/**
|
|
15
|
+
* @description "character varying"
|
|
16
|
+
*/
|
|
17
|
+
name: 'admin' | 'manager' | 'default'
|
|
18
|
+
/**
|
|
19
|
+
* @description "character varying"
|
|
20
|
+
*/
|
|
21
|
+
description: Nullable<string>
|
|
22
|
+
}
|