summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/i/get-word-muted-notes-count.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/i/get-word-muted-notes-count.ts')
-rw-r--r--src/server/api/endpoints/i/get-word-muted-notes-count.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/api/endpoints/i/get-word-muted-notes-count.ts b/src/server/api/endpoints/i/get-word-muted-notes-count.ts
index e88d697bfd..a69ebc286a 100644
--- a/src/server/api/endpoints/i/get-word-muted-notes-count.ts
+++ b/src/server/api/endpoints/i/get-word-muted-notes-count.ts
@@ -9,6 +9,17 @@ export const meta = {
kind: 'read:account',
params: {
+ },
+
+ res: {
+ type: 'object' as const,
+ optional: false as const, nullable: false as const,
+ properties: {
+ count: {
+ type: 'number' as const,
+ optional: false as const, nullable: false as const
+ }
+ }
}
};