Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace types

Index

Type aliases

CWLogger: (level: LoggingLevels, text: string, meta?: Record<string, unknown>) => void

Type declaration

    • (level: LoggingLevels, text: string, meta?: Record<string, unknown>): void
    • Parameters

      • level: LoggingLevels
      • text: string
      • Optional meta: Record<string, unknown>

      Returns void

DataResponse: Record<string, unknown> | Record<string, unknown>[] | string | number | null | undefined
ErrorResponse: { data: DataResponse; message: string; status: number | string }

Type declaration

HTMLResponse: string
LoggingLevels: "error" | "warn" | "info" | "debug"
Methods: "get" | "put" | "delete" | "post" | "patch"
NoContentResponse: undefined
OctetStreamResponse: Buffer
PDFResponse: Blob
PatchOperation: PatchOperation
RequestOptions: { data?: Record<string, unknown> | Record<string, unknown>[] | types.PatchOperation[] | null | string | number; method?: Methods; params?: Record<string, unknown>; path: string }

Type declaration

  • Optional data?: Record<string, unknown> | Record<string, unknown>[] | types.PatchOperation[] | null | string | number
  • Optional method?: Methods
  • Optional params?: Record<string, unknown>
  • path: string
RetryOptions: { factor?: number; maxTimeout: number; minTimeout: number; randomize: boolean; retries: number }

Type declaration

  • Optional factor?: number
  • maxTimeout: number
  • minTimeout: number
  • randomize: boolean
  • retries: number

Generated using TypeDoc