Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilterStore

the filter module handles the storage and manipulation of filters

author

Hanzhi Zhou

Hierarchy

  • FilterStore

Implements

Index

Properties

allowClosed

allowClosed: boolean = true

allowWaitlist

allowWaitlist: boolean = true

refSchedule

refSchedule: GeneratedSchedule["All"]

Readonly sortModes

sortModes: [{ description: "Combine all sorting options enabled and given them equal weight"; mode: combined; title: "Combined" }, { description: string; mode: fallback; title: "Fallback" }] = [{mode: SortMode.combined,title: 'Combined',description: 'Combine all sorting options enabled and given them equal weight'},{mode: SortMode.fallback,title: 'Fallback',description:'Sort using the options on top first. If compare equal, sort using the next option.' +' You can drag the sorting options to change their order.'}] as const

sortOptions

sortOptions: DetailedEvaluatorOptions = getDefaultOptions()

timeSlots

timeSlots: TimeSlot[] = []

Accessors

similarityEnabled

  • get similarityEnabled(): boolean

Methods

addTimeSlot

  • addTimeSlot(): void

computeFilter

fromJSON

getDefault

removeTimeSlot

  • removeTimeSlot(n: number): void

toJSON

Static compressJSON

  • compressJSON(obj: FilterStateJSON): [number, number, number[], number[], [number, string, string][], ScheduleAll<-1 | number[][]>]

Static decompressJSON

Generated using TypeDoc