@shakerquiz/contracts 0.0.197 → 0.0.198
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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"team_name": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"human_name": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"people_count": {
|
|
12
|
+
"type": "integer"
|
|
13
|
+
},
|
|
14
|
+
"note": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [],
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"team_name": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"human_name": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"people_count": {
|
|
12
|
+
"type": "integer"
|
|
13
|
+
},
|
|
14
|
+
"note": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [],
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
package/source/index.js
CHANGED
|
@@ -129,6 +129,8 @@ import PATCH_user_password_Admin from './contracts/PATCH/user/password/Admin.jso
|
|
|
129
129
|
import PATCH_game_Service from './contracts/PATCH/game/Service.json' with { type: 'json' }
|
|
130
130
|
import PATCH_game_Organizer from './contracts/PATCH/game/Organizer.json' with { type: 'json' }
|
|
131
131
|
import PATCH_game_Admin from './contracts/PATCH/game/Admin.json' with { type: 'json' }
|
|
132
|
+
import PATCH_game_registration_Organizer from './contracts/PATCH/game/registration/Organizer.json' with { type: 'json' }
|
|
133
|
+
import PATCH_game_registration_Admin from './contracts/PATCH/game/registration/Admin.json' with { type: 'json' }
|
|
132
134
|
import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
|
|
133
135
|
import PATCH_registrations_status_Service from './contracts/PATCH/registrations/status/Service.json' with { type: 'json' }
|
|
134
136
|
import PATCH_registrations_status_Organizer from './contracts/PATCH/registrations/status/Organizer.json' with { type: 'json' }
|
|
@@ -298,6 +300,8 @@ export const Contracts = Object.freeze(
|
|
|
298
300
|
'PATCH/game/Service',
|
|
299
301
|
'PATCH/game/Organizer',
|
|
300
302
|
'PATCH/game/Admin',
|
|
303
|
+
'PATCH/game/registration/Organizer',
|
|
304
|
+
'PATCH/game/registration/Admin',
|
|
301
305
|
'PATCH/registrations/Service',
|
|
302
306
|
'PATCH/registrations/status/Service',
|
|
303
307
|
'PATCH/registrations/status/Organizer',
|
|
@@ -469,6 +473,8 @@ export const Schemas = Object.freeze(
|
|
|
469
473
|
PATCH_game_Service,
|
|
470
474
|
PATCH_game_Organizer,
|
|
471
475
|
PATCH_game_Admin,
|
|
476
|
+
PATCH_game_registration_Organizer,
|
|
477
|
+
PATCH_game_registration_Admin,
|
|
472
478
|
PATCH_registrations_Service,
|
|
473
479
|
PATCH_registrations_status_Service,
|
|
474
480
|
PATCH_registrations_status_Organizer,
|
|
@@ -640,6 +646,8 @@ export const ContractSchema = Object.freeze(
|
|
|
640
646
|
'PATCH/game/Service': PATCH_game_Service,
|
|
641
647
|
'PATCH/game/Organizer': PATCH_game_Organizer,
|
|
642
648
|
'PATCH/game/Admin': PATCH_game_Admin,
|
|
649
|
+
'PATCH/game/registration/Organizer': PATCH_game_registration_Organizer,
|
|
650
|
+
'PATCH/game/registration/Admin': PATCH_game_registration_Admin,
|
|
643
651
|
'PATCH/registrations/Service': PATCH_registrations_Service,
|
|
644
652
|
'PATCH/registrations/status/Service': PATCH_registrations_status_Service,
|
|
645
653
|
'PATCH/registrations/status/Organizer': PATCH_registrations_status_Organizer,
|