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

@contember/schema

Package Overview
Dependencies
Maintainers
5
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/schema - npm Package Compare versions

Comparing version 0.10.2 to 0.11.0-alpha.0

6

dist/src/schema/input.d.ts

@@ -89,3 +89,3 @@ import Value from './value';

}
interface SelectQueryInput<E = never> {
interface PaginationQueryInput<E = never> {
filter?: OptionalWhere<E>;

@@ -96,2 +96,4 @@ orderBy?: OrderBy[];

}
/** @deprecated */
type SelectQueryInput<E = never> = PaginationQueryInput<E>;
type UpdateOneRelationInput<E = never> = CreateRelationInput<E> | ConnectRelationInput<E> | DeleteRelationInput | DisconnectRelationInput | UpdateRelationInput<E> | UpsertRelationInput<E>;

@@ -146,3 +148,3 @@ type UpdateManyRelationInputItem<E = never> = {

interface FieldWhere<C = Condition, Opt = never> {
[name: string]: C | Where<C, Opt> | undefined | Where<C, Opt>[];
[name: string]: C | Where<C, Opt> | undefined | (Where<C, Opt> | Opt)[];
}

@@ -149,0 +151,0 @@ type Where<C = Condition, Opt = never> = ComposedWhere<C, Opt> & FieldWhere<C, Opt>;

{
"name": "@contember/schema",
"version": "0.10.2",
"version": "0.11.0-alpha.0",
"license": "Apache-2.0",

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

@@ -103,3 +103,3 @@ import Value from './value'

export interface SelectQueryInput<E = never> {
export interface PaginationQueryInput<E = never> {
filter?: OptionalWhere<E>

@@ -111,2 +111,5 @@ orderBy?: OrderBy[]

/** @deprecated */
export type SelectQueryInput<E = never> = PaginationQueryInput<E>
export type UpdateOneRelationInput<E = never> =

@@ -181,3 +184,3 @@ | CreateRelationInput<E>

export interface FieldWhere<C = Condition, Opt = never> {
[name: string]: C | Where<C, Opt> | undefined | Where<C, Opt>[] //last one if for ComposedWhere
[name: string]: C | Where<C, Opt> | undefined | (Where<C, Opt> | Opt)[] //last one if for ComposedWhere
}

@@ -184,0 +187,0 @@

Sorry, the diff of this file is not supported yet

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