@quicktalog/common 1.34.0 → 1.36.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.
|
@@ -21,7 +21,7 @@ export const tiers = [
|
|
|
21
21
|
blocks_per_catalogue: 3,
|
|
22
22
|
blocks: {
|
|
23
23
|
divider: false,
|
|
24
|
-
|
|
24
|
+
embedding: false,
|
|
25
25
|
customCode: false,
|
|
26
26
|
},
|
|
27
27
|
items_per_catalogue: 15,
|
|
@@ -48,7 +48,7 @@ export const tiers = [
|
|
|
48
48
|
traffic_limit: 2000,
|
|
49
49
|
blocks: {
|
|
50
50
|
divider: true,
|
|
51
|
-
|
|
51
|
+
embedding: false,
|
|
52
52
|
customCode: false,
|
|
53
53
|
},
|
|
54
54
|
branding: true,
|
|
@@ -84,7 +84,7 @@ export const tiers = [
|
|
|
84
84
|
ai_prompts: 10,
|
|
85
85
|
blocks: {
|
|
86
86
|
divider: true,
|
|
87
|
-
|
|
87
|
+
embedding: true,
|
|
88
88
|
customCode: false,
|
|
89
89
|
},
|
|
90
90
|
blocks_per_catalogue: 15,
|
|
@@ -115,7 +115,7 @@ export const tiers = [
|
|
|
115
115
|
analytics: "Advanced",
|
|
116
116
|
blocks: {
|
|
117
117
|
divider: true,
|
|
118
|
-
|
|
118
|
+
embedding: true,
|
|
119
119
|
customCode: true,
|
|
120
120
|
},
|
|
121
121
|
ai_prompts: 25,
|
|
@@ -147,7 +147,7 @@ export const tiers = [
|
|
|
147
147
|
analytics: "Advanced",
|
|
148
148
|
blocks: {
|
|
149
149
|
divider: true,
|
|
150
|
-
|
|
150
|
+
embedding: true,
|
|
151
151
|
customCode: true,
|
|
152
152
|
},
|
|
153
153
|
ai_prompts: 50,
|
|
@@ -178,7 +178,7 @@ export const tiers = [
|
|
|
178
178
|
custom_features: false,
|
|
179
179
|
blocks: {
|
|
180
180
|
divider: true,
|
|
181
|
-
|
|
181
|
+
embedding: true,
|
|
182
182
|
customCode: false,
|
|
183
183
|
},
|
|
184
184
|
analytics: "Basic",
|
|
@@ -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;
|
package/dist/types/enums.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type LimitType = "ai" | "ocr" | "catalogue" | "traffic" | "items" | "categories" | "notFound";
|
|
2
2
|
export type Status = "active" | "inactive" | "draft" | "in preparation" | "error";
|
|
3
3
|
export type Source = "builder" | "ocr_import" | "ai_prompt";
|
|
4
|
-
export type ContentBlockType = "category" | "container" | "
|
|
4
|
+
export type ContentBlockType = "category" | "container" | "embedding" | "custom_code" | "text";
|
|
5
5
|
export type ThemeType = "standard" | "custom";
|
|
6
6
|
export type FontSize = "small" | "medium" | "large";
|
|
7
7
|
export type ShadowLevel = "none" | "low" | "medium" | "high";
|
package/dist/types/general.d.ts
CHANGED