aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/types.ts
blob: 827f96aa585afa1cf9cc8a887dff2fff41b68576 (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;
}