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.219 to 0.0.221

13

dist/QueryEngineConfig/constants.js

@@ -74,2 +74,3 @@ "use strict";

dateFormat: 'MMMM YYYY',
dataTypeOutput: 'date_time',
},

@@ -79,2 +80,3 @@ year: {

dateFormat: 'YYYY',
dataTypeOutput: 'date_time',
},

@@ -84,2 +86,3 @@ quarter: {

dateFormat: 'quarter',
dataTypeOutput: 'date_time',
},

@@ -89,2 +92,3 @@ week: {

dateFormat: 'week',
dataTypeOutput: 'date_time',
},

@@ -94,2 +98,3 @@ day: {

dateFormat: 'DD-MM-YYYY',
dataTypeOutput: 'date_time',
},

@@ -99,2 +104,3 @@ hourOfDayOnly: {

dateFormat: 'hour_of_day',
dataTypeOutput: 'date_time',
},

@@ -104,2 +110,3 @@ weekOfYearOnly: {

dateFormat: 'week_of_year',
dataTypeOutput: 'number',
},

@@ -109,2 +116,3 @@ dayOfWeekOnly: {

dateFormat: 'day_of_week_iso',
dataTypeOutput: 'number',
},

@@ -114,2 +122,3 @@ monthOfYearOnly: {

dateFormat: 'month_of_year',
dataTypeOutput: 'number',
},

@@ -119,2 +128,3 @@ dayOfMonthOnly: {

dateFormat: 'day_of_month',
dataTypeOutput: 'number',
},

@@ -124,2 +134,3 @@ second: {

dateFormat: 'hh:mm:ss',
dataTypeOutput: 'date_time',
},

@@ -129,2 +140,3 @@ hour: {

dateFormat: 'hh:mm',
dataTypeOutput: 'date_time',
},

@@ -134,2 +146,3 @@ minute: {

dateFormat: 'hh:mm',
dataTypeOutput: 'date_time',
},

@@ -136,0 +149,0 @@ };

7

dist/QueryEngineConfig/types.d.ts

@@ -27,6 +27,7 @@ import { NormalizedDataType } from '@vizzly/sqlbuilder-public';

publicName: string;
dataTypeOutput: 'number' | 'boolean' | 'string' | 'date_time' | 'string[]';
/**
* Once from the query engine, what is
* the most appropriate format for it
* to be displayed in?
* @deprecated
* formatting function to use is determined
* by the frontend from function -> formatter id
* */

@@ -33,0 +34,0 @@ dateFormat: DateTimeFormat | (string & {});

@@ -15,17 +15,2 @@ "use strict";

const SUPPORTED_SECURE_FILTER_OPS = Object.keys(constants_2.supportedOperatorsConstants);
const SUPPORTED_ALLOWED_GRANULARITIES = [
'second',
'minute',
'hour',
'day',
'week',
'month',
'quarter',
'year',
'dayOfMonthOnly',
'dayOfWeekOnly',
'weekOfYearOnly',
'hourOfDayOnly',
'monthOfYearOnly',
];
const SUPPORTED_JOINS = ['rightJoin', 'leftJoin', 'innerJoin', 'outerJoin', 'leftOuterJoin', 'rightOuterJoin'];

@@ -63,3 +48,3 @@ exports.ALLOWED_ID_REGEX = /^[a-zA-Z0-9_+:\/=\-\s]*$/;

allowedGranularities: joi_1.default.array()
.items(joi_1.default.string().valid(...SUPPORTED_ALLOWED_GRANULARITIES))
.items(joi_1.default.string().valid(...Object.keys((0, getQueryEngineConfig_1.getQueryEngineConfig)(client).supportedTimeTruncFunctions)))
.optional(),

@@ -66,0 +51,0 @@ allowedOperators: joi_1.default.alternatives()

{
"name": "@vizzly/semantic-layer-public",
"version": "0.0.219",
"version": "0.0.221",
"source": "src/index.ts",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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