@shakerquiz/contracts 0.0.80 → 0.0.82

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.80",
4
+ "version": "0.0.82",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -81,12 +81,18 @@
81
81
  "is_first"
82
82
  ],
83
83
  "additionalProperties": true,
84
- "anyOf": [
84
+ "oneOf": [
85
85
  {
86
86
  "if": {
87
87
  "properties": {
88
88
  "channel": {
89
89
  "const": "vkontakte"
90
+ },
91
+ "confirmed_channel": {
92
+ "type": "string"
93
+ },
94
+ "vkontakte": {
95
+ "type": "string"
90
96
  }
91
97
  }
92
98
  },
@@ -102,6 +108,12 @@
102
108
  "properties": {
103
109
  "channel": {
104
110
  "const": "telegramBot"
111
+ },
112
+ "confirmed_channel": {
113
+ "type": "string"
114
+ },
115
+ "telegramBot": {
116
+ "type": "string"
105
117
  }
106
118
  }
107
119
  },
@@ -117,6 +129,9 @@
117
129
  "properties": {
118
130
  "channel": {
119
131
  "const": "email"
132
+ },
133
+ "email": {
134
+ "type": "string"
120
135
  }
121
136
  }
122
137
  },