@shakerquiz/contracts 0.0.242 → 0.0.244
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/index.js +674 -694
- package/source/contracts/PATCH/games/Admin.json +0 -40
- package/source/contracts/PATCH/games/Organizer.json +0 -40
- package/source/contracts/PATCH/games/Service.json +0 -40
- package/source/contracts/PATCH/venues/Admin.json +0 -32
- package/source/contracts/PATCH/venues/Organizer.json +0 -34
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
},
|
|
11
|
-
"status": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"Approve",
|
|
15
|
-
"Archive",
|
|
16
|
-
"Cancel",
|
|
17
|
-
"Close",
|
|
18
|
-
"Finish",
|
|
19
|
-
"Invite",
|
|
20
|
-
"Reserve",
|
|
21
|
-
"Moderate",
|
|
22
|
-
"Publish",
|
|
23
|
-
"Reject"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"visibility": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"enum": [
|
|
29
|
-
"Visible",
|
|
30
|
-
"Hidden"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"required": [
|
|
35
|
-
"id"
|
|
36
|
-
],
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
},
|
|
39
|
-
"uniqueItems": true
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
},
|
|
11
|
-
"status": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"Approve",
|
|
15
|
-
"Archive",
|
|
16
|
-
"Cancel",
|
|
17
|
-
"Close",
|
|
18
|
-
"Finish",
|
|
19
|
-
"Invite",
|
|
20
|
-
"Reserve",
|
|
21
|
-
"Moderate",
|
|
22
|
-
"Publish",
|
|
23
|
-
"Reject"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"visibility": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"enum": [
|
|
29
|
-
"Visible",
|
|
30
|
-
"Hidden"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"required": [
|
|
35
|
-
"id"
|
|
36
|
-
],
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
},
|
|
39
|
-
"uniqueItems": true
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
},
|
|
11
|
-
"status": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"Approve",
|
|
15
|
-
"Archive",
|
|
16
|
-
"Cancel",
|
|
17
|
-
"Close",
|
|
18
|
-
"Finish",
|
|
19
|
-
"Invite",
|
|
20
|
-
"Reserve",
|
|
21
|
-
"Moderate",
|
|
22
|
-
"Publish",
|
|
23
|
-
"Reject"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"visibility": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"enum": [
|
|
29
|
-
"Visible",
|
|
30
|
-
"Hidden"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"required": [
|
|
35
|
-
"id"
|
|
36
|
-
],
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
},
|
|
39
|
-
"uniqueItems": true
|
|
40
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
},
|
|
11
|
-
"status": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"Active",
|
|
15
|
-
"Archive"
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"audience": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"enum": [
|
|
21
|
-
"Open",
|
|
22
|
-
"Adults"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"required": [
|
|
27
|
-
"id"
|
|
28
|
-
],
|
|
29
|
-
"additionalProperties": false
|
|
30
|
-
},
|
|
31
|
-
"uniqueItems": true
|
|
32
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
},
|
|
11
|
-
"status": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"Active",
|
|
15
|
-
"Archive"
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"audience": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"enum": [
|
|
21
|
-
"Open",
|
|
22
|
-
"Adults"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"required": [
|
|
27
|
-
"id",
|
|
28
|
-
"status",
|
|
29
|
-
"audience"
|
|
30
|
-
],
|
|
31
|
-
"additionalProperties": false
|
|
32
|
-
},
|
|
33
|
-
"uniqueItems": true
|
|
34
|
-
}
|