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

@balena/abstract-sql-to-typescript

Package Overview
Dependencies
Maintainers
3
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/abstract-sql-to-typescript - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0-build-add-web-resource-6cf446a5230f86f19c346b37efde46b970d08a15-1

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Change Log

## 2.1.0 - 2023-08-07
* Adds webresource typing generation [Otávio Jacobi]
## 2.0.0 - 2023-05-02

@@ -9,0 +13,0 @@

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

};
export interface WebResource {
filename: string;
href: string;
contentType?: string;
contentDisposition?: string;
size?: number;
};
`,

@@ -73,2 +80,4 @@ write: '',

return '{}';
case 'WebResource':
return 'WebResource';
default:

@@ -75,0 +84,0 @@ throw new Error(`Unknown data type: '${f.dataType}'`);

4

package.json
{
"name": "@balena/abstract-sql-to-typescript",
"version": "2.0.0",
"version": "2.1.0-build-add-web-resource-6cf446a5230f86f19c346b37efde46b970d08a15-1",
"description": "A translator for abstract sql into typescript types.",

@@ -47,4 +47,4 @@ "main": "out/index.js",

"versionist": {
"publishedAt": "2023-05-02T12:00:10.869Z"
"publishedAt": "2023-08-07T15:41:31.815Z"
}
}

@@ -32,2 +32,9 @@ import type {

};
export interface WebResource {
filename: string;
href: string;
contentType?: string;
contentDisposition?: string;
size?: number;
};
`,

@@ -111,2 +118,4 @@ write: '',

return '{}';
case 'WebResource':
return 'WebResource';
default:

@@ -113,0 +122,0 @@ throw new Error(`Unknown data type: '${f.dataType}'`);

@@ -35,2 +35,9 @@ import type { AbstractSqlModel } from '@balena/abstract-sql-compiler';

};
export interface WebResource {
filename: string;
href: string;
contentType?: string;
contentDisposition?: string;
size?: number;
};

@@ -145,2 +152,7 @@ ${expectation}

{
dataType: 'WebResource',
fieldName: 'a_file',
required: true,
},
{
dataType: 'ConceptType',

@@ -312,2 +324,3 @@ fieldName: 'parent',

a_date: DateString;
a_file: WebResource;
parent: { __id: number } | [Parent];

@@ -350,2 +363,3 @@ references__other: { __id: number } | [Other];

a_date: Date;
a_file: WebResource;
parent: number;

@@ -352,0 +366,0 @@ references__other: number;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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