2019-01-30 09:59:15 -08:00
|
|
|
import { Proposal } from './proposal';
|
|
|
|
import { PROPOSAL_CATEGORY, RFP_STATUS } from 'api/constants';
|
2019-02-08 11:02:34 -08:00
|
|
|
import { Zat } from 'utils/units';
|
2019-01-30 09:59:15 -08:00
|
|
|
|
|
|
|
export interface RFP {
|
|
|
|
id: number;
|
2019-03-13 22:06:02 -07:00
|
|
|
urlId: string;
|
2019-01-30 09:59:15 -08:00
|
|
|
title: string;
|
|
|
|
brief: string;
|
|
|
|
content: string;
|
|
|
|
category: PROPOSAL_CATEGORY;
|
|
|
|
status: RFP_STATUS;
|
2019-02-01 11:13:30 -08:00
|
|
|
acceptedProposals: Proposal[];
|
2019-02-08 11:02:34 -08:00
|
|
|
bounty: Zat | null;
|
|
|
|
matching: boolean;
|
|
|
|
dateOpened: number;
|
|
|
|
dateClosed?: number;
|
|
|
|
dateCloses?: number;
|
2019-10-24 10:32:00 -07:00
|
|
|
authedLiked: boolean;
|
|
|
|
likesCount: number;
|
2019-01-30 09:59:15 -08:00
|
|
|
}
|