From 1ecd77cf83049792d0d6380f0f65f9400e78c403 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 3 Nov 2020 22:17:20 +0800 Subject: feat: Add title to timeline. --- FrontEnd/src/app/http/timeline.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FrontEnd/src/app/http') 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; -- cgit v1.2.3