aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-03 22:56:16 +0800
committerGitHub <noreply@github.com>2020-11-03 22:56:16 +0800
commitf3503b399ff7b65f363beca313c8a0c336884bec (patch)
tree8bd10736c4cd51ff13b101b90e77d1d09ab4cdfa /FrontEnd/src/app/http
parent7acaffc977bc9ad3ba43c7808c1ea973a8144767 (diff)
parent82b366ea89342593ec1bcde3441c0f2f06eb4649 (diff)
downloadtimeline-f3503b399ff7b65f363beca313c8a0c336884bec.tar.gz
timeline-f3503b399ff7b65f363beca313c8a0c336884bec.tar.bz2
timeline-f3503b399ff7b65f363beca313c8a0c336884bec.zip
Merge pull request #162 from crupest/front
Add timeline title to front end.
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;