@shakerquiz/contracts 0.0.219 → 0.0.220
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/POST/registrations/mailing/Admin.json +1 -0
- package/source/contracts/POST/registrations/mailing/Organizer.json +1 -0
- package/source/contracts/POST/registrations/restoration/search/Admin.json +62 -0
- package/source/contracts/POST/registrations/restoration/search/Organizer.json +62 -0
- package/source/contracts/POST/registrations/restoration/search/Service.json +62 -0
- package/source/contracts/POST/registrations/restoration/search/Unknown.json +62 -0
- package/source/index.js +16 -0
package/package.json
CHANGED
|
@@ -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
|
+
}
|
|
@@ -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,10 @@ import POST_registrations_venue_search_Service from './contracts/POST/registrati
|
|
|
74
74
|
import POST_registrations_venue_search_Organizer from './contracts/POST/registrations/venue/search/Organizer.json' with { type: 'json' }
|
|
75
75
|
import POST_registrations_venue_search_Admin from './contracts/POST/registrations/venue/search/Admin.json' with { type: 'json' }
|
|
76
76
|
import POST_registrations_venue_search_Unknown from './contracts/POST/registrations/venue/search/Unknown.json' with { type: 'json' }
|
|
77
|
+
import POST_registrations_restoration_search_Service from './contracts/POST/registrations/restoration/search/Service.json' with { type: 'json' }
|
|
78
|
+
import POST_registrations_restoration_search_Organizer from './contracts/POST/registrations/restoration/search/Organizer.json' with { type: 'json' }
|
|
79
|
+
import POST_registrations_restoration_search_Admin from './contracts/POST/registrations/restoration/search/Admin.json' with { type: 'json' }
|
|
80
|
+
import POST_registrations_restoration_search_Unknown from './contracts/POST/registrations/restoration/search/Unknown.json' with { type: 'json' }
|
|
77
81
|
import POST_registrations_mailing_Organizer from './contracts/POST/registrations/mailing/Organizer.json' with { type: 'json' }
|
|
78
82
|
import POST_registrations_mailing_Admin from './contracts/POST/registrations/mailing/Admin.json' with { type: 'json' }
|
|
79
83
|
import POST_registrations_mailing_status_search_Organizer from './contracts/POST/registrations/mailing/status/search/Organizer.json' with { type: 'json' }
|
|
@@ -249,6 +253,10 @@ export const Contracts = Object.freeze(
|
|
|
249
253
|
'POST/registrations/venue/search/Organizer',
|
|
250
254
|
'POST/registrations/venue/search/Admin',
|
|
251
255
|
'POST/registrations/venue/search/Unknown',
|
|
256
|
+
'POST/registrations/restoration/search/Service',
|
|
257
|
+
'POST/registrations/restoration/search/Organizer',
|
|
258
|
+
'POST/registrations/restoration/search/Admin',
|
|
259
|
+
'POST/registrations/restoration/search/Unknown',
|
|
252
260
|
'POST/registrations/mailing/Organizer',
|
|
253
261
|
'POST/registrations/mailing/Admin',
|
|
254
262
|
'POST/registrations/mailing/status/search/Organizer',
|
|
@@ -426,6 +434,10 @@ export const Schemas = Object.freeze(
|
|
|
426
434
|
POST_registrations_venue_search_Organizer,
|
|
427
435
|
POST_registrations_venue_search_Admin,
|
|
428
436
|
POST_registrations_venue_search_Unknown,
|
|
437
|
+
POST_registrations_restoration_search_Service,
|
|
438
|
+
POST_registrations_restoration_search_Organizer,
|
|
439
|
+
POST_registrations_restoration_search_Admin,
|
|
440
|
+
POST_registrations_restoration_search_Unknown,
|
|
429
441
|
POST_registrations_mailing_Organizer,
|
|
430
442
|
POST_registrations_mailing_Admin,
|
|
431
443
|
POST_registrations_mailing_status_search_Organizer,
|
|
@@ -603,6 +615,10 @@ export const ContractSchema = Object.freeze(
|
|
|
603
615
|
'POST/registrations/venue/search/Organizer': POST_registrations_venue_search_Organizer,
|
|
604
616
|
'POST/registrations/venue/search/Admin': POST_registrations_venue_search_Admin,
|
|
605
617
|
'POST/registrations/venue/search/Unknown': POST_registrations_venue_search_Unknown,
|
|
618
|
+
'POST/registrations/restoration/search/Service': POST_registrations_restoration_search_Service,
|
|
619
|
+
'POST/registrations/restoration/search/Organizer': POST_registrations_restoration_search_Organizer,
|
|
620
|
+
'POST/registrations/restoration/search/Admin': POST_registrations_restoration_search_Admin,
|
|
621
|
+
'POST/registrations/restoration/search/Unknown': POST_registrations_restoration_search_Unknown,
|
|
606
622
|
'POST/registrations/mailing/Organizer': POST_registrations_mailing_Organizer,
|
|
607
623
|
'POST/registrations/mailing/Admin': POST_registrations_mailing_Admin,
|
|
608
624
|
'POST/registrations/mailing/status/search/Organizer': POST_registrations_mailing_status_search_Organizer,
|