fix(backend): api/metaのfeaturesの下位互換性 (MisskeyIO#487)

This commit is contained in:
まっちゃとーにゅ 2024-02-27 23:56:36 +09:00 committed by GitHub
parent 851dc4cb6b
commit 9fe29b5e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 0 deletions

View file

@ -267,14 +267,29 @@ export const packedMetaDetailedOnlySchema = {
type: 'boolean',
optional: false, nullable: false,
},
hcaptcha: {
type: 'boolean',
optional: false, nullable: false,
description: 'Alias of hCaptcha',
},
mCaptcha: {
type: 'boolean',
optional: false, nullable: false,
},
mcaptcha: {
type: 'boolean',
optional: false, nullable: false,
description: 'Alias of mCaptcha',
},
reCaptcha: {
type: 'boolean',
optional: false, nullable: false,
},
recaptcha: {
type: 'boolean',
optional: false, nullable: false,
description: 'Alias of reCaptcha',
},
turnstile: {
type: 'boolean',
optional: false, nullable: false,