@shakerquiz/utilities 0.6.8 → 0.6.10

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,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/utilities",
4
- "version": "0.6.8",
4
+ "version": "0.6.10",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -39,11 +39,11 @@ export const RouteCardinalityRoute = Object.freeze({
39
39
  },
40
40
 
41
41
  [Route['games/registrations']]: {
42
- [Cardinality['1']]: Route['game/registrations'],
42
+ [Cardinality['1-N']]: Route['game/registrations'],
43
43
  },
44
44
 
45
45
  [Route['games/summary']]: {
46
- [Cardinality['1']]: Route['game/summary'],
46
+ [Cardinality['1-1']]: Route['game/summary'],
47
47
  },
48
48
 
49
49
  [Route['games/theme']]: {
@@ -79,7 +79,7 @@ export const RouteCardinalityRoute = Object.freeze({
79
79
  },
80
80
 
81
81
  [Route['themes/cover']]: {
82
- [Cardinality['1']]: Route['theme/cover'],
82
+ [Cardinality['1-1']]: Route['theme/cover'],
83
83
  },
84
84
 
85
85
  [Route['timezones']]: {
@@ -87,7 +87,7 @@ export const RouteCardinalityRoute = Object.freeze({
87
87
  },
88
88
 
89
89
  [Route['user/cities']]: {
90
- [Cardinality['1']]: Route['user/cities'],
90
+ [Cardinality['1-N']]: Route['user/cities'],
91
91
  },
92
92
 
93
93
  [Route['users']]: {
@@ -95,11 +95,11 @@ export const RouteCardinalityRoute = Object.freeze({
95
95
  },
96
96
 
97
97
  [Route['users/cities']]: {
98
- [Cardinality['1']]: Route['user/cities'],
98
+ [Cardinality['1-N']]: Route['user/cities'],
99
99
  },
100
100
 
101
101
  [Route['users/role']]: {
102
- [Cardinality['1']]: Route['user/role'],
102
+ [Cardinality['1-N']]: Route['user/role'],
103
103
  },
104
104
 
105
105
  [Route['venues']]: {
@@ -107,6 +107,6 @@ export const RouteCardinalityRoute = Object.freeze({
107
107
  },
108
108
 
109
109
  [Route['venues/city']]: {
110
- [Cardinality['1']]: Route['venue/city'],
110
+ [Cardinality['1-1']]: Route['venue/city'],
111
111
  },
112
112
  })
package/source/index.js CHANGED
@@ -37,5 +37,4 @@ export * from './entities/venue-audience.js'
37
37
  export * from './entities/venue-status.js'
38
38
  export * from './helpers/access.js'
39
39
  export * from './helpers/hydrate-route-pathname.js'
40
- export * from './helpers/string-tag.js'
41
40
  export * from './helpers/tag.js'
@@ -1,7 +0,0 @@
1
- export const toStringTag = Object.freeze(
2
- x => Object.prototype.toString.call(x).slice(8, -1),
3
- )
4
-
5
- export const isStringTag = Object.freeze(
6
- (tag, x) => tag === Object.prototype.toString.call(x).slice(8, -1),
7
- )