@firebase/database-types 0.10.4 → 1.0.0-20230706020734
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/index.d.ts +8 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -234
package/index.d.ts
CHANGED
|
@@ -18,11 +18,18 @@
|
|
|
18
18
|
import { FirebaseApp } from '@firebase/app-types';
|
|
19
19
|
import { EmulatorMockTokenOptions } from '@firebase/util';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Represents a child snapshot of a `Reference` that is being iterated over. The key will never be undefined.
|
|
23
|
+
*/
|
|
24
|
+
export interface IteratedDataSnapshot extends DataSnapshot {
|
|
25
|
+
key: string; // key of the location of this snapshot.
|
|
26
|
+
}
|
|
27
|
+
|
|
21
28
|
export interface DataSnapshot {
|
|
22
29
|
child(path: string): DataSnapshot;
|
|
23
30
|
exists(): boolean;
|
|
24
31
|
exportVal(): any;
|
|
25
|
-
forEach(action: (a:
|
|
32
|
+
forEach(action: (a: IteratedDataSnapshot) => boolean | void): boolean;
|
|
26
33
|
getPriority(): string | number | null;
|
|
27
34
|
hasChild(path: string): boolean;
|
|
28
35
|
hasChildren(): boolean;
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
# @firebase/database-types
|
|
2
|
-
|
|
3
|
-
## 0.10.4
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`c59f537b1`](https://github.com/firebase/firebase-js-sdk/commit/c59f537b1262b5d7997291b8c1e9324d378effb6)]:
|
|
8
|
-
- @firebase/util@1.9.3
|
|
9
|
-
|
|
10
|
-
## 0.10.3
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [[`d071bd1ac`](https://github.com/firebase/firebase-js-sdk/commit/d071bd1acaa0583b4dd3454387fc58eafddb5c30)]:
|
|
15
|
-
- @firebase/util@1.9.2
|
|
16
|
-
|
|
17
|
-
## 0.10.2
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [[`0bab0b7a7`](https://github.com/firebase/firebase-js-sdk/commit/0bab0b7a786d1563bf665904c7097d1fe06efce5)]:
|
|
22
|
-
- @firebase/util@1.9.1
|
|
23
|
-
|
|
24
|
-
## 0.10.1
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- Updated dependencies [[`d4114a4f7`](https://github.com/firebase/firebase-js-sdk/commit/d4114a4f7da3f469c0c900416ac8beee58885ec3), [`06dc1364d`](https://github.com/firebase/firebase-js-sdk/commit/06dc1364d7560f4c563e1ccc89af9cad4cd91df8)]:
|
|
29
|
-
- @firebase/util@1.9.0
|
|
30
|
-
|
|
31
|
-
## 0.10.0
|
|
32
|
-
|
|
33
|
-
### Minor Changes
|
|
34
|
-
|
|
35
|
-
- [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be) [#6799](https://github.com/firebase/firebase-js-sdk/pull/6799) - Update TypeScript version to 4.7.4.
|
|
36
|
-
|
|
37
|
-
### Patch Changes
|
|
38
|
-
|
|
39
|
-
- Updated dependencies [[`c20633ed3`](https://github.com/firebase/firebase-js-sdk/commit/c20633ed35056cbadc9d65d9ceddf4e28d1ea666), [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be)]:
|
|
40
|
-
- @firebase/util@1.8.0
|
|
41
|
-
- @firebase/app-types@0.9.0
|
|
42
|
-
|
|
43
|
-
## 0.9.17
|
|
44
|
-
|
|
45
|
-
### Patch Changes
|
|
46
|
-
|
|
47
|
-
- [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
|
|
48
|
-
|
|
49
|
-
- Updated dependencies [[`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5)]:
|
|
50
|
-
- @firebase/app-types@0.8.1
|
|
51
|
-
- @firebase/util@1.7.3
|
|
52
|
-
|
|
53
|
-
## 0.9.16
|
|
54
|
-
|
|
55
|
-
### Patch Changes
|
|
56
|
-
|
|
57
|
-
- Updated dependencies [[`807f06aa2`](https://github.com/firebase/firebase-js-sdk/commit/807f06aa26438a91aaea08fd38efb6c706bb8a5d)]:
|
|
58
|
-
- @firebase/util@1.7.2
|
|
59
|
-
|
|
60
|
-
## 0.9.15
|
|
61
|
-
|
|
62
|
-
### Patch Changes
|
|
63
|
-
|
|
64
|
-
- Updated dependencies [[`171b78b76`](https://github.com/firebase/firebase-js-sdk/commit/171b78b762826a640d267dd4dd172ad9459c4561), [`29d034072`](https://github.com/firebase/firebase-js-sdk/commit/29d034072c20af394ce384e42aa10a37d5dfcb18)]:
|
|
65
|
-
- @firebase/util@1.7.1
|
|
66
|
-
|
|
67
|
-
## 0.9.14
|
|
68
|
-
|
|
69
|
-
### Patch Changes
|
|
70
|
-
|
|
71
|
-
- Updated dependencies [[`fdd4ab464`](https://github.com/firebase/firebase-js-sdk/commit/fdd4ab464b59a107bdcc195df3f01e32efd89ed4)]:
|
|
72
|
-
- @firebase/app-types@0.8.0
|
|
73
|
-
- @firebase/util@1.7.0
|
|
74
|
-
|
|
75
|
-
## 0.9.13
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- [`9f1e3c667`](https://github.com/firebase/firebase-js-sdk/commit/9f1e3c66747126c8e24894d73f7fa27480bec08d) [#6536](https://github.com/firebase/firebase-js-sdk/pull/6536) - Revert "Updated type of action parameter for DataSnapshot#forEach"
|
|
80
|
-
|
|
81
|
-
## 0.9.12
|
|
82
|
-
|
|
83
|
-
### Patch Changes
|
|
84
|
-
|
|
85
|
-
- [`65838089d`](https://github.com/firebase/firebase-js-sdk/commit/65838089da47965e5e39e58c76a81a74666b215e) [#6374](https://github.com/firebase/firebase-js-sdk/pull/6374) (fixes [#6368](https://github.com/firebase/firebase-js-sdk/issues/6368)) - Updated type of action parameter for DataSnapshot#forEach
|
|
86
|
-
|
|
87
|
-
## 0.9.11
|
|
88
|
-
|
|
89
|
-
### Patch Changes
|
|
90
|
-
|
|
91
|
-
- Updated dependencies [[`b12af44a5`](https://github.com/firebase/firebase-js-sdk/commit/b12af44a5c7500e1192d6cc1a4afc4d77efadbaf)]:
|
|
92
|
-
- @firebase/util@1.6.3
|
|
93
|
-
|
|
94
|
-
## 0.9.10
|
|
95
|
-
|
|
96
|
-
### Patch Changes
|
|
97
|
-
|
|
98
|
-
- Updated dependencies [[`efe2000fc`](https://github.com/firebase/firebase-js-sdk/commit/efe2000fc499e2c85c4e5e0fef6741ff3bad2eb0)]:
|
|
99
|
-
- @firebase/util@1.6.2
|
|
100
|
-
|
|
101
|
-
## 0.9.9
|
|
102
|
-
|
|
103
|
-
### Patch Changes
|
|
104
|
-
|
|
105
|
-
- Updated dependencies [[`2cd1cc76f`](https://github.com/firebase/firebase-js-sdk/commit/2cd1cc76f2a308135cd60f424fe09084a34b5cb5)]:
|
|
106
|
-
- @firebase/util@1.6.1
|
|
107
|
-
|
|
108
|
-
## 0.9.8
|
|
109
|
-
|
|
110
|
-
### Patch Changes
|
|
111
|
-
|
|
112
|
-
- Updated dependencies [[`9c5c9c36d`](https://github.com/firebase/firebase-js-sdk/commit/9c5c9c36da80b98b73cfd60ef2e2965087e9f801)]:
|
|
113
|
-
- @firebase/util@1.6.0
|
|
114
|
-
|
|
115
|
-
## 0.9.7
|
|
116
|
-
|
|
117
|
-
### Patch Changes
|
|
118
|
-
|
|
119
|
-
- [`1c37b5e96`](https://github.com/firebase/firebase-js-sdk/commit/1c37b5e965978d796c46ff6b9f52051cf6070751) [#6090](https://github.com/firebase/firebase-js-sdk/pull/6090) (fixes [#6071](https://github.com/firebase/firebase-js-sdk/issues/6071)) - Updated typings for Reference methods
|
|
120
|
-
|
|
121
|
-
- Updated dependencies [[`e9e5f6b3c`](https://github.com/firebase/firebase-js-sdk/commit/e9e5f6b3ca9d61323b22f87986d9959f5297ec59)]:
|
|
122
|
-
- @firebase/util@1.5.2
|
|
123
|
-
|
|
124
|
-
## 0.9.6
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- Updated dependencies [[`3198d58dc`](https://github.com/firebase/firebase-js-sdk/commit/3198d58dcedbf7583914dbcc76984f6f7df8d2ef)]:
|
|
129
|
-
- @firebase/util@1.5.1
|
|
130
|
-
|
|
131
|
-
## 0.9.5
|
|
132
|
-
|
|
133
|
-
### Patch Changes
|
|
134
|
-
|
|
135
|
-
- Updated dependencies [[`2d672cead`](https://github.com/firebase/firebase-js-sdk/commit/2d672cead167187cb714cd89b638c0884ba58f03)]:
|
|
136
|
-
- @firebase/util@1.5.0
|
|
137
|
-
|
|
138
|
-
## 0.9.4
|
|
139
|
-
|
|
140
|
-
### Patch Changes
|
|
141
|
-
|
|
142
|
-
- Updated dependencies [[`3b481f572`](https://github.com/firebase/firebase-js-sdk/commit/3b481f572456e1eab3435bfc25717770d95a8c49)]:
|
|
143
|
-
- @firebase/util@1.4.3
|
|
144
|
-
|
|
145
|
-
## 0.9.3
|
|
146
|
-
|
|
147
|
-
### Patch Changes
|
|
148
|
-
|
|
149
|
-
- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
|
|
150
|
-
- @firebase/util@1.4.2
|
|
151
|
-
|
|
152
|
-
## 0.9.2
|
|
153
|
-
|
|
154
|
-
### Patch Changes
|
|
155
|
-
|
|
156
|
-
- Updated dependencies [[`2322b6023`](https://github.com/firebase/firebase-js-sdk/commit/2322b6023c628cd9f4f4172767c17d215dd91684)]:
|
|
157
|
-
- @firebase/util@1.4.1
|
|
158
|
-
|
|
159
|
-
## 0.9.1
|
|
160
|
-
|
|
161
|
-
### Patch Changes
|
|
162
|
-
|
|
163
|
-
- Updated dependencies [[`a99943fe3`](https://github.com/firebase/firebase-js-sdk/commit/a99943fe3bd5279761aa29d138ec91272b06df39), [`b835b4cba`](https://github.com/firebase/firebase-js-sdk/commit/b835b4cbabc4b7b180ae38b908c49205ce31a422)]:
|
|
164
|
-
- @firebase/util@1.4.0
|
|
165
|
-
|
|
166
|
-
## 0.9.0
|
|
167
|
-
|
|
168
|
-
### Minor Changes
|
|
169
|
-
|
|
170
|
-
- [`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6) [#5345](https://github.com/firebase/firebase-js-sdk/pull/5345) (fixes [#5015](https://github.com/firebase/firebase-js-sdk/issues/5015)) - Release modularized SDKs
|
|
171
|
-
|
|
172
|
-
### Patch Changes
|
|
173
|
-
|
|
174
|
-
- Updated dependencies [[`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6)]:
|
|
175
|
-
- @firebase/app-types@0.7.0
|
|
176
|
-
|
|
177
|
-
## 0.8.0
|
|
178
|
-
|
|
179
|
-
### Minor Changes
|
|
180
|
-
|
|
181
|
-
- [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131) [#5282](https://github.com/firebase/firebase-js-sdk/pull/5282) - Implement mockUserToken for Storage and fix JWT format bugs.
|
|
182
|
-
|
|
183
|
-
### Patch Changes
|
|
184
|
-
|
|
185
|
-
- Updated dependencies [[`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131)]:
|
|
186
|
-
- @firebase/util@1.3.0
|
|
187
|
-
|
|
188
|
-
## 0.7.3
|
|
189
|
-
|
|
190
|
-
### Patch Changes
|
|
191
|
-
|
|
192
|
-
- Updated dependencies [[`3d10d33bc`](https://github.com/firebase/firebase-js-sdk/commit/3d10d33bc167177fecbf86d2a6574af2e4e210f9)]:
|
|
193
|
-
- @firebase/app-types@0.6.3
|
|
194
|
-
|
|
195
|
-
## 0.7.2
|
|
196
|
-
|
|
197
|
-
### Patch Changes
|
|
198
|
-
|
|
199
|
-
- [`e46ebb743`](https://github.com/firebase/firebase-js-sdk/commit/e46ebb743f670f3b7d2160164addeddf918fb0cb) [#4765](https://github.com/firebase/firebase-js-sdk/pull/4765) - Update types to be consistent with the main index.d.ts
|
|
200
|
-
|
|
201
|
-
## 0.7.1
|
|
202
|
-
|
|
203
|
-
### Patch Changes
|
|
204
|
-
|
|
205
|
-
- Updated dependencies [[`f24d8961b`](https://github.com/firebase/firebase-js-sdk/commit/f24d8961b3b87821413297688803fc85113086b3)]:
|
|
206
|
-
- @firebase/app-types@0.6.2
|
|
207
|
-
|
|
208
|
-
## 0.7.0
|
|
209
|
-
|
|
210
|
-
### Minor Changes
|
|
211
|
-
|
|
212
|
-
- [`05614aa86`](https://github.com/firebase/firebase-js-sdk/commit/05614aa86614994b69df154bd6ce34861fae37a5) [#4427](https://github.com/firebase/firebase-js-sdk/pull/4427) - Add `startAfter()` and `endBefore()` to the Realtime Database TypeScript definitions.
|
|
213
|
-
|
|
214
|
-
## 0.6.1
|
|
215
|
-
|
|
216
|
-
### Patch Changes
|
|
217
|
-
|
|
218
|
-
- [`4f6313262`](https://github.com/firebase/firebase-js-sdk/commit/4f63132622fa46ca7373ab93440c76bcb1822620) [#4096](https://github.com/firebase/firebase-js-sdk/pull/4096) - Add the missing type definition for 'Query.get()' for RTDB
|
|
219
|
-
|
|
220
|
-
## 0.6.0
|
|
221
|
-
|
|
222
|
-
### Minor Changes
|
|
223
|
-
|
|
224
|
-
- [`ef33328f7`](https://github.com/firebase/firebase-js-sdk/commit/ef33328f7cb7d585a1304ed39649f5b69a111b3c) [#3904](https://github.com/firebase/firebase-js-sdk/pull/3904) - Add a useEmulator(host, port) method to Realtime Database
|
|
225
|
-
|
|
226
|
-
### Patch Changes
|
|
227
|
-
|
|
228
|
-
- [`602ec18e9`](https://github.com/firebase/firebase-js-sdk/commit/602ec18e92fd365a3a6432ff3a5f6a31013eb1f5) [#3968](https://github.com/firebase/firebase-js-sdk/pull/3968) - Updated the type definition for `ThenableReference` to only implement `then` and `catch`, which matches the implementation.
|
|
229
|
-
|
|
230
|
-
## 0.5.2
|
|
231
|
-
|
|
232
|
-
### Patch Changes
|
|
233
|
-
|
|
234
|
-
- [`ef348fed`](https://github.com/firebase/firebase-js-sdk/commit/ef348fed291338351706a697cbb9fb17a9d06ff4) [#3511](https://github.com/firebase/firebase-js-sdk/pull/3511) - Added interface `Database` which is implemented by `FirebaseDatabase`. This allows consumer SDKs (such as the Firebase Admin SDK) to export the database types as an interface.
|