feat(emoji): 管理用のカスタム絵文字フィールドの追加 (MisskeyIO#397)

This commit is contained in:
まっちゃとーにゅ
2024-02-01 10:22:51 +09:00
committed by GitHub
parent c4cc9dae87
commit 8befa531a5
18 changed files with 168 additions and 23 deletions

View File

@@ -60,6 +60,16 @@ export const packedEmojiDetailedSchema = {
optional: false, nullable: false,
format: 'id',
},
createdAt: {
type: 'string',
optional: true, nullable: false,
format: 'date-time',
},
updatedAt: {
type: 'string',
optional: true, nullable: true,
format: 'date-time',
},
aliases: {
type: 'array',
optional: false, nullable: false,
@@ -98,6 +108,14 @@ export const packedEmojiDetailedSchema = {
type: 'boolean',
optional: false, nullable: false,
},
requestedBy: {
type: 'string',
optional: true, nullable: true,
},
memo: {
type: 'string',
optional: true, nullable: true,
},
roleIdsThatCanBeUsedThisEmojiAsReaction: {
type: 'array',
optional: true, nullable: false,