diff --git a/packages/backend/src/core/entities/MetaEntityService.ts b/packages/backend/src/core/entities/MetaEntityService.ts index 90e7125026..b21185183d 100644 --- a/packages/backend/src/core/entities/MetaEntityService.ts +++ b/packages/backend/src/core/entities/MetaEntityService.ts @@ -137,8 +137,11 @@ export class MetaEntityService { registration: !instance.disableRegistration, emailRequiredForSignup: instance.emailRequiredForSignup, hCaptcha: instance.enableHcaptcha, + hcaptcha: instance.enableHcaptcha, mCaptcha: instance.enableMcaptcha, + mcaptcha: instance.enableMcaptcha, reCaptcha: instance.enableRecaptcha, + recaptcha: instance.enableRecaptcha, turnstile: instance.enableTurnstile, objectStorage: instance.useObjectStorage, serviceWorker: instance.enableServiceWorker, diff --git a/packages/backend/src/models/json-schema/meta.ts b/packages/backend/src/models/json-schema/meta.ts index 4d487959ef..150b94a18f 100644 --- a/packages/backend/src/models/json-schema/meta.ts +++ b/packages/backend/src/models/json-schema/meta.ts @@ -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, diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index aa9544d6a5..4216568214 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -4958,8 +4958,14 @@ export type components = { localTimeline: boolean; globalTimeline: boolean; hCaptcha: boolean; + /** @description Alias of hCaptcha */ + hcaptcha: boolean; mCaptcha: boolean; + /** @description Alias of mCaptcha */ + mcaptcha: boolean; reCaptcha: boolean; + /** @description Alias of reCaptcha */ + recaptcha: boolean; turnstile: boolean; objectStorage: boolean; serviceWorker: boolean;