@hot-updater/firebase 0.16.7-0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/firebase/firestore.indexes.json +11 -0
- package/dist/firebase/functions/index.cjs +5107 -0
- package/dist/iac/index.cjs +8187 -8719
- package/dist/iac/index.d.cts +8 -4
- package/dist/iac/index.d.ts +8 -4
- package/dist/iac/index.js +8190 -8727
- package/dist/index.cjs +1534 -353
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +1518 -322
- package/package.json +6 -6
- package/dist/firebase/index.cjs +0 -3167
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as admin from
|
|
1
|
+
import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
2
|
+
import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
|
|
3
|
+
import * as admin$1 from "firebase-admin";
|
|
4
|
+
import * as admin from "firebase-admin";
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
//#region src/firebaseStorage.d.ts
|
|
7
|
+
interface FirebaseStorageConfig extends admin$1.AppOptions {
|
|
8
|
+
storageBucket: string;
|
|
7
9
|
}
|
|
8
10
|
declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/firebaseDatabase.d.ts
|
|
14
|
+
declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
//#endregion
|
|
17
|
+
export { FirebaseStorageConfig, firebaseDatabase, firebaseStorage };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
1
|
+
import * as admin$1 from "firebase-admin";
|
|
2
|
+
import * as admin from "firebase-admin";
|
|
3
|
+
import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
4
|
+
import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
//#region src/firebaseStorage.d.ts
|
|
7
|
+
interface FirebaseStorageConfig extends admin$1.AppOptions {
|
|
8
|
+
storageBucket: string;
|
|
7
9
|
}
|
|
8
10
|
declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/firebaseDatabase.d.ts
|
|
14
|
+
declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
//#endregion
|
|
17
|
+
export { FirebaseStorageConfig, firebaseDatabase, firebaseStorage };
|