Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vizzly/semantic-layer-public

Package Overview
Dependencies
Maintainers
0
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizzly/semantic-layer-public - npm Package Compare versions

Comparing version 0.0.214 to 0.0.215

dist/QueryEngineConfig/removeUnsupportedFeatures.d.ts

4

dist/QueryEngineConfig/constants.js

@@ -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'];

9

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc