@shakerquiz/contracts 0.0.170 → 0.0.172
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 +2 -2
- package/source/contracts/POST/registrations/promotion/search/Service.json +62 -0
- package/source/contracts/POST/registrations/promotion/search/admin.json +62 -0
- package/source/contracts/POST/registrations/promotion/search/organizer.json +62 -0
- package/source/contracts/POST/registrations/reservation/search/Service.json +62 -0
- package/source/contracts/POST/registrations/reservation/search/admin.json +62 -0
- package/source/contracts/POST/registrations/reservation/search/organizer.json +62 -0
- package/source/index.js +24 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/contracts",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.172",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": "./source/index.js",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@shakerquiz/utilities": "4.0.
|
|
19
|
+
"@shakerquiz/utilities": "4.0.72",
|
|
20
20
|
"@types/bun": "1.3.7"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
@@ -104,6 +104,9 @@ import POST_registrations_confirmation_search_organizer from './contracts/POST/r
|
|
|
104
104
|
import POST_registrations_confirmation_search_Unknown from './contracts/POST/registrations/confirmation/search/Unknown.json' with { type: 'json' }
|
|
105
105
|
import POST_registrations_confirmation_search_Service from './contracts/POST/registrations/confirmation/search/Service.json' with { type: 'json' }
|
|
106
106
|
import POST_registrations_confirmation_search_admin from './contracts/POST/registrations/confirmation/search/admin.json' with { type: 'json' }
|
|
107
|
+
import POST_registrations_reservation_search_organizer from './contracts/POST/registrations/reservation/search/organizer.json' with { type: 'json' }
|
|
108
|
+
import POST_registrations_reservation_search_Service from './contracts/POST/registrations/reservation/search/Service.json' with { type: 'json' }
|
|
109
|
+
import POST_registrations_reservation_search_admin from './contracts/POST/registrations/reservation/search/admin.json' with { type: 'json' }
|
|
107
110
|
import POST_registrations_theme_search_organizer from './contracts/POST/registrations/theme/search/organizer.json' with { type: 'json' }
|
|
108
111
|
import POST_registrations_theme_search_Unknown from './contracts/POST/registrations/theme/search/Unknown.json' with { type: 'json' }
|
|
109
112
|
import POST_registrations_theme_search_Service from './contracts/POST/registrations/theme/search/Service.json' with { type: 'json' }
|
|
@@ -117,6 +120,9 @@ import POST_registrations_cover_search_organizer from './contracts/POST/registra
|
|
|
117
120
|
import POST_registrations_cover_search_Unknown from './contracts/POST/registrations/cover/search/Unknown.json' with { type: 'json' }
|
|
118
121
|
import POST_registrations_cover_search_Service from './contracts/POST/registrations/cover/search/Service.json' with { type: 'json' }
|
|
119
122
|
import POST_registrations_cover_search_admin from './contracts/POST/registrations/cover/search/admin.json' with { type: 'json' }
|
|
123
|
+
import POST_registrations_promotion_search_organizer from './contracts/POST/registrations/promotion/search/organizer.json' with { type: 'json' }
|
|
124
|
+
import POST_registrations_promotion_search_Service from './contracts/POST/registrations/promotion/search/Service.json' with { type: 'json' }
|
|
125
|
+
import POST_registrations_promotion_search_admin from './contracts/POST/registrations/promotion/search/admin.json' with { type: 'json' }
|
|
120
126
|
import POST_registrations_search_organizer from './contracts/POST/registrations/search/organizer.json' with { type: 'json' }
|
|
121
127
|
import POST_registrations_search_Unknown from './contracts/POST/registrations/search/Unknown.json' with { type: 'json' }
|
|
122
128
|
import POST_registrations_search_admin from './contracts/POST/registrations/search/admin.json' with { type: 'json' }
|
|
@@ -251,6 +257,9 @@ export const Contracts = Object.freeze(
|
|
|
251
257
|
'POST/registrations/confirmation/search/Unknown',
|
|
252
258
|
'POST/registrations/confirmation/search/Service',
|
|
253
259
|
'POST/registrations/confirmation/search/admin',
|
|
260
|
+
'POST/registrations/reservation/search/organizer',
|
|
261
|
+
'POST/registrations/reservation/search/Service',
|
|
262
|
+
'POST/registrations/reservation/search/admin',
|
|
254
263
|
'POST/registrations/theme/search/organizer',
|
|
255
264
|
'POST/registrations/theme/search/Unknown',
|
|
256
265
|
'POST/registrations/theme/search/Service',
|
|
@@ -264,6 +273,9 @@ export const Contracts = Object.freeze(
|
|
|
264
273
|
'POST/registrations/cover/search/Unknown',
|
|
265
274
|
'POST/registrations/cover/search/Service',
|
|
266
275
|
'POST/registrations/cover/search/admin',
|
|
276
|
+
'POST/registrations/promotion/search/organizer',
|
|
277
|
+
'POST/registrations/promotion/search/Service',
|
|
278
|
+
'POST/registrations/promotion/search/admin',
|
|
267
279
|
'POST/registrations/search/organizer',
|
|
268
280
|
'POST/registrations/search/Unknown',
|
|
269
281
|
'POST/registrations/search/admin',
|
|
@@ -400,6 +412,9 @@ export const Schemas = Object.freeze(
|
|
|
400
412
|
POST_registrations_confirmation_search_Unknown,
|
|
401
413
|
POST_registrations_confirmation_search_Service,
|
|
402
414
|
POST_registrations_confirmation_search_admin,
|
|
415
|
+
POST_registrations_reservation_search_organizer,
|
|
416
|
+
POST_registrations_reservation_search_Service,
|
|
417
|
+
POST_registrations_reservation_search_admin,
|
|
403
418
|
POST_registrations_theme_search_organizer,
|
|
404
419
|
POST_registrations_theme_search_Unknown,
|
|
405
420
|
POST_registrations_theme_search_Service,
|
|
@@ -413,6 +428,9 @@ export const Schemas = Object.freeze(
|
|
|
413
428
|
POST_registrations_cover_search_Unknown,
|
|
414
429
|
POST_registrations_cover_search_Service,
|
|
415
430
|
POST_registrations_cover_search_admin,
|
|
431
|
+
POST_registrations_promotion_search_organizer,
|
|
432
|
+
POST_registrations_promotion_search_Service,
|
|
433
|
+
POST_registrations_promotion_search_admin,
|
|
416
434
|
POST_registrations_search_organizer,
|
|
417
435
|
POST_registrations_search_Unknown,
|
|
418
436
|
POST_registrations_search_admin,
|
|
@@ -549,6 +567,9 @@ export const ContractSchema = Object.freeze(
|
|
|
549
567
|
'POST/registrations/confirmation/search/Unknown': POST_registrations_confirmation_search_Unknown,
|
|
550
568
|
'POST/registrations/confirmation/search/Service': POST_registrations_confirmation_search_Service,
|
|
551
569
|
'POST/registrations/confirmation/search/admin': POST_registrations_confirmation_search_admin,
|
|
570
|
+
'POST/registrations/reservation/search/organizer': POST_registrations_reservation_search_organizer,
|
|
571
|
+
'POST/registrations/reservation/search/Service': POST_registrations_reservation_search_Service,
|
|
572
|
+
'POST/registrations/reservation/search/admin': POST_registrations_reservation_search_admin,
|
|
552
573
|
'POST/registrations/theme/search/organizer': POST_registrations_theme_search_organizer,
|
|
553
574
|
'POST/registrations/theme/search/Unknown': POST_registrations_theme_search_Unknown,
|
|
554
575
|
'POST/registrations/theme/search/Service': POST_registrations_theme_search_Service,
|
|
@@ -562,6 +583,9 @@ export const ContractSchema = Object.freeze(
|
|
|
562
583
|
'POST/registrations/cover/search/Unknown': POST_registrations_cover_search_Unknown,
|
|
563
584
|
'POST/registrations/cover/search/Service': POST_registrations_cover_search_Service,
|
|
564
585
|
'POST/registrations/cover/search/admin': POST_registrations_cover_search_admin,
|
|
586
|
+
'POST/registrations/promotion/search/organizer': POST_registrations_promotion_search_organizer,
|
|
587
|
+
'POST/registrations/promotion/search/Service': POST_registrations_promotion_search_Service,
|
|
588
|
+
'POST/registrations/promotion/search/admin': POST_registrations_promotion_search_admin,
|
|
565
589
|
'POST/registrations/search/organizer': POST_registrations_search_organizer,
|
|
566
590
|
'POST/registrations/search/Unknown': POST_registrations_search_Unknown,
|
|
567
591
|
'POST/registrations/search/admin': POST_registrations_search_admin,
|