@shakerquiz/contracts 0.0.173 → 0.0.174
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 +1 -1
- package/source/contracts/PATCH/registrations/lineup/admin.json +26 -0
- package/source/contracts/PATCH/registrations/lineup/organizer.json +26 -0
- package/source/contracts/PATCH/registrations/status/Service.json +27 -0
- package/source/contracts/PATCH/registrations/status/admin.json +27 -0
- package/source/contracts/PATCH/registrations/status/organizer.json +27 -0
- package/source/index.js +20 -0
package/package.json
CHANGED
|
@@ -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
|
+
"lineup": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Main",
|
|
15
|
+
"Reserve"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"id",
|
|
21
|
+
"lineup"
|
|
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
|
+
"lineup": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Main",
|
|
15
|
+
"Reserve"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"id",
|
|
21
|
+
"lineup"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
25
|
+
"minItems": 1
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
"status": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Created",
|
|
15
|
+
"Confirmed",
|
|
16
|
+
"Cancelled"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"id",
|
|
22
|
+
"status"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"minItems": 1
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
"status": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Created",
|
|
15
|
+
"Confirmed",
|
|
16
|
+
"Cancelled"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"id",
|
|
22
|
+
"status"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"minItems": 1
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
"status": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"Created",
|
|
15
|
+
"Confirmed",
|
|
16
|
+
"Cancelled"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"id",
|
|
22
|
+
"status"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"minItems": 1
|
|
27
|
+
}
|
package/source/index.js
CHANGED
|
@@ -21,6 +21,11 @@ import PATCH_themes_admin from './contracts/PATCH/themes/admin.json' with { type
|
|
|
21
21
|
import PATCH_venue_organizer from './contracts/PATCH/venue/organizer.json' with { type: 'json' }
|
|
22
22
|
import PATCH_venue_admin from './contracts/PATCH/venue/admin.json' with { type: 'json' }
|
|
23
23
|
import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
|
|
24
|
+
import PATCH_registrations_lineup_organizer from './contracts/PATCH/registrations/lineup/organizer.json' with { type: 'json' }
|
|
25
|
+
import PATCH_registrations_lineup_admin from './contracts/PATCH/registrations/lineup/admin.json' with { type: 'json' }
|
|
26
|
+
import PATCH_registrations_status_organizer from './contracts/PATCH/registrations/status/organizer.json' with { type: 'json' }
|
|
27
|
+
import PATCH_registrations_status_Service from './contracts/PATCH/registrations/status/Service.json' with { type: 'json' }
|
|
28
|
+
import PATCH_registrations_status_admin from './contracts/PATCH/registrations/status/admin.json' with { type: 'json' }
|
|
24
29
|
import PATCH_user_password_admin from './contracts/PATCH/user/password/admin.json' with { type: 'json' }
|
|
25
30
|
import PATCH_user_admin from './contracts/PATCH/user/admin.json' with { type: 'json' }
|
|
26
31
|
import PATCH_user_role_admin from './contracts/PATCH/user/role/admin.json' with { type: 'json' }
|
|
@@ -174,6 +179,11 @@ export const Contracts = Object.freeze(
|
|
|
174
179
|
'PATCH/venue/organizer',
|
|
175
180
|
'PATCH/venue/admin',
|
|
176
181
|
'PATCH/registrations/Service',
|
|
182
|
+
'PATCH/registrations/lineup/organizer',
|
|
183
|
+
'PATCH/registrations/lineup/admin',
|
|
184
|
+
'PATCH/registrations/status/organizer',
|
|
185
|
+
'PATCH/registrations/status/Service',
|
|
186
|
+
'PATCH/registrations/status/admin',
|
|
177
187
|
'PATCH/user/password/admin',
|
|
178
188
|
'PATCH/user/admin',
|
|
179
189
|
'PATCH/user/role/admin',
|
|
@@ -329,6 +339,11 @@ export const Schemas = Object.freeze(
|
|
|
329
339
|
PATCH_venue_organizer,
|
|
330
340
|
PATCH_venue_admin,
|
|
331
341
|
PATCH_registrations_Service,
|
|
342
|
+
PATCH_registrations_lineup_organizer,
|
|
343
|
+
PATCH_registrations_lineup_admin,
|
|
344
|
+
PATCH_registrations_status_organizer,
|
|
345
|
+
PATCH_registrations_status_Service,
|
|
346
|
+
PATCH_registrations_status_admin,
|
|
332
347
|
PATCH_user_password_admin,
|
|
333
348
|
PATCH_user_admin,
|
|
334
349
|
PATCH_user_role_admin,
|
|
@@ -484,6 +499,11 @@ export const ContractSchema = Object.freeze(
|
|
|
484
499
|
'PATCH/venue/organizer': PATCH_venue_organizer,
|
|
485
500
|
'PATCH/venue/admin': PATCH_venue_admin,
|
|
486
501
|
'PATCH/registrations/Service': PATCH_registrations_Service,
|
|
502
|
+
'PATCH/registrations/lineup/organizer': PATCH_registrations_lineup_organizer,
|
|
503
|
+
'PATCH/registrations/lineup/admin': PATCH_registrations_lineup_admin,
|
|
504
|
+
'PATCH/registrations/status/organizer': PATCH_registrations_status_organizer,
|
|
505
|
+
'PATCH/registrations/status/Service': PATCH_registrations_status_Service,
|
|
506
|
+
'PATCH/registrations/status/admin': PATCH_registrations_status_admin,
|
|
487
507
|
'PATCH/user/password/admin': PATCH_user_password_admin,
|
|
488
508
|
'PATCH/user/admin': PATCH_user_admin,
|
|
489
509
|
'PATCH/user/role/admin': PATCH_user_role_admin,
|