add sortKey to packedEmojiDetailedAdminSchema

This commit is contained in:
HellhoundSoftware 2025-03-27 19:42:07 -04:00
parent a31455370f
commit 158afd86f7
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -124,6 +124,7 @@ export class EmojiEntityService {
localOnly: emoji.localOnly,
isSensitive: emoji.isSensitive,
roleIdsThatCanBeUsedThisEmojiAsReaction: roles.map(it => ({ id: it.id, name: it.name })),
sortKey: emoji.sortKey,
};
}

View file

@ -193,5 +193,9 @@ export const packedEmojiDetailedAdminSchema = {
},
},
},
sortKey: {
type: 'string',
optional: false, nullable: true,
},
},
} as const;