@quicktalog/common 1.31.0 → 1.33.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.
@@ -18,8 +18,17 @@ export const tiers = [
18
18
  custom_features: false,
19
19
  analytics: "Basic",
20
20
  ai_prompts: 0,
21
- categories_per_catalogue: 3,
21
+ blocks_per_catalogue: 3,
22
+ blocks: {
23
+ divider: false,
24
+ iframe: false,
25
+ customCode: false,
26
+ },
22
27
  items_per_catalogue: 15,
28
+ apperance: {
29
+ standardThemes: true,
30
+ styles: false,
31
+ },
23
32
  },
24
33
  },
25
34
  {
@@ -37,12 +46,21 @@ export const tiers = [
37
46
  newsletter: false,
38
47
  ocr_ai_import: 0,
39
48
  traffic_limit: 2000,
49
+ blocks: {
50
+ divider: true,
51
+ iframe: false,
52
+ customCode: false,
53
+ },
40
54
  branding: true,
41
55
  custom_features: false,
42
56
  analytics: "Basic",
43
57
  ai_prompts: 0,
44
- categories_per_catalogue: 6,
58
+ blocks_per_catalogue: 6,
45
59
  items_per_catalogue: 30,
60
+ apperance: {
61
+ standardThemes: true,
62
+ styles: false,
63
+ },
46
64
  },
47
65
  },
48
66
  {
@@ -64,8 +82,17 @@ export const tiers = [
64
82
  custom_features: false,
65
83
  analytics: "Basic",
66
84
  ai_prompts: 10,
67
- categories_per_catalogue: 15,
85
+ blocks: {
86
+ divider: true,
87
+ iframe: true,
88
+ customCode: false,
89
+ },
90
+ blocks_per_catalogue: 15,
68
91
  items_per_catalogue: 100,
92
+ apperance: {
93
+ standardThemes: true,
94
+ styles: true,
95
+ },
69
96
  },
70
97
  },
71
98
  {
@@ -86,9 +113,18 @@ export const tiers = [
86
113
  branding: true,
87
114
  custom_features: false,
88
115
  analytics: "Advanced",
116
+ blocks: {
117
+ divider: true,
118
+ iframe: true,
119
+ customCode: true,
120
+ },
89
121
  ai_prompts: 25,
90
- categories_per_catalogue: 30,
122
+ blocks_per_catalogue: 30,
91
123
  items_per_catalogue: 200,
124
+ apperance: {
125
+ standardThemes: true,
126
+ styles: true,
127
+ },
92
128
  },
93
129
  },
94
130
  {
@@ -109,9 +145,18 @@ export const tiers = [
109
145
  branding: true,
110
146
  custom_features: true,
111
147
  analytics: "Advanced",
148
+ blocks: {
149
+ divider: true,
150
+ iframe: true,
151
+ customCode: true,
152
+ },
112
153
  ai_prompts: 50,
113
- categories_per_catalogue: 50,
154
+ blocks_per_catalogue: 50,
114
155
  items_per_catalogue: 300,
156
+ apperance: {
157
+ standardThemes: true,
158
+ styles: true,
159
+ },
115
160
  },
116
161
  },
117
162
  {
@@ -131,10 +176,19 @@ export const tiers = [
131
176
  traffic_limit: 4000,
132
177
  branding: true,
133
178
  custom_features: false,
179
+ blocks: {
180
+ divider: true,
181
+ iframe: true,
182
+ customCode: false,
183
+ },
134
184
  analytics: "Basic",
135
185
  ai_prompts: 0,
136
- categories_per_catalogue: 20,
186
+ blocks_per_catalogue: 20,
137
187
  items_per_catalogue: 200,
188
+ apperance: {
189
+ standardThemes: true,
190
+ styles: true,
191
+ },
138
192
  },
139
193
  },
140
194
  ];
@@ -1,6 +1,6 @@
1
1
  import { type InferSelectModel } from "drizzle-orm";
2
2
  import { schema } from "../drizzle";
3
- import { AnimationLevel, ContentLayout, FontSize, ShadowLevel, Source, Status, ThemeType } from "./enums";
3
+ import { 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, {
@@ -93,7 +93,6 @@ export type Appearance = {
93
93
  contentFontSize: FontSize;
94
94
  fontFamily: string;
95
95
  borderRadius: number;
96
- animation: AnimationLevel;
97
96
  shadow: ShadowLevel;
98
97
  };
99
98
  overlay: {
@@ -4,6 +4,5 @@ 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 AnimationLevel = "none" | "minimal" | "medium" | "full";
8
7
  export type ShadowLevel = "none" | "low" | "medium" | "high";
9
8
  export type ContentLayout = "variant_1" | "variant_2" | "variant_3" | "variant_4";
@@ -27,6 +27,13 @@ export type PricingPlan = {
27
27
  features: {
28
28
  support: string;
29
29
  catalogues: number;
30
+ blocks_per_catalogue?: number | "unlimited";
31
+ items_per_catalogue?: number | "unlimited";
32
+ blocks: {
33
+ divider: boolean;
34
+ iframe: boolean;
35
+ customCode: boolean;
36
+ };
30
37
  newsletter: boolean;
31
38
  custom_features: boolean;
32
39
  ocr_ai_import: number;
@@ -34,8 +41,10 @@ export type PricingPlan = {
34
41
  branding: boolean;
35
42
  analytics: string;
36
43
  ai_prompts: number;
37
- categories_per_catalogue?: number | "unlimited";
38
- items_per_catalogue?: number | "unlimited";
44
+ apperance: {
45
+ standardThemes: boolean;
46
+ styles: boolean;
47
+ };
39
48
  };
40
49
  billing_period?: "month" | "year";
41
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktalog/common",
3
- "version": "1.31.0",
3
+ "version": "1.33.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",