-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing User Resource + removing User.find callsites (#6222)
* Introducing User Resource * Lint * Lint * Add transaction to fecthByProvider * Lint * Removing a lot more renderUserTypes() * Use UserResource almost everywhere * cleanup * Remove transaction from delete() * Migrate the last few things to userResource * fetchAll* -> list* * Return resource * Rename userRes -> user * userRes ToCIOpayload * Fullname getter * getFullName * fecthbyid * Remove deleteUser() * Move fetchRevokedWorkspace to lib/api * UpdateInfo and updateAuth0Sub * UpdateName * Use toJSON * Migrate to usertype * Add fetchNonNullableByModelId * Remove try catch * fectNonNullable * Introduce unsafeDelete * move getFullname() to getAttribute() * Remove nonNullable * Remove userRes * lint * Updateinfo fix * fullName() * Change throw to error * Removing else * typo
- Loading branch information
Showing
28 changed files
with
498 additions
and
316 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
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
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.