@shakerquiz/contracts 0.0.87 → 0.0.89
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
|
@@ -92,24 +92,36 @@
|
|
|
92
92
|
"is_first"
|
|
93
93
|
],
|
|
94
94
|
"additionalProperties": false,
|
|
95
|
-
"
|
|
95
|
+
"allOf": [
|
|
96
96
|
{
|
|
97
|
-
"
|
|
98
|
-
"
|
|
97
|
+
"if": {
|
|
98
|
+
"properties": {
|
|
99
|
+
"channel": { "const": "vkontakte" }
|
|
100
|
+
}
|
|
99
101
|
},
|
|
100
|
-
"
|
|
102
|
+
"then": {
|
|
103
|
+
"required": ["vkontakte", "confirmed_channel"]
|
|
104
|
+
}
|
|
101
105
|
},
|
|
102
106
|
{
|
|
103
|
-
"
|
|
104
|
-
"
|
|
107
|
+
"if": {
|
|
108
|
+
"properties": {
|
|
109
|
+
"channel": { "const": "telegramBot" }
|
|
110
|
+
}
|
|
105
111
|
},
|
|
106
|
-
"
|
|
112
|
+
"then": {
|
|
113
|
+
"required": ["telegramBot", "confirmed_channel"]
|
|
114
|
+
}
|
|
107
115
|
},
|
|
108
116
|
{
|
|
109
|
-
"
|
|
110
|
-
"
|
|
117
|
+
"if": {
|
|
118
|
+
"properties": {
|
|
119
|
+
"channel": { "const": "email" }
|
|
120
|
+
}
|
|
111
121
|
},
|
|
112
|
-
"
|
|
122
|
+
"then": {
|
|
123
|
+
"required": ["email"]
|
|
124
|
+
}
|
|
113
125
|
}
|
|
114
126
|
]
|
|
115
|
-
}
|
|
127
|
+
}
|