@contember/schema
Advanced tools
Comparing version 0.10.2 to 0.11.0-alpha.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
272445
1268