@shakerquiz/contracts 0.0.238 → 0.0.240

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.238",
4
+ "version": "0.0.240",
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.102"
22
+ "@shakerquiz/utilities": "4.0.103"
23
23
  }
24
24
  }
@@ -0,0 +1,122 @@
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
+ "column": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "string",
23
+ "enum": [
24
+ "id",
25
+ "human_name",
26
+ "email",
27
+ "phone",
28
+ "team_name",
29
+ "people_count",
30
+ "is_first",
31
+ "is_birthday",
32
+ "is_extensible",
33
+ "is_alone",
34
+ "ads_from",
35
+ "comment",
36
+ "promocode",
37
+ "channel",
38
+ "vkontakte",
39
+ "telegram",
40
+ "chatapp_id",
41
+ "utm_term",
42
+ "utm_source",
43
+ "utm_medium",
44
+ "utm_content",
45
+ "utm_campaign",
46
+ "confirmed_channel",
47
+ "status",
48
+ "lineup",
49
+ "mailing",
50
+ "celebrant",
51
+ "note",
52
+ "visibility",
53
+ "time_created",
54
+ "time_updated"
55
+ ]
56
+ },
57
+ "uniqueItems": true
58
+ },
59
+ "registration/status": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string",
63
+ "enum": [
64
+ "Created",
65
+ "Confirmed",
66
+ "Cancelled"
67
+ ]
68
+ },
69
+ "uniqueItems": true
70
+ },
71
+ "registration/lineup": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string",
75
+ "enum": [
76
+ "Main",
77
+ "Reserve"
78
+ ]
79
+ },
80
+ "uniqueItems": true
81
+ },
82
+ "registration/interval": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string",
86
+ "enum": [
87
+ "1 day",
88
+ "3 days",
89
+ "1 week",
90
+ "1 month",
91
+ "3 months",
92
+ "6 months",
93
+ "1 year",
94
+ "all time"
95
+ ]
96
+ },
97
+ "uniqueItems": true
98
+ },
99
+ "registration/range": {
100
+ "type": "array",
101
+ "items": {
102
+ "type": "string",
103
+ "format": "date-time"
104
+ },
105
+ "minItems": 2,
106
+ "maxItems": 2
107
+ },
108
+ "registration/visibility": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "string",
112
+ "enum": [
113
+ "Visible",
114
+ "Hidden"
115
+ ]
116
+ },
117
+ "uniqueItems": true
118
+ }
119
+ },
120
+ "required": [],
121
+ "additionalProperties": false
122
+ }
@@ -0,0 +1,122 @@
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
+ "column": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "string",
23
+ "enum": [
24
+ "id",
25
+ "human_name",
26
+ "email",
27
+ "phone",
28
+ "team_name",
29
+ "people_count",
30
+ "is_first",
31
+ "is_birthday",
32
+ "is_extensible",
33
+ "is_alone",
34
+ "ads_from",
35
+ "comment",
36
+ "promocode",
37
+ "channel",
38
+ "vkontakte",
39
+ "telegram",
40
+ "chatapp_id",
41
+ "utm_term",
42
+ "utm_source",
43
+ "utm_medium",
44
+ "utm_content",
45
+ "utm_campaign",
46
+ "confirmed_channel",
47
+ "status",
48
+ "lineup",
49
+ "mailing",
50
+ "celebrant",
51
+ "note",
52
+ "visibility",
53
+ "time_created",
54
+ "time_updated"
55
+ ]
56
+ },
57
+ "uniqueItems": true
58
+ },
59
+ "registration/status": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string",
63
+ "enum": [
64
+ "Created",
65
+ "Confirmed",
66
+ "Cancelled"
67
+ ]
68
+ },
69
+ "uniqueItems": true
70
+ },
71
+ "registration/lineup": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string",
75
+ "enum": [
76
+ "Main",
77
+ "Reserve"
78
+ ]
79
+ },
80
+ "uniqueItems": true
81
+ },
82
+ "registration/interval": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string",
86
+ "enum": [
87
+ "1 day",
88
+ "3 days",
89
+ "1 week",
90
+ "1 month",
91
+ "3 months",
92
+ "6 months",
93
+ "1 year",
94
+ "all time"
95
+ ]
96
+ },
97
+ "uniqueItems": true
98
+ },
99
+ "registration/range": {
100
+ "type": "array",
101
+ "items": {
102
+ "type": "string",
103
+ "format": "date-time"
104
+ },
105
+ "minItems": 2,
106
+ "maxItems": 2
107
+ },
108
+ "registration/visibility": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "string",
112
+ "enum": [
113
+ "Visible",
114
+ "Hidden"
115
+ ]
116
+ },
117
+ "uniqueItems": true
118
+ }
119
+ },
120
+ "required": [],
121
+ "additionalProperties": false
122
+ }