Implement category for custom emojis

This commit is contained in:
fruye 2023-03-23 23:15:15 +01:00
parent 636d0158bf
commit dac8c95a28
5 changed files with 6 additions and 1 deletions

View file

@ -4,5 +4,6 @@ namespace Entity {
static_url: string
url: string
visible_in_picker: boolean
category: string
}
}

View file

@ -4,5 +4,6 @@ namespace MastodonEntity {
static_url: string
url: string
visible_in_picker: boolean
category: string
}
}

View file

@ -46,7 +46,8 @@ namespace MisskeyAPI {
shortcode: e.name,
static_url: e.url,
url: e.url,
visible_in_picker: true
visible_in_picker: true,
category: e.category
}
}

View file

@ -4,5 +4,6 @@ namespace MisskeyEntity {
host: string | null
url: string
aliases: Array<string>
category: string
}
}

View file

@ -4,5 +4,6 @@ namespace PleromaEntity {
static_url: string
url: string
visible_in_picker: boolean
category: string
}
}