@shakerquiz/contracts 0.0.82 → 0.0.84

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.82",
4
+ "version": "0.0.84",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -81,20 +81,17 @@
81
81
  "is_first"
82
82
  ],
83
83
  "additionalProperties": true,
84
- "oneOf": [
84
+ "allOf": [
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"
96
90
  }
97
- }
91
+ },
92
+ "required": [
93
+ "channel"
94
+ ]
98
95
  },
99
96
  "then": {
100
97
  "required": [
@@ -108,14 +105,11 @@
108
105
  "properties": {
109
106
  "channel": {
110
107
  "const": "telegramBot"
111
- },
112
- "confirmed_channel": {
113
- "type": "string"
114
- },
115
- "telegramBot": {
116
- "type": "string"
117
108
  }
118
- }
109
+ },
110
+ "required": [
111
+ "channel"
112
+ ]
119
113
  },
120
114
  "then": {
121
115
  "required": [
@@ -129,11 +123,11 @@
129
123
  "properties": {
130
124
  "channel": {
131
125
  "const": "email"
132
- },
133
- "email": {
134
- "type": "string"
135
126
  }
136
- }
127
+ },
128
+ "required": [
129
+ "channel"
130
+ ]
137
131
  },
138
132
  "then": {
139
133
  "required": [