Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/objectmap.util"

Index

Functions

objectMap

  • objectMap(mappingObject: any, keysToInclude: string[], excludeKeysInResponse?: boolean): any
  • Function that constructs the object mapping for given keys

    Parameters

    • mappingObject: any

      array of objects

    • keysToInclude: string[]

      array of strings. For multilevel keys use (.) operator. eg: ['name','id.value']

    • Optional excludeKeysInResponse: boolean

      Optional value from user to exclude keys in response.

    Returns any

retriveCustomKey

  • retriveCustomKey(key: string): any
  • Parameters

    • key: string

    Returns any

Generated using TypeDoc