From dbfc23b1abce4a4857d08d77703791dc65d9625b Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 29 Oct 2023 17:59:53 -0700 Subject: [PATCH] refactor: typings Signed-off-by: Varun Patil --- src/typings/timeline.d.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/typings/timeline.d.ts b/src/typings/timeline.d.ts index 8d2f7fec..8fbc2853 100644 --- a/src/typings/timeline.d.ts +++ b/src/typings/timeline.d.ts @@ -39,10 +39,6 @@ declare module '@typings' { day: IDay; /** Whether this is a head row */ type: IRowType; - /** [Head only] Title of the header */ - name?: string; - /** [Head only] Boolean if the entire day is selected */ - selected?: boolean; /** Main list of photo items */ photos?: IPhoto[]; @@ -55,8 +51,13 @@ declare module '@typings' { }; export type IHeadRow = IRow & { + /** Type of row */ type: 0; + /** Title of the header */ + name?: string; + /** Boolean if the entire day is selected */ selected: boolean; + /** Bigger header text */ super?: string; }; }