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'; import {DocumentReference} from 'angularfire2/firestore';
export interface Component { export interface Component {
cost: number; price: number;
created: Date; createdOn: Date;
description: string; description: string;
id: string; id: string;
name: string; name: string;

View File

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