Updated models
This commit is contained in:
parent
10eb16d7f2
commit
8aecfc321a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user