diff options
| author | Adam Soltys <[email protected]> | 2024-08-31 15:23:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-31 15:23:49 -0700 |
| commit | e11b199080b4b295dfb7b95187275565bce9c35a (patch) | |
| tree | 46098814beabc79de334898dbc4808aed8d5f329 /src/lib/types.ts | |
| parent | c9acca0218d47226c567da62c4a8bf97691c9b0d (diff) | |
| download | coinos-ui-e11b199080b4b295dfb7b95187275565bce9c35a.tar.gz coinos-ui-e11b199080b4b295dfb7b95187275565bce9c35a.zip | |
typescript
Diffstat (limited to 'src/lib/types.ts')
| -rw-r--r-- | src/lib/types.ts | 22 |
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; +} |
