@nativescript/firebase-core
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -1,2 +0,2 @@ | ||
import { IFirebaseOptions, FirebaseConfig } from './common'; | ||
import { IFirebaseOptions, FirebaseConfig } from '.'; | ||
export * from './utils'; | ||
@@ -3,0 +3,0 @@ export declare class FirebaseError extends Error { |
@@ -1,4 +0,33 @@ | ||
import { FirebaseConfig, IFirebaseOptions } from './common'; | ||
export interface IFirebaseOptions { | ||
apiKey?: string; | ||
gcmSenderId?: string; | ||
androidClientId?: string; | ||
appGroupId?: string; | ||
bundleId?: string; | ||
clientId?: string; | ||
databaseURL?: string; | ||
deepLinkURLScheme?: string; | ||
googleAppId?: string; | ||
projectId?: string; | ||
storageBucket?: string; | ||
trackingId?: string; | ||
} | ||
export interface FirebaseConfig { | ||
automaticDataCollectionEnabled?: boolean; | ||
automaticResourceManagement?: boolean; | ||
name?: string; | ||
} | ||
declare function serialize(data: any, wrapPrimitives?: boolean): any; | ||
@@ -9,48 +38,48 @@ | ||
declare class FirebaseOptions implements IFirebaseOptions { | ||
readonly ios: any; | ||
readonly android: any; | ||
readonly native: any; | ||
readonly ios: any; | ||
readonly android: any; | ||
readonly native: any; | ||
apiKey?: string; | ||
apiKey?: string; | ||
gcmSenderId?: string; | ||
gcmSenderId?: string; | ||
androidClientId?: string; | ||
androidClientId?: string; | ||
appGroupId?: string; | ||
appGroupId?: string; | ||
bundleId?: string; | ||
bundleId?: string; | ||
clientId?: string; | ||
clientId?: string; | ||
databaseURL?: string; | ||
databaseURL?: string; | ||
deepLinkURLScheme?: string; | ||
deepLinkURLScheme?: string; | ||
googleAppId?: string; | ||
googleAppId?: string; | ||
projectId?: string; | ||
projectId?: string; | ||
storageBucket?: string; | ||
storageBucket?: string; | ||
trackingId?: string; | ||
trackingId?: string; | ||
} | ||
declare class FirebaseApp { | ||
readonly native; | ||
readonly ios; | ||
readonly name; | ||
readonly options: Readonly<FirebaseOptions>; | ||
readonly native; | ||
readonly ios; | ||
readonly name; | ||
readonly options: Readonly<FirebaseOptions>; | ||
delete(): Promise<void>; | ||
delete(): Promise<void>; | ||
apps(): FirebaseApp[]; | ||
apps(): FirebaseApp[]; | ||
} | ||
export interface Firebase { | ||
app(name?: string): FirebaseApp; | ||
app(name?: string): FirebaseApp; | ||
initializeApp(options?: FirebaseOptions, configOrName?: FirebaseConfig | string): Promise<FirebaseApp>; | ||
initializeApp(options?: FirebaseOptions, configOrName?: FirebaseConfig | string): Promise<FirebaseApp>; | ||
initializeAppWithPath(path: string, options?: FirebaseOptions, config?: FirebaseConfig): Promise<FirebaseApp>; | ||
initializeAppWithPath(path: string, options?: FirebaseOptions, config?: FirebaseConfig): Promise<FirebaseApp>; | ||
} | ||
@@ -61,4 +90,4 @@ | ||
declare class FirebaseError extends Error { | ||
static fromNative(native: any, message?: string); | ||
readonly native; | ||
static fromNative(native: any, message?: string); | ||
readonly native; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { FirebaseConfig, IFirebaseOptions } from './common'; | ||
import { FirebaseConfig, IFirebaseOptions } from '.'; | ||
export * from './utils'; | ||
@@ -3,0 +3,0 @@ export declare class FirebaseError extends Error { |
{ | ||
"name": "@nativescript/firebase-core", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "NativeScript Firebase - Core", | ||
@@ -5,0 +5,0 @@ "main": "index", |
168980
29
2046