@shakerquiz/utilities 0.4.15 → 0.4.17
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/enumerations/core/features.js +11 -0
- package/source/index.d.ts +1139 -22
- package/source/index.js +0 -23
- package/source/checkin.d.ts +0 -9
- package/source/city.d.ts +0 -191
- package/source/enumerations/schemas.d.ts +0 -16
- package/source/enumerations/schemas.js +0 -17
- package/source/functions/schema.d.ts +0 -5
- package/source/functions/schema.js +0 -59
- package/source/game.d.ts +0 -188
- package/source/globals.d.ts +0 -89
- package/source/image-media.d.ts +0 -30
- package/source/media.d.ts +0 -30
- package/source/registration.d.ts +0 -148
- package/source/role.d.ts +0 -30
- package/source/schemas/city.d.ts +0 -275
- package/source/schemas/city.js +0 -224
- package/source/schemas/game.d.ts +0 -97
- package/source/schemas/game.js +0 -97
- package/source/schemas/registration.d.ts +0 -129
- package/source/schemas/registration.js +0 -129
- package/source/schemas/role.d.ts +0 -21
- package/source/schemas/role.js +0 -21
- package/source/schemas/theme.d.ts +0 -29
- package/source/schemas/theme.js +0 -29
- package/source/schemas/user.d.ts +0 -73
- package/source/schemas/user.js +0 -73
- package/source/schemas/venue.d.ts +0 -77
- package/source/schemas/venue.js +0 -77
- package/source/theme.d.ts +0 -41
- package/source/user.d.ts +0 -104
- package/source/venue.d.ts +0 -100
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export namespace VenueSchema {
|
|
2
|
-
namespace city_id {
|
|
3
|
-
let type: "Undefined";
|
|
4
|
-
}
|
|
5
|
-
namespace comment {
|
|
6
|
-
let type_1: "Undefined";
|
|
7
|
-
export { type_1 as type };
|
|
8
|
-
}
|
|
9
|
-
namespace comment_equipment {
|
|
10
|
-
let type_2: "Undefined";
|
|
11
|
-
export { type_2 as type };
|
|
12
|
-
}
|
|
13
|
-
namespace comment_responsible {
|
|
14
|
-
let type_3: "Undefined";
|
|
15
|
-
export { type_3 as type };
|
|
16
|
-
}
|
|
17
|
-
namespace floor {
|
|
18
|
-
let type_4: "Undefined";
|
|
19
|
-
export { type_4 as type };
|
|
20
|
-
}
|
|
21
|
-
namespace game_time {
|
|
22
|
-
let type_5: "Undefined";
|
|
23
|
-
export { type_5 as type };
|
|
24
|
-
}
|
|
25
|
-
namespace house_number {
|
|
26
|
-
let type_6: "Undefined";
|
|
27
|
-
export { type_6 as type };
|
|
28
|
-
}
|
|
29
|
-
namespace id {
|
|
30
|
-
let type_7: "Undefined";
|
|
31
|
-
export { type_7 as type };
|
|
32
|
-
}
|
|
33
|
-
namespace is_adult {
|
|
34
|
-
let type_8: "Undefined";
|
|
35
|
-
export { type_8 as type };
|
|
36
|
-
}
|
|
37
|
-
namespace latitude {
|
|
38
|
-
let type_9: "Undefined";
|
|
39
|
-
export { type_9 as type };
|
|
40
|
-
}
|
|
41
|
-
namespace location_info {
|
|
42
|
-
let type_10: "Undefined";
|
|
43
|
-
export { type_10 as type };
|
|
44
|
-
}
|
|
45
|
-
namespace longitude {
|
|
46
|
-
let type_11: "Undefined";
|
|
47
|
-
export { type_11 as type };
|
|
48
|
-
}
|
|
49
|
-
namespace metro {
|
|
50
|
-
let type_12: "Undefined";
|
|
51
|
-
export { type_12 as type };
|
|
52
|
-
}
|
|
53
|
-
namespace name {
|
|
54
|
-
let type_13: "Undefined";
|
|
55
|
-
export { type_13 as type };
|
|
56
|
-
}
|
|
57
|
-
namespace people_capacity {
|
|
58
|
-
let type_14: "Undefined";
|
|
59
|
-
export { type_14 as type };
|
|
60
|
-
}
|
|
61
|
-
namespace street {
|
|
62
|
-
let type_15: "Undefined";
|
|
63
|
-
export { type_15 as type };
|
|
64
|
-
}
|
|
65
|
-
namespace team_capacity {
|
|
66
|
-
let type_16: "Undefined";
|
|
67
|
-
export { type_16 as type };
|
|
68
|
-
}
|
|
69
|
-
namespace time_created {
|
|
70
|
-
let type_17: "Undefined";
|
|
71
|
-
export { type_17 as type };
|
|
72
|
-
}
|
|
73
|
-
namespace time_updated {
|
|
74
|
-
let type_18: "Undefined";
|
|
75
|
-
export { type_18 as type };
|
|
76
|
-
}
|
|
77
|
-
}
|
package/source/schemas/venue.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export var VenueSchema = /** @type {const} */ ({
|
|
2
|
-
city_id: {
|
|
3
|
-
type: 'Undefined',
|
|
4
|
-
},
|
|
5
|
-
|
|
6
|
-
comment: {
|
|
7
|
-
type: 'Undefined',
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
comment_equipment: {
|
|
11
|
-
type: 'Undefined',
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
comment_responsible: {
|
|
15
|
-
type: 'Undefined',
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
floor: {
|
|
19
|
-
type: 'Undefined',
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
game_time: {
|
|
23
|
-
type: 'Undefined',
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
house_number: {
|
|
27
|
-
type: 'Undefined',
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
id: {
|
|
31
|
-
type: 'Undefined',
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
is_adult: {
|
|
35
|
-
type: 'Undefined',
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
latitude: {
|
|
39
|
-
type: 'Undefined',
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
location_info: {
|
|
43
|
-
type: 'Undefined',
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
longitude: {
|
|
47
|
-
type: 'Undefined',
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
metro: {
|
|
51
|
-
type: 'Undefined',
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
name: {
|
|
55
|
-
type: 'Undefined',
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
people_capacity: {
|
|
59
|
-
type: 'Undefined',
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
street: {
|
|
63
|
-
type: 'Undefined',
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
team_capacity: {
|
|
67
|
-
type: 'Undefined',
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
time_created: {
|
|
71
|
-
type: 'Undefined',
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
time_updated: {
|
|
75
|
-
type: 'Undefined',
|
|
76
|
-
},
|
|
77
|
-
})
|
package/source/theme.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
type ThemeTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "timestamp with time zone"
|
|
4
|
-
*/
|
|
5
|
-
time_updated: string
|
|
6
|
-
/**
|
|
7
|
-
* @description "uuid"
|
|
8
|
-
*/
|
|
9
|
-
id: string
|
|
10
|
-
/**
|
|
11
|
-
* @description "timestamp with time zone"
|
|
12
|
-
*/
|
|
13
|
-
time_created: string
|
|
14
|
-
/**
|
|
15
|
-
* @description "uuid"
|
|
16
|
-
*/
|
|
17
|
-
image_id: string
|
|
18
|
-
/**
|
|
19
|
-
* @description "character varying"
|
|
20
|
-
*/
|
|
21
|
-
short_description: string | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "character varying"
|
|
24
|
-
*/
|
|
25
|
-
description: string | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "character varying"
|
|
28
|
-
*/
|
|
29
|
-
name: string | null
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
type ThemeResponse = {
|
|
33
|
-
description: ThemeTable['description']
|
|
34
|
-
id: ThemeTable['id']
|
|
35
|
-
image_id: ImageMediaTable['id']
|
|
36
|
-
media_path: MediaTable['path']
|
|
37
|
-
media_title: MediaTable['title']
|
|
38
|
-
name: ThemeTable['name']
|
|
39
|
-
short_description: ThemeTable['short_description']
|
|
40
|
-
time_created: ThemeTable['time_created']
|
|
41
|
-
}
|
package/source/user.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
type UserTable = {
|
|
2
|
-
/**
|
|
3
|
-
* @description "uuid"
|
|
4
|
-
*/
|
|
5
|
-
role_id: string
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @description "uuid"
|
|
9
|
-
*/
|
|
10
|
-
id: string
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @description "timestamp with time zone"
|
|
14
|
-
*/
|
|
15
|
-
time_created: string
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @description "timestamp with time zone"
|
|
19
|
-
*/
|
|
20
|
-
time_updated: string | null
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @description "boolean"
|
|
24
|
-
*/
|
|
25
|
-
is_active: boolean | null
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @description "boolean"
|
|
29
|
-
*/
|
|
30
|
-
is_superuser: boolean | null
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @description "boolean"
|
|
34
|
-
*/
|
|
35
|
-
is_verified: boolean | null
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @description "uuid"
|
|
39
|
-
*/
|
|
40
|
-
image_id: string | null
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @description "character varying"
|
|
44
|
-
*/
|
|
45
|
-
mailru_link: string | null
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @description "character varying"
|
|
49
|
-
*/
|
|
50
|
-
telegram_id: string | null
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @description "character varying"
|
|
54
|
-
*/
|
|
55
|
-
hashed_password: string | null
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @description "character varying"
|
|
59
|
-
*/
|
|
60
|
-
telegram_data: string | null
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @description "character varying"
|
|
64
|
-
*/
|
|
65
|
-
third_name: string | null
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @description "character varying"
|
|
69
|
-
*/
|
|
70
|
-
phone: string | null
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @description "character varying"
|
|
74
|
-
*/
|
|
75
|
-
first_name: string | null
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @description "character varying"
|
|
79
|
-
*/
|
|
80
|
-
last_name: string | null
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @description "character varying"
|
|
84
|
-
*/
|
|
85
|
-
email: string | null
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @description "character varying"
|
|
89
|
-
*/
|
|
90
|
-
gmail_link: string | null
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type UserResponse = {
|
|
94
|
-
email: UserTable['email']
|
|
95
|
-
first_name: UserTable['first_name']
|
|
96
|
-
gmail_link: UserTable['gmail_link']
|
|
97
|
-
id: UserTable['id']
|
|
98
|
-
is_active: UserTable['is_active']
|
|
99
|
-
last_name: UserTable['last_name']
|
|
100
|
-
mailru_link: UserTable['mailru_link']
|
|
101
|
-
phone: UserTable['phone']
|
|
102
|
-
role: RoleResponse
|
|
103
|
-
cities: CityResponse[]
|
|
104
|
-
}
|
package/source/venue.d.ts
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
type VenueTable = {
|
|
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: string | null
|
|
14
|
-
/**
|
|
15
|
-
* @description "double precision"
|
|
16
|
-
*/
|
|
17
|
-
longitude: number | null
|
|
18
|
-
/**
|
|
19
|
-
* @description "uuid"
|
|
20
|
-
*/
|
|
21
|
-
city_id: string | null
|
|
22
|
-
/**
|
|
23
|
-
* @description "double precision"
|
|
24
|
-
*/
|
|
25
|
-
latitude: number | null
|
|
26
|
-
/**
|
|
27
|
-
* @description "integer"
|
|
28
|
-
*/
|
|
29
|
-
people_capacity: number | null
|
|
30
|
-
/**
|
|
31
|
-
* @description "integer"
|
|
32
|
-
*/
|
|
33
|
-
team_capacity: number | null
|
|
34
|
-
/**
|
|
35
|
-
* @description "boolean"
|
|
36
|
-
*/
|
|
37
|
-
is_adult: boolean | null
|
|
38
|
-
/**
|
|
39
|
-
* @description "character varying"
|
|
40
|
-
*/
|
|
41
|
-
name: string | null
|
|
42
|
-
/**
|
|
43
|
-
* @description "character varying"
|
|
44
|
-
*/
|
|
45
|
-
house_number: string | null
|
|
46
|
-
/**
|
|
47
|
-
* @description "character varying"
|
|
48
|
-
*/
|
|
49
|
-
comment: string | null
|
|
50
|
-
/**
|
|
51
|
-
* @description "character varying"
|
|
52
|
-
*/
|
|
53
|
-
comment_responsible: string | null
|
|
54
|
-
/**
|
|
55
|
-
* @description "character varying"
|
|
56
|
-
*/
|
|
57
|
-
comment_equipment: string | null
|
|
58
|
-
/**
|
|
59
|
-
* @description "character varying"
|
|
60
|
-
*/
|
|
61
|
-
street: string | null
|
|
62
|
-
/**
|
|
63
|
-
* @description "character varying"
|
|
64
|
-
*/
|
|
65
|
-
game_time: string | null
|
|
66
|
-
/**
|
|
67
|
-
* @description "character varying"
|
|
68
|
-
*/
|
|
69
|
-
floor: string | null
|
|
70
|
-
/**
|
|
71
|
-
* @description "character varying"
|
|
72
|
-
*/
|
|
73
|
-
metro: string | null
|
|
74
|
-
/**
|
|
75
|
-
* @description "character varying"
|
|
76
|
-
*/
|
|
77
|
-
location_info: string | null
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
type VenueResponse = {
|
|
81
|
-
id: VenueTable['id']
|
|
82
|
-
time_created: VenueTable['time_created']
|
|
83
|
-
time_updated: VenueTable['time_updated']
|
|
84
|
-
longitude: VenueTable['longitude']
|
|
85
|
-
latitude: VenueTable['latitude']
|
|
86
|
-
people_capacity: VenueTable['people_capacity']
|
|
87
|
-
team_capacity: VenueTable['team_capacity']
|
|
88
|
-
is_adult: VenueTable['is_adult']
|
|
89
|
-
name: VenueTable['name']
|
|
90
|
-
house_number: VenueTable['house_number']
|
|
91
|
-
comment: VenueTable['comment']
|
|
92
|
-
comment_responsible: VenueTable['comment_responsible']
|
|
93
|
-
comment_equipment: VenueTable['comment_equipment']
|
|
94
|
-
street: VenueTable['street']
|
|
95
|
-
game_time: VenueTable['game_time']
|
|
96
|
-
floor: VenueTable['floor']
|
|
97
|
-
metro: VenueTable['metro']
|
|
98
|
-
location_info: VenueTable['location_info']
|
|
99
|
-
city: CityResponse
|
|
100
|
-
}
|