aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-03 22:17:20 +0800
committercrupest <crupest@outlook.com>2020-11-03 22:17:20 +0800
commitaf8c7de13bcaa0bf1b413966c914974eca079b4d (patch)
tree3765164b8afad8cc2594d3111d5f82d3afe88a74 /FrontEnd/src/app/http
parentc01964d51c2f2f7ee8f07e857fd4a7292b048905 (diff)
downloadtimeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.tar.gz
timeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.tar.bz2
timeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.zip
feat: Add title to timeline.
Diffstat (limited to 'FrontEnd/src/app/http')
-rw-r--r--FrontEnd/src/app/http/timeline.ts3
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;