Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LocationManagement

Index

Constructors

constructor

Properties

Private options

options: IOptions

Methods

addAttachment

  • addAttachment(uid: ILocation["uid"], attachment: Buffer): Promise<void>
  • Parameters

    • uid: ILocation["uid"]
    • attachment: Buffer

      Buffer. Accept only file with extension .png, jpeg, .jpg or .gif

    Returns Promise<void>

create

  • Parameters

    Returns Promise<Location>

delete

  • delete(uid: ILocation["uid"]): Promise<void>
  • Parameters

    • uid: ILocation["uid"]

    Returns Promise<void>

get

  • Parameters

    Returns Promise<Location>

list

  • Parameters

    Returns Promise<Location[]>

removeAttachments

  • removeAttachments(uid: ILocation["uid"], attachments: ILocation["attachments"]): Promise<void>
  • Parameters

    • uid: ILocation["uid"]
    • attachments: ILocation["attachments"]

      string[]. Attachments must be taken from the Location entity. And can't be anyhow edited

    Returns Promise<void>

update

  • Parameters

    Returns Promise<void>

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Private property
  • Private method
  • Protected property
  • Static property

Generated using TypeDoc