Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace utils

Index

Interfaces

Type aliases

Variables

Functions

Type aliases

getData

getData: http.IncomingMessage & getProps

getOptions

getOptions: http.RequestOptions | https.RequestOptions

Variables

Const constants

constants: { err: { type: (key: string, expected: string, received: string) => string }; headers: { userAgent: string }; urls: { base: string; channel: { base: (id: string) => string }; playlist: { base: (id: string) => string; baseUrlRegex: RegExp; getIdRegex: RegExp }; search: { base: (terms: string) => string; filters: { channel: string; film: string; playlist: string; programme: string; video: string } }; video: { base: (id: string) => string } } } = ...

Type declaration

  • err: { type: (key: string, expected: string, received: string) => string }
    • type: (key: string, expected: string, received: string) => string
        • (key: string, expected: string, received: string): string
        • Parameters

          • key: string
          • expected: string
          • received: string

          Returns string

  • headers: { userAgent: string }
    • userAgent: string
  • urls: { base: string; channel: { base: (id: string) => string }; playlist: { base: (id: string) => string; baseUrlRegex: RegExp; getIdRegex: RegExp }; search: { base: (terms: string) => string; filters: { channel: string; film: string; playlist: string; programme: string; video: string } }; video: { base: (id: string) => string } }
    • base: string
    • channel: { base: (id: string) => string }
      • base: (id: string) => string
          • (id: string): string
          • Parameters

            • id: string

            Returns string

    • playlist: { base: (id: string) => string; baseUrlRegex: RegExp; getIdRegex: RegExp }
      • base: (id: string) => string
          • (id: string): string
          • Parameters

            • id: string

            Returns string

      • baseUrlRegex: RegExp
      • getIdRegex: RegExp
    • search: { base: (terms: string) => string; filters: { channel: string; film: string; playlist: string; programme: string; video: string } }
      • base: (terms: string) => string
          • (terms: string): string
          • Parameters

            • terms: string

            Returns string

      • filters: { channel: string; film: string; playlist: string; programme: string; video: string }
        • channel: string
        • film: string
        • playlist: string
        • programme: string
        • video: string
    • video: { base: (id: string) => string }
      • base: (id: string) => string
          • (id: string): string
          • Parameters

            • id: string

            Returns string

Functions

Const get

Const mergeObj

  • mergeObj<T>(res: T, ...objs: T[]): T
  • Type parameters

    • T

    Parameters

    • res: T
    • Rest ...objs: T[]

    Returns T

Generated using TypeDoc