fix(backend): api/metaのfeaturesの下位互換性 (MisskeyIO#487)
This commit is contained in:
parent
851dc4cb6b
commit
9fe29b5e8e
|
@ -137,8 +137,11 @@ export class MetaEntityService {
|
||||||
registration: !instance.disableRegistration,
|
registration: !instance.disableRegistration,
|
||||||
emailRequiredForSignup: instance.emailRequiredForSignup,
|
emailRequiredForSignup: instance.emailRequiredForSignup,
|
||||||
hCaptcha: instance.enableHcaptcha,
|
hCaptcha: instance.enableHcaptcha,
|
||||||
|
hcaptcha: instance.enableHcaptcha,
|
||||||
mCaptcha: instance.enableMcaptcha,
|
mCaptcha: instance.enableMcaptcha,
|
||||||
|
mcaptcha: instance.enableMcaptcha,
|
||||||
reCaptcha: instance.enableRecaptcha,
|
reCaptcha: instance.enableRecaptcha,
|
||||||
|
recaptcha: instance.enableRecaptcha,
|
||||||
turnstile: instance.enableTurnstile,
|
turnstile: instance.enableTurnstile,
|
||||||
objectStorage: instance.useObjectStorage,
|
objectStorage: instance.useObjectStorage,
|
||||||
serviceWorker: instance.enableServiceWorker,
|
serviceWorker: instance.enableServiceWorker,
|
||||||
|
|
|
@ -267,14 +267,29 @@ export const packedMetaDetailedOnlySchema = {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
},
|
},
|
||||||
|
hcaptcha: {
|
||||||
|
type: 'boolean',
|
||||||
|
optional: false, nullable: false,
|
||||||
|
description: 'Alias of hCaptcha',
|
||||||
|
},
|
||||||
mCaptcha: {
|
mCaptcha: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
},
|
},
|
||||||
|
mcaptcha: {
|
||||||
|
type: 'boolean',
|
||||||
|
optional: false, nullable: false,
|
||||||
|
description: 'Alias of mCaptcha',
|
||||||
|
},
|
||||||
reCaptcha: {
|
reCaptcha: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
},
|
},
|
||||||
|
recaptcha: {
|
||||||
|
type: 'boolean',
|
||||||
|
optional: false, nullable: false,
|
||||||
|
description: 'Alias of reCaptcha',
|
||||||
|
},
|
||||||
turnstile: {
|
turnstile: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
|
|
|
@ -4958,8 +4958,14 @@ export type components = {
|
||||||
localTimeline: boolean;
|
localTimeline: boolean;
|
||||||
globalTimeline: boolean;
|
globalTimeline: boolean;
|
||||||
hCaptcha: boolean;
|
hCaptcha: boolean;
|
||||||
|
/** @description Alias of hCaptcha */
|
||||||
|
hcaptcha: boolean;
|
||||||
mCaptcha: boolean;
|
mCaptcha: boolean;
|
||||||
|
/** @description Alias of mCaptcha */
|
||||||
|
mcaptcha: boolean;
|
||||||
reCaptcha: boolean;
|
reCaptcha: boolean;
|
||||||
|
/** @description Alias of reCaptcha */
|
||||||
|
recaptcha: boolean;
|
||||||
turnstile: boolean;
|
turnstile: boolean;
|
||||||
objectStorage: boolean;
|
objectStorage: boolean;
|
||||||
serviceWorker: boolean;
|
serviceWorker: boolean;
|
||||||
|
|
Loading…
Reference in a new issue