Options
All
  • Public
  • Public/Protected
  • All
Menu

This module provides the ability to send a "request" with ease internally for the system in order to achieve cleaner, readable and more maintanable code

(REFACTORING) Combine all function below into single function

Index

Functions

getContact

  • getContact(request: RequestContract): default

getEvent

  • getEvent(request: RequestContract): default

getIndividual

  • getIndividual(request: RequestContract): default

getLocation

  • getLocation(request: RequestContract): default

getMenu

  • getMenu(request: RequestContract): default

getMenuItem

  • getMenuItem(request: RequestContract): default

getNation

  • getNation(request: RequestContract): default

getNotification

  • getNotification(request: RequestContract): default

getOpeningHour

  • getOpeningHour(request: RequestContract): default

getSubscription

  • getSubscription(request: RequestContract): default

getValidatedData

  • getValidatedData<T>(request: RequestContract, validator: RequestValidatorNode<T>, skipLengthCheck?: boolean): Promise<T["props"]>
  • Type parameters

    • T: ParsedTypedSchema<TypedSchema>

    Parameters

    • request: RequestContract
    • validator: RequestValidatorNode<T>
    • Optional skipLengthCheck: boolean

    Returns Promise<T["props"]>

Generated using TypeDoc