mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
feat(ThemePreview): update to follow blob format
This commit is contained in:
@@ -16,12 +16,12 @@ export type CustomTheme = {
|
||||
}
|
||||
|
||||
export type LoadedCustomTheme = CustomTheme & {
|
||||
CustomImages: Array<{
|
||||
CustomImages: {
|
||||
id: string;
|
||||
blob: Blob;
|
||||
variableName: string;
|
||||
url: string | null;
|
||||
}>;
|
||||
}[];
|
||||
coverImageUrl?: string;
|
||||
};
|
||||
|
||||
@@ -35,17 +35,6 @@ export type CustomImage = {
|
||||
variableName: string;
|
||||
}
|
||||
|
||||
export type CustomImageBase64 = {
|
||||
id: string;
|
||||
url: string;
|
||||
variableName: string;
|
||||
}
|
||||
|
||||
export type CustomThemeBase64 = Omit<CustomTheme, 'CustomImages'> & {
|
||||
CustomImages: CustomImageBase64[];
|
||||
coverImage: string | null;
|
||||
}
|
||||
|
||||
export type ThemeList = {
|
||||
themes: CustomTheme[];
|
||||
selectedTheme: string;
|
||||
|
||||
Reference in New Issue
Block a user