Commit Graph

42 Commits

Author SHA1 Message Date
waterplea
4252297f59 feat: remove ionic storage 2022-10-03 17:04:12 -06:00
Matt Hill
6c3079786f handle escaping and honor root pointer (#52)
* handle escaping and honor root pointer

* Update client/lib/json-patch-lib.ts

* Update client/lib/json-patch-lib.ts

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
2022-10-03 10:56:50 -06:00
Matt Hill
4d987b1921 don't emit until bootstrapped with data (#47) 2022-09-21 10:51:32 -06:00
Matt Hill
20beb61baa much more efficient (#46)
* much more efficient

* update children too

* better compare
2022-09-14 11:21:00 -06:00
Matt Hill
74c01eb5db fix updating revision number on dumps 2022-09-06 13:54:33 -06:00
Matt Hill
bdf0b32be6 remove stash and store completely 2022-09-02 15:13:08 -06:00
Alex Inkin
f4732b18a2 Refactor sources (#40)
* major refactor to exclude multiple sources

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
2022-08-21 14:36:07 -06:00
waterplea
2fef1e572c chore: add prettier and reformat lib 2022-07-24 09:01:01 -06:00
waterplea
c7006e0eb2 fix: patchdb should not bundle rxjs but instead rely on the version in the app 2022-07-24 09:01:01 -06:00
Matt Hill
ec35e5f14c refactor apply operation to account for arrays (#38)
* refactor apply operation to account for arrays

* fix buig
2022-06-29 17:43:12 -06:00
waterplea
d24bd1c513 fix: properly handle source errors without stopping the stream 2022-06-29 08:18:48 -06:00
Alex Inkin
9a28793f27 refactor: remove nested subscription (#36) 2022-06-22 15:23:35 -06:00
Alex Inkin
e138b88e75 feat: make watch$ strictNullCheck compatible (#34)
* feat: make `watch$` strictNullCheck compatible

* chore: send initial value to subscribers

* let values emit when undefined

* fix: properly check if data can be processed

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-06-19 13:19:00 -06:00
Alex Inkin
6f6c26acd4 feat(client): remove data mutation (#32)
* feat(client): remove data mutation

* chore: address comments and fix some other issues

* chore: send the most recent cache upon subscription
2022-05-26 16:23:56 -06:00
Drew Ansbacher
2ca4b256b3 Update patch-db.ts 2021-12-28 15:29:10 -07:00
Drew Ansbacher
4fb0d3570b Update patch-db.ts 2021-12-28 15:29:10 -07:00
J M
8422315b33 Fix: Merge conflict
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
2021-12-28 15:29:10 -07:00
Drew Ansbacher
e2a51475a7 polling working without refresh 2021-12-28 15:29:10 -07:00
Matt Hill
678d7b3322 add mock source 2021-12-28 15:29:10 -07:00
Matt Hill
8b0a39ae0b don't delete observables whose value is undefined 2021-12-28 15:29:10 -07:00
Drew Ansbacher
ab9305fc92 patch client reset 2021-12-28 15:29:10 -07:00
Matt Hill
7a81c7da57 update WS for unauthorized response 2021-12-28 15:29:10 -07:00
Drew Ansbacher
e9792f7afe local sequence bug 2021-12-28 15:29:10 -07:00
Matt Hill
c3e28cb683 revert source connection monitor 2021-12-28 15:29:10 -07:00
Matt Hill
c03c876098 add connection monitor to sources 2021-12-28 15:29:10 -07:00
Drew Ansbacher
60320e3083 document bug fix 2021-12-28 15:29:10 -07:00
Matt Hill
a72c1c5499 send message when websocket open and clear store cache on reset 2021-12-28 15:29:10 -07:00
Matt Hill
ca8da5da6b fix case where cache is empty object 2021-12-28 15:29:10 -07:00
Matt Hill
3e2e1c92dd revert 2021-12-28 15:29:10 -07:00
Drew Ansbacher
56d7cae16d in source as well 2021-12-28 15:29:10 -07:00
Drew Ansbacher
cf43a9a83e extends hashmap 2021-12-28 15:29:10 -07:00
Drew Ansbacher
88084f60a2 hashmap 2021-12-28 15:29:10 -07:00
Matt Hill
5699702656 return whole doc, better unsubscribe 2021-12-28 15:29:10 -07:00
Matt Hill
2db0449d12 our own json patch lib and everything working 2021-07-09 15:12:58 -06:00
Matt Hill
bddbc850ab stashing to handle out-of-sequence revisions 2021-07-09 15:12:58 -06:00
Matt Hill
0cbdc781b0 re-introduce watch 2021-07-09 15:12:58 -06:00
Matt Hill
434c6f7037 start 2021-07-09 15:12:58 -06:00
Matt Hill
d84752007d remove connection status from lib 2021-07-09 15:12:58 -06:00
Matt Hill
eb4a24e797 add connection monitoring 2021-07-09 15:12:58 -06:00
Matt Hill
950773e542 removes temps, massive refactor 2021-07-09 15:12:58 -06:00
Matt Hill
416d622df4 updates to bootstrapper 2021-07-09 15:12:58 -06:00
Aiden McClelland
9ad59a4d1a move client from separate repo 2021-07-09 15:12:58 -06:00