Add column property query builder filters
This commit is contained in:
parent
f140807886
commit
efc0b2d858
165
src/index.tsx
165
src/index.tsx
@ -136,6 +136,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -151,6 +156,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -166,6 +176,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -181,6 +196,11 @@ export type FilterInput =
|
||||
cueObjectDistance: RangeFilter;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -196,6 +216,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty: RangeFilter;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -211,6 +236,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType: Array<PocketEnum>;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -226,6 +256,111 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft: Array<Scalars["Boolean"]["input"]>;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss: Array<Scalars["Boolean"]["input"]>;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight: Array<Scalars["Boolean"]["input"]>;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss: Array<Scalars["Boolean"]["input"]>;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight: Array<Scalars["Boolean"]["input"]>;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make: Array<Scalars["Boolean"]["input"]>;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -241,6 +376,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters: Array<FilterInput>;
|
||||
shotDirection?: never;
|
||||
@ -256,6 +396,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection: Array<ShotDirectionEnum>;
|
||||
@ -271,6 +416,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -286,6 +436,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -301,6 +456,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
@ -316,6 +476,11 @@ export type FilterInput =
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
make?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
|
@ -76,6 +76,11 @@ input FilterInput @oneOf {
|
||||
userId: [Int!]
|
||||
make: [Boolean!]
|
||||
tags: [VideoTagInput!]
|
||||
isStraight: [Boolean!]
|
||||
isRight: [Boolean!]
|
||||
isLeft: [Boolean!]
|
||||
isLeftMiss: [Boolean!]
|
||||
isRightMiss: [Boolean!]
|
||||
}
|
||||
|
||||
input RangeFilter {
|
||||
|
Loading…
Reference in New Issue
Block a user