@shakerquiz/contracts 0.0.220 → 0.0.222
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 +2 -2
- package/source/contracts/PATCH/registration/Admin.json +7 -0
- package/source/contracts/PATCH/registration/Organizer.json +7 -0
- package/source/contracts/PATCH/registrations/Admin.json +26 -0
- package/source/contracts/PATCH/registrations/Organizer.json +26 -0
- package/source/index.js +8 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/contracts",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.222",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"@types/bun": "1.3.7"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@shakerquiz/utilities": "4.0.
|
|
22
|
+
"@shakerquiz/utilities": "4.0.96"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "array",
|
|
4
|
+
"items": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"visibility": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Visible",
|
|
15
|
+
"Hidden"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"id",
|
|
21
|
+
"visibility"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
25
|
+
"minItems": 1
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "array",
|
|
4
|
+
"items": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"visibility": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Visible",
|
|
15
|
+
"Hidden"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"id",
|
|
21
|
+
"visibility"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
25
|
+
"minItems": 1
|
|
26
|
+
}
|
package/source/index.js
CHANGED
|
@@ -140,6 +140,8 @@ import PATCH_game_venue_Admin from './contracts/PATCH/game/venue/Admin.json' wit
|
|
|
140
140
|
import PATCH_game_registration_Organizer from './contracts/PATCH/game/registration/Organizer.json' with { type: 'json' }
|
|
141
141
|
import PATCH_game_registration_Admin from './contracts/PATCH/game/registration/Admin.json' with { type: 'json' }
|
|
142
142
|
import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
|
|
143
|
+
import PATCH_registrations_Organizer from './contracts/PATCH/registrations/Organizer.json' with { type: 'json' }
|
|
144
|
+
import PATCH_registrations_Admin from './contracts/PATCH/registrations/Admin.json' with { type: 'json' }
|
|
143
145
|
import PATCH_registrations_status_Service from './contracts/PATCH/registrations/status/Service.json' with { type: 'json' }
|
|
144
146
|
import PATCH_registrations_status_Organizer from './contracts/PATCH/registrations/status/Organizer.json' with { type: 'json' }
|
|
145
147
|
import PATCH_registrations_status_Admin from './contracts/PATCH/registrations/status/Admin.json' with { type: 'json' }
|
|
@@ -319,6 +321,8 @@ export const Contracts = Object.freeze(
|
|
|
319
321
|
'PATCH/game/registration/Organizer',
|
|
320
322
|
'PATCH/game/registration/Admin',
|
|
321
323
|
'PATCH/registrations/Service',
|
|
324
|
+
'PATCH/registrations/Organizer',
|
|
325
|
+
'PATCH/registrations/Admin',
|
|
322
326
|
'PATCH/registrations/status/Service',
|
|
323
327
|
'PATCH/registrations/status/Organizer',
|
|
324
328
|
'PATCH/registrations/status/Admin',
|
|
@@ -500,6 +504,8 @@ export const Schemas = Object.freeze(
|
|
|
500
504
|
PATCH_game_registration_Organizer,
|
|
501
505
|
PATCH_game_registration_Admin,
|
|
502
506
|
PATCH_registrations_Service,
|
|
507
|
+
PATCH_registrations_Organizer,
|
|
508
|
+
PATCH_registrations_Admin,
|
|
503
509
|
PATCH_registrations_status_Service,
|
|
504
510
|
PATCH_registrations_status_Organizer,
|
|
505
511
|
PATCH_registrations_status_Admin,
|
|
@@ -681,6 +687,8 @@ export const ContractSchema = Object.freeze(
|
|
|
681
687
|
'PATCH/game/registration/Organizer': PATCH_game_registration_Organizer,
|
|
682
688
|
'PATCH/game/registration/Admin': PATCH_game_registration_Admin,
|
|
683
689
|
'PATCH/registrations/Service': PATCH_registrations_Service,
|
|
690
|
+
'PATCH/registrations/Organizer': PATCH_registrations_Organizer,
|
|
691
|
+
'PATCH/registrations/Admin': PATCH_registrations_Admin,
|
|
684
692
|
'PATCH/registrations/status/Service': PATCH_registrations_status_Service,
|
|
685
693
|
'PATCH/registrations/status/Organizer': PATCH_registrations_status_Organizer,
|
|
686
694
|
'PATCH/registrations/status/Admin': PATCH_registrations_status_Admin,
|