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
0
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 3.3.1-build-renovate-major-8--balenasbvr-types-8e3750e27e52293db545b56003a2cdba15fe1e89-1 to 3.4.0-build-pick-deferred-expanded-cf3beec0b799d079d21ed9d890eb4ddbe3be0392-1

13

CHANGELOG.md

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

## 3.3.1 - 2024-06-27
## 3.4.0 - 2024-07-05
* Add a type helper for picking both deferred and expanded props [Pagan Gazzard]
<details>
<summary> Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot] </summary>
> ### sbvr-types-8.0.0 - 2024-06-12
>
> * Improve BigInteger and BigSerial support [Josh Bowling]
>
</details>
## 3.3.0 - 2024-06-27

@@ -22,0 +13,0 @@

4

out/index.d.ts
import type { Types } from '@balena/sbvr-types';
export type { Types } from '@balena/sbvr-types';
export type PickDeferredExpanded<T, U extends {
Deferred?: Array<keyof T>;
Expanded?: Array<keyof T>;
}> = PickDeferred<T, Extract<U['Deferred'], Array<keyof T>>[number]> & PickExpanded<T, Extract<U['Expanded'], Array<keyof T>>[number]>;
export type Expanded<T> = Extract<T, Array<Resource['Read']>>;

@@ -4,0 +8,0 @@ export type PickExpanded<T, K extends keyof T = keyof T> = {

{
"name": "@balena/abstract-sql-to-typescript",
"version": "3.3.1-build-renovate-major-8--balenasbvr-types-8e3750e27e52293db545b56003a2cdba15fe1e89-1",
"version": "3.4.0-build-pick-deferred-expanded-cf3beec0b799d079d21ed9d890eb4ddbe3be0392-1",
"description": "A translator for abstract sql into typescript types.",

@@ -24,3 +24,3 @@ "main": "out/index.js",

"@balena/odata-to-abstract-sql": "^6.2.7",
"@balena/sbvr-types": "^8.0.0",
"@balena/sbvr-types": "^7.1.3",
"@types/node": "^20.14.8",

@@ -55,4 +55,4 @@ "common-tags": "^1.8.2"

"versionist": {
"publishedAt": "2024-06-27T16:45:51.052Z"
"publishedAt": "2024-07-05T18:14:13.736Z"
}
}
import type { Types } from '@balena/sbvr-types';
export type { Types } from '@balena/sbvr-types';
export type PickDeferredExpanded<
T,
U extends { Deferred?: Array<keyof T>; Expanded?: Array<keyof T> },
> = PickDeferred<T, Extract<U['Deferred'], Array<keyof T>>[number]> &
PickExpanded<T, Extract<U['Expanded'], Array<keyof T>>[number]>;
export type Expanded<T> = Extract<T, Array<Resource['Read']>>;

@@ -5,0 +11,0 @@ export type PickExpanded<T, K extends keyof T = keyof T> = {

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