@shakerquiz/utilities 0.2.4 → 0.2.6

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.2.4",
3
+ "version": "0.2.6",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "exports": {
@@ -11,10 +11,10 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@yurkimus/cookies": "0.0.7",
14
+ "@yurkimus/cookies": "0.0.8",
15
15
  "@yurkimus/errors": "0.1.3",
16
- "@yurkimus/message": "0.0.13",
17
- "@yurkimus/response-status": "0.1.0",
18
- "@yurkimus/url": "0.2.7"
16
+ "@yurkimus/message": "0.0.14",
17
+ "@yurkimus/response-status": "0.1.1",
18
+ "@yurkimus/url": "0.2.8"
19
19
  }
20
20
  }
@@ -238,9 +238,9 @@ type RequestResults = {
238
238
  }
239
239
 
240
240
  [Methods.GET]: {
241
- [Roles.Admin]: unknown
242
- [Roles.Default]: unknown
243
- [Roles.Organizer]: unknown
241
+ [Roles.Admin]: RegistrationAdminResult
242
+ [Roles.Default]: RegistrationDefaultResult
243
+ [Roles.Organizer]: RegistrationOrganizerResult
244
244
  }
245
245
 
246
246
  [Methods.OPTIONS]: {
@@ -1,6 +1,22 @@
1
1
  type RegistrationAdminResult = unknown
2
2
 
3
- type RegistrationDefaultResult = unknown
3
+ type RegistrationDefaultResult = {
4
+ id: RegistrationRow['id']
5
+ event_id: RegistrationRow['event_id']
6
+ team_name: RegistrationRow['team_name']
7
+ is_canceled: RegistrationRow['is_canceled']
8
+ is_confirm: RegistrationRow['is_confirm']
9
+ is_reserve: RegistrationRow['is_reserve']
10
+ change_people_count: RegistrationRow['change_people_count']
11
+ people_count: RegistrationRow['people_count']
12
+ channel: RegistrationRow['channel']
13
+ event_time_utc: GameRow['event_time']
14
+ event_timezone: GameRow['timezone']
15
+ max_members_count: GameRow['max_members_count']
16
+ can_cancel: boolean
17
+ can_confirm: boolean
18
+ can_change_people_count: boolean
19
+ }
4
20
 
5
21
  type RegistrationOrganizerResult = unknown
6
22