@magnetarjs/types
Advanced tools
Comparing version 0.16.3 to 0.16.4
@@ -129,5 +129,5 @@ import { Merge } from 'merge-anything'; | ||
type QueryClause = { | ||
and: WhereClause[] | QueryClause; | ||
and: (WhereClause | QueryClause)[]; | ||
} | { | ||
or: WhereClause[] | QueryClause; | ||
or: (WhereClause | QueryClause)[]; | ||
}; | ||
@@ -156,5 +156,5 @@ /** | ||
type Query<T extends Record<string, any> = Record<string, any>> = { | ||
or: WhereClauseTuple<T>[] | Query<T>; | ||
or: (WhereClauseTuple<T> | Query<T>)[]; | ||
} | { | ||
and: WhereClauseTuple<T>[] | Query<T>; | ||
and: (WhereClauseTuple<T> | Query<T>)[]; | ||
}; | ||
@@ -161,0 +161,0 @@ |
{ | ||
"name": "@magnetarjs/types", | ||
"version": "0.16.3", | ||
"version": "0.16.4", | ||
"sideEffects": false, | ||
@@ -8,2 +8,3 @@ "description": "Magnetar shared types", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
@@ -10,0 +11,0 @@ ".": { |
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
58707