-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ts-reset to apps and services #2146
Conversation
…eset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data.
…eset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data.
…eset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data.
…tions refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument
…tions refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter
…tions refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument
|
PR Description updated to latest commit (428af02) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
User description
Description
Elaborate on the subject, motivation, and context.
Related issues
Breaking changes
How these changes were tested
Examples and references
Checklist
Type
enhancement
Changes walkthrough
10 files
useKycBlock.tsx
Refactor useKycBlock hook in KycBlock component
apps/backoffice-v2/src/lib/blocks/components/KycBlock/hooks/useKycBlock/useKycBlock.tsx
useAmlBlock.tsx
Extract AML block logic to useAmlBlock hook
apps/backoffice-v2/src/lib/blocks/components/AmlBlock/hooks/useAmlBlock/useAmlBlock.tsx
useCaseActionsLogic.tsx
Refactor useCaseActionsLogic hook in Case component
apps/backoffice-v2/src/pages/Entity/components/Case/hooks/useCaseActionsLogic/useCaseActionsLogic.tsx
Case.Actions.tsx
Refactor Case.Actions component in Case
apps/backoffice-v2/src/pages/Entity/components/Case/Case.Actions.tsx
OnGoingActions.tsx
Add OnGoingActions component in Case
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/OnGoingActions/OnGoingActions.tsx
useDefaultActionsLogic.tsx
Add useDefaultActionsLogic hook in DefaultActions
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/DefaultActions/hooks/useDefaultActionsLogic/useDefaultActionsLogic.tsx
DefaultActions.tsx
Add DefaultActions component in Case
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/DefaultActions/DefaultActions.tsx
useOnGoingActionsLogic.tsx
Add useOnGoingActionsLogic hook in OnGoingActions
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/OnGoingActions/hooks/useOnGoingActionsLogic/useOnGoingActionsLogic.tsx
useOnGoingBlocksLogic.tsx
Add useOnGoingBlocksLogic hook in OnGoingBlocks
apps/backoffice-v2/src/lib/blocks/variants/OnGoingBlocks/hooks/useOnGoingBlocksLogic/useOnGoingBlocksLogic.tsx
webhooks.module.ts
Add WebhooksModule in workflows-service
services/workflows-service/src/webhooks/webhooks.module.ts