Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "types/request"

Index

Type aliases

NumberString

NumberString: number | string

TimeMachineDate

TimeMachineDate: string | number | Date

Acceptable formats for a Date that the DarkSkyClient accepts.

Variables

Const EXCLUDE_ALL

EXCLUDE_ALL: Exclude[] = [Exclude.CURRENTLY, Exclude.DAILY, Exclude.MINUTELY, Exclude.HOURLY]

Exclude all of the time based data blocks.

Const ONLY_CURRENTLY

ONLY_CURRENTLY: Exclude[] = [Exclude.DAILY, Exclude.MINUTELY, Exclude.HOURLY]

Exclude everything except for the CurrentlyDataBlock

Const ONLY_DAILY

ONLY_DAILY: Exclude[] = [Exclude.CURRENTLY, Exclude.MINUTELY, Exclude.HOURLY]

Exclude everything except for the DailyDataBlock

Const ONLY_HOURLY

ONLY_HOURLY: Exclude[] = [Exclude.CURRENTLY, Exclude.MINUTELY, Exclude.DAILY]

Exclude everything except for the HourlyDataBlock

Const ONLY_MINUTELY

ONLY_MINUTELY: Exclude[] = [Exclude.CURRENTLY, Exclude.DAILY, Exclude.HOURLY]

Exclude everything except for the MinutelyDataBlock

Generated using TypeDoc