aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/types.ts')
-rw-r--r--src/lib/types.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/types.ts b/src/lib/types.ts
new file mode 100644
index 00000000..33f78c85
--- /dev/null
+++ b/src/lib/types.ts
@@ -0,0 +1,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;
+}