platform-types 1.10.675 → 1.10.676
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.
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/platform.js +0 -4
- package/dist/cjs/storefrontDesign.js +118 -0
- package/dist/cjs/storefrontDesignRegistry.js +130 -0
- package/dist/cjs/storefrontTheme.js +102 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/platform.d.ts +2 -1
- package/dist/platform.js +0 -4
- package/dist/store.d.ts +2 -0
- package/dist/storefrontDesign.d.ts +331 -0
- package/dist/storefrontDesign.js +114 -0
- package/dist/storefrontDesignRegistry.d.ts +769 -0
- package/dist/storefrontDesignRegistry.js +122 -0
- package/dist/storefrontTheme.d.ts +54 -0
- package/dist/storefrontTheme.js +97 -0
- package/package.json +1 -1
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
export declare const STOREFRONT_DESIGN_LIMITS: {
|
|
2
|
+
readonly customPages: 20;
|
|
3
|
+
readonly sectionsPerPage: 10;
|
|
4
|
+
readonly productCountMin: 4;
|
|
5
|
+
readonly productCountMax: 24;
|
|
6
|
+
readonly productCountDefault: 8;
|
|
7
|
+
readonly navigationTopLevel: 12;
|
|
8
|
+
readonly navigationChildren: 8;
|
|
9
|
+
readonly navigationTotal: 40;
|
|
10
|
+
readonly footerGroups: 4;
|
|
11
|
+
readonly footerLinks: 8;
|
|
12
|
+
readonly faqs: 20;
|
|
13
|
+
readonly benefits: 8;
|
|
14
|
+
readonly historyEntries: 20;
|
|
15
|
+
readonly documentBytes: number;
|
|
16
|
+
readonly heading: 120;
|
|
17
|
+
readonly label: 80;
|
|
18
|
+
readonly body: 4000;
|
|
19
|
+
readonly slug: 80;
|
|
20
|
+
readonly seoTitle: 120;
|
|
21
|
+
readonly seoDescription: 320;
|
|
22
|
+
readonly imageAlt: 250;
|
|
23
|
+
readonly activeImages: 200;
|
|
24
|
+
readonly imageDecodedBytes: number;
|
|
25
|
+
readonly imagePixels: 32000000;
|
|
26
|
+
readonly imageDimension: 8000;
|
|
27
|
+
readonly previewSeconds: number;
|
|
28
|
+
readonly fieldErrors: 100;
|
|
29
|
+
readonly fieldErrorPath: 240;
|
|
30
|
+
readonly contactAddress: 500;
|
|
31
|
+
readonly contactNote: 200;
|
|
32
|
+
readonly contactHours: 14;
|
|
33
|
+
readonly contactSocials: 8;
|
|
34
|
+
readonly contactEmail: 254;
|
|
35
|
+
};
|
|
36
|
+
export declare const STOREFRONT_SECTION_TYPES: readonly ["banner", "imageText", "products", "categories", "brands", "text", "faq", "benefits", "contact", "paymentDelivery"];
|
|
37
|
+
export declare const STOREFRONT_BUILTIN_DESTINATIONS: readonly ["home", "catalogue", "offers", "new", "search", "cart", "account", "privacy", "terms"];
|
|
38
|
+
export declare const STOREFRONT_CONTACT_FIELDS: readonly ["email", "phone", "whatsapp", "address", "hours", "socials"];
|
|
39
|
+
export declare const STOREFRONT_RESERVED_SLUGS: readonly ["home", "index", "api", "auth", "login", "logout", "account", "cart", "checkout", "orders", "search", "products", "product", "producto", "coleccion", "categories", "brands", "sale", "new", "privacy", "terms", "sitemap", "robots", "manifest", "assets", "preview", "admin", "storefront", "pagina"];
|
|
40
|
+
export declare const STOREFRONT_BENEFIT_ICONS: readonly ["truck", "shield", "credit-card", "store", "heart", "check"];
|
|
41
|
+
export declare const STOREFRONT_SOCIAL_HOSTS: {
|
|
42
|
+
readonly instagram: readonly ["instagram.com", "www.instagram.com"];
|
|
43
|
+
readonly facebook: readonly ["facebook.com", "www.facebook.com"];
|
|
44
|
+
readonly youtube: readonly ["youtube.com", "www.youtube.com", "youtu.be", "www.youtu.be"];
|
|
45
|
+
readonly tiktok: readonly ["tiktok.com", "www.tiktok.com"];
|
|
46
|
+
readonly linkedin: readonly ["linkedin.com", "www.linkedin.com"];
|
|
47
|
+
readonly x: readonly ["x.com", "www.x.com"];
|
|
48
|
+
};
|
|
49
|
+
export declare function createStorefrontDesignV1(): StorefrontDesignV1;
|
|
50
|
+
declare global {
|
|
51
|
+
type StorefrontDesignSectionType = (typeof STOREFRONT_SECTION_TYPES)[number];
|
|
52
|
+
type StorefrontContactField = (typeof STOREFRONT_CONTACT_FIELDS)[number];
|
|
53
|
+
type StorefrontDesignProductSource = {
|
|
54
|
+
kind: 'offers' | 'new';
|
|
55
|
+
} | {
|
|
56
|
+
kind: 'category' | 'brand' | 'collection';
|
|
57
|
+
id: string;
|
|
58
|
+
};
|
|
59
|
+
type StorefrontDesignLinkTarget = {
|
|
60
|
+
kind: 'builtin';
|
|
61
|
+
id: (typeof STOREFRONT_BUILTIN_DESTINATIONS)[number];
|
|
62
|
+
} | {
|
|
63
|
+
kind: 'page' | 'category' | 'brand' | 'collection';
|
|
64
|
+
id: string;
|
|
65
|
+
} | {
|
|
66
|
+
kind: 'external';
|
|
67
|
+
url: string;
|
|
68
|
+
} | {
|
|
69
|
+
kind: 'contact';
|
|
70
|
+
field: StorefrontContactField;
|
|
71
|
+
};
|
|
72
|
+
interface StorefrontDesignImagePlacement {
|
|
73
|
+
assetId: string;
|
|
74
|
+
mobileAssetId?: string;
|
|
75
|
+
alt?: string;
|
|
76
|
+
decorative: boolean;
|
|
77
|
+
focalPoint?: {
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
interface StorefrontDesignAction {
|
|
83
|
+
label?: string;
|
|
84
|
+
target?: StorefrontDesignLinkTarget;
|
|
85
|
+
}
|
|
86
|
+
interface StorefrontDesignSectionContent {
|
|
87
|
+
banner: {
|
|
88
|
+
image?: StorefrontDesignImagePlacement;
|
|
89
|
+
heading?: string;
|
|
90
|
+
body?: string;
|
|
91
|
+
action?: StorefrontDesignAction;
|
|
92
|
+
};
|
|
93
|
+
imageText: {
|
|
94
|
+
image?: StorefrontDesignImagePlacement;
|
|
95
|
+
heading?: string;
|
|
96
|
+
body?: string;
|
|
97
|
+
imagePosition?: 'left' | 'right';
|
|
98
|
+
action?: StorefrontDesignAction;
|
|
99
|
+
};
|
|
100
|
+
products: {
|
|
101
|
+
source?: StorefrontDesignProductSource;
|
|
102
|
+
layout?: 'row' | 'grid';
|
|
103
|
+
count?: number;
|
|
104
|
+
heading?: string;
|
|
105
|
+
};
|
|
106
|
+
categories: {
|
|
107
|
+
source?: {
|
|
108
|
+
kind: 'roots';
|
|
109
|
+
} | {
|
|
110
|
+
kind: 'selected';
|
|
111
|
+
ids: string[];
|
|
112
|
+
};
|
|
113
|
+
heading?: string;
|
|
114
|
+
};
|
|
115
|
+
brands: {
|
|
116
|
+
source?: {
|
|
117
|
+
kind: 'all';
|
|
118
|
+
} | {
|
|
119
|
+
kind: 'selected';
|
|
120
|
+
ids: string[];
|
|
121
|
+
};
|
|
122
|
+
heading?: string;
|
|
123
|
+
};
|
|
124
|
+
text: {
|
|
125
|
+
heading?: string;
|
|
126
|
+
body?: string;
|
|
127
|
+
};
|
|
128
|
+
faq: {
|
|
129
|
+
heading?: string;
|
|
130
|
+
items?: {
|
|
131
|
+
question?: string;
|
|
132
|
+
answer?: string;
|
|
133
|
+
}[];
|
|
134
|
+
};
|
|
135
|
+
benefits: {
|
|
136
|
+
heading?: string;
|
|
137
|
+
items?: {
|
|
138
|
+
title?: string;
|
|
139
|
+
body?: string;
|
|
140
|
+
icon?: (typeof STOREFRONT_BENEFIT_ICONS)[number];
|
|
141
|
+
}[];
|
|
142
|
+
};
|
|
143
|
+
contact: {
|
|
144
|
+
heading?: string;
|
|
145
|
+
fields?: StorefrontContactField[];
|
|
146
|
+
};
|
|
147
|
+
paymentDelivery: {
|
|
148
|
+
heading?: string;
|
|
149
|
+
body?: string;
|
|
150
|
+
showPayments?: boolean;
|
|
151
|
+
showDelivery?: boolean;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
type StorefrontDesignSection = {
|
|
155
|
+
[K in StorefrontDesignSectionType]: {
|
|
156
|
+
id: string;
|
|
157
|
+
type: K;
|
|
158
|
+
enabled: boolean;
|
|
159
|
+
content: StorefrontDesignSectionContent[K];
|
|
160
|
+
};
|
|
161
|
+
}[StorefrontDesignSectionType];
|
|
162
|
+
interface StorefrontDesignSeo {
|
|
163
|
+
title?: string;
|
|
164
|
+
description?: string;
|
|
165
|
+
image?: StorefrontDesignImagePlacement;
|
|
166
|
+
}
|
|
167
|
+
interface StorefrontDesignPage {
|
|
168
|
+
id: string;
|
|
169
|
+
slug: string;
|
|
170
|
+
title: string;
|
|
171
|
+
enabled: boolean;
|
|
172
|
+
seo?: StorefrontDesignSeo;
|
|
173
|
+
sections: StorefrontDesignSection[];
|
|
174
|
+
}
|
|
175
|
+
interface StorefrontDesignHome {
|
|
176
|
+
id: 'home';
|
|
177
|
+
title: string;
|
|
178
|
+
enabled: boolean;
|
|
179
|
+
sections: StorefrontDesignSection[];
|
|
180
|
+
}
|
|
181
|
+
interface StorefrontDesignMenuLink {
|
|
182
|
+
id: string;
|
|
183
|
+
label?: string;
|
|
184
|
+
target?: StorefrontDesignLinkTarget;
|
|
185
|
+
}
|
|
186
|
+
interface StorefrontDesignNavigationEntry extends StorefrontDesignMenuLink {
|
|
187
|
+
children?: StorefrontDesignMenuLink[];
|
|
188
|
+
}
|
|
189
|
+
interface StorefrontDesignFooterGroup {
|
|
190
|
+
id: string;
|
|
191
|
+
title?: string;
|
|
192
|
+
links: StorefrontDesignMenuLink[];
|
|
193
|
+
}
|
|
194
|
+
interface StorefrontContactHours {
|
|
195
|
+
rows: {
|
|
196
|
+
days: number[];
|
|
197
|
+
opens: string;
|
|
198
|
+
closes: string;
|
|
199
|
+
}[];
|
|
200
|
+
note?: string;
|
|
201
|
+
}
|
|
202
|
+
interface StorefrontContactSocial {
|
|
203
|
+
kind: keyof typeof STOREFRONT_SOCIAL_HOSTS;
|
|
204
|
+
url: string;
|
|
205
|
+
}
|
|
206
|
+
interface StorefrontDesignContactValues {
|
|
207
|
+
email: string;
|
|
208
|
+
phone: string;
|
|
209
|
+
whatsapp: string;
|
|
210
|
+
address: string;
|
|
211
|
+
hours: StorefrontContactHours;
|
|
212
|
+
socials: StorefrontContactSocial[];
|
|
213
|
+
}
|
|
214
|
+
type StorefrontDesignContact = {
|
|
215
|
+
[K in StorefrontContactField]?: {
|
|
216
|
+
visible: boolean;
|
|
217
|
+
value: StorefrontDesignContactValues[K];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
interface StorefrontDesignV1 {
|
|
221
|
+
schemaVersion: 1;
|
|
222
|
+
templateId: 'standard';
|
|
223
|
+
settings: Partial<StorefrontDesignSettings>;
|
|
224
|
+
branding: {
|
|
225
|
+
logo?: StorefrontDesignImagePlacement;
|
|
226
|
+
};
|
|
227
|
+
home: StorefrontDesignHome;
|
|
228
|
+
pages: StorefrontDesignPage[];
|
|
229
|
+
navigation: StorefrontDesignNavigationEntry[];
|
|
230
|
+
footer: StorefrontDesignFooterGroup[];
|
|
231
|
+
contact: StorefrontDesignContact;
|
|
232
|
+
seo: StorefrontDesignSeo;
|
|
233
|
+
literalOverrides: Record<string, string>;
|
|
234
|
+
}
|
|
235
|
+
type StorefrontDesignFieldErrorCode = 'INVALID' | 'REQUIRED' | 'UNKNOWN_KEY' | 'DUPLICATE' | 'RESERVED_SLUG' | 'DANGLING_REFERENCE' | 'MAPPING_CONFLICT' | 'TOO_LARGE';
|
|
236
|
+
interface StorefrontDesignFieldError {
|
|
237
|
+
path: string;
|
|
238
|
+
code: StorefrontDesignFieldErrorCode;
|
|
239
|
+
}
|
|
240
|
+
type StorefrontDesignErrorCode = 'STOREFRONT_DESIGN_INVALID' | 'STOREFRONT_SCHEMA_UNSUPPORTED' | 'STOREFRONT_REVISION_CONFLICT' | 'STOREFRONT_REQUEST_EXPIRED' | 'IDEMPOTENCY_CONFLICT' | 'STOREFRONT_EDITOR_REQUIRED' | 'STOREFRONT_ASSET_NOT_READY' | 'STOREFRONT_PREVIEW_EXPIRED' | 'STOREFRONT_PREVIEW_REVOKED' | 'STOREFRONT_PREVIEW_FORBIDDEN';
|
|
241
|
+
interface StorefrontDesignMappingConflict {
|
|
242
|
+
path: string;
|
|
243
|
+
code: 'LEGACY_MULTIPLE_PRODUCT_FEEDS' | 'LEGACY_UNMAPPED_CONTENT';
|
|
244
|
+
sources?: StorefrontDesignProductSource[];
|
|
245
|
+
}
|
|
246
|
+
interface StorefrontEditorBaseline {
|
|
247
|
+
document: StorefrontDesignV1;
|
|
248
|
+
mappingConflicts: StorefrontDesignMappingConflict[];
|
|
249
|
+
legacySourceRevision: string;
|
|
250
|
+
legacyLogo?: {
|
|
251
|
+
source: 'store.photoURL';
|
|
252
|
+
key: string;
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
type StorefrontDesignParseResult = {
|
|
256
|
+
success: true;
|
|
257
|
+
document: StorefrontDesignV1;
|
|
258
|
+
fieldErrors: StorefrontDesignFieldError[];
|
|
259
|
+
} | {
|
|
260
|
+
success: false;
|
|
261
|
+
error: StorefrontDesignErrorCode;
|
|
262
|
+
fieldErrors: StorefrontDesignFieldError[];
|
|
263
|
+
};
|
|
264
|
+
interface StorefrontDesignRevisionInput {
|
|
265
|
+
requestId: string;
|
|
266
|
+
expectedDraftRevision: string | null;
|
|
267
|
+
expectedPublishedRevision: string | null;
|
|
268
|
+
}
|
|
269
|
+
type StorefrontDesignSaveInput = StorefrontDesignRevisionInput & {
|
|
270
|
+
document: StorefrontDesignV1;
|
|
271
|
+
};
|
|
272
|
+
type StorefrontDesignRestoreInput = StorefrontDesignRevisionInput & {
|
|
273
|
+
publicationId: string;
|
|
274
|
+
};
|
|
275
|
+
type StorefrontDesignPublishInput = StorefrontDesignRevisionInput;
|
|
276
|
+
type StorefrontDesignDiscardInput = StorefrontDesignRevisionInput;
|
|
277
|
+
interface StorefrontDesignPreviewInput {
|
|
278
|
+
draftRevision: string;
|
|
279
|
+
}
|
|
280
|
+
interface StorefrontDesignDraftResult {
|
|
281
|
+
draftRevision: string;
|
|
282
|
+
publishedRevision: string | null;
|
|
283
|
+
document: StorefrontDesignV1;
|
|
284
|
+
dirty: boolean;
|
|
285
|
+
mappingConflicts: StorefrontDesignMappingConflict[];
|
|
286
|
+
}
|
|
287
|
+
interface StorefrontDesignDeliveryTarget {
|
|
288
|
+
targetId: string;
|
|
289
|
+
state: 'pending' | 'retrying' | 'completed' | 'notProvisioned';
|
|
290
|
+
providerOperationId?: string;
|
|
291
|
+
}
|
|
292
|
+
interface StorefrontDesignPublishResult {
|
|
293
|
+
publicationId: string;
|
|
294
|
+
committedRevision: string;
|
|
295
|
+
draftRevision: string;
|
|
296
|
+
delivery: {
|
|
297
|
+
state: 'refreshPending' | 'retrying' | 'providerCompleted' | 'notProvisioned';
|
|
298
|
+
targets: StorefrontDesignDeliveryTarget[];
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
interface StorefrontDesignPreviewResult {
|
|
302
|
+
grant: string;
|
|
303
|
+
previewOrigin: string;
|
|
304
|
+
draftRevision: string;
|
|
305
|
+
expiresAt: string;
|
|
306
|
+
protocolVersion: 1;
|
|
307
|
+
}
|
|
308
|
+
type StorefrontDesignFailure = {
|
|
309
|
+
message: string;
|
|
310
|
+
error: 'STOREFRONT_REVISION_CONFLICT';
|
|
311
|
+
draftRevision: string | null;
|
|
312
|
+
publishedRevision: string | null;
|
|
313
|
+
} | {
|
|
314
|
+
message: string;
|
|
315
|
+
error: Exclude<StorefrontDesignErrorCode, 'STOREFRONT_REVISION_CONFLICT'>;
|
|
316
|
+
fieldErrors?: StorefrontDesignFieldError[];
|
|
317
|
+
};
|
|
318
|
+
type StorefrontDesignDraftResponse = {
|
|
319
|
+
message: string;
|
|
320
|
+
data: StorefrontDesignDraftResult;
|
|
321
|
+
} | StorefrontDesignFailure;
|
|
322
|
+
type StorefrontDesignPublishResponse = {
|
|
323
|
+
message: string;
|
|
324
|
+
data: StorefrontDesignPublishResult;
|
|
325
|
+
} | StorefrontDesignFailure;
|
|
326
|
+
type StorefrontDesignPreviewResponse = {
|
|
327
|
+
message: string;
|
|
328
|
+
data: StorefrontDesignPreviewResult;
|
|
329
|
+
} | StorefrontDesignFailure;
|
|
330
|
+
}
|
|
331
|
+
export {};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export const STOREFRONT_DESIGN_LIMITS = {
|
|
2
|
+
customPages: 20,
|
|
3
|
+
sectionsPerPage: 10,
|
|
4
|
+
productCountMin: 4,
|
|
5
|
+
productCountMax: 24,
|
|
6
|
+
productCountDefault: 8,
|
|
7
|
+
navigationTopLevel: 12,
|
|
8
|
+
navigationChildren: 8,
|
|
9
|
+
navigationTotal: 40,
|
|
10
|
+
footerGroups: 4,
|
|
11
|
+
footerLinks: 8,
|
|
12
|
+
faqs: 20,
|
|
13
|
+
benefits: 8,
|
|
14
|
+
historyEntries: 20,
|
|
15
|
+
documentBytes: 256 * 1024,
|
|
16
|
+
heading: 120,
|
|
17
|
+
label: 80,
|
|
18
|
+
body: 4000,
|
|
19
|
+
slug: 80,
|
|
20
|
+
seoTitle: 120,
|
|
21
|
+
seoDescription: 320,
|
|
22
|
+
imageAlt: 250,
|
|
23
|
+
activeImages: 200,
|
|
24
|
+
imageDecodedBytes: 4 * 1024 * 1024,
|
|
25
|
+
imagePixels: 32_000_000,
|
|
26
|
+
imageDimension: 8000,
|
|
27
|
+
previewSeconds: 15 * 60,
|
|
28
|
+
fieldErrors: 100,
|
|
29
|
+
fieldErrorPath: 240,
|
|
30
|
+
contactAddress: 500,
|
|
31
|
+
contactNote: 200,
|
|
32
|
+
contactHours: 14,
|
|
33
|
+
contactSocials: 8,
|
|
34
|
+
contactEmail: 254,
|
|
35
|
+
};
|
|
36
|
+
export const STOREFRONT_SECTION_TYPES = [
|
|
37
|
+
'banner',
|
|
38
|
+
'imageText',
|
|
39
|
+
'products',
|
|
40
|
+
'categories',
|
|
41
|
+
'brands',
|
|
42
|
+
'text',
|
|
43
|
+
'faq',
|
|
44
|
+
'benefits',
|
|
45
|
+
'contact',
|
|
46
|
+
'paymentDelivery',
|
|
47
|
+
];
|
|
48
|
+
export const STOREFRONT_BUILTIN_DESTINATIONS = [
|
|
49
|
+
'home',
|
|
50
|
+
'catalogue',
|
|
51
|
+
'offers',
|
|
52
|
+
'new',
|
|
53
|
+
'search',
|
|
54
|
+
'cart',
|
|
55
|
+
'account',
|
|
56
|
+
'privacy',
|
|
57
|
+
'terms',
|
|
58
|
+
];
|
|
59
|
+
export const STOREFRONT_CONTACT_FIELDS = ['email', 'phone', 'whatsapp', 'address', 'hours', 'socials'];
|
|
60
|
+
export const STOREFRONT_RESERVED_SLUGS = [
|
|
61
|
+
'home',
|
|
62
|
+
'index',
|
|
63
|
+
'api',
|
|
64
|
+
'auth',
|
|
65
|
+
'login',
|
|
66
|
+
'logout',
|
|
67
|
+
'account',
|
|
68
|
+
'cart',
|
|
69
|
+
'checkout',
|
|
70
|
+
'orders',
|
|
71
|
+
'search',
|
|
72
|
+
'products',
|
|
73
|
+
'product',
|
|
74
|
+
'producto',
|
|
75
|
+
'coleccion',
|
|
76
|
+
'categories',
|
|
77
|
+
'brands',
|
|
78
|
+
'sale',
|
|
79
|
+
'new',
|
|
80
|
+
'privacy',
|
|
81
|
+
'terms',
|
|
82
|
+
'sitemap',
|
|
83
|
+
'robots',
|
|
84
|
+
'manifest',
|
|
85
|
+
'assets',
|
|
86
|
+
'preview',
|
|
87
|
+
'admin',
|
|
88
|
+
'storefront',
|
|
89
|
+
'pagina',
|
|
90
|
+
];
|
|
91
|
+
export const STOREFRONT_BENEFIT_ICONS = ['truck', 'shield', 'credit-card', 'store', 'heart', 'check'];
|
|
92
|
+
export const STOREFRONT_SOCIAL_HOSTS = {
|
|
93
|
+
instagram: ['instagram.com', 'www.instagram.com'],
|
|
94
|
+
facebook: ['facebook.com', 'www.facebook.com'],
|
|
95
|
+
youtube: ['youtube.com', 'www.youtube.com', 'youtu.be', 'www.youtu.be'],
|
|
96
|
+
tiktok: ['tiktok.com', 'www.tiktok.com'],
|
|
97
|
+
linkedin: ['linkedin.com', 'www.linkedin.com'],
|
|
98
|
+
x: ['x.com', 'www.x.com'],
|
|
99
|
+
};
|
|
100
|
+
export function createStorefrontDesignV1() {
|
|
101
|
+
return {
|
|
102
|
+
schemaVersion: 1,
|
|
103
|
+
templateId: 'standard',
|
|
104
|
+
settings: {},
|
|
105
|
+
branding: {},
|
|
106
|
+
home: { id: 'home', title: 'Home', enabled: true, sections: [] },
|
|
107
|
+
pages: [],
|
|
108
|
+
navigation: [],
|
|
109
|
+
footer: [],
|
|
110
|
+
contact: {},
|
|
111
|
+
seo: {},
|
|
112
|
+
literalOverrides: {},
|
|
113
|
+
};
|
|
114
|
+
}
|