Skip to content

Commit

Permalink
allow null for estimated matching object for testing party
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKoinzell committed Jul 11, 2023
1 parent d4bea06 commit 7fdf789
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/types/qfTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { Field, Float, ObjectType } from 'type-graphql';

@ObjectType()
export class EstimatedMatching {
@Field(type => Float)
projectDonationsSqrtRootSum: number;
@Field(type => Float, { nullable: true })
projectDonationsSqrtRootSum?: number;

@Field(type => Float)
allProjectsSum: number;
@Field(type => Float, { nullable: true })
allProjectsSum?: number;

@Field(type => Float)
matchingPool: number;
@Field(type => Float, { nullable: true })
matchingPool?: number;
}

0 comments on commit 7fdf789

Please sign in to comment.