@vizzly/semantic-layer-public
Advanced tools
Comparing version 0.0.214 to 0.0.215
@@ -103,2 +103,6 @@ "use strict"; | ||
}, | ||
monthOfYearOnly: { | ||
publicName: 'Month of year', | ||
dateFormat: 'month_of_year_only', | ||
}, | ||
dayOfMonthOnly: { | ||
@@ -105,0 +109,0 @@ publicName: 'Day of month', |
@@ -5,1 +5,2 @@ export * from './getQueryEngineConfig'; | ||
export * as Support from './support'; | ||
export * from './removeUnsupportedFeatures'; |
@@ -34,1 +34,2 @@ "use strict"; | ||
exports.Support = __importStar(require("./support")); | ||
__exportStar(require("./removeUnsupportedFeatures"), exports); |
@@ -32,2 +32,3 @@ "use strict"; | ||
'hourOfDayOnly', | ||
'monthOfYearOnly', | ||
]), | ||
@@ -34,0 +35,0 @@ supportedAggregates: (0, support_1.supportedAggregates)([ |
@@ -53,2 +53,12 @@ import { NormalizedDataType } from '@vizzly/sqlbuilder-public'; | ||
export type SupportedAggregateOption = string; | ||
export type SupportedTimeFunctions = 'minute' | 'hour' | 'second' | 'week' | 'quarter' | 'year' | 'month' | 'day' | 'dayOfMonthOnly' | 'dayOfWeekOnly' | 'hourOfDayOnly' | 'weekOfYearOnly'; | ||
export type SupportedTimeFunctions = 'minute' | 'hour' | 'second' | 'week' | 'quarter' | 'year' | 'month' | 'day' | 'dayOfMonthOnly' | 'dayOfWeekOnly' | 'hourOfDayOnly' | 'weekOfYearOnly' | 'monthOfYearOnly'; | ||
/** | ||
* Sometimes the query engine will support a feature which the dashboard does not. | ||
* An example being returning a number that represents a month of the year. However | ||
* the dashboard will not know how to format this - e.g convert the number 1 into "January" | ||
* as a number formatting option. | ||
* | ||
* Therefore the query engine config should be modified to only add in features which the | ||
* dashboard can understand. Listed here are the definitions of features which are supported. | ||
* */ | ||
export type FrontendFeature = 'formatter:monthOfYearOnly'; |
export type OriginId = 'direct' | 'environment' | 'vizzly_api' | 'github' | 'remote' | 's3' | 'file' | 'encrypted_blob'; | ||
export type * from './QueryEngineConfig/types'; | ||
export type * from './QueryEngineConfig/types'; |
@@ -28,2 +28,3 @@ "use strict"; | ||
'hourOfDayOnly', | ||
'monthOfYearOnly', | ||
]; | ||
@@ -30,0 +31,0 @@ const SUPPORTED_JOINS = ['rightJoin', 'leftJoin', 'innerJoin', 'outerJoin', 'leftOuterJoin', 'rightOuterJoin']; |
{ | ||
"name": "@vizzly/semantic-layer-public", | ||
"version": "0.0.214", | ||
"version": "0.0.215", | ||
"source": "src/index.ts", | ||
@@ -21,14 +21,11 @@ "main": "dist/index.js", | ||
"@types/jest": "^29.5.12", | ||
"@types/uuid": "^9.0.8", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.2.5", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.5", | ||
"uuid": "^9.0.1", | ||
"@vizzly/sqlbuilder-public": "0.1.23" | ||
"@vizzly/sqlbuilder-public": "0.1.24" | ||
}, | ||
"peerDependencies": { | ||
"@vizzly/sqlbuilder-public": "0.1.23", | ||
"@vizzly/sqlbuilder-public": "0.1.24", | ||
"@vizzly/joi": "^17.11.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73562
5
53
1905