@shakerquiz/utilities 0.4.5 → 0.4.7

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.4.5",
3
+ "version": "0.4.7",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {
@@ -22,42 +22,44 @@ type UseState<Type> = [
22
22
  * Core
23
23
  */
24
24
 
25
- type Method = typeof import('./enumerations/core/methods.js').Methods[number]
25
+ type Method = (typeof import('./enumerations/core/methods.js').Methods)[number]
26
26
 
27
- type Domain = typeof import('./enumerations/core/features.js').Domains[number]
27
+ type Domain = (typeof import('./enumerations/core/features.js').Domains)[number]
28
28
 
29
29
  type Procedure =
30
- typeof import('./enumerations/core/features.js').Procedures[number]
30
+ (typeof import('./enumerations/core/features.js').Procedures)[number]
31
31
 
32
32
  type Feature = Domain | Procedure
33
33
 
34
- type Kind = typeof import('./enumerations/core/kinds.js').Kinds[number]
34
+ type Kind = (typeof import('./enumerations/core/kinds.js').Kinds)[number]
35
35
 
36
36
  type Scope = `${Method}/${Feature}/${Kind}`
37
37
 
38
- type Requirement =
39
- typeof import('./enumerations/misc/requirements.js').Requirements[number]
40
-
41
- type Role = keyof typeof import('./enumerations/entities/roles.js').Roles
38
+ type Role = (typeof import('./enumerations/entities/roles.js').Roles)[number]
42
39
 
43
40
  type GameStatus =
44
- keyof typeof import('./enumerations/entities/game-statuses.js').GameStatuses
41
+ (typeof import('./enumerations/entities/game-statuses.js').GameStatuses)[
42
+ number
43
+ ]
45
44
 
46
45
  type RegistrationStatus =
47
- keyof typeof import('./enumerations/entities/registration-statuses.js').RegistrationStatuses
46
+ (typeof import('./enumerations/entities/registration-statuses.js').RegistrationStatuses)[
47
+ number
48
+ ]
48
49
 
49
- type Lineup = keyof typeof import('./enumerations/entities/lineups.js').Lineups
50
+ type Lineup =
51
+ (typeof import('./enumerations/entities/lineups.js').Lineups)[number]
50
52
 
51
53
  type Affilation =
52
- keyof typeof import('./enumerations/entities/affilations.js').Affilations
54
+ (typeof import('./enumerations/entities/affilations.js').Affilations)[number]
53
55
 
54
56
  /**
55
57
  * Misc
56
58
  */
57
59
 
58
- type Icon = typeof import('./enumerations/misc/icons.js').Icons[number]
60
+ type Icon = (typeof import('./enumerations/misc/icons.js').Icons)[number]
59
61
 
60
- type Phase = typeof import('./enumerations/misc/phases.js').Phases[number]
62
+ type Phase = (typeof import('./enumerations/misc/phases.js').Phases)[number]
61
63
 
62
64
  /**
63
65
  * Products
package/source/index.d.ts CHANGED
@@ -19,7 +19,6 @@ export * from './enumerations/misc/cookies.js'
19
19
  export * from './enumerations/misc/icons.js'
20
20
  export * from './enumerations/misc/phases.js'
21
21
  export * from './enumerations/misc/regexps.js'
22
- export * from './enumerations/misc/requirements.js'
23
22
 
24
23
  export * from './enumerations/entities/affilations.js'
25
24
  export * from './enumerations/entities/game-statuses.js'
package/source/index.js CHANGED
@@ -19,7 +19,6 @@ export * from './enumerations/misc/cookies.js'
19
19
  export * from './enumerations/misc/icons.js'
20
20
  export * from './enumerations/misc/phases.js'
21
21
  export * from './enumerations/misc/regexps.js'
22
- export * from './enumerations/misc/requirements.js'
23
22
 
24
23
  export * from './enumerations/entities/affilations.js'
25
24
  export * from './enumerations/entities/game-statuses.js'
@@ -1 +0,0 @@
1
- export const Requirements: readonly ["Checkin", "Body"];
@@ -1,4 +0,0 @@
1
- export var Requirements = /** @type {const} */ ([
2
- 'Checkin',
3
- 'Body',
4
- ])