medusa-storefront-core 1.2.3 → 1.2.4
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/site-config.d.ts +0 -13
- package/package.json +1 -1
- package/src/site-config.ts +0 -14
package/dist/site-config.d.ts
CHANGED
|
@@ -1,29 +1,16 @@
|
|
|
1
1
|
import { Metadata } from 'next';
|
|
2
2
|
|
|
3
|
-
/** Footer / share social icon link */
|
|
4
|
-
export type StorefrontSocialLink = {
|
|
5
|
-
name: string;
|
|
6
|
-
url: string;
|
|
7
|
-
icon?: string;
|
|
8
|
-
};
|
|
9
3
|
/** Company / brand details passed from each storefront — never hardcode in libraries. */
|
|
10
4
|
export type StorefrontCompanyConfig = {
|
|
11
5
|
name: string;
|
|
12
6
|
brandName?: string;
|
|
13
7
|
customerLabel?: string;
|
|
14
|
-
contactEmail?: string;
|
|
15
|
-
phone?: string;
|
|
16
8
|
description?: string;
|
|
17
9
|
helpTagline?: string;
|
|
18
10
|
mapTitle?: string;
|
|
19
11
|
whyChooseUsTitle?: string;
|
|
20
12
|
termsSubtitle?: string;
|
|
21
13
|
privacySubtitle?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Fallback footer social links when Medusa admin has no `social-links` config.
|
|
24
|
-
* Overrides library defaults; set in each storefront's `site.config.ts`.
|
|
25
|
-
*/
|
|
26
|
-
defaultSocialLinks?: StorefrontSocialLink[];
|
|
27
14
|
};
|
|
28
15
|
/** Site-specific values passed from each storefront project. */
|
|
29
16
|
export type StorefrontSiteConfig = {
|
package/package.json
CHANGED
package/src/site-config.ts
CHANGED
|
@@ -1,30 +1,16 @@
|
|
|
1
1
|
import type { Metadata } from "next"
|
|
2
2
|
|
|
3
|
-
/** Footer / share social icon link */
|
|
4
|
-
export type StorefrontSocialLink = {
|
|
5
|
-
name: string
|
|
6
|
-
url: string
|
|
7
|
-
icon?: string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
3
|
/** Company / brand details passed from each storefront — never hardcode in libraries. */
|
|
11
4
|
export type StorefrontCompanyConfig = {
|
|
12
5
|
name: string
|
|
13
6
|
brandName?: string
|
|
14
7
|
customerLabel?: string
|
|
15
|
-
contactEmail?: string
|
|
16
|
-
phone?: string
|
|
17
8
|
description?: string
|
|
18
9
|
helpTagline?: string
|
|
19
10
|
mapTitle?: string
|
|
20
11
|
whyChooseUsTitle?: string
|
|
21
12
|
termsSubtitle?: string
|
|
22
13
|
privacySubtitle?: string
|
|
23
|
-
/**
|
|
24
|
-
* Fallback footer social links when Medusa admin has no `social-links` config.
|
|
25
|
-
* Overrides library defaults; set in each storefront's `site.config.ts`.
|
|
26
|
-
*/
|
|
27
|
-
defaultSocialLinks?: StorefrontSocialLink[]
|
|
28
14
|
}
|
|
29
15
|
|
|
30
16
|
/** Site-specific values passed from each storefront project. */
|