Frost
@frost/frost-web / Exports / Frost
Class: Frost
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Frost()
Properties
firebaseApp
▪ Static firebaseApp: FirebaseApp
firebaseDB
▪ Static firebaseDB: Database
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<T>(firebaseConfig, APIs): FrostAppImpl<T>
This method initializes the firebase app instance and the database instance
Type parameters
| Name | Type |
|---|---|
T | extends Object |
Parameters
| Name | Type |
|---|---|
firebaseConfig | FirebaseOptions |
APIs | T |
Returns
FrostAppImpl<T>