Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

unwrapData

  • unwrapData(adaptor: Adaptor, data: any): any
  • Converts Typesaurus data to Firestore format. It deeply traverse all the data and converts values to compatible format.

    Parameters

    • adaptor: Adaptor

      the adaptor

    • data: any

      the data to convert

    Returns any

wrapData

  • wrapData(adaptor: Adaptor, data: unknown): unknown
  • Converts Firestore data to Typesaurus format. It deeply traverse all the data and converts values to compatible format.

    Parameters

    • adaptor: Adaptor
    • data: unknown

      the data to convert

    Returns unknown

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc