dovršen rendering homepage-a
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
export type Location = {
|
||||
id: number;
|
||||
import { ObjectId } from "mongodb";
|
||||
|
||||
export interface Location {
|
||||
id: ObjectId;
|
||||
name: string;
|
||||
bills: Bill[];
|
||||
/** the value is encoded as yyyymm (i.e. 202301) */
|
||||
yearMonth: number;
|
||||
};
|
||||
|
||||
export type Bill = {
|
||||
id: number;
|
||||
export interface Bill {
|
||||
id: ObjectId;
|
||||
name: string;
|
||||
paid: boolean;
|
||||
amount?: number;
|
||||
description?: string;
|
||||
document?: string|null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user