Options
All
  • Public
  • Public/Protected
  • All
Menu

node-lokalise-api

Index

Variables

Const BASE_URL

BASE_URL: string = "https://api.lokalise.co/api2"

Const SCOPE

SCOPE: "translations" = "translations"

Const _debug

_debug: any = debugLib('node-lokalise-api:')

Const getRequest

getRequest: (Anonymous function) = getJsonFor('requests')

Const getResponse

getResponse: (Anonymous function) = getJsonFor('responses')

Const numberKey

numberKey: unique symbol = Symbol('numberType')

Const pageKey

pageKey: unique symbol = Symbol('pageType')

Const stringKey

stringKey: unique symbol = Symbol('stringType')

Functions

checkNumber

  • checkNumber(target: Object, propertyKey: string | symbol, parameterIndex: number): void
  • Parameters

    • target: Object
    • propertyKey: string | symbol
    • parameterIndex: number

    Returns void

checkPage

  • checkPage(target: Object, propertyKey: string | symbol, parameterIndex: number): void
  • Parameters

    • target: Object
    • propertyKey: string | symbol
    • parameterIndex: number

    Returns void

checkString

  • checkString(target: Object, propertyKey: string | symbol, parameterIndex: number): void
  • Parameters

    • target: Object
    • propertyKey: string | symbol
    • parameterIndex: number

    Returns void

debug

  • debug(target: Request, propertyName: string, descriptor: TypedPropertyDescriptor<Function>): void
  • Parameters

    • target: Request
    • propertyName: string
    • descriptor: TypedPropertyDescriptor<Function>

    Returns void

getJsonFor

  • getJsonFor(type: string): (Anonymous function)

validate

  • validate(target: Base, propertyName: string, descriptor: TypedPropertyDescriptor<Function>): void

Generated using TypeDoc