follow
This commit is contained in:
parent
cef5feaee2
commit
bd9c084a3a
2 changed files with 9 additions and 3 deletions
|
@ -1945,6 +1945,8 @@ export const endpoints = {
|
||||||
enableActiveEmailValidation: { type: 'boolean' },
|
enableActiveEmailValidation: { type: 'boolean' },
|
||||||
enableChartsForRemoteUser: { type: 'boolean' },
|
enableChartsForRemoteUser: { type: 'boolean' },
|
||||||
enableChartsForFederatedInstances: { type: 'boolean' },
|
enableChartsForFederatedInstances: { type: 'boolean' },
|
||||||
|
enableServerMachineStats: { type: 'boolean' },
|
||||||
|
enableIdenticonGeneration: { type: 'boolean' },
|
||||||
serverRules: { type: 'array', items: { type: 'string' } },
|
serverRules: { type: 'array', items: { type: 'string' } },
|
||||||
preservedUsernames: { type: 'array', items: { type: 'string' } },
|
preservedUsernames: { type: 'array', items: { type: 'string' } },
|
||||||
} as const satisfies Record<string, JSONSchema7>,
|
} as const satisfies Record<string, JSONSchema7>,
|
||||||
|
|
|
@ -32,9 +32,9 @@ export const InstanceMetaSharedSchema = {
|
||||||
default: '/assets/ai.png',
|
default: '/assets/ai.png',
|
||||||
},
|
},
|
||||||
bannerUrl: { type: ['string', 'null'] },
|
bannerUrl: { type: ['string', 'null'] },
|
||||||
serverErrorImageUrl: { type: ['string', 'null'] },
|
serverErrorImageUrl: { type: ['string', 'null'] },
|
||||||
infoImageUrl: { type: ['string', 'null'] },
|
infoImageUrl: { type: ['string', 'null'] },
|
||||||
notFoundImageUrl: { type: ['string', 'null'] },
|
notFoundImageUrl: { type: ['string', 'null'] },
|
||||||
iconUrl: { type: ['string', 'null'] },
|
iconUrl: { type: ['string', 'null'] },
|
||||||
backgroundImageUrl: { type: ['string', 'null'] },
|
backgroundImageUrl: { type: ['string', 'null'] },
|
||||||
logoImageUrl: { type: ['string', 'null'] },
|
logoImageUrl: { type: ['string', 'null'] },
|
||||||
|
@ -159,6 +159,8 @@ export const InstanceMetaAdminSchema = {
|
||||||
enableActiveEmailValidation: { type: 'boolean' },
|
enableActiveEmailValidation: { type: 'boolean' },
|
||||||
enableChartsForRemoteUser: { type: 'boolean' },
|
enableChartsForRemoteUser: { type: 'boolean' },
|
||||||
enableChartsForFederatedInstances: { type: 'boolean' },
|
enableChartsForFederatedInstances: { type: 'boolean' },
|
||||||
|
enableServerMachineStats: { type: 'boolean' },
|
||||||
|
enableIdenticonGeneration: { type: 'boolean' },
|
||||||
} satisfies Record<string, JSONSchema7>,
|
} satisfies Record<string, JSONSchema7>,
|
||||||
required: [
|
required: [
|
||||||
'cacheRemoteFiles',
|
'cacheRemoteFiles',
|
||||||
|
@ -202,6 +204,8 @@ export const InstanceMetaAdminSchema = {
|
||||||
'enableActiveEmailValidation',
|
'enableActiveEmailValidation',
|
||||||
'enableChartsForRemoteUser',
|
'enableChartsForRemoteUser',
|
||||||
'enableChartsForFederatedInstances',
|
'enableChartsForFederatedInstances',
|
||||||
|
'enableServerMachineStats',
|
||||||
|
'enableIdenticonGeneration',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue