@shakerquiz/utilities 0.5.170 → 0.5.172
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
|
@@ -5,7 +5,7 @@ import { Mode } from './mode.js'
|
|
|
5
5
|
* - HTTP/1.1 (Core Methods): {@link https://datatracker.ietf.org/doc/html/rfc7231#section-4.3}
|
|
6
6
|
* - PATCH: {@link https://datatracker.ietf.org/doc/html/rfc5789}
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export const Method = Object.freeze({
|
|
9
9
|
'OPTIONS': 'OPTIONS',
|
|
10
10
|
'GET': 'GET',
|
|
11
11
|
'POST': 'POST',
|
|
@@ -13,12 +13,3 @@ export var Method = /** @type {const} */ ({
|
|
|
13
13
|
'PATCH': 'PATCH',
|
|
14
14
|
'DELETE': 'DELETE',
|
|
15
15
|
})
|
|
16
|
-
|
|
17
|
-
export var Methods = [
|
|
18
|
-
Method['OPTIONS'],
|
|
19
|
-
Method['GET'],
|
|
20
|
-
Method['POST'],
|
|
21
|
-
Method['PUT'],
|
|
22
|
-
Method['PATCH'],
|
|
23
|
-
Method['DELETE'],
|
|
24
|
-
]
|
|
@@ -127,29 +127,29 @@ export const RouteNumerosity = Object.freeze({
|
|
|
127
127
|
})
|
|
128
128
|
|
|
129
129
|
export const RouteRelation = Object.freeze({
|
|
130
|
-
[Route['checkin']]: Route['
|
|
130
|
+
[Route['checkin']]: Route['checkin'],
|
|
131
131
|
[Route['checkins']]: Route['checkin'],
|
|
132
132
|
[Route['cities']]: Route['city'],
|
|
133
133
|
[Route['cities/country']]: Route['city/country'],
|
|
134
134
|
[Route['cities/currency']]: Route['city/currency'],
|
|
135
135
|
[Route['cities/timezone']]: Route['city/timezone'],
|
|
136
136
|
[Route['cities/venues']]: Route['city/venues'],
|
|
137
|
-
[Route['city']]: Route['
|
|
138
|
-
[Route['city/country']]: Route['
|
|
139
|
-
[Route['city/currency']]: Route['
|
|
140
|
-
[Route['city/timezone']]: Route['
|
|
141
|
-
[Route['city/venues']]: Route['
|
|
137
|
+
[Route['city']]: Route['city'],
|
|
138
|
+
[Route['city/country']]: Route['city/country'],
|
|
139
|
+
[Route['city/currency']]: Route['city/currency'],
|
|
140
|
+
[Route['city/timezone']]: Route['city/timezone'],
|
|
141
|
+
[Route['city/venues']]: Route['city/venues'],
|
|
142
142
|
[Route['countries']]: Route['country'],
|
|
143
|
-
[Route['country']]: Route['
|
|
143
|
+
[Route['country']]: Route['country'],
|
|
144
144
|
[Route['currencies']]: Route['currency'],
|
|
145
|
-
[Route['currency']]: Route['
|
|
146
|
-
[Route['game']]: Route['
|
|
147
|
-
[Route['game/city']]: Route['
|
|
148
|
-
[Route['game/registrations']]: Route['
|
|
149
|
-
[Route['game/registrations/export']]: Route['
|
|
150
|
-
[Route['game/summary']]: Route['
|
|
151
|
-
[Route['game/theme']]: Route['
|
|
152
|
-
[Route['game/venue']]: Route['
|
|
145
|
+
[Route['currency']]: Route['currency'],
|
|
146
|
+
[Route['game']]: Route['game'],
|
|
147
|
+
[Route['game/city']]: Route['game/city'],
|
|
148
|
+
[Route['game/registrations']]: Route['game/registrations'],
|
|
149
|
+
[Route['game/registrations/export']]: Route['game/registrations/export'],
|
|
150
|
+
[Route['game/summary']]: Route['game/summary'],
|
|
151
|
+
[Route['game/theme']]: Route['game/theme'],
|
|
152
|
+
[Route['game/venue']]: Route['game/venue'],
|
|
153
153
|
[Route['games']]: Route['game'],
|
|
154
154
|
[Route['games/city']]: Route['game/city'],
|
|
155
155
|
[Route['games/registrations']]: Route['game/registrations'],
|
|
@@ -157,27 +157,27 @@ export const RouteRelation = Object.freeze({
|
|
|
157
157
|
[Route['games/summary']]: Route['game/summary'],
|
|
158
158
|
[Route['games/theme']]: Route['game/theme'],
|
|
159
159
|
[Route['games/venue']]: Route['game/venue'],
|
|
160
|
-
[Route['registration']]: Route['
|
|
161
|
-
[Route['registration/export']]: Route['
|
|
160
|
+
[Route['registration']]: Route['registration'],
|
|
161
|
+
[Route['registration/export']]: Route['registration/export'],
|
|
162
162
|
[Route['registrations']]: Route['registration'],
|
|
163
163
|
[Route['registrations/export']]: Route['registration/export'],
|
|
164
|
-
[Route['role']]: Route['
|
|
164
|
+
[Route['role']]: Route['role'],
|
|
165
165
|
[Route['roles']]: Route['role'],
|
|
166
|
-
[Route['theme']]: Route['
|
|
167
|
-
[Route['theme/cover']]: Route['
|
|
166
|
+
[Route['theme']]: Route['theme'],
|
|
167
|
+
[Route['theme/cover']]: Route['theme/cover'],
|
|
168
168
|
[Route['themes']]: Route['theme'],
|
|
169
169
|
[Route['themes/cover']]: Route['theme/cover'],
|
|
170
|
-
[Route['timezone']]: Route['
|
|
170
|
+
[Route['timezone']]: Route['timezone'],
|
|
171
171
|
[Route['timezones']]: Route['timezone'],
|
|
172
|
-
[Route['user']]: Route['
|
|
173
|
-
[Route['user/cities']]: Route['
|
|
174
|
-
[Route['user/password']]: Route['
|
|
175
|
-
[Route['user/role']]: Route['
|
|
172
|
+
[Route['user']]: Route['user'],
|
|
173
|
+
[Route['user/cities']]: Route['user/cities'],
|
|
174
|
+
[Route['user/password']]: Route['user/password'],
|
|
175
|
+
[Route['user/role']]: Route['user/role'],
|
|
176
176
|
[Route['users']]: Route['user'],
|
|
177
177
|
[Route['users/cities']]: Route['user/cities'],
|
|
178
178
|
[Route['users/role']]: Route['user/role'],
|
|
179
|
-
[Route['venue']]: Route['
|
|
180
|
-
[Route['venue/city']]: Route['
|
|
179
|
+
[Route['venue']]: Route['venue'],
|
|
180
|
+
[Route['venue/city']]: Route['venue/city'],
|
|
181
181
|
[Route['venues']]: Route['venue'],
|
|
182
182
|
[Route['venues/city']]: Route['venue/city'],
|
|
183
183
|
})
|