@shakerquiz/contracts 0.0.225 → 0.0.227

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.225",
4
+ "version": "0.0.227",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -2,34 +2,56 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "registration": {
5
+ "game": {
6
6
  "type": "array",
7
7
  "items": {
8
8
  "type": "string"
9
9
  },
10
10
  "uniqueItems": true
11
11
  },
12
- "game": {
12
+ "registration": {
13
13
  "type": "array",
14
14
  "items": {
15
15
  "type": "string"
16
16
  },
17
17
  "uniqueItems": true
18
18
  },
19
- "game/status": {
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": {
20
43
  "type": "array",
21
44
  "items": {
22
45
  "type": "string",
23
46
  "enum": [
24
- "Approve",
25
- "Archive",
26
- "Close",
27
- "Finish",
28
- "Invite",
29
- "Reserve",
30
- "Moderate",
31
- "Publish",
32
- "Reject"
47
+ "1 day",
48
+ "3 days",
49
+ "1 week",
50
+ "1 month",
51
+ "3 months",
52
+ "6 months",
53
+ "1 year",
54
+ "all time"
33
55
  ]
34
56
  },
35
57
  "uniqueItems": true
@@ -2,34 +2,56 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "registration": {
5
+ "game": {
6
6
  "type": "array",
7
7
  "items": {
8
8
  "type": "string"
9
9
  },
10
10
  "uniqueItems": true
11
11
  },
12
- "game": {
12
+ "registration": {
13
13
  "type": "array",
14
14
  "items": {
15
15
  "type": "string"
16
16
  },
17
17
  "uniqueItems": true
18
18
  },
19
- "game/status": {
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": {
20
43
  "type": "array",
21
44
  "items": {
22
45
  "type": "string",
23
46
  "enum": [
24
- "Approve",
25
- "Archive",
26
- "Close",
27
- "Finish",
28
- "Invite",
29
- "Reserve",
30
- "Moderate",
31
- "Publish",
32
- "Reject"
47
+ "1 day",
48
+ "3 days",
49
+ "1 week",
50
+ "1 month",
51
+ "3 months",
52
+ "6 months",
53
+ "1 year",
54
+ "all time"
33
55
  ]
34
56
  },
35
57
  "uniqueItems": true
@@ -0,0 +1,73 @@
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
+ "registration/visibility": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string",
63
+ "enum": [
64
+ "Visible",
65
+ "Hidden"
66
+ ]
67
+ },
68
+ "uniqueItems": true
69
+ }
70
+ },
71
+ "required": [],
72
+ "additionalProperties": false
73
+ }
@@ -0,0 +1,73 @@
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
+ "registration/visibility": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string",
63
+ "enum": [
64
+ "Visible",
65
+ "Hidden"
66
+ ]
67
+ },
68
+ "uniqueItems": true
69
+ }
70
+ },
71
+ "required": [],
72
+ "additionalProperties": false
73
+ }