@shakerquiz/utilities 0.3.38 → 0.3.40

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakerquiz/utilities",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {
package/source/user.d.ts CHANGED
@@ -28,7 +28,22 @@ type CheckinOrganizerResult = {
28
28
  role_name: RoleRow['name']
29
29
  }
30
30
 
31
- type UserAdminResult = unknown
31
+ type UserAdminResult = {
32
+ id: UserRow['id']
33
+ email: UserRow['email']
34
+ phone: UserRow['phone']
35
+ first_name: UserRow['first_name']
36
+ last_name: UserRow['last_name']
37
+ is_active: UserRow['is_active']
38
+ gmail_link: UserRow['gmail_link']
39
+ mailru_link: UserRow['mailru_link']
40
+ role_id: RoleRow['id']
41
+ role_name: RoleRow['name']
42
+ cities: {
43
+ id: CityRow['id']
44
+ name: CityRow['name']
45
+ }[]
46
+ }
32
47
 
33
48
  type UserDefaultResult = unknown
34
49
 
package/source/venue.d.ts CHANGED
@@ -21,6 +21,11 @@ type VenueAdminResult = {
21
21
  // City
22
22
  city_id: CityRow['id']
23
23
  city_name: CityRow['name']
24
+ city_timezone: CityRow['timezone']
25
+ city_price: CityRow['price']
26
+ city_currency: CityRow['currency']
27
+ city_min_members_count: CityRow['min_members_count']
28
+ city_max_members_count: CityRow['max_members_count']
24
29
  }
25
30
 
26
31
  type VenueDefaultResult = unknown
@@ -48,6 +53,11 @@ type VenueOrganizerResult = {
48
53
  // City
49
54
  city_id: CityRow['id']
50
55
  city_name: CityRow['name']
56
+ city_timezone: CityRow['timezone']
57
+ city_price: CityRow['price']
58
+ city_currency: CityRow['currency']
59
+ city_min_members_count: CityRow['min_members_count']
60
+ city_max_members_count: CityRow['max_members_count']
51
61
  }
52
62
 
53
63
  type VenueRow = {