From 1fc7b1942c95177f5287323224022c449de2ff86 Mon Sep 17 00:00:00 2001 From: Taras Novak Date: Tue, 25 Jun 2019 04:30:44 -0500 Subject: [PATCH] #64 added supported binary files regexp for data read checks --- src/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 19a3a26..687a7b8 100644 --- a/src/config.ts +++ b/src/config.ts @@ -3,9 +3,10 @@ import { LogLevel } from "./logger"; // log level setting for prod. vs. dev run of this ext. export const logLevel: LogLevel = LogLevel.Info; // change to .Debug for ext. dev debug -// supported data file extensions export const supportedDataFiles: RegExp = /.*\.(json|json5|hjson|arrow|arr|avro|parquet|parq|config|env|properties|ini|yaml|yml|csv|tsv|txt|tab|dif|ods|prn|slk|xls|xlsb|xlsx|xlsm|xml|html)/; +export const supportedBinaryDataFiles: RegExp = /.*\.(arrow|arr|avro|parquet|parq|ods|xls|xlsb|xlsx|xlsm)/; + // arrow to data view type mappings // see: https://github.com/finos/perspective/blob/master/packages/perspective/src/js/utils.js // and https://github.com/finos/perspective/blob/master/packages/perspective/src/js/perspective.js#ArrowColumnLoader