@quicktalog/common 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { schema } from "../drizzle";
|
|
2
2
|
import { type InferSelectModel } from "drizzle-orm";
|
|
3
|
-
import { AnimationLevel, ContentLayout,
|
|
3
|
+
import { AnimationLevel, ContentLayout, FontSize, ShadowLevel, Source, Status, ThemeType } from "./enums";
|
|
4
4
|
import { Update } from "./functions";
|
|
5
5
|
type RawCatalogue = InferSelectModel<typeof schema.catalogues>;
|
|
6
6
|
export type Catalogue = Update<RawCatalogue, {
|
|
@@ -80,7 +80,7 @@ export type Appearance = {
|
|
|
80
80
|
};
|
|
81
81
|
style: {
|
|
82
82
|
contentFontSize: FontSize;
|
|
83
|
-
fontFamily:
|
|
83
|
+
fontFamily: string;
|
|
84
84
|
borderRadius: number;
|
|
85
85
|
animation: AnimationLevel;
|
|
86
86
|
shadow: ShadowLevel;
|
package/dist/types/enums.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export type Source = "builder" | "ocr_import" | "ai_prompt";
|
|
|
4
4
|
export type ContentBlockType = "category" | "container" | "iframe" | "custom_code" | "text";
|
|
5
5
|
export type ThemeType = "standard" | "custom";
|
|
6
6
|
export type FontSize = "small" | "medium" | "large";
|
|
7
|
-
export type FontFamily = "mono" | "serif" | "arial" | "monospace";
|
|
8
7
|
export type AnimationLevel = "none" | "minimal" | "medium" | "full";
|
|
9
8
|
export type ShadowLevel = "none" | "low" | "medium" | "high";
|
|
10
9
|
export type ContentLayout = "variant_1" | "variant_2" | "variant_3" | "variant_4";
|