Socket
Socket
Sign inDemoInstall

@dbpath/types

Package Overview
Dependencies
0
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

4

dist/src/path.d.ts

@@ -8,5 +8,7 @@ import { TwoIds } from "@dbpath/dal";

export interface LinkInPath extends TableInPath {
previousLink?: LinkInPath;
previousLink: PathItem;
idEquals: TwoIds[];
}
export type PathItem = LinkInPath | TableInPath;
export declare function isLinkInPath(p: PathItem): p is LinkInPath;
export declare function isTableInPath(p: PathItem): p is TableInPath;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTableInPath = exports.isLinkInPath = void 0;
function isLinkInPath(p) {
return p.previousLink !== undefined;
}
exports.isLinkInPath = isLinkInPath;
function isTableInPath(p) {
return !isLinkInPath(p);
}
exports.isTableInPath = isTableInPath;
{
"name": "@dbpath/types",
"description": "",
"version": "0.2.3",
"version": "0.2.4",
"main": "dist/index",

@@ -6,0 +6,0 @@ "types": "dist/index",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc