@shakerquiz/utilities 0.3.44 → 0.4.0

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 (89) hide show
  1. package/dprint.json +2 -1
  2. package/package.json +3 -8
  3. package/source/enumerations/core/domains.d.ts +13 -0
  4. package/source/enumerations/core/domains.js +149 -0
  5. package/source/enumerations/core/features.d.ts +13 -0
  6. package/source/enumerations/core/features.js +29 -0
  7. package/source/enumerations/core/kinds.d.ts +1 -0
  8. package/source/enumerations/core/kinds.js +4 -0
  9. package/source/enumerations/core/methods.d.ts +8 -0
  10. package/source/enumerations/core/methods.js +25 -0
  11. package/source/enumerations/{procedures.d.ts → core/procedures.d.ts} +3 -6
  12. package/source/enumerations/core/procedures.js +45 -0
  13. package/source/enumerations/core/scopes.d.ts +4 -0
  14. package/source/enumerations/core/scopes.js +12 -0
  15. package/source/enumerations/entities/affilations.d.ts +1 -0
  16. package/source/enumerations/entities/affilations.js +4 -0
  17. package/source/enumerations/entities/game-statuses.d.ts +1 -0
  18. package/source/enumerations/entities/game-statuses.js +11 -0
  19. package/source/enumerations/entities/lineups.d.ts +1 -0
  20. package/source/enumerations/entities/lineups.js +4 -0
  21. package/source/enumerations/entities/registration-statuses.d.ts +1 -0
  22. package/source/enumerations/entities/registration-statuses.js +5 -0
  23. package/source/enumerations/entities/roles.d.ts +1 -0
  24. package/source/enumerations/entities/roles.js +4 -0
  25. package/source/enumerations/misc/icons.d.ts +1 -0
  26. package/source/enumerations/misc/icons.js +326 -0
  27. package/source/enumerations/misc/phases.d.ts +1 -0
  28. package/source/enumerations/misc/phases.js +7 -0
  29. package/source/enumerations/misc/requirements.d.ts +1 -0
  30. package/source/enumerations/misc/requirements.js +4 -0
  31. package/source/enumerations/schemas.d.ts +1 -1
  32. package/source/enumerations/schemas.js +8 -10
  33. package/source/functions/pathname.d.ts +1 -1
  34. package/source/functions/pathname.js +16 -21
  35. package/source/functions/request.d.ts +3 -0
  36. package/source/functions/request.js +81 -0
  37. package/source/functions/schema.js +30 -41
  38. package/source/globals.d.ts +38 -37
  39. package/source/index.d.ts +20 -25
  40. package/source/index.js +20 -25
  41. package/source/enumerations/affilations.d.ts +0 -4
  42. package/source/enumerations/affilations.js +0 -4
  43. package/source/enumerations/backends.d.ts +0 -19
  44. package/source/enumerations/backends.js +0 -45
  45. package/source/enumerations/default.d.ts +0 -1
  46. package/source/enumerations/default.js +0 -1
  47. package/source/enumerations/domains.d.ts +0 -25
  48. package/source/enumerations/domains.js +0 -154
  49. package/source/enumerations/features.d.ts +0 -48
  50. package/source/enumerations/features.js +0 -109
  51. package/source/enumerations/frontends.d.ts +0 -13
  52. package/source/enumerations/frontends.js +0 -41
  53. package/source/enumerations/game-statuses.d.ts +0 -11
  54. package/source/enumerations/game-statuses.js +0 -11
  55. package/source/enumerations/icons.d.ts +0 -326
  56. package/source/enumerations/icons.js +0 -326
  57. package/source/enumerations/kinds.d.ts +0 -4
  58. package/source/enumerations/kinds.js +0 -4
  59. package/source/enumerations/lineups.d.ts +0 -4
  60. package/source/enumerations/lineups.js +0 -4
  61. package/source/enumerations/methods.d.ts +0 -18
  62. package/source/enumerations/methods.js +0 -27
  63. package/source/enumerations/networks.d.ts +0 -4
  64. package/source/enumerations/networks.js +0 -4
  65. package/source/enumerations/pages.d.ts +0 -18
  66. package/source/enumerations/pages.js +0 -86
  67. package/source/enumerations/phases.d.ts +0 -7
  68. package/source/enumerations/phases.js +0 -7
  69. package/source/enumerations/procedures.js +0 -50
  70. package/source/enumerations/registration-statuses.d.ts +0 -5
  71. package/source/enumerations/registration-statuses.js +0 -5
  72. package/source/enumerations/requirements.d.ts +0 -4
  73. package/source/enumerations/requirements.js +0 -4
  74. package/source/enumerations/roles.d.ts +0 -4
  75. package/source/enumerations/roles.js +0 -4
  76. package/source/enumerations/services.d.ts +0 -22
  77. package/source/enumerations/services.js +0 -23
  78. package/source/functions/fetch.d.ts +0 -15
  79. package/source/functions/fetch.js +0 -138
  80. package/source/functions/origin.d.ts +0 -3
  81. package/source/functions/origin.js +0 -140
  82. package/source/functions/url.d.ts +0 -6
  83. package/source/functions/url.js +0 -45
  84. /package/source/enumerations/{constants.d.ts → misc/constants.d.ts} +0 -0
  85. /package/source/enumerations/{constants.js → misc/constants.js} +0 -0
  86. /package/source/enumerations/{cookies.d.ts → misc/cookies.d.ts} +0 -0
  87. /package/source/enumerations/{cookies.js → misc/cookies.js} +0 -0
  88. /package/source/enumerations/{regexps.d.ts → misc/regexps.d.ts} +0 -0
  89. /package/source/enumerations/{regexps.js → misc/regexps.js} +0 -0
