@quicktalog/common 1.40.0 → 1.42.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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Catalogue } from "../types";
|
|
2
|
+
export declare const defaultCatalogueData: Omit<Catalogue, "id">;
|
|
3
|
+
export declare const BUSINESS_TYPES: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const DEFAULT_IMAGE = "https://vgrutvaw2q.ufs.sh/f/X7AUkOrs4vhbBxZSgiECZj8HKxV2bkXdTwltoU3hRaDYAm9q";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const defaultCatalogueData = {
|
|
2
|
+
name: "",
|
|
3
|
+
logo: "",
|
|
4
|
+
status: "draft",
|
|
5
|
+
language: "eng",
|
|
6
|
+
heading: "",
|
|
7
|
+
currency: "EUR",
|
|
8
|
+
businessType: "",
|
|
9
|
+
content: [],
|
|
10
|
+
metadata: {
|
|
11
|
+
title: "",
|
|
12
|
+
description: "",
|
|
13
|
+
icon: "",
|
|
14
|
+
},
|
|
15
|
+
legal: {
|
|
16
|
+
legalName: "",
|
|
17
|
+
termsAndConditions: "",
|
|
18
|
+
privacyPolicy: "",
|
|
19
|
+
address: "",
|
|
20
|
+
},
|
|
21
|
+
appearance: {
|
|
22
|
+
theme: {
|
|
23
|
+
type: "standard",
|
|
24
|
+
name: "theme-monochrome",
|
|
25
|
+
},
|
|
26
|
+
style: {
|
|
27
|
+
contentFontSize: "medium",
|
|
28
|
+
fontFamily: "inter",
|
|
29
|
+
borderRadius: 12,
|
|
30
|
+
shadow: "low",
|
|
31
|
+
},
|
|
32
|
+
overlay: {
|
|
33
|
+
isEnabled: false,
|
|
34
|
+
icon: "",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
contact: {
|
|
38
|
+
phone: "",
|
|
39
|
+
email: "",
|
|
40
|
+
website: "",
|
|
41
|
+
socials: [],
|
|
42
|
+
},
|
|
43
|
+
header: {
|
|
44
|
+
type: "default",
|
|
45
|
+
logoSize: {
|
|
46
|
+
width: 160,
|
|
47
|
+
height: 160,
|
|
48
|
+
},
|
|
49
|
+
cta: {
|
|
50
|
+
isEnabled: true,
|
|
51
|
+
label: "",
|
|
52
|
+
url: "",
|
|
53
|
+
},
|
|
54
|
+
emailCta: true,
|
|
55
|
+
phoneCta: true,
|
|
56
|
+
},
|
|
57
|
+
footer: {
|
|
58
|
+
type: "default",
|
|
59
|
+
logoSize: {
|
|
60
|
+
width: 160,
|
|
61
|
+
height: 160,
|
|
62
|
+
},
|
|
63
|
+
cta: {
|
|
64
|
+
isEnabled: true,
|
|
65
|
+
label: "",
|
|
66
|
+
url: "",
|
|
67
|
+
},
|
|
68
|
+
newsletter: false,
|
|
69
|
+
showPartners: false,
|
|
70
|
+
},
|
|
71
|
+
createdBy: "",
|
|
72
|
+
createdAt: new Date().toString(),
|
|
73
|
+
updatedAt: new Date().toString(),
|
|
74
|
+
source: "builder",
|
|
75
|
+
tags: [],
|
|
76
|
+
partners: [],
|
|
77
|
+
};
|
|
78
|
+
export const BUSINESS_TYPES = [
|
|
79
|
+
{ value: "restaurant", label: "Restaurant" },
|
|
80
|
+
{ value: "cafe", label: "Cafe" },
|
|
81
|
+
{ value: "bar", label: "Bar" },
|
|
82
|
+
{ value: "bakery", label: "Bakery" },
|
|
83
|
+
{ value: "food-truck", label: "Food Truck" },
|
|
84
|
+
{ value: "catering", label: "Catering" },
|
|
85
|
+
{ value: "other", label: "Other" },
|
|
86
|
+
];
|
|
87
|
+
export const DEFAULT_IMAGE = "https://vgrutvaw2q.ufs.sh/f/X7AUkOrs4vhbBxZSgiECZj8HKxV2bkXdTwltoU3hRaDYAm9q";
|
package/dist/constants/index.js
CHANGED