diff --git a/packages/misskey-js/src/endpoints.ts b/packages/misskey-js/src/endpoints.ts index 8c750ff92..1f208864a 100644 --- a/packages/misskey-js/src/endpoints.ts +++ b/packages/misskey-js/src/endpoints.ts @@ -1945,6 +1945,8 @@ export const endpoints = { enableActiveEmailValidation: { type: 'boolean' }, enableChartsForRemoteUser: { type: 'boolean' }, enableChartsForFederatedInstances: { type: 'boolean' }, + enableServerMachineStats: { type: 'boolean' }, + enableIdenticonGeneration: { type: 'boolean' }, serverRules: { type: 'array', items: { type: 'string' } }, preservedUsernames: { type: 'array', items: { type: 'string' } }, } as const satisfies Record, diff --git a/packages/misskey-js/src/schemas/instance-meta.ts b/packages/misskey-js/src/schemas/instance-meta.ts index b76bf9f42..77e568731 100644 --- a/packages/misskey-js/src/schemas/instance-meta.ts +++ b/packages/misskey-js/src/schemas/instance-meta.ts @@ -32,9 +32,9 @@ export const InstanceMetaSharedSchema = { default: '/assets/ai.png', }, bannerUrl: { type: ['string', 'null'] }, - serverErrorImageUrl: { type: ['string', 'null'] }, - infoImageUrl: { type: ['string', 'null'] }, - notFoundImageUrl: { type: ['string', 'null'] }, + serverErrorImageUrl: { type: ['string', 'null'] }, + infoImageUrl: { type: ['string', 'null'] }, + notFoundImageUrl: { type: ['string', 'null'] }, iconUrl: { type: ['string', 'null'] }, backgroundImageUrl: { type: ['string', 'null'] }, logoImageUrl: { type: ['string', 'null'] }, @@ -159,6 +159,8 @@ export const InstanceMetaAdminSchema = { enableActiveEmailValidation: { type: 'boolean' }, enableChartsForRemoteUser: { type: 'boolean' }, enableChartsForFederatedInstances: { type: 'boolean' }, + enableServerMachineStats: { type: 'boolean' }, + enableIdenticonGeneration: { type: 'boolean' }, } satisfies Record, required: [ 'cacheRemoteFiles', @@ -202,6 +204,8 @@ export const InstanceMetaAdminSchema = { 'enableActiveEmailValidation', 'enableChartsForRemoteUser', 'enableChartsForFederatedInstances', + 'enableServerMachineStats', + 'enableIdenticonGeneration', ], }, ]