@shakerquiz/utilities 0.5.52 → 0.5.53
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/dprint.json +1 -4
- package/package.json +1 -7
- package/source/misc.d.ts +0 -64
- package/source/tables.d.ts +0 -187
package/dprint.json
CHANGED
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
],
|
|
20
20
|
"plugins": [
|
|
21
21
|
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
|
|
22
|
-
"https://plugins.dprint.dev/json-0.19.3.wasm"
|
|
23
|
-
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
|
|
24
|
-
"https://plugins.dprint.dev/dockerfile-0.3.2.wasm",
|
|
25
|
-
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
|
|
22
|
+
"https://plugins.dprint.dev/json-0.19.3.wasm"
|
|
26
23
|
]
|
|
27
24
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/utilities",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.53",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"type": "tsc --declaration --emitdeclarationonly --allowjs"
|
|
9
|
-
},
|
|
10
7
|
"exports": {
|
|
11
8
|
".": {
|
|
12
9
|
"default": "./source/index.js"
|
|
13
10
|
},
|
|
14
11
|
"./schemas/*.json": "./source/schemas/*.json"
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"typescript": "5.9.2"
|
|
18
12
|
}
|
|
19
13
|
}
|
package/source/misc.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mixins
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
interface RequestInit {
|
|
6
|
-
/**
|
|
7
|
-
* @description A method string defined by RFC7231 @see {@link https://datatracker.ietf.org/doc/html/rfc7231#section-4.3}
|
|
8
|
-
*/
|
|
9
|
-
method?: Method
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* react
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
type UseState<T> = [
|
|
17
|
-
T,
|
|
18
|
-
import('react').Dispatch<import('react').SetStateAction<T>>,
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* core
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
type Feature = keyof typeof import('./enumerations/core/features.js').Feature
|
|
26
|
-
|
|
27
|
-
type Method = keyof typeof import('./enumerations/core/methods.js').Method
|
|
28
|
-
|
|
29
|
-
type Network = keyof typeof import('./enumerations/core/networks.js').Network
|
|
30
|
-
|
|
31
|
-
type Runtime = keyof typeof import('./enumerations/core/runtimes.js').Runtime
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* entities
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
type CityAffilation = keyof typeof import('./enumerations/entities/city-affilation.js').CityAffilation
|
|
38
|
-
|
|
39
|
-
type GameStatus = keyof typeof import('./enumerations/entities/game-status.js').GameStatus
|
|
40
|
-
|
|
41
|
-
type RegistrationAttribute =
|
|
42
|
-
keyof typeof import('./enumerations/entities/registration-attribute.js').RegistrationAttribute
|
|
43
|
-
|
|
44
|
-
type RegistrationChannel = keyof typeof import('./enumerations/entities/registration-channel.js').RegistrationChannel
|
|
45
|
-
|
|
46
|
-
type RegistrationLineup = keyof typeof import('./enumerations/entities/registration-lineup.js').RegistrationLineup
|
|
47
|
-
|
|
48
|
-
type RegistrationMailing = keyof typeof import('./enumerations/entities/registration-mailing.js').RegistrationMailing
|
|
49
|
-
|
|
50
|
-
type RegistrationStatus = keyof typeof import('./enumerations/entities/registration-status.js').RegistrationStatus
|
|
51
|
-
|
|
52
|
-
type Role = keyof typeof import('./enumerations/entities/role.js').Role
|
|
53
|
-
|
|
54
|
-
type VenueStatus = keyof typeof import('./enumerations/entities/venue-status.js').VenueStatus
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* misc
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
type Icon = typeof import('./enumerations/misc/icons.js').Icons[number]
|
|
61
|
-
|
|
62
|
-
type Phase = keyof typeof import('./enumerations/misc/phases.js').Phase
|
|
63
|
-
|
|
64
|
-
type Route = keyof typeof import('./enumerations/misc/routes.js').Route
|
package/source/tables.d.ts
DELETED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
type UserTable = {
|
|
2
|
-
email: string | null
|
|
3
|
-
first_name: string | null
|
|
4
|
-
gmail_link: string | null
|
|
5
|
-
hashed_password: string | null
|
|
6
|
-
id: string
|
|
7
|
-
image_id: string | null
|
|
8
|
-
is_active: boolean | null
|
|
9
|
-
is_superuser: boolean | null
|
|
10
|
-
is_verified: boolean | null
|
|
11
|
-
last_name: string | null
|
|
12
|
-
mailru_link: string | null
|
|
13
|
-
phone: string | null
|
|
14
|
-
role_id: string
|
|
15
|
-
telegram_data: string | null
|
|
16
|
-
telegram_id: string | null
|
|
17
|
-
third_name: string | null
|
|
18
|
-
time_created: string
|
|
19
|
-
time_updated: string | null
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type RoleTable = {
|
|
23
|
-
description: string | null
|
|
24
|
-
id: string
|
|
25
|
-
name: Role
|
|
26
|
-
time_created: string
|
|
27
|
-
time_updated: string | null
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
type CityTable = {
|
|
31
|
-
address: string | null
|
|
32
|
-
alias: string | null
|
|
33
|
-
chatapp_category: string | null
|
|
34
|
-
chatapp_legacy: boolean | null
|
|
35
|
-
chatapp_line: string | null
|
|
36
|
-
chatapp_tag: string | null
|
|
37
|
-
chatapp_user: string | null
|
|
38
|
-
country: string | null
|
|
39
|
-
currency: string | null
|
|
40
|
-
custom_html: string | null
|
|
41
|
-
custom_script: string | null
|
|
42
|
-
description: string | null
|
|
43
|
-
email: string | null
|
|
44
|
-
game_time: string | null
|
|
45
|
-
id: string
|
|
46
|
-
inst_comment: string | null
|
|
47
|
-
inst_link: string | null
|
|
48
|
-
inst_login: string | null
|
|
49
|
-
inst_password: string | null
|
|
50
|
-
is_default: boolean | null
|
|
51
|
-
is_franchise: boolean | null
|
|
52
|
-
max_members_count: number | null
|
|
53
|
-
meta_description: string | null
|
|
54
|
-
meta_title: string | null
|
|
55
|
-
min_members_count: number | null
|
|
56
|
-
name: string | null
|
|
57
|
-
phone: string | null
|
|
58
|
-
price: number | null
|
|
59
|
-
region: string | null
|
|
60
|
-
telegram_chat_id: string | null
|
|
61
|
-
tg_comment: string | null
|
|
62
|
-
tg_link: string | null
|
|
63
|
-
tg_login: string | null
|
|
64
|
-
tg_password: string | null
|
|
65
|
-
time_created: string
|
|
66
|
-
time_updated: string | null
|
|
67
|
-
timezone: number | null
|
|
68
|
-
title: string | null
|
|
69
|
-
vk_comment: string | null
|
|
70
|
-
vk_group_id: string | null
|
|
71
|
-
vk_link: string | null
|
|
72
|
-
yandex_metrica: string | null
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
type VenueTable = {
|
|
76
|
-
city_id: string | null
|
|
77
|
-
comment_equipment: string | null
|
|
78
|
-
comment_responsible: string | null
|
|
79
|
-
comment: string | null
|
|
80
|
-
floor: string | null
|
|
81
|
-
game_time: string | null
|
|
82
|
-
house_number: string | null
|
|
83
|
-
id: string
|
|
84
|
-
is_adult: boolean | null
|
|
85
|
-
latitude: number | null
|
|
86
|
-
location_info: string | null
|
|
87
|
-
longitude: number | null
|
|
88
|
-
metro: string | null
|
|
89
|
-
name: string | null
|
|
90
|
-
people_capacity: number | null
|
|
91
|
-
street: string | null
|
|
92
|
-
team_capacity: number | null
|
|
93
|
-
time_created: string
|
|
94
|
-
time_updated: string
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
type ThemeTable = {
|
|
98
|
-
description: string | null
|
|
99
|
-
id: string
|
|
100
|
-
image_id: string
|
|
101
|
-
name: string | null
|
|
102
|
-
short_description: string | null
|
|
103
|
-
time_created: string
|
|
104
|
-
time_updated: string
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
type GameTable = {
|
|
108
|
-
alias: string | null
|
|
109
|
-
city_id: string | null
|
|
110
|
-
created_by_id: string
|
|
111
|
-
currency: string | null
|
|
112
|
-
description: string | null
|
|
113
|
-
event_time: string | null
|
|
114
|
-
game_pack_id: string | null
|
|
115
|
-
id: string
|
|
116
|
-
image_id: string | null
|
|
117
|
-
location_id: string
|
|
118
|
-
max_members_count: number | null
|
|
119
|
-
min_members_count: number | null
|
|
120
|
-
name: string | null
|
|
121
|
-
number: string | null
|
|
122
|
-
owner_id: string
|
|
123
|
-
personal_comment: string | null
|
|
124
|
-
price: number | null
|
|
125
|
-
short_description: string | null
|
|
126
|
-
status: GameStatus
|
|
127
|
-
theme_id: string
|
|
128
|
-
time_created: string
|
|
129
|
-
time_updated: string | null
|
|
130
|
-
timezone: number | null
|
|
131
|
-
weekday: string | null
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
type RegistrationTable = {
|
|
135
|
-
ads_from: string | null
|
|
136
|
-
change_people_count: number | null
|
|
137
|
-
channel: string | null
|
|
138
|
-
chatapp_id: string | null
|
|
139
|
-
comment: string | null
|
|
140
|
-
email: string | null
|
|
141
|
-
event_id: string
|
|
142
|
-
fact_people_count: number | null
|
|
143
|
-
human_name: string | null
|
|
144
|
-
id: string
|
|
145
|
-
is_actual_presence: boolean | null
|
|
146
|
-
is_alone: boolean | null
|
|
147
|
-
is_birthday: boolean | null
|
|
148
|
-
is_canceled: boolean | null
|
|
149
|
-
is_confirm: boolean | null
|
|
150
|
-
is_extensible: boolean | null
|
|
151
|
-
is_first: boolean | null
|
|
152
|
-
is_reserve: boolean | null
|
|
153
|
-
last_broadcast: string | null
|
|
154
|
-
people_count: number | null
|
|
155
|
-
phone: string | null
|
|
156
|
-
promocode: string | null
|
|
157
|
-
team_name: string | null
|
|
158
|
-
telegramBot: string | null
|
|
159
|
-
time_created: string
|
|
160
|
-
time_updated: string | null
|
|
161
|
-
utm_campaign: string | null
|
|
162
|
-
utm_content: string | null
|
|
163
|
-
utm_medium: string | null
|
|
164
|
-
utm_source: string | null
|
|
165
|
-
utm_term: string | null
|
|
166
|
-
vkontakte: string | null
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
type MediaTable = {
|
|
170
|
-
id: string
|
|
171
|
-
time_created: string
|
|
172
|
-
time_updated: string | null
|
|
173
|
-
title: string | null
|
|
174
|
-
cached_link: string | null
|
|
175
|
-
description: string | null
|
|
176
|
-
path: string | null
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
type ImageTable = {
|
|
180
|
-
file_format: string | null
|
|
181
|
-
height: number | null
|
|
182
|
-
id: string
|
|
183
|
-
media_id: string
|
|
184
|
-
time_created: string
|
|
185
|
-
time_updated: string | null
|
|
186
|
-
width: number | null
|
|
187
|
-
}
|