chore(release): bump @mx-space/webhook to v0.3.0

This commit is contained in:
Innei
2024-03-19 20:24:54 +08:00
parent cb62655a7e
commit 6fd5fbabc1
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@mx-space/webhook",
"version": "0.2.4",
"version": "0.3.0",
"devDependencies": {
"express": "4.18.3"
},

View File

@@ -89,4 +89,12 @@ export type GenericEvent =
ref: Id | PostModel | PageModel | NoteModel | RecentlyModel
}
}
| {
type: BusinessEvents.ARTICLE_READ_COUNT_UPDATE
payload: {
count: number
type: 'post' | 'note'
id: string
}
}
| { type: 'health_check'; payload: {} }