feat(shell): add qface api

This commit is contained in:
Il Harper 2024-03-05 19:19:55 +08:00
parent 1771d2e4df
commit 54bcc15da6
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -1,4 +1,5 @@
import type { O } from 'ts-toolbelt' import type { O } from 'ts-toolbelt'
import type { QFace } from './red/types'
import type { Event, Message, MessageCreatePayload } from './satori/types' import type { Event, Message, MessageCreatePayload } from './satori/types'
import type { api } from './services/api' import type { api } from './services/api'
import type { getAuthData } from './services/authData' import type { getAuthData } from './services/authData'
@ -63,4 +64,6 @@ export interface Methods {
// Internal // Internal
'chronocat.internal.assets.get': [[string], string] 'chronocat.internal.assets.get': [[string], string]
'chronocat.internal.qface.get': [[string], QFace | undefined]
'chronocat.internal.qface.list': [[], QFace[] | undefined]
} }