feat: custom branding (#112)

* add first concept

* remove setup status

* split config page in multiple components

* add custom branding docs

* add test email button

* fix invalid email from header

* add migration

* mount images to host

* update docs

* remove unused endpoint

* run formatter
This commit is contained in:
Elias Schneider
2023-03-04 23:29:00 +01:00
committed by GitHub
parent f9840505b8
commit fddad3ef70
66 changed files with 908 additions and 623 deletions

View File

@@ -6,8 +6,8 @@ const list = async (): Promise<Config[]> => {
return (await api.get("/configs")).data;
};
const listForAdmin = async (): Promise<AdminConfig[]> => {
return (await api.get("/configs/admin")).data;
const getByCategory = async (category: string): Promise<AdminConfig[]> => {
return (await api.get(`/configs/admin/${category}`)).data;
};
const updateMany = async (data: UpdateConfig[]): Promise<AdminConfig[]> => {
@@ -48,7 +48,7 @@ const isNewReleaseAvailable = async () => {
export default {
list,
listForAdmin,
getByCategory,
updateMany,
get,
finishSetup,