@shakerquiz/contracts 0.0.231 → 0.0.233

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.231",
4
+ "version": "0.0.233",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -19,6 +19,6 @@
19
19
  "@types/bun": "1.3.7"
20
20
  },
21
21
  "dependencies": {
22
- "@shakerquiz/utilities": "4.0.99"
22
+ "@shakerquiz/utilities": "4.0.100"
23
23
  }
24
24
  }
@@ -66,6 +66,19 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/cancellation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Active"
79
+ ]
80
+ },
81
+ "uniqueItems": true
69
82
  }
70
83
  },
71
84
  "required": [],
@@ -66,6 +66,19 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/cancellation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Active"
79
+ ]
80
+ },
81
+ "uniqueItems": true
69
82
  }
70
83
  },
71
84
  "required": [],
@@ -66,6 +66,19 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/cancellation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Active"
79
+ ]
80
+ },
81
+ "uniqueItems": true
69
82
  }
70
83
  },
71
84
  "required": [],
@@ -2,11 +2,81 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "game": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ },
10
+ "uniqueItems": true
11
+ },
5
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
+ "registration/cancellation": {
6
71
  "type": "array",
7
72
  "items": {
8
73
  "type": "string",
9
- "format": "uuid"
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Active"
79
+ ]
10
80
  },
11
81
  "uniqueItems": true
12
82
  }
@@ -66,6 +66,22 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/confirmation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Prohibited",
79
+ "Fulfilled",
80
+ "Active",
81
+ "Scheduled"
82
+ ]
83
+ },
84
+ "uniqueItems": true
69
85
  }
70
86
  },
71
87
  "required": [],
@@ -66,6 +66,22 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/confirmation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Prohibited",
79
+ "Fulfilled",
80
+ "Active",
81
+ "Scheduled"
82
+ ]
83
+ },
84
+ "uniqueItems": true
69
85
  }
70
86
  },
71
87
  "required": [],
@@ -66,6 +66,22 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/confirmation": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Prohibited",
79
+ "Fulfilled",
80
+ "Active",
81
+ "Scheduled"
82
+ ]
83
+ },
84
+ "uniqueItems": true
69
85
  }
70
86
  },
71
87
  "required": [],
@@ -2,11 +2,84 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "game": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ },
10
+ "uniqueItems": true
11
+ },
5
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
+ "registration/confirmation": {
6
71
  "type": "array",
7
72
  "items": {
8
73
  "type": "string",
9
- "format": "uuid"
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Prohibited",
79
+ "Fulfilled",
80
+ "Active",
81
+ "Scheduled"
82
+ ]
10
83
  },
11
84
  "uniqueItems": true
12
85
  }
@@ -66,6 +66,21 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/reinstatement": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Fulfilled",
79
+ "Active",
80
+ "Scheduled"
81
+ ]
82
+ },
83
+ "uniqueItems": true
69
84
  }
70
85
  },
71
86
  "required": [],
@@ -66,6 +66,21 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/reinstatement": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Fulfilled",
79
+ "Active",
80
+ "Scheduled"
81
+ ]
82
+ },
83
+ "uniqueItems": true
69
84
  }
70
85
  },
71
86
  "required": [],
@@ -66,6 +66,21 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/reinstatement": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Fulfilled",
79
+ "Active",
80
+ "Scheduled"
81
+ ]
82
+ },
83
+ "uniqueItems": true
69
84
  }
70
85
  },
71
86
  "required": [],
@@ -66,6 +66,21 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/reinstatement": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Rejected",
78
+ "Fulfilled",
79
+ "Active",
80
+ "Scheduled"
81
+ ]
82
+ },
83
+ "uniqueItems": true
69
84
  }
70
85
  },
71
86
  "required": [],
@@ -66,6 +66,20 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/restoration": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Rejected",
79
+ "Active"
80
+ ]
81
+ },
82
+ "uniqueItems": true
69
83
  }
70
84
  },
71
85
  "required": [],
@@ -66,6 +66,20 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/restoration": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Rejected",
79
+ "Active"
80
+ ]
81
+ },
82
+ "uniqueItems": true
69
83
  }
70
84
  },
71
85
  "required": [],
@@ -66,6 +66,20 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/restoration": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Rejected",
79
+ "Active"
80
+ ]
81
+ },
82
+ "uniqueItems": true
69
83
  }
70
84
  },
71
85
  "required": [],
@@ -66,6 +66,20 @@
66
66
  ]
67
67
  },
68
68
  "uniqueItems": true
69
+ },
70
+ "registration/restoration": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "enum": [
75
+ "Expired",
76
+ "Hidden",
77
+ "Fulfilled",
78
+ "Rejected",
79
+ "Active"
80
+ ]
81
+ },
82
+ "uniqueItems": true
69
83
  }
70
84
  },
71
85
  "required": [],