This commit is contained in:
tamaina 2023-07-03 04:38:55 +00:00
parent cef5feaee2
commit bd9c084a3a
2 changed files with 9 additions and 3 deletions

View file

@ -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>,

View file

@ -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',
],
},
]