diff options
author | crupest <crupest@outlook.com> | 2020-11-03 22:17:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-03 22:17:20 +0800 |
commit | 1ecd77cf83049792d0d6380f0f65f9400e78c403 (patch) | |
tree | e5264b55769cceac3ec53668ba8c044efbe61c15 /FrontEnd/src/app/http | |
parent | a69ee3f38432af653ed96efd96f5f7682b3ebf24 (diff) | |
download | timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.tar.gz timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.tar.bz2 timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.zip |
feat: Add title to timeline.
Diffstat (limited to 'FrontEnd/src/app/http')
-rw-r--r-- | FrontEnd/src/app/http/timeline.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FrontEnd/src/app/http/timeline.ts b/FrontEnd/src/app/http/timeline.ts index eb7d5065..71c49852 100644 --- a/FrontEnd/src/app/http/timeline.ts +++ b/FrontEnd/src/app/http/timeline.ts @@ -23,6 +23,7 @@ export type TimelineVisibility = typeof kTimelineVisibilities[number]; export interface HttpTimelineInfo { uniqueId: string; + title: string; name: string; description: string; owner: HttpUser; @@ -95,6 +96,7 @@ export interface HttpTimelinePostPostRequest { } export interface HttpTimelinePatchRequest { + title?: string; visibility?: TimelineVisibility; description?: string; } @@ -121,6 +123,7 @@ export class HttpTimelineNameConflictError extends Error { interface RawTimelineInfo { uniqueId: string; + title: string; name: string; description: string; owner: HttpUser; |