feat(api): 🚩 Add emoji shortcode size controls

This commit is contained in:
Jesse Wierzbinski 2024-12-09 11:09:40 +01:00
parent cfefd56a55
commit 8796f694bc
No known key found for this signature in database
8 changed files with 15 additions and 3 deletions

View file

@ -315,12 +315,13 @@ Single Sign-On (SSO) settings for the instance. This object contains two fields:
Extra attributes have been added to the `/api/v2/instance` endpoint. These are identical to the `/api/v1/instance` endpoint, except that the `banner` attribute uses the normal Mastodon API attribute.
```ts
type ExtendedInstanceV2 = Instance & {
type ExtendedInstanceV2 = InstanceV2 & {
versia_version: string;
configuration: Instance["configuration"] & {
emojis: {
// In bytes
emoji_size_limit: number;
max_emoji_shortcode_characters: number;
max_emoji_description_characters: number;
};
};