Skip to content

Commit a13a12d

Browse files
save branding settings
1 parent 8db624c commit a13a12d

File tree

4 files changed

+198
-108
lines changed

4 files changed

+198
-108
lines changed

client/packages/lowcoder/src/api/commonSettingApi.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,29 @@ export interface ThemeDetail {
7979
showDataLoadingIndicators?: boolean;
8080
}
8181

82+
export interface BrandingSettings {
83+
logo: string | null;
84+
squareLogo: string | null;
85+
mainBrandingColor: string;
86+
editorHeaderColor: string;
87+
adminSidebarColor: string;
88+
editorSidebarColor: string;
89+
font: string;
90+
errorPageText: string;
91+
errorPageImage: string | null;
92+
signUpPageText: string;
93+
signUpPageImage: string | null;
94+
loggedOutPageText: string;
95+
loggedOutPageImage: string | null;
96+
standardDescription: string;
97+
standardTitle: string;
98+
showDocumentation: boolean;
99+
documentationLink: string | null;
100+
submitIssue: boolean;
101+
whatsNew: boolean;
102+
whatsNewLink: string | null;
103+
}
104+
82105
export function getThemeDetailName(key: keyof ThemeDetail) {
83106
switch (key) {
84107
case "primary": return trans("themeDetail.primary");

client/packages/lowcoder/src/api/materialApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface UploadResponse {
1010
export enum MaterialUploadTypeEnum {
1111
LOGO = "LOGO",
1212
FAVICON = "FAVICON",
13+
COMMON = "COMMON",
1314
}
1415

1516
class MaterialApi extends Api {

0 commit comments

Comments
 (0)