Application Load

IStoreOpeningHours

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IStoreOpeningHours

One weekday’s opening hours.

interfaces/orionplace/stores/IStoreDirectory.ts
TypeScript
export interface IStoreOpeningHours {
  // Schedule record ID.
  id: number;
  // Opening time as HH:mm.
  open: string;
  // Closing time as HH:mm.
  close: string;
  // Backend weekday abbreviation.
  day_name: 'MON' | 'TU' | 'WENS' | 'TH' | 'FR' | 'SA' | 'SU' | null;
}