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

edgedb

Package Overview
Dependencies
Maintainers
4
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edgedb - npm Package Compare versions

Comparing version 1.6.0-canary.20240613T213111 to 1.6.0-canary.20240617T145712

33

dist/reflection/queries/types.d.ts

@@ -22,8 +22,8 @@ import type { Executor } from "../../ifaces";

export type TypeKind = "object" | "scalar" | "array" | "tuple" | "range" | "multirange" | "unknown";
export type TypeProperties<T extends TypeKind> = {
export interface TypeProperties<T extends TypeKind> {
id: UUID;
kind: T;
name: string;
};
export type ScalarType = TypeProperties<"scalar"> & {
}
export interface ScalarType extends TypeProperties<"scalar"> {
is_abstract: boolean;

@@ -37,4 +37,4 @@ is_seq: boolean;

cast_type?: UUID;
};
export type ObjectType = TypeProperties<"object"> & {
}
export interface ObjectType extends TypeProperties<"object"> {
is_abstract: boolean;

@@ -56,8 +56,8 @@ bases: readonly {

}[];
};
export type ArrayType = TypeProperties<"array"> & {
}
export interface ArrayType extends TypeProperties<"array"> {
array_element_id: UUID;
is_abstract: boolean;
};
export type TupleType = TypeProperties<"tuple"> & {
}
export interface TupleType extends TypeProperties<"tuple"> {
tuple_elements: readonly {

@@ -68,13 +68,16 @@ name: string;

is_abstract: boolean;
};
export type RangeType = TypeProperties<"range"> & {
}
export interface RangeType extends TypeProperties<"range"> {
range_element_id: UUID;
is_abstract: boolean;
};
export type MultiRangeType = TypeProperties<"multirange"> & {
}
export interface MultiRangeType extends TypeProperties<"multirange"> {
multirange_element_id: UUID;
is_abstract: boolean;
};
}
export interface BaseType extends TypeProperties<"unknown"> {
is_abstract: false;
}
export type PrimitiveType = ScalarType | ArrayType | TupleType | RangeType | MultiRangeType;
export type Type = PrimitiveType | ObjectType;
export type Type = BaseType | PrimitiveType | ObjectType;
export type Types = StrictMap<UUID, Type>;

@@ -81,0 +84,0 @@ export declare const typeMapping: Map<string, ScalarType>;

@@ -21,1 +21,4 @@ /*!

}
export declare class StrictMapSet<K, V> extends StrictMap<K, Set<V>> {
appendAt(key: K, value: V): void;
}

@@ -20,3 +20,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.StrictMap = void 0;
exports.StrictMapSet = exports.StrictMap = void 0;
class StrictMap extends Map {

@@ -31,1 +31,9 @@ get(key) {

exports.StrictMap = StrictMap;
class StrictMapSet extends StrictMap {
appendAt(key, value) {
const set = this.has(key) ? this.get(key) : new Set();
set.add(value);
this.set(key, set);
}
}
exports.StrictMapSet = StrictMapSet;
{
"name": "edgedb",
"version": "1.6.0-canary.20240613T213111",
"version": "1.6.0-canary.20240617T145712",
"description": "The official Node.js client library for EdgeDB",

@@ -5,0 +5,0 @@ "homepage": "https://edgedb.com/docs",

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