Journals field added
This commit is contained in:
parent
8e8c9626b3
commit
8280ca60bd
1 changed files with 19 additions and 0 deletions
19
libs/redmine-types/index.d.ts
vendored
19
libs/redmine-types/index.d.ts
vendored
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue