Update default config

This commit is contained in:
ajnart
2022-12-24 17:18:16 +09:00
parent 3fb82a7336
commit e3d7b04059
20 changed files with 815 additions and 169 deletions

View File

@@ -9,13 +9,14 @@ export const getFrontendConfig = (name: string): ConfigType => {
apps: config.apps.map((app) => ({
...app,
integration: {
...app.integration ?? null,
...(app.integration ?? null),
type: app.integration?.type ?? null,
properties: app.integration?.properties.map((property) => ({
...property,
value: property.type === 'private' ? undefined : property.value,
isDefined: property.value != null,
})) ?? [],
properties:
app.integration?.properties.map((property) => ({
...property,
value: property.type === 'private' ? undefined : property.value,
isDefined: property.value != null,
})) ?? [],
},
})),
};