mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Cleanup frontend comment service & other code
[ci skip]
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -1,7 +0,0 @@
|
||||
import { ObjectWithId } from './object-with-id'
|
||||
|
||||
export interface CommentUser extends ObjectWithId {
|
||||
username: string
|
||||
firstname: string
|
||||
lastname: string
|
||||
}
|
7
src-ui/src/app/data/user.ts
Normal file
7
src-ui/src/app/data/user.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { ObjectWithId } from './object-with-id'
|
||||
|
||||
export interface User extends ObjectWithId {
|
||||
username: string
|
||||
firstname: string
|
||||
lastname: string
|
||||
}
|
Reference in New Issue
Block a user