Skip to content

Commit e6730c1

Browse files
authored
feat: add chain id search param to user where input (#172)
1 parent f404ac3 commit e6730c1

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,4 +871,5 @@ type User {
871871

872872
input UserWhereInput {
873873
address: StringSearchOptions
874+
chain_id: BigIntSearchOptions
874875
}

src/__generated__/swagger.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { Field, InputType } from "type-graphql";
22
import type { WhereOptions } from "./whereOptions.js";
3-
import { StringSearchOptions } from "./searchOptions.js";
3+
import { BigIntSearchOptions, StringSearchOptions } from "./searchOptions.js";
44
import { User } from "../typeDefs/userTypeDefs.js";
55

66
@InputType()
77
export class BasicUserWhereInput implements WhereOptions<User> {
88
@Field(() => StringSearchOptions, { nullable: true })
99
address?: StringSearchOptions | null;
10+
11+
@Field(() => BigIntSearchOptions, { nullable: true })
12+
chain_id?: BigIntSearchOptions | null;
1013
}

src/types/graphql-env.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4711,6 +4711,14 @@ export type introspection = {
47114711
"name": "StringSearchOptions",
47124712
"ofType": null
47134713
}
4714+
},
4715+
{
4716+
"name": "chain_id",
4717+
"type": {
4718+
"kind": "INPUT_OBJECT",
4719+
"name": "BigIntSearchOptions",
4720+
"ofType": null
4721+
}
47144722
}
47154723
]
47164724
}

0 commit comments

Comments
 (0)