@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/contracts",
4
- "version": "0.0.219",
4
+ "version": "0.0.220",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -13,6 +13,7 @@
13
13
  "enum": [
14
14
  "Text",
15
15
  "Registration/Created",
16
+ "Registration/Restored",
16
17
  "Registration/Status/Changed",
17
18
  "Registration/Lineup/Changed",
18
19
  "Registration/Channel/Confirmed",
@@ -13,6 +13,7 @@
13
13
  "enum": [
14
14
  "Text",
15
15
  "Registration/Created",
16
+ "Registration/Restored",
16
17
  "Registration/Status/Changed",
17
18
  "Registration/Lineup/Changed",
18
19
  "Registration/Channel/Confirmed",
@@ -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,