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