@shakerquiz/contracts 0.0.83 → 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
|
@@ -81,53 +81,59 @@
|
|
|
81
81
|
"is_first"
|
|
82
82
|
],
|
|
83
83
|
"additionalProperties": true,
|
|
84
|
-
"
|
|
84
|
+
"allOf": [
|
|
85
85
|
{
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
86
|
+
"if": {
|
|
87
|
+
"properties": {
|
|
88
|
+
"channel": {
|
|
89
|
+
"const": "vkontakte"
|
|
90
|
+
}
|
|
89
91
|
},
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
"vkontakte": {
|
|
94
|
-
"type": "string"
|
|
95
|
-
}
|
|
92
|
+
"required": [
|
|
93
|
+
"channel"
|
|
94
|
+
]
|
|
96
95
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
"then": {
|
|
97
|
+
"required": [
|
|
98
|
+
"confirmed_channel",
|
|
99
|
+
"vkontakte"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"type": "string"
|
|
104
|
+
"if": {
|
|
105
|
+
"properties": {
|
|
106
|
+
"channel": {
|
|
107
|
+
"const": "telegramBot"
|
|
108
|
+
}
|
|
109
109
|
},
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
|
|
110
|
+
"required": [
|
|
111
|
+
"channel"
|
|
112
|
+
]
|
|
113
113
|
},
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
"then": {
|
|
115
|
+
"required": [
|
|
116
|
+
"confirmed_channel",
|
|
117
|
+
"telegramBot"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
118
120
|
},
|
|
119
121
|
{
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
122
|
+
"if": {
|
|
123
|
+
"properties": {
|
|
124
|
+
"channel": {
|
|
125
|
+
"const": "email"
|
|
126
|
+
}
|
|
123
127
|
},
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
128
|
+
"required": [
|
|
129
|
+
"channel"
|
|
130
|
+
]
|
|
127
131
|
},
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
132
|
+
"then": {
|
|
133
|
+
"required": [
|
|
134
|
+
"email"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
131
137
|
}
|
|
132
138
|
]
|
|
133
139
|
}
|