@firebase/database 1.0.13 → 1.0.14-20250318131644
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/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +1 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js.map +1 -1
- package/dist/internal.d.ts +2 -0
- package/dist/node-esm/index.node.esm.js +1 -1
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/api/Reference.d.ts +2 -0
- package/dist/node-esm/src/api/Reference_impl.d.ts +2 -0
- package/dist/private.d.ts +2 -0
- package/dist/public.d.ts +2 -0
- package/dist/src/api/Reference.d.ts +2 -0
- package/dist/src/api/Reference_impl.d.ts +2 -0
- package/package.json +1 -1
|
@@ -109,6 +109,8 @@ export interface DatabaseReference extends Query {
|
|
|
109
109
|
* as the write to the backend completes.
|
|
110
110
|
*/
|
|
111
111
|
export interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> {
|
|
112
|
+
key: string;
|
|
113
|
+
parent: DatabaseReference;
|
|
112
114
|
}
|
|
113
115
|
/** A callback that can invoked to remove a listener. */
|
|
114
116
|
export type Unsubscribe = () => void;
|
|
@@ -254,6 +254,8 @@ export declare function child(parent: DatabaseReference, path: string): Database
|
|
|
254
254
|
*/
|
|
255
255
|
export declare function onDisconnect(ref: DatabaseReference): OnDisconnect;
|
|
256
256
|
export interface ThenableReferenceImpl extends ReferenceImpl, Pick<Promise<ReferenceImpl>, 'then' | 'catch'> {
|
|
257
|
+
key: string;
|
|
258
|
+
parent: ReferenceImpl;
|
|
257
259
|
}
|
|
258
260
|
/**
|
|
259
261
|
* Generates a new child location using a unique key and returns its
|
package/dist/private.d.ts
CHANGED
|
@@ -2654,6 +2654,8 @@ declare class SyncTree {
|
|
|
2654
2654
|
* as the write to the backend completes.
|
|
2655
2655
|
*/
|
|
2656
2656
|
export declare interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> {
|
|
2657
|
+
key: string;
|
|
2658
|
+
parent: DatabaseReference;
|
|
2657
2659
|
}
|
|
2658
2660
|
|
|
2659
2661
|
declare interface Transaction {
|
package/dist/public.d.ts
CHANGED
|
@@ -1339,6 +1339,8 @@ export declare function startAt(value?: number | string | boolean | null, key?:
|
|
|
1339
1339
|
* as the write to the backend completes.
|
|
1340
1340
|
*/
|
|
1341
1341
|
export declare interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> {
|
|
1342
|
+
key: string;
|
|
1343
|
+
parent: DatabaseReference;
|
|
1342
1344
|
}
|
|
1343
1345
|
/** An options object to configure transactions. */
|
|
1344
1346
|
export declare interface TransactionOptions {
|
|
@@ -109,6 +109,8 @@ export interface DatabaseReference extends Query {
|
|
|
109
109
|
* as the write to the backend completes.
|
|
110
110
|
*/
|
|
111
111
|
export interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> {
|
|
112
|
+
key: string;
|
|
113
|
+
parent: DatabaseReference;
|
|
112
114
|
}
|
|
113
115
|
/** A callback that can invoked to remove a listener. */
|
|
114
116
|
export type Unsubscribe = () => void;
|
|
@@ -254,6 +254,8 @@ export declare function child(parent: DatabaseReference, path: string): Database
|
|
|
254
254
|
*/
|
|
255
255
|
export declare function onDisconnect(ref: DatabaseReference): OnDisconnect;
|
|
256
256
|
export interface ThenableReferenceImpl extends ReferenceImpl, Pick<Promise<ReferenceImpl>, 'then' | 'catch'> {
|
|
257
|
+
key: string;
|
|
258
|
+
parent: ReferenceImpl;
|
|
257
259
|
}
|
|
258
260
|
/**
|
|
259
261
|
* Generates a new child location using a unique key and returns its
|