Add column property query builder filters

This commit is contained in:
Ivan Malison 2024-07-02 16:54:56 -06:00
parent f140807886
commit efc0b2d858
2 changed files with 170 additions and 0 deletions

View File

@ -136,6 +136,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -151,6 +156,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -166,6 +176,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -181,6 +196,11 @@ export type FilterInput =
cueObjectDistance: RangeFilter; cueObjectDistance: RangeFilter;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -196,6 +216,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty: RangeFilter; difficulty: RangeFilter;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -211,6 +236,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType: Array<PocketEnum>; intendedPocketType: Array<PocketEnum>;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -226,6 +256,111 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: 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"]>; make: Array<Scalars["Boolean"]["input"]>;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -241,6 +376,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters: Array<FilterInput>; orFilters: Array<FilterInput>;
shotDirection?: never; shotDirection?: never;
@ -256,6 +396,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection: Array<ShotDirectionEnum>; shotDirection: Array<ShotDirectionEnum>;
@ -271,6 +416,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -286,6 +436,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -301,6 +456,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -316,6 +476,11 @@ export type FilterInput =
cueObjectDistance?: never; cueObjectDistance?: never;
difficulty?: never; difficulty?: never;
intendedPocketType?: never; intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never; make?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;

View File

@ -76,6 +76,11 @@ input FilterInput @oneOf {
userId: [Int!] userId: [Int!]
make: [Boolean!] make: [Boolean!]
tags: [VideoTagInput!] tags: [VideoTagInput!]
isStraight: [Boolean!]
isRight: [Boolean!]
isLeft: [Boolean!]
isLeftMiss: [Boolean!]
isRightMiss: [Boolean!]
} }
input RangeFilter { input RangeFilter {