Skip to content

Commit b099eb9

Browse files
Exports
1 parent 5ed4633 commit b099eb9

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

packages/database/exp/index.ts

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,48 @@ import { Component, ComponentType } from '@firebase/component';
2222
import { version } from '../package.json';
2323
import { FirebaseDatabase } from '../src/exp/Database';
2424

25-
export { getDatabase, ServerValue } from '../src/exp/Database';
26-
export { enableLogging } from '../src/core/util/util';
25+
export {
26+
getDatabase,
27+
ref,
28+
enableLogging,
29+
goOffline,
30+
refFromURL,
31+
goOnline,
32+
useDatabaseEmulator
33+
} from '../src/exp/Database';
34+
export {
35+
Reference,
36+
ThenableReference,
37+
OnDisconnect
38+
} from '../src/exp/Reference';
39+
export { DataSnapshot } from '../src/exp/DataSnapshot';
40+
export {
41+
Query,
42+
query,
43+
ListenOptions,
44+
QueryConstraint,
45+
endAt,
46+
endBefore,
47+
startAt,
48+
startAfter,
49+
limitToLast,
50+
Unsubscribe,
51+
equalTo,
52+
get,
53+
limitToFirst,
54+
off,
55+
onChildAdded,
56+
onChildChanged,
57+
onChildMoved,
58+
onChildRemoved,
59+
onValue,
60+
orderByChild,
61+
orderByKey,
62+
orderByPriority,
63+
orderByValue
64+
} from '../src/exp/Query';
65+
export { serverTimestamp, increment } from '../src/exp/ServerValue';
66+
export { TransactionOptions, runTransaction } from '../src/exp/Transaction';
2767

2868
declare module '@firebase/component' {
2969
interface NameServiceMapping {

0 commit comments

Comments
 (0)