@sjcrh/proteinpaint-types 2.164.0 → 2.164.1
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.
|
@@ -2207,15 +2207,15 @@ var validChatRequest = (input) => {
|
|
|
2207
2207
|
var validChatResponse = (input) => {
|
|
2208
2208
|
const errors = [];
|
|
2209
2209
|
const __is = (input2) => {
|
|
2210
|
-
const $io0 = (input3) => ("html" === input3.type || "plot" === input3.type) && (void 0 === input3.html || "string" === typeof input3.html) && true;
|
|
2210
|
+
const $io0 = (input3) => ("html" === input3.type || "plot" === input3.type || "json" === input3.type) && (void 0 === input3.html || "string" === typeof input3.html) && true;
|
|
2211
2211
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
2212
2212
|
};
|
|
2213
2213
|
if (false === __is(input)) {
|
|
2214
2214
|
const $report = import_typia.createValidate.report(errors);
|
|
2215
2215
|
((input2, _path, _exceptionable = true) => {
|
|
2216
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || "plot" === input3.type || $report(_exceptionable2, {
|
|
2216
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || "plot" === input3.type || "json" === input3.type || $report(_exceptionable2, {
|
|
2217
2217
|
path: _path2 + ".type",
|
|
2218
|
-
expected: '("html" | "plot")',
|
|
2218
|
+
expected: '("html" | "json" | "plot")',
|
|
2219
2219
|
value: input3.type
|
|
2220
2220
|
}), void 0 === input3.html || "string" === typeof input3.html || $report(_exceptionable2, {
|
|
2221
2221
|
path: _path2 + ".html",
|
package/dist/index.js
CHANGED
package/dist/termdb.chat.js
CHANGED
package/package.json
CHANGED
package/src/terms/q.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type CategoricalBaseQ = MinBaseQ & {
|
|
|
22
22
|
mode?: 'discrete' | 'binary'
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export type RawValuesQ = MinBaseQ & { type?: 'values'; mode?: 'binary' }
|
|
25
|
+
export type RawValuesQ = MinBaseQ & { type?: 'values'; mode?: 'binary' | 'discrete' }
|
|
26
26
|
|
|
27
27
|
export type RawPredefinedGroupsetQ = MinBaseQ & {
|
|
28
28
|
type: 'predefined-groupset'
|