Merge pull request 'Change FilterInput to RunFilterInput' (#140) from mk/use-run-filter-input into master
Reviewed-on: #140
This commit is contained in:
commit
1fab007654
@ -2252,7 +2252,7 @@ export type QueryGetPlayTimeArgs = {
|
|||||||
|
|
||||||
export type QueryGetRunsArgs = {
|
export type QueryGetRunsArgs = {
|
||||||
countRespectsLimit?: Scalars["Boolean"]["input"];
|
countRespectsLimit?: Scalars["Boolean"]["input"];
|
||||||
filterInput: FilterInput;
|
filterInput: RunFilterInput;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
runIds?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
||||||
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
||||||
@ -2350,6 +2350,18 @@ export type RequestedMedalsGql = {
|
|||||||
totalMakes1000?: Maybe<MedalGql>;
|
totalMakes1000?: Maybe<MedalGql>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type RunFilterInput = {
|
||||||
|
andFilters?: InputMaybe<Array<RunFilterInput>>;
|
||||||
|
createdAt?: InputMaybe<DateRangeFilter>;
|
||||||
|
notFilter?: InputMaybe<RunFilterInput>;
|
||||||
|
orFilters?: InputMaybe<Array<RunFilterInput>>;
|
||||||
|
runLength?: InputMaybe<FloatRangeFilter>;
|
||||||
|
tableSize?: InputMaybe<FloatRangeFilter>;
|
||||||
|
userId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
||||||
|
username?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
||||||
|
videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
||||||
|
};
|
||||||
|
|
||||||
export type RunGql = {
|
export type RunGql = {
|
||||||
__typename?: "RunGQL";
|
__typename?: "RunGQL";
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
|
@ -11,7 +11,7 @@ type Query {
|
|||||||
): [MakePercentageIntervalGQL!]!
|
): [MakePercentageIntervalGQL!]!
|
||||||
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
|
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
|
||||||
getRuns(
|
getRuns(
|
||||||
filterInput: FilterInput!
|
filterInput: RunFilterInput!
|
||||||
runIds: [Int!] = null
|
runIds: [Int!] = null
|
||||||
runsOrdering: GetRunsOrdering = null
|
runsOrdering: GetRunsOrdering = null
|
||||||
limit: Int! = 500
|
limit: Int! = 500
|
||||||
@ -584,6 +584,18 @@ type VideoProcessingStatusGQL {
|
|||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input RunFilterInput {
|
||||||
|
videoId: [Int!]
|
||||||
|
userId: [Int!]
|
||||||
|
username: [String!]
|
||||||
|
andFilters: [RunFilterInput!]
|
||||||
|
orFilters: [RunFilterInput!]
|
||||||
|
notFilter: RunFilterInput
|
||||||
|
tableSize: FloatRangeFilter
|
||||||
|
createdAt: DateRangeFilter
|
||||||
|
runLength: FloatRangeFilter
|
||||||
|
}
|
||||||
|
|
||||||
input GetRunsOrdering {
|
input GetRunsOrdering {
|
||||||
orderings: [RunsOrderingComponent!]!
|
orderings: [RunsOrderingComponent!]!
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user