* feat(workspaces): delete workspace repo function
* feat(workspaces): services for the resolver, crack order of operations, migration
* fix(workspaces): add tests for delete
* fix(workspaces): better service boundary
* fix(workspaces): linttttt
* feat(useremails): userEmails graphql query
* feat(useremails): create user email mutation
* feat(useremails): set primary and delete user email mutations
* chore(useremails): fix update user email type
* chore(useremails): add validation for unique primary email
* chore(useremails): create typed tests for graphql and emails field resolver in user type
* chore(userEmails): group user email mutations in a specific mutation object
* linting fixes
* more lint fixes
* tests fix
* more test fixes
* chore(userEmails): cleanup
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): fix checkemail not present
* chore(useremails): add tests
* chore(useremails): create check function
* chore(useremails): use repository function to find primary email
* chore(useremails): fix prettier
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
* feat(useremails): userEmails graphql query
* feat(useremails): create user email mutation
* feat(useremails): set primary and delete user email mutations
* chore(useremails): fix update user email type
* chore(useremails): create typed tests for graphql and emails field resolver in user type
* chore(userEmails): group user email mutations in a specific mutation object
* linting fixes
* more lint fixes
* tests fix
* more test fixes
* chore(userEmails): cleanup
* chore(useremails): rely on knex trx for transaction handling
* chore(useremails): fix checkemail not present
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
* ci(feature flags): test workspaces
* It was an overwrite not a merge ;(
* adjustments
* ignoring FF related tests, if FFs are off
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
* feat(workspaces): update/delete workspace role resolvers
* chore(workspaces): gql tests for role changes
* fix(workspaces): test syntax oops
* fix(workspaces): got it twisted
* fix(workspaces): simplify api surface, better return types
* fix(workspaces): correct role type usage, improve tests
* fix(workspaces): authorize in resolver
* fix(workspaces): correct usage of authorizeResolver
* chore(workspaces): tests for workspace project creation
* fix(workspaces): build error after type change
* fix(workspaces): assorted hygiene and correctness
* chore(workspaces): add tests for paginated workspace projects query
* fix(workspaces): repair bad test ordering
* fix(workspaces): test hygiene
* fix(workspaces): a bit more correct