-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: email unsubscription #1978
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
base: develop
Are you sure you want to change the base?
Conversation
e336595
to
2e081cc
Compare
31e7625
to
e9d8467
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Introduce email unsubscription capabilities across the OpenAPI client, UI strings, and backend routing.
- Add OpenAPI routes and client functions for unsubscribe get/update, listing, export, and import.
- Extend i18n strings with unsubscribe-related texts.
- Add Next.js SSR catch-all route for unsubscribe pages and introduce mail encryption config.
Reviewed Changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 11 comments.
Show a summary per file
File | Description |
---|---|
packages/openapi/src/unsubscribe/update.ts | Adds POST route and client to update subscription status by token. |
packages/openapi/src/unsubscribe/index.ts | Re-exports unsubscribe module APIs. |
packages/openapi/src/unsubscribe/import-list.ts | Adds route and client for importing unsubscribe lists. |
packages/openapi/src/unsubscribe/get.ts | Adds GET route and client to fetch unsubscribe info by token; introduces related types. |
packages/openapi/src/unsubscribe/get-list.ts | Adds GET route and client to fetch paginated unsubscribe list. |
packages/openapi/src/unsubscribe/export-list.ts | Adds route and client for exporting unsubscribe list. |
packages/openapi/src/mail/types.ts | Adds AutomationSendEmailAction mail type. |
packages/openapi/src/index.ts | Exposes unsubscribe APIs from root index. |
packages/common-i18n/src/locales/*/common.json | Adds unsubscribe-related UI texts and labels in multiple locales. |
apps/nestjs-backend/src/features/next/next.controller.ts | Adds Next.js SSR route pattern for unsubscribe pages. |
apps/nestjs-backend/src/configs/mail.config.ts | Adds mail encryption config (algorithm, key, IV, encoding). |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.