@shakerquiz/contracts 0.0.156 → 0.0.158
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/{search/Unknown.json → city/search/admin.json} +0 -25
- package/source/contracts/POST/registrations/city/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/game/search/admin.json +42 -0
- package/source/contracts/POST/registrations/game/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/lineup/search/admin.json +42 -0
- package/source/contracts/POST/registrations/lineup/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/search/admin.json +42 -0
- package/source/contracts/POST/registrations/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/status/search/admin.json +42 -0
- package/source/contracts/POST/registrations/status/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/theme/search/admin.json +42 -0
- package/source/contracts/POST/registrations/theme/search/organizer.json +42 -0
- package/source/contracts/POST/registrations/venue/search/admin.json +42 -0
- package/source/contracts/POST/registrations/venue/search/organizer.json +42 -0
- package/source/index.js +56 -4
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.158",
|
|
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.67",
|
|
20
20
|
"@types/bun": "1.3.7"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -2,28 +2,6 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"properties": {
|
|
5
|
-
"city": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"items": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"uniqueItems": true
|
|
11
|
-
},
|
|
12
|
-
"venue": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": "uuid"
|
|
17
|
-
},
|
|
18
|
-
"uniqueItems": true
|
|
19
|
-
},
|
|
20
|
-
"game": {
|
|
21
|
-
"type": "array",
|
|
22
|
-
"items": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"uniqueItems": true
|
|
26
|
-
},
|
|
27
5
|
"registration": {
|
|
28
6
|
"type": "array",
|
|
29
7
|
"items": {
|
|
@@ -56,9 +34,6 @@
|
|
|
56
34
|
}
|
|
57
35
|
},
|
|
58
36
|
"required": [
|
|
59
|
-
"city",
|
|
60
|
-
"venue",
|
|
61
|
-
"game",
|
|
62
37
|
"registration",
|
|
63
38
|
"registration/status",
|
|
64
39
|
"registration/lineup"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Created",
|
|
18
|
+
"Confirmed",
|
|
19
|
+
"Cancelled"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
},
|
|
24
|
+
"registration/lineup": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Main",
|
|
30
|
+
"Reserve"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"uniqueItems": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"registration",
|
|
38
|
+
"registration/status",
|
|
39
|
+
"registration/lineup"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
package/source/index.js
CHANGED
|
@@ -34,7 +34,20 @@ import POST_game_registrations_export_admin from './contracts/POST/game/registra
|
|
|
34
34
|
import POST_game_registrations_export_organizer from './contracts/POST/game/registrations/export/organizer.json' with { type: 'json' }
|
|
35
35
|
import POST_game_admin from './contracts/POST/game/admin.json' with { type: 'json' }
|
|
36
36
|
import POST_game_organizer from './contracts/POST/game/organizer.json' with { type: 'json' }
|
|
37
|
-
import
|
|
37
|
+
import POST_registrations_theme_search_admin from './contracts/POST/registrations/theme/search/admin.json' with { type: 'json' }
|
|
38
|
+
import POST_registrations_theme_search_organizer from './contracts/POST/registrations/theme/search/organizer.json' with { type: 'json' }
|
|
39
|
+
import POST_registrations_game_search_admin from './contracts/POST/registrations/game/search/admin.json' with { type: 'json' }
|
|
40
|
+
import POST_registrations_game_search_organizer from './contracts/POST/registrations/game/search/organizer.json' with { type: 'json' }
|
|
41
|
+
import POST_registrations_city_search_admin from './contracts/POST/registrations/city/search/admin.json' with { type: 'json' }
|
|
42
|
+
import POST_registrations_city_search_organizer from './contracts/POST/registrations/city/search/organizer.json' with { type: 'json' }
|
|
43
|
+
import POST_registrations_search_admin from './contracts/POST/registrations/search/admin.json' with { type: 'json' }
|
|
44
|
+
import POST_registrations_search_organizer from './contracts/POST/registrations/search/organizer.json' with { type: 'json' }
|
|
45
|
+
import POST_registrations_venue_search_admin from './contracts/POST/registrations/venue/search/admin.json' with { type: 'json' }
|
|
46
|
+
import POST_registrations_venue_search_organizer from './contracts/POST/registrations/venue/search/organizer.json' with { type: 'json' }
|
|
47
|
+
import POST_registrations_status_search_admin from './contracts/POST/registrations/status/search/admin.json' with { type: 'json' }
|
|
48
|
+
import POST_registrations_status_search_organizer from './contracts/POST/registrations/status/search/organizer.json' with { type: 'json' }
|
|
49
|
+
import POST_registrations_lineup_search_admin from './contracts/POST/registrations/lineup/search/admin.json' with { type: 'json' }
|
|
50
|
+
import POST_registrations_lineup_search_organizer from './contracts/POST/registrations/lineup/search/organizer.json' with { type: 'json' }
|
|
38
51
|
import POST_city_vk_group_token_admin from './contracts/POST/city/vk_group_token/admin.json' with { type: 'json' }
|
|
39
52
|
import POST_city_admin from './contracts/POST/city/admin.json' with { type: 'json' }
|
|
40
53
|
import POST_games_theme_search_admin from './contracts/POST/games/theme/search/admin.json' with { type: 'json' }
|
|
@@ -140,7 +153,20 @@ export const Contracts = Object.freeze(
|
|
|
140
153
|
'POST/game/registrations/export/organizer',
|
|
141
154
|
'POST/game/admin',
|
|
142
155
|
'POST/game/organizer',
|
|
143
|
-
'POST/registrations/search/
|
|
156
|
+
'POST/registrations/theme/search/admin',
|
|
157
|
+
'POST/registrations/theme/search/organizer',
|
|
158
|
+
'POST/registrations/game/search/admin',
|
|
159
|
+
'POST/registrations/game/search/organizer',
|
|
160
|
+
'POST/registrations/city/search/admin',
|
|
161
|
+
'POST/registrations/city/search/organizer',
|
|
162
|
+
'POST/registrations/search/admin',
|
|
163
|
+
'POST/registrations/search/organizer',
|
|
164
|
+
'POST/registrations/venue/search/admin',
|
|
165
|
+
'POST/registrations/venue/search/organizer',
|
|
166
|
+
'POST/registrations/status/search/admin',
|
|
167
|
+
'POST/registrations/status/search/organizer',
|
|
168
|
+
'POST/registrations/lineup/search/admin',
|
|
169
|
+
'POST/registrations/lineup/search/organizer',
|
|
144
170
|
'POST/city/vk_group_token/admin',
|
|
145
171
|
'POST/city/admin',
|
|
146
172
|
'POST/games/theme/search/admin',
|
|
@@ -248,7 +274,20 @@ export const Schemas = Object.freeze(
|
|
|
248
274
|
POST_game_registrations_export_organizer,
|
|
249
275
|
POST_game_admin,
|
|
250
276
|
POST_game_organizer,
|
|
251
|
-
|
|
277
|
+
POST_registrations_theme_search_admin,
|
|
278
|
+
POST_registrations_theme_search_organizer,
|
|
279
|
+
POST_registrations_game_search_admin,
|
|
280
|
+
POST_registrations_game_search_organizer,
|
|
281
|
+
POST_registrations_city_search_admin,
|
|
282
|
+
POST_registrations_city_search_organizer,
|
|
283
|
+
POST_registrations_search_admin,
|
|
284
|
+
POST_registrations_search_organizer,
|
|
285
|
+
POST_registrations_venue_search_admin,
|
|
286
|
+
POST_registrations_venue_search_organizer,
|
|
287
|
+
POST_registrations_status_search_admin,
|
|
288
|
+
POST_registrations_status_search_organizer,
|
|
289
|
+
POST_registrations_lineup_search_admin,
|
|
290
|
+
POST_registrations_lineup_search_organizer,
|
|
252
291
|
POST_city_vk_group_token_admin,
|
|
253
292
|
POST_city_admin,
|
|
254
293
|
POST_games_theme_search_admin,
|
|
@@ -356,7 +395,20 @@ export const ContractSchema = Object.freeze(
|
|
|
356
395
|
'POST/game/registrations/export/organizer': POST_game_registrations_export_organizer,
|
|
357
396
|
'POST/game/admin': POST_game_admin,
|
|
358
397
|
'POST/game/organizer': POST_game_organizer,
|
|
359
|
-
'POST/registrations/search/
|
|
398
|
+
'POST/registrations/theme/search/admin': POST_registrations_theme_search_admin,
|
|
399
|
+
'POST/registrations/theme/search/organizer': POST_registrations_theme_search_organizer,
|
|
400
|
+
'POST/registrations/game/search/admin': POST_registrations_game_search_admin,
|
|
401
|
+
'POST/registrations/game/search/organizer': POST_registrations_game_search_organizer,
|
|
402
|
+
'POST/registrations/city/search/admin': POST_registrations_city_search_admin,
|
|
403
|
+
'POST/registrations/city/search/organizer': POST_registrations_city_search_organizer,
|
|
404
|
+
'POST/registrations/search/admin': POST_registrations_search_admin,
|
|
405
|
+
'POST/registrations/search/organizer': POST_registrations_search_organizer,
|
|
406
|
+
'POST/registrations/venue/search/admin': POST_registrations_venue_search_admin,
|
|
407
|
+
'POST/registrations/venue/search/organizer': POST_registrations_venue_search_organizer,
|
|
408
|
+
'POST/registrations/status/search/admin': POST_registrations_status_search_admin,
|
|
409
|
+
'POST/registrations/status/search/organizer': POST_registrations_status_search_organizer,
|
|
410
|
+
'POST/registrations/lineup/search/admin': POST_registrations_lineup_search_admin,
|
|
411
|
+
'POST/registrations/lineup/search/organizer': POST_registrations_lineup_search_organizer,
|
|
360
412
|
'POST/city/vk_group_token/admin': POST_city_vk_group_token_admin,
|
|
361
413
|
'POST/city/admin': POST_city_admin,
|
|
362
414
|
'POST/games/theme/search/admin': POST_games_theme_search_admin,
|