Journals field added

This commit is contained in:
Pavel Gnedov 2022-05-17 16:39:58 +07:00
parent 8e8c9626b3
commit 8280ca60bd

View file

@ -48,6 +48,7 @@ export module RedmineTypes {
updated_on?: string;
closed_on?: string;
relations?: Record<string, any>[];
journals?: Journal.Item[];
};
// eslint-disable-next-line @typescript-eslint/prefer-namespace-keyword
@ -94,4 +95,22 @@ export module RedmineTypes {
lastname: string;
mail: string;
};
// eslint-disable-next-line @typescript-eslint/prefer-namespace-keyword
export module Journal {
export type Item = {
id: number;
user: IdAndName;
notes: string;
created_on: string;
details?: Detail[];
};
export type Detail = {
property: string;
name: string;
new_value?: string;
old_value?: string;
};
}
}