zcash-grant-system/frontend/types/rfp.ts

21 lines
440 B
TypeScript

import { Proposal } from './proposal';
import { RFP_STATUS } from 'api/constants';
import { Zat } from 'utils/units';
export interface RFP {
id: number;
urlId: string;
title: string;
brief: string;
content: string;
status: RFP_STATUS;
acceptedProposals: Proposal[];
bounty: Zat | null;
matching: boolean;
dateOpened: number;
dateClosed?: number;
dateCloses?: number;
authedLiked: boolean;
likesCount: number;
}