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
commitfc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a (patch)
tree92a0f98cde935b5408e5958f8070d1021eb1ef3c /FrontEnd/src/app/http
parentf3236eaf28c878db2b45377ac8805b014960c662 (diff)
parentd308724286d7d34f71490999b656160e439bfc9f (diff)
downloadtimeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.tar.gz
timeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.tar.bz2
timeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.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;