insomnia/packages/insomnia-app/app/sync
Opender Singh 6a1abbf3db
Migrate collections into their remote space (#3876)
* initial implementation

* take vcs as a parameter (so it's easier to mock and test)

* update console log and exit early if not logged in

* add unit tests for migration

* add async filter and replace vcs find by root document

* lint fix

* fix memory driver and add test for hasProjectForRootDocument

* setup check on interval

* move migration logic and interval from main process to render process, because session state and a VCS instance dont work in the main process yet

* update test

* replace constructor with static class creator

* replace interval with login logout hook

* remove effect helpers

* empty commit to trigger CI
2021-08-10 23:35:05 +00:00
..
__schemas__ Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
__tests__ Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
delta Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
git Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
lib use same array-type rule, project-wide (#3395) 2021-05-19 08:32:18 +12:00
store Migrate collections into their remote space (#3876) 2021-08-10 23:35:05 +00:00
vcs Migrate collections into their remote space (#3876) 2021-08-10 23:35:05 +00:00
ignore-keys.ts git clone into the active space (#3775) 2021-07-20 01:05:08 +00:00
types.ts Filter remote collections by the active space (#3456) 2021-06-15 04:21:06 +00:00