refactor: typings

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/900/head
Varun Patil 2023-10-29 17:59:53 -07:00
parent ff00424e3e
commit dbfc23b1ab
1 changed files with 5 additions and 4 deletions

View File

@ -39,10 +39,6 @@ declare module '@typings' {
day: IDay; day: IDay;
/** Whether this is a head row */ /** Whether this is a head row */
type: IRowType; 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 */ /** Main list of photo items */
photos?: IPhoto[]; photos?: IPhoto[];
@ -55,8 +51,13 @@ declare module '@typings' {
}; };
export type IHeadRow = IRow & { export type IHeadRow = IRow & {
/** Type of row */
type: 0; type: 0;
/** Title of the header */
name?: string;
/** Boolean if the entire day is selected */
selected: boolean; selected: boolean;
/** Bigger header text */
super?: string; super?: string;
}; };
} }