Cleanup frontend comment service & other code

[ci skip]
This commit is contained in:
Michael Shamoon
2022-08-07 22:05:32 -07:00
parent bf1f65dc89
commit 765e27f719
9 changed files with 20 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
import { ObjectWithId } from './object-with-id'
import { CommentUser } from './user-type'
import { User } from './user'
export interface PaperlessDocumentComment extends ObjectWithId {
created?: Date
comment?: string
user?: CommentUser
}
created?: Date
comment?: string
user?: User
}

View File

@@ -1,7 +0,0 @@
import { ObjectWithId } from './object-with-id'
export interface CommentUser extends ObjectWithId {
username: string
firstname: string
lastname: string
}

View File

@@ -0,0 +1,7 @@
import { ObjectWithId } from './object-with-id'
export interface User extends ObjectWithId {
username: string
firstname: string
lastname: string
}