@shakerquiz/utilities 0.3.39 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/source/user.d.ts +16 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakerquiz/utilities",
3
- "version": "0.3.39",
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