From 9eda568eb71c3c952569e76b3b7d473a2d80fda4 Mon Sep 17 00:00:00 2001 From: manelcecs Date: Tue, 26 Dec 2023 07:22:21 +0100 Subject: [PATCH] Temp rem --- src/domain-services/flows/graphql/args.ts | 8 ++++---- tests/unit/flow-search-service.spec.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/domain-services/flows/graphql/args.ts b/src/domain-services/flows/graphql/args.ts index 05f5f8ed..404c6339 100644 --- a/src/domain-services/flows/graphql/args.ts +++ b/src/domain-services/flows/graphql/args.ts @@ -10,11 +10,11 @@ export class SearchFlowsFilters { @Field({ nullable: true }) activeStatus: boolean; - @Field({ nullable: true }) - status: 'commitment' | 'paid' | 'pledged'; + // @Field({ nullable: true }) + // status: 'commitment' | 'paid' | 'pledged'; - @Field({ nullable: true }) - type: 'carryover' | 'parked' | 'pass_through' | 'standard'; + // @Field({ nullable: true }) + // type: 'carryover' | 'parked' | 'pass_through' | 'standard'; @Field({ nullable: true }) amountUSD: number; diff --git a/tests/unit/flow-search-service.spec.ts b/tests/unit/flow-search-service.spec.ts index a12e1fa6..da7104cd 100644 --- a/tests/unit/flow-search-service.spec.ts +++ b/tests/unit/flow-search-service.spec.ts @@ -17,8 +17,8 @@ describe('FlowSearchService', () => { const flowFilters = new SearchFlowsFilters(); flowFilters.id = [1]; flowFilters.activeStatus = true; - flowFilters.status = 'commitment'; - flowFilters.type = 'carryover'; + // flowFilters.status = 'commitment'; + // flowFilters.type = 'carryover'; flowFilters.amountUSD = 1000; flowFilters.reporterReferenceCode = 123; flowFilters.sourceSystemId = 456;