@shakerquiz/contracts 0.0.193 → 0.0.195
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/registration/mailing/status/Service.json +19 -0
- package/source/contracts/POST/games/summary/search/Admin.json +7 -0
- package/source/contracts/POST/games/summary/search/Organizer.json +7 -0
- package/source/contracts/POST/registrations/mailing/status/search/Admin.json +62 -0
- package/source/contracts/POST/registrations/mailing/status/search/Organizer.json +62 -0
- package/source/index.js +12 -0
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"mailing": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"Idle",
|
|
9
|
+
"Pending",
|
|
10
|
+
"Delivered",
|
|
11
|
+
"Failed"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": [
|
|
16
|
+
"mailing"
|
|
17
|
+
],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
},
|
|
19
|
+
"registration/status": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"Created",
|
|
25
|
+
"Confirmed",
|
|
26
|
+
"Cancelled"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"uniqueItems": true
|
|
30
|
+
},
|
|
31
|
+
"registration/lineup": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"Main",
|
|
37
|
+
"Reserve"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"uniqueItems": true
|
|
41
|
+
},
|
|
42
|
+
"registration/interval": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"1 day",
|
|
48
|
+
"3 days",
|
|
49
|
+
"1 week",
|
|
50
|
+
"1 month",
|
|
51
|
+
"3 months",
|
|
52
|
+
"6 months",
|
|
53
|
+
"1 year",
|
|
54
|
+
"all time"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
},
|
|
19
|
+
"registration/status": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"Created",
|
|
25
|
+
"Confirmed",
|
|
26
|
+
"Cancelled"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"uniqueItems": true
|
|
30
|
+
},
|
|
31
|
+
"registration/lineup": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"Main",
|
|
37
|
+
"Reserve"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"uniqueItems": true
|
|
41
|
+
},
|
|
42
|
+
"registration/interval": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"1 day",
|
|
48
|
+
"3 days",
|
|
49
|
+
"1 week",
|
|
50
|
+
"1 month",
|
|
51
|
+
"3 months",
|
|
52
|
+
"6 months",
|
|
53
|
+
"1 year",
|
|
54
|
+
"all time"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
package/source/index.js
CHANGED
|
@@ -74,6 +74,8 @@ import POST_registrations_venue_search_Admin from './contracts/POST/registration
|
|
|
74
74
|
import POST_registrations_venue_search_Unknown from './contracts/POST/registrations/venue/search/Unknown.json' with { type: 'json' }
|
|
75
75
|
import POST_registrations_mailing_Organizer from './contracts/POST/registrations/mailing/Organizer.json' with { type: 'json' }
|
|
76
76
|
import POST_registrations_mailing_Admin from './contracts/POST/registrations/mailing/Admin.json' with { type: 'json' }
|
|
77
|
+
import POST_registrations_mailing_status_search_Organizer from './contracts/POST/registrations/mailing/status/search/Organizer.json' with { type: 'json' }
|
|
78
|
+
import POST_registrations_mailing_status_search_Admin from './contracts/POST/registrations/mailing/status/search/Admin.json' with { type: 'json' }
|
|
77
79
|
import POST_registrations_status_search_Service from './contracts/POST/registrations/status/search/Service.json' with { type: 'json' }
|
|
78
80
|
import POST_registrations_status_search_Organizer from './contracts/POST/registrations/status/search/Organizer.json' with { type: 'json' }
|
|
79
81
|
import POST_registrations_status_search_Admin from './contracts/POST/registrations/status/search/Admin.json' with { type: 'json' }
|
|
@@ -153,6 +155,7 @@ import PATCH_registration_channel_Organizer from './contracts/PATCH/registration
|
|
|
153
155
|
import PATCH_registration_channel_Admin from './contracts/PATCH/registration/channel/Admin.json' with { type: 'json' }
|
|
154
156
|
import PATCH_registration_channel_Unknown from './contracts/PATCH/registration/channel/Unknown.json' with { type: 'json' }
|
|
155
157
|
import PATCH_registration_Unknown from './contracts/PATCH/registration/Unknown.json' with { type: 'json' }
|
|
158
|
+
import PATCH_registration_mailing_status_Service from './contracts/PATCH/registration/mailing/status/Service.json' with { type: 'json' }
|
|
156
159
|
import PATCH_registration_status_Service from './contracts/PATCH/registration/status/Service.json' with { type: 'json' }
|
|
157
160
|
import PATCH_registration_status_Organizer from './contracts/PATCH/registration/status/Organizer.json' with { type: 'json' }
|
|
158
161
|
import PATCH_registration_status_Admin from './contracts/PATCH/registration/status/Admin.json' with { type: 'json' }
|
|
@@ -240,6 +243,8 @@ export const Contracts = Object.freeze(
|
|
|
240
243
|
'POST/registrations/venue/search/Unknown',
|
|
241
244
|
'POST/registrations/mailing/Organizer',
|
|
242
245
|
'POST/registrations/mailing/Admin',
|
|
246
|
+
'POST/registrations/mailing/status/search/Organizer',
|
|
247
|
+
'POST/registrations/mailing/status/search/Admin',
|
|
243
248
|
'POST/registrations/status/search/Service',
|
|
244
249
|
'POST/registrations/status/search/Organizer',
|
|
245
250
|
'POST/registrations/status/search/Admin',
|
|
@@ -319,6 +324,7 @@ export const Contracts = Object.freeze(
|
|
|
319
324
|
'PATCH/registration/channel/Admin',
|
|
320
325
|
'PATCH/registration/channel/Unknown',
|
|
321
326
|
'PATCH/registration/Unknown',
|
|
327
|
+
'PATCH/registration/mailing/status/Service',
|
|
322
328
|
'PATCH/registration/status/Service',
|
|
323
329
|
'PATCH/registration/status/Organizer',
|
|
324
330
|
'PATCH/registration/status/Admin',
|
|
@@ -408,6 +414,8 @@ export const Schemas = Object.freeze(
|
|
|
408
414
|
POST_registrations_venue_search_Unknown,
|
|
409
415
|
POST_registrations_mailing_Organizer,
|
|
410
416
|
POST_registrations_mailing_Admin,
|
|
417
|
+
POST_registrations_mailing_status_search_Organizer,
|
|
418
|
+
POST_registrations_mailing_status_search_Admin,
|
|
411
419
|
POST_registrations_status_search_Service,
|
|
412
420
|
POST_registrations_status_search_Organizer,
|
|
413
421
|
POST_registrations_status_search_Admin,
|
|
@@ -487,6 +495,7 @@ export const Schemas = Object.freeze(
|
|
|
487
495
|
PATCH_registration_channel_Admin,
|
|
488
496
|
PATCH_registration_channel_Unknown,
|
|
489
497
|
PATCH_registration_Unknown,
|
|
498
|
+
PATCH_registration_mailing_status_Service,
|
|
490
499
|
PATCH_registration_status_Service,
|
|
491
500
|
PATCH_registration_status_Organizer,
|
|
492
501
|
PATCH_registration_status_Admin,
|
|
@@ -576,6 +585,8 @@ export const ContractSchema = Object.freeze(
|
|
|
576
585
|
'POST/registrations/venue/search/Unknown': POST_registrations_venue_search_Unknown,
|
|
577
586
|
'POST/registrations/mailing/Organizer': POST_registrations_mailing_Organizer,
|
|
578
587
|
'POST/registrations/mailing/Admin': POST_registrations_mailing_Admin,
|
|
588
|
+
'POST/registrations/mailing/status/search/Organizer': POST_registrations_mailing_status_search_Organizer,
|
|
589
|
+
'POST/registrations/mailing/status/search/Admin': POST_registrations_mailing_status_search_Admin,
|
|
579
590
|
'POST/registrations/status/search/Service': POST_registrations_status_search_Service,
|
|
580
591
|
'POST/registrations/status/search/Organizer': POST_registrations_status_search_Organizer,
|
|
581
592
|
'POST/registrations/status/search/Admin': POST_registrations_status_search_Admin,
|
|
@@ -655,6 +666,7 @@ export const ContractSchema = Object.freeze(
|
|
|
655
666
|
'PATCH/registration/channel/Admin': PATCH_registration_channel_Admin,
|
|
656
667
|
'PATCH/registration/channel/Unknown': PATCH_registration_channel_Unknown,
|
|
657
668
|
'PATCH/registration/Unknown': PATCH_registration_Unknown,
|
|
669
|
+
'PATCH/registration/mailing/status/Service': PATCH_registration_mailing_status_Service,
|
|
658
670
|
'PATCH/registration/status/Service': PATCH_registration_status_Service,
|
|
659
671
|
'PATCH/registration/status/Organizer': PATCH_registration_status_Organizer,
|
|
660
672
|
'PATCH/registration/status/Admin': PATCH_registration_status_Admin,
|