Compare commits
2 Commits
88801f9186
...
e0e1ae1108
Author | SHA1 | Date | |
---|---|---|---|
e0e1ae1108 | |||
ee73443374 |
235
src/index.tsx
235
src/index.tsx
@ -132,16 +132,21 @@ 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;
|
||||
@ -154,16 +159,21 @@ 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;
|
||||
@ -176,16 +186,75 @@ 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;
|
||||
@ -198,16 +267,21 @@ 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;
|
||||
@ -220,16 +294,21 @@ 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;
|
||||
@ -242,16 +321,21 @@ 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;
|
||||
@ -264,16 +348,21 @@ 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;
|
||||
@ -286,16 +375,48 @@ 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;
|
||||
@ -308,16 +429,21 @@ 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;
|
||||
@ -330,16 +456,21 @@ 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;
|
||||
@ -352,16 +483,21 @@ 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;
|
||||
@ -374,16 +510,21 @@ 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;
|
||||
@ -396,16 +537,75 @@ 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;
|
||||
@ -418,16 +618,21 @@ 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;
|
||||
@ -440,16 +645,21 @@ 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>;
|
||||
@ -462,16 +672,21 @@ 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;
|
||||
@ -484,16 +699,21 @@ 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;
|
||||
@ -506,16 +726,21 @@ 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;
|
||||
@ -528,16 +753,21 @@ 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;
|
||||
@ -550,16 +780,21 @@ 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,6 +84,11 @@ 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