@@ -1,326 +0,0 @@
1
- export var Icons = /** @type {const} */ ({
2
- 'academic-cap': 'academic-cap',
3
- 'adjustments-horizontal': 'adjustments-horizontal',
4
- 'adjustments-vertical': 'adjustments-vertical',
5
- 'archive-box-arrow-down': 'archive-box-arrow-down',
6
- 'archive-box-x-mark': 'archive-box-x-mark',
7
- 'archive-box': 'archive-box',
8
- 'arrow-down-circle': 'arrow-down-circle',
9
- 'arrow-down-left': 'arrow-down-left',
10
- 'arrow-down-on-square-stack': 'arrow-down-on-square-stack',
11
- 'arrow-down-on-square': 'arrow-down-on-square',
12
- 'arrow-down-right': 'arrow-down-right',
13
- 'arrow-down-tray': 'arrow-down-tray',
14
- 'arrow-down': 'arrow-down',
15
- 'arrow-left-circle': 'arrow-left-circle',
16
- 'arrow-left-end-on-rectangle': 'arrow-left-end-on-rectangle',
17
- 'arrow-left-on-rectangle': 'arrow-left-on-rectangle',
18
- 'arrow-left-start-on-rectangle': 'arrow-left-start-on-rectangle',
19
- 'arrow-left': 'arrow-left',
20
- 'arrow-long-down': 'arrow-long-down',
21
- 'arrow-long-left': 'arrow-long-left',
22
- 'arrow-long-right': 'arrow-long-right',
23
- 'arrow-long-up': 'arrow-long-up',
24
- 'arrow-path-rounded-square': 'arrow-path-rounded-square',
25
- 'arrow-path': 'arrow-path',
26
- 'arrow-right-circle': 'arrow-right-circle',
27
- 'arrow-right-end-on-rectangle': 'arrow-right-end-on-rectangle',
28
- 'arrow-right-on-rectangle': 'arrow-right-on-rectangle',
29
- 'arrow-right-start-on-rectangle': 'arrow-right-start-on-rectangle',
30
- 'arrow-right': 'arrow-right',
31
- 'arrow-small-down': 'arrow-small-down',
32
- 'arrow-small-left': 'arrow-small-left',
33
- 'arrow-small-right': 'arrow-small-right',
34
- 'arrow-small-up': 'arrow-small-up',
35
- 'arrow-top-right-on-square': 'arrow-top-right-on-square',
36
- 'arrow-trending-down': 'arrow-trending-down',
37
- 'arrow-trending-up': 'arrow-trending-up',
38
- 'arrow-turn-down-left': 'arrow-turn-down-left',
39
- 'arrow-turn-down-right': 'arrow-turn-down-right',
40
- 'arrow-turn-left-down': 'arrow-turn-left-down',
41
- 'arrow-turn-left-up': 'arrow-turn-left-up',
42
- 'arrow-turn-right-down': 'arrow-turn-right-down',
43
- 'arrow-turn-right-up': 'arrow-turn-right-up',
44
- 'arrow-turn-up-left': 'arrow-turn-up-left',
45
- 'arrow-turn-up-right': 'arrow-turn-up-right',
46
- 'arrow-up-circle': 'arrow-up-circle',
47
- 'arrow-up-left': 'arrow-up-left',
48
- 'arrow-up-on-square-stack': 'arrow-up-on-square-stack',
49
- 'arrow-up-on-square': 'arrow-up-on-square',
50
- 'arrow-up-right': 'arrow-up-right',
51
- 'arrow-up-tray': 'arrow-up-tray',
52
- 'arrow-up': 'arrow-up',
53
- 'arrow-uturn-down': 'arrow-uturn-down',
54
- 'arrow-uturn-left': 'arrow-uturn-left',
55
- 'arrow-uturn-right': 'arrow-uturn-right',
56
- 'arrow-uturn-up': 'arrow-uturn-up',
57
- 'arrows-pointing-in': 'arrows-pointing-in',
58
- 'arrows-pointing-out': 'arrows-pointing-out',
59
- 'arrows-right-left': 'arrows-right-left',
60
- 'arrows-up-down': 'arrows-up-down',
61
- 'at-symbol': 'at-symbol',
62
- 'backspace': 'backspace',
63
- 'backward': 'backward',
64
- 'banknotes': 'banknotes',
65
- 'bars-2': 'bars-2',
66
- 'bars-3-bottom-left': 'bars-3-bottom-left',
67
- 'bars-3-bottom-right': 'bars-3-bottom-right',
68
- 'bars-3-center-left': 'bars-3-center-left',
69
- 'bars-3': 'bars-3',
70
- 'bars-4': 'bars-4',
71
- 'bars-arrow-down': 'bars-arrow-down',
72
- 'bars-arrow-up': 'bars-arrow-up',
73
- 'battery-0': 'battery-0',
74
- 'battery-100': 'battery-100',
75
- 'battery-50': 'battery-50',
76
- 'beaker': 'beaker',
77
- 'bell-alert': 'bell-alert',
78
- 'bell-slash': 'bell-slash',
79
- 'bell-snooze': 'bell-snooze',
80
- 'bell': 'bell',
81
- 'bold': 'bold',
82
- 'bolt-slash': 'bolt-slash',
83
- 'bolt': 'bolt',
84
- 'book-open': 'book-open',
85
- 'bookmark-slash': 'bookmark-slash',
86
- 'bookmark-square': 'bookmark-square',
87
- 'bookmark': 'bookmark',
88
- 'briefcase': 'briefcase',
89
- 'bug-ant': 'bug-ant',
90
- 'building-library': 'building-library',
91
- 'building-office-2': 'building-office-2',
92
- 'building-office': 'building-office',
93
- 'building-storefront': 'building-storefront',
94
- 'cake': 'cake',
95
- 'calculator': 'calculator',
96
- 'calendar-date-range': 'calendar-date-range',
97
- 'calendar-days': 'calendar-days',
98
- 'calendar': 'calendar',
99
- 'camera': 'camera',
100
- 'chart-bar-square': 'chart-bar-square',
101
- 'chart-bar': 'chart-bar',
102
- 'chart-pie': 'chart-pie',
103
- 'chat-bubble-bottom-center-text': 'chat-bubble-bottom-center-text',
104
- 'chat-bubble-bottom-center': 'chat-bubble-bottom-center',
105
- 'chat-bubble-left-ellipsis': 'chat-bubble-left-ellipsis',
106
- 'chat-bubble-left-right': 'chat-bubble-left-right',
107
- 'chat-bubble-left': 'chat-bubble-left',
108
- 'chat-bubble-oval-left-ellipsis': 'chat-bubble-oval-left-ellipsis',
109
- 'chat-bubble-oval-left': 'chat-bubble-oval-left',
110
- 'check-badge': 'check-badge',
111
- 'check-circle': 'check-circle',
112
- 'check': 'check',
113
- 'chevron-double-down': 'chevron-double-down',
114
- 'chevron-double-left': 'chevron-double-left',
115
- 'chevron-double-right': 'chevron-double-right',
116
- 'chevron-double-up': 'chevron-double-up',
117
- 'chevron-down': 'chevron-down',
118
- 'chevron-left': 'chevron-left',
119
- 'chevron-right': 'chevron-right',
120
- 'chevron-up-down': 'chevron-up-down',
121
- 'chevron-up': 'chevron-up',
122
- 'circle-stack': 'circle-stack',
123
- 'clipboard-document-check': 'clipboard-document-check',
124
- 'clipboard-document-list': 'clipboard-document-list',
125
- 'clipboard-document': 'clipboard-document',
126
- 'clipboard': 'clipboard',
127
- 'clock': 'clock',
128
- 'cloud-arrow-down': 'cloud-arrow-down',
129
- 'cloud-arrow-up': 'cloud-arrow-up',
130
- 'cloud': 'cloud',
131
- 'code-bracket-square': 'code-bracket-square',
132
- 'code-bracket': 'code-bracket',
133
- 'cog-6-tooth': 'cog-6-tooth',
134
- 'cog-8-tooth': 'cog-8-tooth',
135
- 'cog': 'cog',
136
- 'command-line': 'command-line',
137
- 'computer-desktop': 'computer-desktop',
138
- 'cpu-chip': 'cpu-chip',
139
- 'credit-card': 'credit-card',
140
- 'cube-transparent': 'cube-transparent',
141
- 'cube': 'cube',
142
- 'currency-bangladeshi': 'currency-bangladeshi',
143
- 'currency-dollar': 'currency-dollar',
144
- 'currency-euro': 'currency-euro',
145
- 'currency-pound': 'currency-pound',
146
- 'currency-rupee': 'currency-rupee',
147
- 'currency-yen': 'currency-yen',
148
- 'cursor-arrow-rays': 'cursor-arrow-rays',
149
- 'cursor-arrow-ripple': 'cursor-arrow-ripple',
150
- 'device-phone-mobile': 'device-phone-mobile',
151
- 'device-tablet': 'device-tablet',
152
- 'divide': 'divide',
153
- 'document-arrow-down': 'document-arrow-down',
154
- 'document-arrow-up': 'document-arrow-up',
155
- 'document-chart-bar': 'document-chart-bar',
156
- 'document-check': 'document-check',
157
- 'document-currency-bangladeshi': 'document-currency-bangladeshi',
158
- 'document-currency-dollar': 'document-currency-dollar',
159
- 'document-currency-euro': 'document-currency-euro',
160
- 'document-currency-pound': 'document-currency-pound',
161
- 'document-currency-rupee': 'document-currency-rupee',
162
- 'document-currency-yen': 'document-currency-yen',
163
- 'document-duplicate': 'document-duplicate',
164
- 'document-magnifying-glass': 'document-magnifying-glass',
165
- 'document-minus': 'document-minus',
166
- 'document-plus': 'document-plus',
167
- 'document-text': 'document-text',
168
- 'document': 'document',
169
- 'ellipsis-horizontal-circle': 'ellipsis-horizontal-circle',
170
- 'ellipsis-horizontal': 'ellipsis-horizontal',
171
- 'ellipsis-vertical': 'ellipsis-vertical',
172
- 'envelope-open': 'envelope-open',
173
- 'envelope': 'envelope',
174
- 'equals': 'equals',
175
- 'exclamation-circle': 'exclamation-circle',
176
- 'exclamation-triangle': 'exclamation-triangle',
177
- 'eye-dropper': 'eye-dropper',
178
- 'eye-slash': 'eye-slash',
179
- 'eye': 'eye',
180
- 'face-frown': 'face-frown',
181
- 'face-smile': 'face-smile',
182
- 'film': 'film',
183
- 'finger-print': 'finger-print',
184
- 'fire': 'fire',
185
- 'flag': 'flag',
186
- 'folder-arrow-down': 'folder-arrow-down',
187
- 'folder-minus': 'folder-minus',
188
- 'folder-open': 'folder-open',
189
- 'folder-plus': 'folder-plus',
190
- 'folder': 'folder',
191
- 'forward': 'forward',
192
- 'funnel': 'funnel',
193
- 'gif': 'gif',
194
- 'gift-top': 'gift-top',
195
- 'gift': 'gift',
196
- 'globe-alt': 'globe-alt',
197
- 'globe-americas': 'globe-americas',
198
- 'globe-asia-australia': 'globe-asia-australia',
199
- 'globe-europe-africa': 'globe-europe-africa',
200
- 'h1': 'h1',
201
- 'h2': 'h2',
202
- 'h3': 'h3',
203
- 'hand-raised': 'hand-raised',
204
- 'hand-thumb-down': 'hand-thumb-down',
205
- 'hand-thumb-up': 'hand-thumb-up',
206
- 'hashtag': 'hashtag',
207
- 'heart': 'heart',
208
- 'home-modern': 'home-modern',
209
- 'home': 'home',
210
- 'identification': 'identification',
211
- 'inbox-arrow-down': 'inbox-arrow-down',
212
- 'inbox-stack': 'inbox-stack',
213
- 'inbox': 'inbox',
214
- 'information-circle': 'information-circle',
215
- 'italic': 'italic',
216
- 'key': 'key',
217
- 'language': 'language',
218
- 'lifebuoy': 'lifebuoy',
219
- 'light-bulb': 'light-bulb',
220
- 'link-slash': 'link-slash',
221
- 'link': 'link',
222
- 'list-bullet': 'list-bullet',
223
- 'lock-closed': 'lock-closed',
224
- 'lock-open': 'lock-open',
225
- 'magnifying-glass-circle': 'magnifying-glass-circle',
226
- 'magnifying-glass-minus': 'magnifying-glass-minus',
227
- 'magnifying-glass-plus': 'magnifying-glass-plus',
228
- 'magnifying-glass': 'magnifying-glass',
229
- 'map-pin': 'map-pin',
230
- 'map': 'map',
231
- 'megaphone': 'megaphone',
232
- 'microphone': 'microphone',
233
- 'minus-circle': 'minus-circle',
234
- 'minus-small': 'minus-small',
235
- 'minus': 'minus',
236
- 'moon': 'moon',
237
- 'musical-note': 'musical-note',
238
- 'newspaper': 'newspaper',
239
- 'no-symbol': 'no-symbol',
240
- 'numbered-list': 'numbered-list',
241
- 'paint-brush': 'paint-brush',
242
- 'paper-airplane': 'paper-airplane',
243
- 'paper-clip': 'paper-clip',
244
- 'pause-circle': 'pause-circle',
245
- 'pause': 'pause',
246
- 'pencil-square': 'pencil-square',
247
- 'pencil': 'pencil',
248
- 'percent-badge': 'percent-badge',
249
- 'phone-arrow-down-left': 'phone-arrow-down-left',
250
- 'phone-arrow-up-right': 'phone-arrow-up-right',
251
- 'phone-x-mark': 'phone-x-mark',
252
- 'phone': 'phone',
253
- 'photo': 'photo',
254
- 'play-circle': 'play-circle',
255
- 'play-pause': 'play-pause',
256
- 'play': 'play',
257
- 'plus-circle': 'plus-circle',
258
- 'plus-small': 'plus-small',
259
- 'plus': 'plus',
260
- 'power': 'power',
261
- 'presentation-chart-bar': 'presentation-chart-bar',
262
- 'presentation-chart-line': 'presentation-chart-line',
263
- 'printer': 'printer',
264
- 'puzzle-piece': 'puzzle-piece',
265
- 'qr-code': 'qr-code',
266
- 'question-mark-circle': 'question-mark-circle',
267
- 'queue-list': 'queue-list',
268
- 'radio': 'radio',
269
- 'receipt-percent': 'receipt-percent',
270
- 'receipt-refund': 'receipt-refund',
271
- 'rectangle-group': 'rectangle-group',
272
- 'rectangle-stack': 'rectangle-stack',
273
- 'rocket-launch': 'rocket-launch',
274
- 'rss': 'rss',
275
- 'scale': 'scale',
276
- 'scissors': 'scissors',
277
- 'server-stack': 'server-stack',
278
- 'server': 'server',
279
- 'share': 'share',
280
- 'shield-check': 'shield-check',
281
- 'shield-exclamation': 'shield-exclamation',
282
- 'shopping-bag': 'shopping-bag',
283
- 'shopping-cart': 'shopping-cart',
284
- 'signal-slash': 'signal-slash',
285
- 'signal': 'signal',
286
- 'slash': 'slash',
287
- 'sparkles': 'sparkles',
288
- 'speaker-wave': 'speaker-wave',
289
- 'speaker-x-mark': 'speaker-x-mark',
290
- 'square-2-stack': 'square-2-stack',
291
- 'square-3-stack-3d': 'square-3-stack-3d',
292
- 'squares-2x2': 'squares-2x2',
293
- 'squares-plus': 'squares-plus',
294
- 'star': 'star',
295
- 'stop-circle': 'stop-circle',
296
- 'stop': 'stop',
297
- 'strikethrough': 'strikethrough',
298
- 'sun': 'sun',
299
- 'swatch': 'swatch',
300
- 'table-cells': 'table-cells',
301
- 'tag': 'tag',
302
- 'ticket': 'ticket',
303
- 'trash': 'trash',
304
- 'trophy': 'trophy',
305
- 'truck': 'truck',
306
- 'tv': 'tv',
307
- 'underline': 'underline',
308
- 'user-circle': 'user-circle',
309
- 'user-group': 'user-group',
310
- 'user-minus': 'user-minus',
311
- 'user-plus': 'user-plus',
312
- 'user': 'user',
313
- 'users': 'users',
314
- 'variable': 'variable',
315
- 'video-camera-slash': 'video-camera-slash',
316
- 'video-camera': 'video-camera',
317
- 'view-columns': 'view-columns',
318
- 'viewfinder-circle': 'viewfinder-circle',
319
- 'wallet': 'wallet',
320
- 'wifi': 'wifi',
321
- 'window': 'window',
322
- 'wrench-screwdriver': 'wrench-screwdriver',
323
- 'wrench': 'wrench',
324
- 'x-circle': 'x-circle',
325
- 'x-mark': 'x-mark',
326
- })
@@ -1,4 +0,0 @@
1
- export namespace Kinds {
2
- let Unit: "Unit";
3
- let Set: "Set";
4
- }
@@ -1,4 +0,0 @@
1
- export var Kinds = /** @type {const} */ ({
2
- Unit: 'Unit',
3
- Set: 'Set',
4
- })
@@ -1,4 +0,0 @@
1
- export namespace Lineups {
2
- let Main: "Main";
3
- let Reserve: "Reserve";
4
- }
@@ -1,4 +0,0 @@
1
- export var Lineups = /** @type {const} */ ({
2
- Main: 'Main',
3
- Reserve: 'Reserve',
4
- })
@@ -1,18 +0,0 @@
1
- export namespace Methods {
2
- let CONNECT: "CONNECT";
3
- let COPY: "COPY";
4
- let DELETE: "DELETE";
5
- let GET: "GET";
6
- let HEAD: "HEAD";
7
- let LOCK: "LOCK";
8
- let MKCOL: "MKCOL";
9
- let MOVE: "MOVE";
10
- let OPTIONS: "OPTIONS";
11
- let PATCH: "PATCH";
12
- let POST: "POST";
13
- let PROPFIND: "PROPFIND";
14
- let PROPPATCH: "PROPPATCH";
15
- let PUT: "PUT";
16
- let TRACE: "TRACE";
17
- let UNLOCK: "UNLOCK";
18
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * @description Enumeration definition related to `Request.method`
3
- *
4
- * Related specifications:
5
- * - HTTP/1.1 (Core Methods): {@link https://datatracker.ietf.org/doc/html/rfc7231#section-4.3}
6
- * - PATCH: {@link https://datatracker.ietf.org/doc/html/rfc5789}
7
- * - CONNECT: {@link https://datatracker.ietf.org/doc/html/rfc9110}
8
- * - WebDAV Extensions {@link https://datatracker.ietf.org/doc/html/rfc4918}
9
- */
10
- export var Methods = /** @type {const} */ ({
11
- 'CONNECT': 'CONNECT',
12
- 'COPY': 'COPY',
13
- 'DELETE': 'DELETE',
14
- 'GET': 'GET',
15
- 'HEAD': 'HEAD',
16
- 'LOCK': 'LOCK',
17
- 'MKCOL': 'MKCOL',
18
- 'MOVE': 'MOVE',
19
- 'OPTIONS': 'OPTIONS',
20
- 'PATCH': 'PATCH',
21
- 'POST': 'POST',
22
- 'PROPFIND': 'PROPFIND',
23
- 'PROPPATCH': 'PROPPATCH',
24
- 'PUT': 'PUT',
25
- 'TRACE': 'TRACE',
26
- 'UNLOCK': 'UNLOCK',
27
- })
@@ -1,4 +0,0 @@
1
- export namespace Networks {
2
- let Docker: "Docker";
3
- let Public: "Public";
4
- }
@@ -1,4 +0,0 @@
1
- export var Networks = /** @type {const} */ ({
2
- Docker: 'Docker',
3
- Public: 'Public',
4
- })
@@ -1,18 +0,0 @@
1
- export const Pages: {
2
- readonly '404': "404";
3
- readonly Exception: "Exception";
4
- readonly Home: "Home";
5
- readonly Profile: "Profile";
6
- };
7
- /**
8
- * @type {Record<Page, Icon>}
9
- */
10
- export const PageIcons: Record<Page, Icon>;
11
- /**
12
- * @type {Record<Page, Record<Kind, string>>}
13
- */
14
- export const PageKindPathnames: Record<Page, Record<Kind, string>>;
15
- /**
16
- * @type {Record<Page, Record<Method, Set<Requirement>>>}
17
- */
18
- export const PageMethodRequirements: Record<Page, Record<Method, Set<Requirement>>>;
@@ -1,86 +0,0 @@
1
- import { Icons } from './icons.js'
2
- import { Kinds } from './kinds.js'
3
- import { Methods } from './methods.js'
4
-
5
- export var Pages = /** @type {const} */ ({
6
- '404': '404',
7
- Exception: 'Exception',
8
- Home: 'Home',
9
- Profile: 'Profile',
10
- })
11
-
12
- /**
13
- * @type {Record<Page, Icon>}
14
- */
15
- export var PageIcons = {
16
- [Pages['404']]: Icons['exclamation-triangle'],
17
- [Pages.Exception]: Icons['exclamation-circle'],
18
- [Pages.Home]: Icons['home'],
19
- [Pages.Profile]: Icons['user'],
20
- }
21
-
22
- /**
23
- * @type {Record<Page, Record<Kind, string>>}
24
- */
25
- export var PageKindPathnames = {
26
- [Pages['404']]: {
27
- [Kinds.Unit]: '/404',
28
- [Kinds.Set]: '/404',
29
- },
30
-
31
- [Pages.Exception]: {
32
- [Kinds.Unit]: '/exception',
33
- [Kinds.Set]: '/exception',
34
- },
35
-
36
- [Pages.Home]: {
37
- [Kinds.Unit]: '/',
38
- [Kinds.Set]: '/',
39
- },
40
-
41
- [Pages.Profile]: {
42
- [Kinds.Unit]: '/profile',
43
- [Kinds.Set]: '/profile',
44
- },
45
- }
46
-
47
- /**
48
- * @type {Record<Page, Record<Method, Set<Requirement>>>}
49
- */
50
- export var PageMethodRequirements = {
51
- [Pages['404']]: {
52
- [Methods.DELETE]: new Set([]),
53
- [Methods.GET]: new Set([]),
54
- [Methods.OPTIONS]: new Set([]),
55
- [Methods.PATCH]: new Set([]),
56
- [Methods.POST]: new Set([]),
57
- [Methods.PUT]: new Set([]),
58
- },
59
-
60
- [Pages.Exception]: {
61
- [Methods.DELETE]: new Set([]),
62
- [Methods.GET]: new Set([]),
63
- [Methods.OPTIONS]: new Set([]),
64
- [Methods.PATCH]: new Set([]),
65
- [Methods.POST]: new Set([]),
66
- [Methods.PUT]: new Set([]),
67
- },
68
-
69
- [Pages.Home]: {
70
- [Methods.DELETE]: new Set([]),
71
- [Methods.GET]: new Set([]),
72
- [Methods.OPTIONS]: new Set([]),
73
- [Methods.PATCH]: new Set([]),
74
- [Methods.POST]: new Set([]),
75
- [Methods.PUT]: new Set([]),
76
- },
77
-
78
- [Pages.Profile]: {
79
- [Methods.DELETE]: new Set([]),
80
- [Methods.GET]: new Set([]),
81
- [Methods.OPTIONS]: new Set([]),
82
- [Methods.PATCH]: new Set([]),
83
- [Methods.POST]: new Set([]),
84
- [Methods.PUT]: new Set([]),
85
- },
86
- }
@@ -1,7 +0,0 @@
1
- export namespace Phases {
2
- let Aborted: "Aborted";
3
- let Failed: "Failed";
4
- let Idle: "Idle";
5
- let Loaded: "Loaded";
6
- let Loading: "Loading";
7
- }
@@ -1,7 +0,0 @@
1
- export var Phases = /** @type {const} */ ({
2
- Aborted: 'Aborted',
3
- Failed: 'Failed',
4
- Idle: 'Idle',
5
- Loaded: 'Loaded',
6
- Loading: 'Loading',
7
- })
@@ -1,50 +0,0 @@
1
- import { Icons } from './icons.js'
2
- import { Kinds } from './kinds.js'
3
- import { Methods } from './methods.js'
4
- import { Requirements } from './requirements.js'
5
-
6
- export var Procedures = /** @type {const} */ ({
7
- Checkin: 'Checkin',
8
- Redirect: 'Redirect',
9
- })
10
-
11
- /**
12
- * @type {Record<Procedure, Icon>}
13
- */
14
- export var ProcedureIcons = {
15
- [Procedures.Checkin]: Icons['arrow-right-end-on-rectangle'],
16
- [Procedures.Redirect]: Icons['no-symbol'],
17
- }
18
-
19
- /**
20
- * @type {Record<Procedure, Record<Kind, string>>}
21
- */
22
- export var ProcedureKindPathnames = {
23
- [Procedures.Checkin]: {
24
- [Kinds.Unit]: '/checkin',
25
- [Kinds.Set]: '/checkins',
26
- },
27
-
28
- [Procedures.Redirect]: {
29
- [Kinds.Unit]: '/redirect',
30
- [Kinds.Set]: '/redirects',
31
- },
32
- }
33
-
34
- /**
35
- * @type {Record<Procedure, Record<Method, Set<Requirement>>>}
36
- */
37
- export var ProcedureMethodRequirements = {
38
- [Procedures.Checkin]: {
39
- [Methods.DELETE]: new Set([]),
40
- [Methods.GET]: new Set([]),
41
- [Methods.OPTIONS]: new Set([]),
42
- [Methods.PATCH]: new Set([]),
43
- [Methods.POST]: new Set([Requirements.Body]),
44
- [Methods.PUT]: new Set([]),
45
- },
46
-
47
- [Procedures.Redirect]: {
48
- [Methods.GET]: new Set([]),
49
- },
50
- }
@@ -1,5 +0,0 @@
1
- export namespace RegistrationStatuses {
2
- let Cancelled: "Cancelled";
3
- let Confirmed: "Confirmed";
4
- let Registered: "Registered";
5
- }
@@ -1,5 +0,0 @@
1
- export var RegistrationStatuses = /** @type {const} */ ({
2
- Cancelled: 'Cancelled',
3
- Confirmed: 'Confirmed',
4
- Registered: 'Registered',
5
- })
@@ -1,4 +0,0 @@
1
- export namespace Requirements {
2
- let Checkin: "Checkin";
3
- let Body: "Body";
4
- }
@@ -1,4 +0,0 @@
1
- export var Requirements = /** @type {const} */ ({
2
- Checkin: 'Checkin',
3
- Body: 'Body',
4
- })
@@ -1,4 +0,0 @@
1
- export namespace Roles {
2
- let admin: "admin";
3
- let organizer: "organizer";
4
- }
@@ -1,4 +0,0 @@
1
- export var Roles = /** @type {const} */ ({
2
- admin: 'admin',
3
- organizer: 'organizer',
4
- })
@@ -1,22 +0,0 @@
1
- export const Services: {
2
- Admin: "Admin";
3
- Landing: "Landing";
4
- MiniApp: "MiniApp";
5
- Backend: "Backend";
6
- Games: "Games";
7
- Locations: "Locations";
8
- Users: "Users";
9
- Integrations: "Integrations";
10
- };
11
- export const ServiceFeatures: {
12
- Admin: ("Checkin" | "User" | "City" | "Venue" | "Theme" | "Game" | "Registration" | "404" | "Exception" | "Home" | "Profile")[];
13
- Landing: ("Game" | "Registration" | "404" | "Exception" | "Home")[];
14
- MiniApp: ("Game" | "Registration" | "404" | "Exception" | "Home")[];
15
- Backend: ("Checkin" | "User" | "Role" | "City" | "Venue" | "Theme" | "Game" | "Registration")[];
16
- Games: ("Theme" | "Game" | "Registration")[];
17
- Locations: ("City" | "Venue")[];
18
- Users: ("Checkin" | "User" | "Role")[];
19
- Integrations: ("Mailing" | "Redirect")[];
20
- };
21
- /** @type {Record<Service, Record<Network, string>>} */
22
- export const ServiceNetworkOrigins: Record<Service, Record<Network, string>>;
@@ -1,23 +0,0 @@
1
- import { BackendFeatures, Backends } from './backends.js'
2
- import { FrontendFeatures, Frontends } from './frontends.js'
3
- import { Networks } from './networks.js'
4
-
5
- export var Services = {
6
- ...Backends,
7
- ...Frontends,
8
- }
9
-
10
- export var ServiceFeatures = {
11
- ...BackendFeatures,
12
- ...FrontendFeatures,
13
- }
14
-
15
- /** @type {Record<Service, Record<Network, string>>} */
16
- export var ServiceNetworkOrigins = {}
17
-
18
- for (var service in Services) {
19
- ServiceNetworkOrigins[service] = {}
20
- for (var network in Networks) {
21
- ServiceNetworkOrigins[service][network] = ''
22
- }
23
- }