aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/types.ts
blob: 19277ec1bead6de695c1869fd5db15867084eff3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export interface Message {
	author: User;
	created_at: number;
	recipient: User;
}

export interface Note {
	created_at: number;
	seen: number;
}

export interface User {
	id: string;
}

export interface Invoice {
	aid: string;
	id?: string;
	memoPrompt?: boolean;
	memo?: string;
	rate: number;
	type?: string;
}