diff options
Diffstat (limited to 'src/server/api/endpoints/admin/announcements/create.ts')
| -rw-r--r-- | src/server/api/endpoints/admin/announcements/create.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/server/api/endpoints/admin/announcements/create.ts b/src/server/api/endpoints/admin/announcements/create.ts index 3675e50bac..794c35023b 100644 --- a/src/server/api/endpoints/admin/announcements/create.ts +++ b/src/server/api/endpoints/admin/announcements/create.ts @@ -4,11 +4,6 @@ import { Announcements } from '../../../../../models'; import { genId } from '@/misc/gen-id'; export const meta = { - desc: { - 'ja-JP': 'アナウンスを作成します。', - 'en-US': 'Create a announcement.' - }, - tags: ['admin'], requireCredential: true as const, @@ -34,35 +29,29 @@ export const meta = { type: 'string' as const, optional: false as const, nullable: false as const, format: 'id', - description: 'The unique identifier for this Announcement.', example: 'xxxxxxxxxx', }, createdAt: { type: 'string' as const, optional: false as const, nullable: false as const, format: 'date-time', - description: 'The date that the Announcement was created.' }, updatedAt: { type: 'string' as const, optional: false as const, nullable: true as const, format: 'date-time', - description: 'The date that the Announcement was updated.' }, title: { type: 'string' as const, optional: false as const, nullable: false as const, - description: 'Announcement title.' }, text: { type: 'string' as const, optional: false as const, nullable: false as const, - description: 'Announcement text.' }, imageUrl: { type: 'string' as const, optional: false as const, nullable: true as const, - description: 'Announcement image.' } } } |