Skip to content

Commit

Permalink
Fix/lint errors (#39)
Browse files Browse the repository at this point in the history
* add: transfer filter to transfer resource

- Added helper functions to generate dynamic where condition based on filter input.
- Added filter to transfer resource
- Rename query name transfers and getAllTransfers to transfer and transfers

* update: transfer summary query

* update: transfers pagination default limit

* Fix: integration test

* Fix: integration test error

* Fix: bug int cannot represent non-integer value

-Use scalar type [dateTimeFlex,BigInt]

* update: transfer query to add events fields

-Added quoteEvents field to transfer resource
-Added transferEvents field to transfer resource
-Added partyLookupEventsfield to transfer resource
-Added settlementEvents to transfer resource

* fix: transfer filter bug

transfers query was returning less no of transfers documents than it was existing

* update: transaction schema and query according to new schema

* fix: conversion state filter

* fix: transfers object conversion error when no data returned for query

* create: resolver for fxTransferEvents and fxQuoteEvents lookup

* create: settlement resource prisma model

* create: settlement resource query

* add: conversionSettlementBatchId and transferSettlementBatchId lookup to transfer

* fix: lint errors

* Update two packages with high severity: body-parser  <1.20.3 & path-to-regexp  <0.1.10
They will need to be updated.

* Fix: unit test , remove unnecessary import

---------

Co-authored-by: Akhilesh Rawat <[email protected]>
Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: nguni52 <[email protected]>
  • Loading branch information
4 people authored Nov 29, 2024
1 parent bd5d032 commit 590c9ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/schema/Settlement/Query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { extendType, nonNull, intArg } from 'nexus';
import { stringArg, extendType, nonNull, intArg } from 'nexus';


const Query = extendType({
type: 'Query',
Expand Down

0 comments on commit 590c9ab

Please sign in to comment.