Updated models

This commit is contained in:
Zakary Timson 2019-02-03 20:31:16 -05:00
parent 10eb16d7f2
commit 8aecfc321a
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,8 @@
import {DocumentReference} from 'angularfire2/firestore';
export interface Component {
cost: number;
created: Date;
price: number;
createdOn: Date;
description: string;
id: string;
name: string;

View File

@ -3,8 +3,9 @@ import {DocumentReference} from 'angularfire2/firestore';
export interface Formula {
approved: boolean;
approvedOn: Date;
components: {component: Component; quantity: number}[];
created: Date;
createdOn: Date;
id: string;
name: string;
ref: DocumentReference;