Commit a8919cd
authored
refactor(database): Implement database in Typescript (#72)
* refactor(database): remove old database implementation [Part 1/3] (#61)
* refactor(database): remove old database implementation
This is part #1 of 4 PR's to migrate database
* refactor(database): remove database build processes
* refactor(database): Add typescript database implementation [Part 2/3] (#62)
* refactor(database): add typescript implementation
* refactor(database): update build process to include database.ts
All integration tests pass at this point
* refactor(*): refactor environment builds to be based on separate .ts files
* WIP: patch database code in nodeJS
* refactor(database): classes for typescript database implementation (#55)
* refactor(database): classes for typescript database implementation
* refactor(database): requested changes & other improvements
* fix(database): Add missing "typeof" (#74)
https://github.com/firebase/firebase-js-sdk/blob/fd0728138d88c454f8e38a78f35d831d6365070c/src/database/js-client/core/Repo.js#L86
* WIP: fixes from @schmidt-sebastian's review
* WIP: fix: TS Build error
* fix(database): fix issue with missing repo method
* WIP: review adjustments #1
* WIP: review comments #2
* WIP: refactor(database): Add migrated test harness [Part 3/3] (#71)
* refactor(database): add typescript implementation
* refactor(database): update build process to include database.ts
All integration tests pass at this point
* refactor(*): refactor environment builds to be based on separate .ts files
* WIP: patch database code in nodeJS
* refactor(database): classes for typescript database implementation (#55)
* refactor(database): classes for typescript database implementation
* refactor(database): requested changes & other improvements
* WIP: add the /tests/config dir to the .gitignore
* WIP: add test harness
* WIP: add query tests
There are some tests that have weird timing issues, and because of the polling nature of the
original implementation, we never caught the issue. These should be resolved when able
* WIP: add database.test.ts
* WIP: add node.test.ts
* WIP: add sortedmap.test.ts
* WIP: add datasnapshot.test.ts
* WIP: add sparsesnapshottree.test.ts
* refactor(database): refactor query.test.ts to better preserve original test meaning
* WIP: add crawler_support.test.ts
* WIP: refactor EventAccumulator.ts for data.test.ts
* WIP: fix issue with query.test.ts
* WIP: add connection.test.ts
* WIP: add info.test.ts
* WIP: add order_by.test.ts
I only migrated some of these tests as there was a dependency on the server for several tests
* WIP: fix several code signature problems, add test files
* WIP: add transaction.test.ts
* WIP: working on the broken npm test command
* WIP: working on fixes
* WIP: remove logging
* WIP: fix node tests
* fix(*): fixing test files and CI integration
* WIP: tEMP: Allow branch builds
* WIP: escape string
* refactor(CI): use ChromeHeadless launcher
* WIP: fixes from review.
* WIP: skip flakey test
* WIP: remove unneeded debugger statement
* WIP: fixing nits
* Prevent using uninitialized array in EventEmitter (#85)
* perf(*): fixing build size output issues
* chore(*): remove unneeded build deps1 parent 6aaef70 commit a8919cd
File tree
2,652 files changed
+25830
-662814
lines changed- gulp
- tasks
- src
- app
- database
- api
- common
- util
- core
- operation
- snap
- indexes
- stats
- storage
- util
- libs
- view
- filter
- js-client
- api
- core
- operation
- snap
- stats
- storage
- util
- view
- filter
- login/util
- realtime
- polling
- realtime
- polling
- third_party/closure-library
- closure/goog
- a11y/aria
- array
- asserts
- async
- bootstrap
- color
- crypt
- cssom
- iframe
- css
- editor
- datasource
- date
- db
- debug
- devcss
- demos
- css
- editor
- emoji
- fx/css3
- graphics
- tree
- xpc
- minimal
- disposable
- dom
- animationframe
- browserrange
- pattern
- callback
- editor
- plugins
- events
- format
- fs
- functions
- fx
- anim
- css3
- graphics
- ext
- history
- html
- i18n
- uchar
- images
- tree
- iter
- json
- labs
- dom
- events
- format
- html
- i18n
- iterable
- mock
- net
- testdata
- webchannel
- object
- pubsub
- storage
- structs
- style
- testing
- useragent
- locale
- log
- math
- interpolator
- memoize
- messaging
- testdata
- module
- testdata
- net
- testdata
- xpc
- testdata
- object
- positioning
- promise
- proto2
- proto
- pubsub
- reflect
- result
- soy
- spell
- stats
- storage
- mechanism
- string
- structs
- weak
- style
- testing
- async
- editor
- events
- fs
- i18n
- messaging
- net
- proto2
- storage
- style
- ui
- timer
- tweak
- ui
- ac
- editor
- emoji
- media
- style/app
- tree
- uri
- useragent
- vec
- webgl
- window
- third_party/closure/goog
- caja/string/html
- dojo/dom
- jpeg_encoder
- loremipsum/text
- mochikit/async
- osapi
- svgpan
- storage/implementation
- utils
- tests
- app
- config
- database
- browser
- helpers
- node
- package/binary/browser
- utils
- tools/third_party
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,652 files changed
+25830
-662814
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
48 | | - | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | | - | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
106 | | - | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
119 | 128 | | |
120 | 129 | | |
121 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | 140 | | |
142 | | - | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 197 | | |
218 | 198 | | |
219 | 199 | | |
| |||
223 | 203 | | |
224 | 204 | | |
225 | 205 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 206 | + | |
| 207 | + | |
249 | 208 | | |
250 | | - | |
251 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
252 | 218 | | |
253 | 219 | | |
254 | 220 | | |
| |||
429 | 395 | | |
430 | 396 | | |
431 | 397 | | |
432 | | - | |
433 | 398 | | |
434 | 399 | | |
435 | 400 | | |
| |||
444 | 409 | | |
445 | 410 | | |
446 | 411 | | |
447 | | - | |
448 | | - | |
449 | 412 | | |
450 | 413 | | |
451 | 414 | | |
| |||
455 | 418 | | |
456 | 419 | | |
457 | 420 | | |
458 | | - | |
459 | 421 | | |
460 | 422 | | |
461 | 423 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
0 commit comments