Skip to content

Commit

Permalink
add typing for location filter options in IAgendaState
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Nov 13, 2024
1 parent b950f5d commit 8fbd19e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion assets/interfaces/agenda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,14 @@ export interface IAgendaState {
errors?: {[field: string]: Array<string>};
loadingAggregations?: boolean;
dateFilters?: IDateFilters;
locationsFiltersOptions?:{[key: string]: boolean};
locationsFiltersOptions?:ILocationFilterOptions;
}

export interface ILocationFilterOptions {
city?: boolean;
state?: boolean;
country?: boolean;
place?: boolean;
}

export type AgendaGetState = () => IAgendaState;
Expand Down

0 comments on commit 8fbd19e

Please sign in to comment.