1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

comments highlight

This commit is contained in:
Fedor Katurov 2019-10-15 14:46:26 +07:00
parent e825db6d63
commit caeb464bb2
13 changed files with 239 additions and 115 deletions

View file

@ -133,6 +133,7 @@ export interface INode {
}
export interface IComment {
id: number;
text: string;
temp_ids?: string[];
files: IFile[];
@ -143,6 +144,12 @@ export interface IComment {
update_at?: string;
}
export interface ICommentGroup {
user: IUser;
comments: IComment[];
ids: IComment['id'][];
}
export type IUploadProgressHandler = (progress: ProgressEvent) => void;
export type IError = ValueOf<typeof ERRORS>;
export type IValidationErrors = Record<string, IError>;