From e89c1ea77cd16cce8cc00c3b9a4fb72dcf42adbf Mon Sep 17 00:00:00 2001 From: Cherik Date: Mon, 9 Dec 2024 15:28:43 +0330 Subject: [PATCH] add includeUnlisted to FilterProjectQueryInputParams --- src/resolvers/projectResolver.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/resolvers/projectResolver.ts b/src/resolvers/projectResolver.ts index e9740260d..051683924 100644 --- a/src/resolvers/projectResolver.ts +++ b/src/resolvers/projectResolver.ts @@ -268,6 +268,9 @@ class GetProjectsArgs { @Field(_type => String, { nullable: true }) qfRoundSlug?: string; + + @Field({ nullable: true }) + includeUnlisted?: boolean; } @ObjectType() @@ -740,6 +743,7 @@ export class ProjectResolver { campaignSlug, qfRoundId, qfRoundSlug, + includeUnlisted, }: GetProjectsArgs, @Ctx() { req: { user }, projectsFiltersThreadPool }: ApolloContext, ): Promise { @@ -766,6 +770,7 @@ export class ProjectResolver { qfRoundId, qfRoundSlug, activeQfRoundId, + includeUnlisted, }; let campaign; if (campaignSlug) {