-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schema, api-client): Migrate workspace-membership schemas and ty…
…pes to @keyshade/schema (#569) Co-authored-by: Rajdip Bhattacharya <[email protected]>
- Loading branch information
Showing
18 changed files
with
739 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,20 @@ delete { | |
auth: none | ||
} | ||
|
||
params:query { | ||
userEmails: [email protected],[email protected] | ||
} | ||
|
||
params:path { | ||
workspace_slug: workspace-1-cahli | ||
} | ||
|
||
docs { | ||
## Description | ||
|
||
Remove one or more users from the workspace. | ||
|
||
### Request Query Params | ||
|
||
The endpoint accepts a string of comma separated emails | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 0 additions & 145 deletions
145
packages/api-client/src/types/workspace-membership.types.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ describe('Workspace Membership Controller Tests', () => { | |
it('should remove users', async () => { | ||
const request = { | ||
workspaceSlug: workspaceSlug!, | ||
userEmails: ['[email protected]'] | ||
userEmails: '[email protected]' | ||
} | ||
const response = await workspaceMembershipController.removeUsers(request, { | ||
'x-e2e-user-email': userEmail | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "eslint-config-custom", | ||
"license": "MIT", | ||
"version": "0.0.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@vercel/style-guide": "^5.0.0", | ||
"eslint-config-turbo": "^2.3.1", | ||
"typescript": "^4.5.3" | ||
} | ||
"name": "eslint-config-custom", | ||
"license": "MIT", | ||
"version": "0.0.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@vercel/style-guide": "^5.0.0", | ||
"eslint-config-turbo": "^2.3.1", | ||
"typescript": "^4.5.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.