insomnia/packages/insomnia-app/app/sync/vcs
Opender Singh be2c347cf1
Pull a project into the correct space (#3873)
* use selector and improve types

* Loading remote projects now requires a team id; it is no longer optional

* activate with workspace or workspace id

* extract helper

* normalize graphql return type for a remote project to include the team

* pull into the space as defined by the project team id, not by the active space. If the space doesn't exist, create it

* use helper

* make testing easier by putting the active space name as the first breadcrumb

* fix tests

* add the active space into the title

* refactor and add tests

* remove todo
2021-08-05 23:30:31 +00:00
..
__tests__ Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
initialize-model-from.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
initialize-project.ts Duplicate from dashboard and from settings (#3820) 2021-07-28 21:49:02 +00:00
normalize-project-team.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
paths.ts [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
pull-project.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
util.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
vcs.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00