insomnia/packages/insomnia-app/app/models
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
..
__mocks__ [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
__schemas__ Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
__tests__ Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
helpers Duplicate from dashboard and from settings (#3820) 2021-07-28 21:49:02 +00:00
api-spec.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
client-certificate.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
cookie-jar.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
environment.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
git-repository.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
grpc-request-meta.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
grpc-request.ts git clone into the active space (#3775) 2021-07-20 01:05:08 +00:00
index.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
o-auth-2-token.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
plugin-data.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
proto-directory.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
proto-file.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
request-group-meta.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
request-group.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
request-meta.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
request-version.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
request.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
response.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
settings.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
space.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
stats.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
unit-test-result.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
unit-test-suite.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
unit-test.ts have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
workspace-meta.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
workspace.ts Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00