summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/admin/get-table-stats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/admin/get-table-stats.ts')
-rw-r--r--src/server/api/endpoints/admin/get-table-stats.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/api/endpoints/admin/get-table-stats.ts b/src/server/api/endpoints/admin/get-table-stats.ts
index eb9f26fc05..351c230033 100644
--- a/src/server/api/endpoints/admin/get-table-stats.ts
+++ b/src/server/api/endpoints/admin/get-table-stats.ts
@@ -6,6 +6,7 @@ export const meta = {
requireModerator: true,
desc: {
+ 'ja-JP': 'テーブル情報を取得します。',
'en-US': 'Get table stats'
},
@@ -13,6 +14,17 @@ export const meta = {
params: {
},
+
+ res: {
+ type: 'object' as const,
+ optional: false as const, nullable: false as const,
+ example: {
+ migrations: {
+ count: 66,
+ size: 32768
+ },
+ }
+ }
};
export default define(meta, async () => {