Compare commits
No commits in common. "e0e1ae1108880d083f55bd50eb770e08db307094" and "88801f9186f079e04231cc51eb3f00407c8563bb" have entirely different histories.
e0e1ae1108
...
88801f9186
235
src/index.tsx
235
src/index.tsx
@ -132,21 +132,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters: Array<FilterInput>;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -159,21 +154,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations: Array<ShotAnnotationInput>;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -186,75 +176,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle: RangeFilter;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance: RangeFilter;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed: RangeFilter;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -267,21 +198,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle: RangeFilter;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -294,21 +220,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance: RangeFilter;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -321,21 +242,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty: RangeFilter;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -348,21 +264,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType: Array<PocketEnum>;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -375,48 +286,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect: Array<Scalars["Boolean"]["input"]>;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft: Array<Scalars["Boolean"]["input"]>;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -429,21 +308,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss: Array<Scalars["Boolean"]["input"]>;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -456,21 +330,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight: Array<Scalars["Boolean"]["input"]>;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -483,21 +352,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss: Array<Scalars["Boolean"]["input"]>;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -510,21 +374,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight: Array<Scalars["Boolean"]["input"]>;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -537,75 +396,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle: RangeFilter;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance: RangeFilter;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
shotDirection?: never;
|
||||
tags?: never;
|
||||
targetPocketDistance?: never;
|
||||
userId?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make: Array<Scalars["Boolean"]["input"]>;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -618,21 +418,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter: FilterInput;
|
||||
orFilters?: never;
|
||||
@ -645,21 +440,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters: Array<FilterInput>;
|
||||
@ -672,21 +462,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -699,21 +484,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -726,21 +506,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -753,21 +528,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
@ -780,21 +550,16 @@ export type FilterInput =
|
||||
| {
|
||||
andFilters?: never;
|
||||
annotations?: never;
|
||||
bankAngle?: never;
|
||||
bankDistance?: never;
|
||||
cueBallSpeed?: never;
|
||||
cueObjectAngle?: never;
|
||||
cueObjectDistance?: never;
|
||||
difficulty?: never;
|
||||
intendedPocketType?: never;
|
||||
isDirect?: never;
|
||||
isLeft?: never;
|
||||
isLeftMiss?: never;
|
||||
isRight?: never;
|
||||
isRightMiss?: never;
|
||||
isStraight?: never;
|
||||
kickAngle?: never;
|
||||
kickDistance?: never;
|
||||
make?: never;
|
||||
notFilter?: never;
|
||||
orFilters?: never;
|
||||
|
@ -84,11 +84,6 @@ input FilterInput @oneOf {
|
||||
isLeft: [Boolean!]
|
||||
isLeftMiss: [Boolean!]
|
||||
isRightMiss: [Boolean!]
|
||||
isDirect: [Boolean!]
|
||||
bankAngle: RangeFilter
|
||||
bankDistance: RangeFilter
|
||||
kickAngle: RangeFilter
|
||||
kickDistance: RangeFilter
|
||||
}
|
||||
|
||||
input RangeFilter {
|
||||
|
Loading…
Reference in New Issue
Block a user