@quicktalog/common 1.34.0 → 1.35.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.
|
@@ -48,10 +48,9 @@ export type ContainerBlock = BaseContentBlock & {
|
|
|
48
48
|
layout: ContentLayout;
|
|
49
49
|
items: Item[];
|
|
50
50
|
};
|
|
51
|
-
export type
|
|
52
|
-
type: "
|
|
53
|
-
|
|
54
|
-
src: string;
|
|
51
|
+
export type EmbeddingBlock = BaseContentBlock & {
|
|
52
|
+
type: "embedding";
|
|
53
|
+
code: string;
|
|
55
54
|
};
|
|
56
55
|
export type CustomCodeBlock = BaseContentBlock & {
|
|
57
56
|
type: "custom_code";
|
|
@@ -61,7 +60,7 @@ export type TextBlock = BaseContentBlock & {
|
|
|
61
60
|
type: "text";
|
|
62
61
|
content: string;
|
|
63
62
|
};
|
|
64
|
-
export type ContentBlock = CategoryBlock | ContainerBlock |
|
|
63
|
+
export type ContentBlock = CategoryBlock | ContainerBlock | EmbeddingBlock | CustomCodeBlock | TextBlock | DividerBlock;
|
|
65
64
|
export type ItemDiscount = {
|
|
66
65
|
isOnDiscount: boolean;
|
|
67
66
|
discountPercentage: number;
|