@vizzly/semantic-layer-public 0.0.112 → 0.0.114
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.
|
@@ -12,7 +12,20 @@ const constants_2 = require("../QueryEngineConfig/constants");
|
|
|
12
12
|
const DataSetNotLinkedToConnection_1 = require("../errors/DataSetNotLinkedToConnection");
|
|
13
13
|
const REDACT_KEYS_FROM_ERROR_MESSAGE = ['unencryptedCredentials', 'encryptedCredentials'];
|
|
14
14
|
const SUPPORTED_SECURE_FILTER_OPS = Object.keys(constants_2.supportedOperatorsConstants);
|
|
15
|
-
const SUPPORTED_ALLOWED_GRANULARITIES = [
|
|
15
|
+
const SUPPORTED_ALLOWED_GRANULARITIES = [
|
|
16
|
+
'second',
|
|
17
|
+
'minute',
|
|
18
|
+
'hour',
|
|
19
|
+
'day',
|
|
20
|
+
'week',
|
|
21
|
+
'month',
|
|
22
|
+
'quarter',
|
|
23
|
+
'year',
|
|
24
|
+
'dayOfMonthOnly',
|
|
25
|
+
'dayOfWeekOnly',
|
|
26
|
+
'weekOfYearOnly',
|
|
27
|
+
'hourOfDayOnly',
|
|
28
|
+
];
|
|
16
29
|
const SUPPORTED_JOINS = ['rightJoin', 'leftJoin', 'innerJoin', 'outerJoin', 'leftOuterJoin', 'rightOuterJoin'];
|
|
17
30
|
exports.ALLOWED_ID_REGEX = /^[a-zA-Z0-9_+:\/=\-\s]*$/;
|
|
18
31
|
exports.ID_REGEX_ERROR_MESSAGE = 'IDs must only use alpha numeric characters and _';
|