Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance: Move account location to user current for better context.
- Loading branch information
1 parent
e42f4d9
commit 1b552ce
Showing
229 changed files
with
9,702 additions
and
9,651 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
4 changes: 2 additions & 2 deletions
4
...nd/apps/desktop/components/layout/LayoutSidebar/__tests__/LayoutSidebarFooterMenu.spec.ts
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
22 changes: 0 additions & 22 deletions
22
app/frontend/apps/desktop/entities/account/graphql/mutations/accountPasswordCheck.api.ts
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
app/frontend/apps/desktop/entities/account/graphql/mutations/accountPasswordCheck.graphql
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
app/frontend/apps/desktop/entities/account/graphql/mutations/accountPasswordCheck.mocks.ts
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...tend/apps/desktop/entities/user/current/graphql/mutations/userCurrentPasswordCheck.api.ts
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as Types from '#shared/graphql/types.ts'; | ||
|
||
import gql from 'graphql-tag'; | ||
import { ErrorsFragmentDoc } from '../../../../../../../shared/graphql/fragments/errors.api'; | ||
import * as VueApolloComposable from '@vue/apollo-composable'; | ||
import * as VueCompositionApi from 'vue'; | ||
export type ReactiveFunction<TParam> = () => TParam; | ||
|
||
export const UserCurrentPasswordCheckDocument = gql` | ||
mutation userCurrentPasswordCheck($password: String!) { | ||
userCurrentPasswordCheck(password: $password) { | ||
success | ||
errors { | ||
...errors | ||
} | ||
} | ||
} | ||
${ErrorsFragmentDoc}`; | ||
export function useUserCurrentPasswordCheckMutation(options: VueApolloComposable.UseMutationOptions<Types.UserCurrentPasswordCheckMutation, Types.UserCurrentPasswordCheckMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.UserCurrentPasswordCheckMutation, Types.UserCurrentPasswordCheckMutationVariables>> = {}) { | ||
return VueApolloComposable.useMutation<Types.UserCurrentPasswordCheckMutation, Types.UserCurrentPasswordCheckMutationVariables>(UserCurrentPasswordCheckDocument, options); | ||
} | ||
export type UserCurrentPasswordCheckMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.UserCurrentPasswordCheckMutation, Types.UserCurrentPasswordCheckMutationVariables>; |
8 changes: 8 additions & 0 deletions
8
...end/apps/desktop/entities/user/current/graphql/mutations/userCurrentPasswordCheck.graphql
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mutation userCurrentPasswordCheck($password: String!) { | ||
userCurrentPasswordCheck(password: $password) { | ||
success | ||
errors { | ||
...errors | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...nd/apps/desktop/entities/user/current/graphql/mutations/userCurrentPasswordCheck.mocks.ts
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import * as Types from '#shared/graphql/types.ts'; | ||
|
||
import * as Mocks from '#tests/graphql/builders/mocks.ts' | ||
import * as Operations from './userCurrentPasswordCheck.api.ts' | ||
|
||
export function mockUserCurrentPasswordCheckMutation(defaults: Mocks.MockDefaultsValue<Types.UserCurrentPasswordCheckMutation, Types.UserCurrentPasswordCheckMutationVariables>) { | ||
return Mocks.mockGraphQLResult(Operations.UserCurrentPasswordCheckDocument, defaults) | ||
} | ||
|
||
export function waitForUserCurrentPasswordCheckMutationCalls() { | ||
return Mocks.waitForGraphQLMockCalls<Types.UserCurrentPasswordCheckMutation>(Operations.UserCurrentPasswordCheckDocument) | ||
} |
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.