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' },
|
||||
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<string, JSONSchema7>,
|
||||
|
|
|
@ -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<string, JSONSchema7>,
|
||||
required: [
|
||||
'cacheRemoteFiles',
|
||||
|
@ -202,6 +204,8 @@ export const InstanceMetaAdminSchema = {
|
|||
'enableActiveEmailValidation',
|
||||
'enableChartsForRemoteUser',
|
||||
'enableChartsForFederatedInstances',
|
||||
'enableServerMachineStats',
|
||||
'enableIdenticonGeneration',
|
||||
],
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue