aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/types.ts
blob: 33f78c85585978da8572934d3ba529207ed67b5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 {
  id?: string;
  memoPrompt?: boolean;
  memo?: string;
  rate: number;
  type: string;
}