Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sync w/ main#815

Merged
xuelink merged 9 commits intoxuelink/issue812from
main
Jun 14, 2024
Merged

sync w/ main#815
xuelink merged 9 commits intoxuelink/issue812from
main

Conversation

@xuelink
Copy link
Member

@xuelink xuelink commented Jun 14, 2024

No description provided.

xuelink and others added 9 commits June 14, 2024 21:22
The code changes in the `auth.action.ts` file add the ability to delete an identity. This is achieved by adding the `deleteIdentityAction`, `deleteIdentitySuccessAction`, and `deleteIdentityFailureAction` actions. This feature enhances the user management capabilities and improves the overall user experience.
This commit adds a new method called deleteIdentity to the AuthService class in auth.service.ts. The deleteIdentity method takes an instance of the Models.Identity class as a parameter and returns an Observable<any>. It calls the deleteIdentity method of the api.account object and passes the $id property of the identity object as an argument. This change enhances the user management capabilities by allowing the deletion of identities.
This commit adds the deleteIdentityAction, deleteIdentitySuccessAction, and deleteIdentityFailureAction actions to the auth.action.ts file. It also includes the deleteIdentityAction reducer in the auth.reducer.ts file. These changes enhance the user management capabilities by allowing the deletion of identities.
This commit adds the deleteIdentityAction to the auth.action.ts file and the deleteIdentity method to the AuthService class in auth.service.ts. These changes enhance the user management capabilities by allowing the deletion of identities.
The code changes in the `auth.effect.ts` file improve the delete identity functionality by updating the `deleteIdentityAction` to include the `request` payload. This change ensures that the correct identity is deleted when the action is dispatched.
The code changes in the `auth.reducer.ts` file remove unnecessary code that was causing issues with deleting identities. This change enhances the delete identity functionality by ensuring that the correct identity is deleted when the action is dispatched.
Add Delete Identity Functionality
@xuelink xuelink merged commit f688276 into xuelink/issue812 Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant