Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConfigDAO

Index

Constructors

constructor

  • new ConfigDAO(companyName: string): ConfigDAO

Properties

Private _configCollection

_configCollection: CollectionReference<DocumentData>

Private _objectStore

_objectStore: ObjectStore

Methods

addConfig

  • addConfig(config: Config): Promise<DocumentReference<DocumentData>>
  • Adiciona uma configuração ao Banco de Dados

    Parameters

    • config: Config

      Configuração a ser adicionada

    Returns Promise<DocumentReference<DocumentData>>

getLastConfig

  • getLastConfig(): Promise<void | Config>

Generated using TypeDoc