|
@@ -292,12 +292,11 @@ export function normalizeRestCommonParams(params: any): CommonQueryParamsInfo {
|
|
|
return {
|
|
|
model_nums: params.model_nums ? ('' + params.model_nums).split(',').map(n => n.trim()).filter(n => !!n).map(n => +n) : void 0,
|
|
|
data_source: params.data_source,
|
|
|
+
|
|
|
copy_all_categories: params.copy_all_categories === 'true',
|
|
|
-
|
|
|
encoding: mapEncoding(('' + params.encoding).toLocaleLowerCase()),
|
|
|
transform: params.transform ? ('' + params.transform).split(',').map(n => n.trim()).map(n => +n) as Mat4 : Mat4.identity(),
|
|
|
download: params.download === 'true'
|
|
|
-
|
|
|
};
|
|
|
}
|
|
|
|