feat: newsletter subscribe (#968)

* feat: subscribe newsletter

Signed-off-by: Innei <tukon479@gmail.com>

* feat(subscribe): send email

Signed-off-by: Innei <tukon479@gmail.com>

* fix(template): email template override

Signed-off-by: Innei <tukon479@gmail.com>

* fix: newsletter template props

Signed-off-by: Innei <tukon479@gmail.com>

* fix: get master inside

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add sort

Signed-off-by: Innei <tukon479@gmail.com>

* feat(api-client): add subscribe controller

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
2023-02-13 15:15:13 +08:00
committed by GitHub
parent 85de275b4e
commit c8667ec5e2
22 changed files with 567 additions and 71 deletions

View File

@@ -15,6 +15,7 @@ import { SayController } from './say'
import { SearchController } from './search'
import { ServerlessController } from './severless'
import { SnippetController } from './snippet'
import { SubscribeController } from './subscribe'
import { TopicController } from './topic'
import { UserController } from './user'
@@ -33,6 +34,7 @@ export const allControllers = [
SearchController,
SnippetController,
ServerlessController,
SubscribeController,
UserController,
]
@@ -51,6 +53,7 @@ export const allContollerNames = [
'search',
'snippet',
'serverless',
'subscribe',
'user',
// alias,
@@ -73,6 +76,7 @@ export {
SearchController,
SnippetController,
ServerlessController,
SubscribeController,
UserController,
TopicController,