Change property visibility.

This commit is contained in:
2018-06-09 23:19:39 +02:00
parent 406ae3aae0
commit 4aea098e3d
9 changed files with 38 additions and 37 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
// vim: set tw=80 ts=2 sw=2 sts=2 :
export class Category {
category: string;
expenses: number;
revenues: number;
public category: string;
public expenses: number;
public revenues: number;
public income: number;
}
+11 -11
View File
@@ -1,15 +1,15 @@
// vim: set tw=80 ts=2 sw=2 sts=2:
export class Operation {
id: number;
operation_date: string;
label: string;
value: number;
category: string;
scheduled_operation_id: number;
account_id: number;
balance: number;
confirmed: boolean;
pointed: boolean;
cancelled: boolean
public id: number;
public operation_date: string;
public label: string;
public value: number;
public category: string;
public scheduled_operation_id: number;
public account_id: number;
public balance: number;
public confirmed: boolean;
public pointed: boolean;
public canceled: boolean
}
+1 -1
View File
@@ -70,7 +70,7 @@ export class OperationListComponent implements OnInit {
private account: Account;
private minDate: Date;
private maxDate: Date;
private operations: Operation[];
public operations: Operation[];
constructor(
private toastrService: ToastrService,