@shakerquiz/utilities 0.3.8 → 0.3.10
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/jsconfig.json +11 -8
- package/package.json +1 -4
- package/source/city.d.ts +40 -40
- package/source/enumerations/backends.d.ts +44 -0
- package/source/enumerations/backends.js +60 -0
- package/source/enumerations/default.d.ts +1 -0
- package/source/enumerations/default.js +1 -0
- package/source/enumerations/domains.d.ts +469 -0
- package/source/enumerations/domains.js +346 -0
- package/source/enumerations/features.d.ts +260 -401
- package/source/enumerations/features.js +26 -852
- package/source/enumerations/frontends.d.ts +34 -0
- package/source/enumerations/frontends.js +48 -0
- package/source/enumerations/game-statuses.d.ts +0 -6
- package/source/enumerations/game-statuses.js +0 -28
- package/source/enumerations/icons.d.ts +326 -0
- package/source/enumerations/icons.js +326 -0
- package/source/enumerations/kinds.d.ts +2 -2
- package/source/enumerations/kinds.js +2 -2
- package/source/enumerations/{request-methods.d.ts → methods.d.ts} +1 -1
- package/source/enumerations/{request-methods.js → methods.js} +1 -1
- package/source/enumerations/procedures.d.ts +74 -0
- package/source/enumerations/procedures.js +76 -0
- package/source/enumerations/roles.d.ts +2 -4
- package/source/enumerations/roles.js +0 -1
- package/source/enumerations/services.d.ts +48 -9
- package/source/enumerations/services.js +21 -30
- package/source/functions/fetch.d.ts +12 -15
- package/source/functions/fetch.js +64 -133
- package/source/functions/origin.d.ts +213 -1
- package/source/functions/origin.js +78 -40
- package/source/functions/pathname.d.ts +1 -0
- package/source/functions/pathname.js +40 -0
- package/source/functions/url.d.ts +1 -0
- package/source/functions/url.js +48 -0
- package/source/game.d.ts +17 -17
- package/source/globals.d.ts +22 -669
- package/source/index.d.ts +34 -14
- package/source/index.js +20 -1
- package/source/registration.d.ts +29 -29
- package/source/role.d.ts +3 -3
- package/source/rows.d.ts +9 -9
- package/source/theme.d.ts +3 -3
- package/source/user.d.ts +15 -15
- package/source/venue.d.ts +17 -17
package/source/index.d.ts
CHANGED
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
1
|
+
/// <reference path='./globals.d.ts' />
|
|
2
|
+
|
|
3
|
+
/// <reference path='./city.d.ts' />
|
|
4
|
+
/// <reference path='./game.d.ts' />
|
|
5
|
+
/// <reference path='./registration.d.ts' />
|
|
6
|
+
/// <reference path='./role.d.ts' />
|
|
7
|
+
/// <reference path='./rows.d.ts' />
|
|
8
|
+
/// <reference path='./theme.d.ts' />
|
|
9
|
+
/// <reference path='./user.d.ts' />
|
|
10
|
+
/// <reference path='./venue.d.ts' />
|
|
11
|
+
|
|
12
|
+
export * from './enumerations/backends.js'
|
|
13
|
+
export * from './enumerations/constants.js'
|
|
14
|
+
export * from './enumerations/cookies.js'
|
|
15
|
+
export * from './enumerations/default.js'
|
|
16
|
+
export * from './enumerations/domains.js'
|
|
17
|
+
export * from './enumerations/features.js'
|
|
18
|
+
export * from './enumerations/frontends.js'
|
|
19
|
+
export * from './enumerations/game-statuses.js'
|
|
20
|
+
export * from './enumerations/icons.js'
|
|
21
|
+
export * from './enumerations/kinds.js'
|
|
22
|
+
export * from './enumerations/methods.js'
|
|
23
|
+
export * from './enumerations/networks.js'
|
|
24
|
+
export * from './enumerations/phases.js'
|
|
25
|
+
export * from './enumerations/procedures.js'
|
|
26
|
+
export * from './enumerations/regexps.js'
|
|
27
|
+
export * from './enumerations/requirements.js'
|
|
28
|
+
export * from './enumerations/roles.js'
|
|
29
|
+
export * from './enumerations/services.js'
|
|
30
|
+
|
|
31
|
+
export * from './functions/fetch.js'
|
|
32
|
+
export * from './functions/origin.js'
|
|
33
|
+
export * from './functions/pathname.js'
|
|
34
|
+
export * from './functions/url.js'
|
package/source/index.js
CHANGED
|
@@ -1,15 +1,34 @@
|
|
|
1
|
+
/// <reference path='./globals.d.ts' />
|
|
2
|
+
|
|
3
|
+
/// <reference path='./city.d.ts' />
|
|
4
|
+
/// <reference path='./game.d.ts' />
|
|
5
|
+
/// <reference path='./registration.d.ts' />
|
|
6
|
+
/// <reference path='./role.d.ts' />
|
|
7
|
+
/// <reference path='./rows.d.ts' />
|
|
8
|
+
/// <reference path='./theme.d.ts' />
|
|
9
|
+
/// <reference path='./user.d.ts' />
|
|
10
|
+
/// <reference path='./venue.d.ts' />
|
|
11
|
+
|
|
12
|
+
export * from './enumerations/backends.js'
|
|
1
13
|
export * from './enumerations/constants.js'
|
|
2
14
|
export * from './enumerations/cookies.js'
|
|
15
|
+
export * from './enumerations/default.js'
|
|
16
|
+
export * from './enumerations/domains.js'
|
|
3
17
|
export * from './enumerations/features.js'
|
|
18
|
+
export * from './enumerations/frontends.js'
|
|
4
19
|
export * from './enumerations/game-statuses.js'
|
|
20
|
+
export * from './enumerations/icons.js'
|
|
5
21
|
export * from './enumerations/kinds.js'
|
|
22
|
+
export * from './enumerations/methods.js'
|
|
6
23
|
export * from './enumerations/networks.js'
|
|
7
24
|
export * from './enumerations/phases.js'
|
|
25
|
+
export * from './enumerations/procedures.js'
|
|
8
26
|
export * from './enumerations/regexps.js'
|
|
9
|
-
export * from './enumerations/request-methods.js'
|
|
10
27
|
export * from './enumerations/requirements.js'
|
|
11
28
|
export * from './enumerations/roles.js'
|
|
12
29
|
export * from './enumerations/services.js'
|
|
13
30
|
|
|
14
31
|
export * from './functions/fetch.js'
|
|
15
32
|
export * from './functions/origin.js'
|
|
33
|
+
export * from './functions/pathname.js'
|
|
34
|
+
export * from './functions/url.js'
|
package/source/registration.d.ts
CHANGED
|
@@ -24,39 +24,39 @@ type RegistrationRow = {
|
|
|
24
24
|
/**
|
|
25
25
|
* @description "boolean"
|
|
26
26
|
*/
|
|
27
|
-
is_extensible:
|
|
27
|
+
is_extensible: boolean | null
|
|
28
28
|
/**
|
|
29
29
|
* @description "integer"
|
|
30
30
|
*/
|
|
31
|
-
people_count:
|
|
31
|
+
people_count: number | null
|
|
32
32
|
/**
|
|
33
33
|
* @description "boolean"
|
|
34
34
|
*/
|
|
35
|
-
is_first:
|
|
35
|
+
is_first: boolean | null
|
|
36
36
|
/**
|
|
37
37
|
* @description "boolean"
|
|
38
38
|
*/
|
|
39
|
-
is_canceled:
|
|
39
|
+
is_canceled: boolean | null
|
|
40
40
|
/**
|
|
41
41
|
* @description "boolean"
|
|
42
42
|
*/
|
|
43
|
-
is_actual_presence:
|
|
43
|
+
is_actual_presence: boolean | null
|
|
44
44
|
/**
|
|
45
45
|
* @description "boolean"
|
|
46
46
|
*/
|
|
47
|
-
is_confirm:
|
|
47
|
+
is_confirm: boolean | null
|
|
48
48
|
/**
|
|
49
49
|
* @description "integer"
|
|
50
50
|
*/
|
|
51
|
-
change_people_count:
|
|
51
|
+
change_people_count: number | null
|
|
52
52
|
/**
|
|
53
53
|
* @description "integer"
|
|
54
54
|
*/
|
|
55
|
-
fact_people_count:
|
|
55
|
+
fact_people_count: number | null
|
|
56
56
|
/**
|
|
57
57
|
* @description "boolean"
|
|
58
58
|
*/
|
|
59
|
-
is_birthday:
|
|
59
|
+
is_birthday: boolean | null
|
|
60
60
|
/**
|
|
61
61
|
* @description "uuid"
|
|
62
62
|
*/
|
|
@@ -72,81 +72,81 @@ type RegistrationRow = {
|
|
|
72
72
|
/**
|
|
73
73
|
* @description "timestamp with time zone"
|
|
74
74
|
*/
|
|
75
|
-
time_updated:
|
|
75
|
+
time_updated: string | null
|
|
76
76
|
/**
|
|
77
77
|
* @description "boolean"
|
|
78
78
|
*/
|
|
79
|
-
is_reserve:
|
|
79
|
+
is_reserve: boolean | null
|
|
80
80
|
/**
|
|
81
81
|
* @description "boolean"
|
|
82
82
|
*/
|
|
83
|
-
is_alone:
|
|
83
|
+
is_alone: boolean | null
|
|
84
84
|
/**
|
|
85
85
|
* @description "character varying"
|
|
86
86
|
*/
|
|
87
|
-
utm_campaign:
|
|
87
|
+
utm_campaign: string | null
|
|
88
88
|
/**
|
|
89
89
|
* @description "character varying"
|
|
90
90
|
*/
|
|
91
|
-
human_name:
|
|
91
|
+
human_name: string | null
|
|
92
92
|
/**
|
|
93
93
|
* @description "character varying"
|
|
94
94
|
*/
|
|
95
|
-
last_broadcast:
|
|
95
|
+
last_broadcast: string | null
|
|
96
96
|
/**
|
|
97
97
|
* @description "character varying"
|
|
98
98
|
*/
|
|
99
|
-
email:
|
|
99
|
+
email: string | null
|
|
100
100
|
/**
|
|
101
101
|
* @description "character varying"
|
|
102
102
|
*/
|
|
103
|
-
phone:
|
|
103
|
+
phone: string | null
|
|
104
104
|
/**
|
|
105
105
|
* @description "character varying"
|
|
106
106
|
*/
|
|
107
|
-
team_name:
|
|
107
|
+
team_name: string | null
|
|
108
108
|
/**
|
|
109
109
|
* @description "character varying"
|
|
110
110
|
*/
|
|
111
|
-
ads_from:
|
|
111
|
+
ads_from: string | null
|
|
112
112
|
/**
|
|
113
113
|
* @description "character varying"
|
|
114
114
|
*/
|
|
115
|
-
comment:
|
|
115
|
+
comment: string | null
|
|
116
116
|
/**
|
|
117
117
|
* @description "character varying"
|
|
118
118
|
*/
|
|
119
|
-
promocode:
|
|
119
|
+
promocode: string | null
|
|
120
120
|
/**
|
|
121
121
|
* @description "character varying"
|
|
122
122
|
*/
|
|
123
|
-
channel:
|
|
123
|
+
channel: string | null
|
|
124
124
|
/**
|
|
125
125
|
* @description "character varying"
|
|
126
126
|
*/
|
|
127
|
-
vkontakte:
|
|
127
|
+
vkontakte: string | null
|
|
128
128
|
/**
|
|
129
129
|
* @description "character varying"
|
|
130
130
|
*/
|
|
131
|
-
telegramBot:
|
|
131
|
+
telegramBot: string | null
|
|
132
132
|
/**
|
|
133
133
|
* @description "character varying"
|
|
134
134
|
*/
|
|
135
|
-
chatapp_id:
|
|
135
|
+
chatapp_id: string | null
|
|
136
136
|
/**
|
|
137
137
|
* @description "character varying"
|
|
138
138
|
*/
|
|
139
|
-
utm_term:
|
|
139
|
+
utm_term: string | null
|
|
140
140
|
/**
|
|
141
141
|
* @description "character varying"
|
|
142
142
|
*/
|
|
143
|
-
utm_source:
|
|
143
|
+
utm_source: string | null
|
|
144
144
|
/**
|
|
145
145
|
* @description "character varying"
|
|
146
146
|
*/
|
|
147
|
-
utm_medium:
|
|
147
|
+
utm_medium: string | null
|
|
148
148
|
/**
|
|
149
149
|
* @description "character varying"
|
|
150
150
|
*/
|
|
151
|
-
utm_content:
|
|
151
|
+
utm_content: string | null
|
|
152
152
|
}
|
package/source/role.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ type RoleRow = {
|
|
|
10
10
|
/**
|
|
11
11
|
* @description "timestamp with time zone"
|
|
12
12
|
*/
|
|
13
|
-
time_updated:
|
|
13
|
+
time_updated: string | null
|
|
14
14
|
/**
|
|
15
15
|
* @description "character varying"
|
|
16
16
|
*/
|
|
17
|
-
name: 'admin' | 'manager'
|
|
17
|
+
name: 'admin' | 'manager'
|
|
18
18
|
/**
|
|
19
19
|
* @description "character varying"
|
|
20
20
|
*/
|
|
21
|
-
description:
|
|
21
|
+
description: string | null
|
|
22
22
|
}
|
package/source/rows.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ type ImageMediaRow = {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description "integer"
|
|
8
8
|
*/
|
|
9
|
-
width:
|
|
9
|
+
width: number | null
|
|
10
10
|
/**
|
|
11
11
|
* @description "integer"
|
|
12
12
|
*/
|
|
13
|
-
height:
|
|
13
|
+
height: number | null
|
|
14
14
|
/**
|
|
15
15
|
* @description "timestamp with time zone"
|
|
16
16
|
*/
|
|
17
|
-
time_updated:
|
|
17
|
+
time_updated: string | null
|
|
18
18
|
/**
|
|
19
19
|
* @description "uuid"
|
|
20
20
|
*/
|
|
@@ -26,7 +26,7 @@ type ImageMediaRow = {
|
|
|
26
26
|
/**
|
|
27
27
|
* @description "character varying"
|
|
28
28
|
*/
|
|
29
|
-
file_format:
|
|
29
|
+
file_format: string | null
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
type MediaRow = {
|
|
@@ -41,21 +41,21 @@ type MediaRow = {
|
|
|
41
41
|
/**
|
|
42
42
|
* @description "timestamp with time zone"
|
|
43
43
|
*/
|
|
44
|
-
time_updated:
|
|
44
|
+
time_updated: string | null
|
|
45
45
|
/**
|
|
46
46
|
* @description "character varying"
|
|
47
47
|
*/
|
|
48
|
-
title:
|
|
48
|
+
title: string | null
|
|
49
49
|
/**
|
|
50
50
|
* @description "character varying"
|
|
51
51
|
*/
|
|
52
|
-
cached_link:
|
|
52
|
+
cached_link: string | null
|
|
53
53
|
/**
|
|
54
54
|
* @description "character varying"
|
|
55
55
|
*/
|
|
56
|
-
description:
|
|
56
|
+
description: string | null
|
|
57
57
|
/**
|
|
58
58
|
* @description "character varying"
|
|
59
59
|
*/
|
|
60
|
-
path:
|
|
60
|
+
path: string | null
|
|
61
61
|
}
|
package/source/theme.d.ts
CHANGED
|
@@ -42,13 +42,13 @@ type ThemeRow = {
|
|
|
42
42
|
/**
|
|
43
43
|
* @description "character varying"
|
|
44
44
|
*/
|
|
45
|
-
short_description:
|
|
45
|
+
short_description: string | null
|
|
46
46
|
/**
|
|
47
47
|
* @description "character varying"
|
|
48
48
|
*/
|
|
49
|
-
description:
|
|
49
|
+
description: string | null
|
|
50
50
|
/**
|
|
51
51
|
* @description "character varying"
|
|
52
52
|
*/
|
|
53
|
-
name:
|
|
53
|
+
name: string | null
|
|
54
54
|
}
|
package/source/user.d.ts
CHANGED
|
@@ -53,75 +53,75 @@ type UserRow = {
|
|
|
53
53
|
/**
|
|
54
54
|
* @description "timestamp with time zone"
|
|
55
55
|
*/
|
|
56
|
-
time_updated:
|
|
56
|
+
time_updated: string | null
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* @description "boolean"
|
|
60
60
|
*/
|
|
61
|
-
is_active:
|
|
61
|
+
is_active: boolean | null
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* @description "boolean"
|
|
65
65
|
*/
|
|
66
|
-
is_superuser:
|
|
66
|
+
is_superuser: boolean | null
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @description "boolean"
|
|
70
70
|
*/
|
|
71
|
-
is_verified:
|
|
71
|
+
is_verified: boolean | null
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* @description "uuid"
|
|
75
75
|
*/
|
|
76
|
-
image_id:
|
|
76
|
+
image_id: string | null
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* @description "character varying"
|
|
80
80
|
*/
|
|
81
|
-
mailru_link:
|
|
81
|
+
mailru_link: string | null
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* @description "character varying"
|
|
85
85
|
*/
|
|
86
|
-
telegram_id:
|
|
86
|
+
telegram_id: string | null
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* @description "character varying"
|
|
90
90
|
*/
|
|
91
|
-
hashed_password:
|
|
91
|
+
hashed_password: string | null
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* @description "character varying"
|
|
95
95
|
*/
|
|
96
|
-
telegram_data:
|
|
96
|
+
telegram_data: string | null
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* @description "character varying"
|
|
100
100
|
*/
|
|
101
|
-
third_name:
|
|
101
|
+
third_name: string | null
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* @description "character varying"
|
|
105
105
|
*/
|
|
106
|
-
phone:
|
|
106
|
+
phone: string | null
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* @description "character varying"
|
|
110
110
|
*/
|
|
111
|
-
first_name:
|
|
111
|
+
first_name: string | null
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* @description "character varying"
|
|
115
115
|
*/
|
|
116
|
-
last_name:
|
|
116
|
+
last_name: string | null
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* @description "character varying"
|
|
120
120
|
*/
|
|
121
|
-
email:
|
|
121
|
+
email: string | null
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* @description "character varying"
|
|
125
125
|
*/
|
|
126
|
-
gmail_link:
|
|
126
|
+
gmail_link: string | null
|
|
127
127
|
}
|
package/source/venue.d.ts
CHANGED
|
@@ -35,69 +35,69 @@ type VenueRow = {
|
|
|
35
35
|
/**
|
|
36
36
|
* @description "timestamp with time zone"
|
|
37
37
|
*/
|
|
38
|
-
time_updated:
|
|
38
|
+
time_updated: string | null
|
|
39
39
|
/**
|
|
40
40
|
* @description "double precision"
|
|
41
41
|
*/
|
|
42
|
-
longitude:
|
|
42
|
+
longitude: number | null
|
|
43
43
|
/**
|
|
44
44
|
* @description "uuid"
|
|
45
45
|
*/
|
|
46
|
-
city_id:
|
|
46
|
+
city_id: string | null
|
|
47
47
|
/**
|
|
48
48
|
* @description "double precision"
|
|
49
49
|
*/
|
|
50
|
-
latitude:
|
|
50
|
+
latitude: number | null
|
|
51
51
|
/**
|
|
52
52
|
* @description "integer"
|
|
53
53
|
*/
|
|
54
|
-
people_capacity:
|
|
54
|
+
people_capacity: number | null
|
|
55
55
|
/**
|
|
56
56
|
* @description "integer"
|
|
57
57
|
*/
|
|
58
|
-
team_capacity:
|
|
58
|
+
team_capacity: number | null
|
|
59
59
|
/**
|
|
60
60
|
* @description "boolean"
|
|
61
61
|
*/
|
|
62
|
-
is_adult:
|
|
62
|
+
is_adult: boolean | null
|
|
63
63
|
/**
|
|
64
64
|
* @description "character varying"
|
|
65
65
|
*/
|
|
66
|
-
name:
|
|
66
|
+
name: string | null
|
|
67
67
|
/**
|
|
68
68
|
* @description "character varying"
|
|
69
69
|
*/
|
|
70
|
-
house_number:
|
|
70
|
+
house_number: string | null
|
|
71
71
|
/**
|
|
72
72
|
* @description "character varying"
|
|
73
73
|
*/
|
|
74
|
-
comment:
|
|
74
|
+
comment: string | null
|
|
75
75
|
/**
|
|
76
76
|
* @description "character varying"
|
|
77
77
|
*/
|
|
78
|
-
comment_responsible:
|
|
78
|
+
comment_responsible: string | null
|
|
79
79
|
/**
|
|
80
80
|
* @description "character varying"
|
|
81
81
|
*/
|
|
82
|
-
comment_equipment:
|
|
82
|
+
comment_equipment: string | null
|
|
83
83
|
/**
|
|
84
84
|
* @description "character varying"
|
|
85
85
|
*/
|
|
86
|
-
street:
|
|
86
|
+
street: string | null
|
|
87
87
|
/**
|
|
88
88
|
* @description "character varying"
|
|
89
89
|
*/
|
|
90
|
-
game_time:
|
|
90
|
+
game_time: string | null
|
|
91
91
|
/**
|
|
92
92
|
* @description "character varying"
|
|
93
93
|
*/
|
|
94
|
-
floor:
|
|
94
|
+
floor: string | null
|
|
95
95
|
/**
|
|
96
96
|
* @description "character varying"
|
|
97
97
|
*/
|
|
98
|
-
metro:
|
|
98
|
+
metro: string | null
|
|
99
99
|
/**
|
|
100
100
|
* @description "character varying"
|
|
101
101
|
*/
|
|
102
|
-
location_info:
|
|
102
|
+
location_info: string | null
|
|
103
103
|
}
|