Frost
@frost-orm/frost-web-client / Exports / Frost
Class: Frost
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Frost()
Properties
firebaseApp
▪ Static
firebaseApp: FirebaseApp
firebaseDB
▪ Static
firebaseDB: Database
relations
▪ Static
relations: Record
<string
, Relation
>
Accessors
initialized
• Static
get
initialized(): boolean
Returns
boolean
Methods
getIndices
▸ Static
getIndices(): string
Returns
string
a JSON String for the indices to be added to the Firebase Realtime Database
initialize
▸ Static
initialize(firebaseConfig
): FrostAppImpl
<DelegatesMap
>
This method initializes the firebase app instance and the database instance
Parameters
Name | Type |
---|---|
firebaseConfig | FirebaseOptions |
Returns
FrostAppImpl
<DelegatesMap
>