@sonic-commerce/storefront-types 0.20.0 → 0.22.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.
- package/dist/index.d.ts +2 -1
- package/dist/schema.d.ts +21 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/build.mjs from app/openapi/public-api.json — do not edit.
|
|
2
|
-
// Spec version 0.
|
|
2
|
+
// Spec version 0.22.0, 54 named schemas.
|
|
3
3
|
|
|
4
4
|
export type { paths, components, operations } from "./schema";
|
|
5
5
|
import type { components } from "./schema";
|
|
@@ -49,6 +49,7 @@ export type ReturnQuoteBody = components["schemas"]["ReturnQuoteBody"];
|
|
|
49
49
|
export type ReturnQuoteLine = components["schemas"]["ReturnQuoteLine"];
|
|
50
50
|
export type RewardPoints = components["schemas"]["RewardPoints"];
|
|
51
51
|
export type SalesChannel = components["schemas"]["SalesChannel"];
|
|
52
|
+
export type Seo = components["schemas"]["Seo"];
|
|
52
53
|
export type Session = components["schemas"]["Session"];
|
|
53
54
|
export type SetCartCustomerBody = components["schemas"]["SetCartCustomerBody"];
|
|
54
55
|
export type SetCartRegionBody = components["schemas"]["SetCartRegionBody"];
|
package/dist/schema.d.ts
CHANGED
|
@@ -3542,6 +3542,7 @@ export interface components {
|
|
|
3542
3542
|
options?: components["schemas"]["ProductOption"][];
|
|
3543
3543
|
categories?: components["schemas"]["ProductCategory"][];
|
|
3544
3544
|
collection?: components["schemas"]["ProductCollection"] | null;
|
|
3545
|
+
seo?: components["schemas"]["Seo"];
|
|
3545
3546
|
};
|
|
3546
3547
|
ProductVariant: {
|
|
3547
3548
|
id: string;
|
|
@@ -3582,6 +3583,18 @@ export interface components {
|
|
|
3582
3583
|
title: string;
|
|
3583
3584
|
handle: string | null;
|
|
3584
3585
|
};
|
|
3586
|
+
Seo: {
|
|
3587
|
+
title: string;
|
|
3588
|
+
description: string | null;
|
|
3589
|
+
keywords: string[];
|
|
3590
|
+
canonical_url: string | null;
|
|
3591
|
+
noindex: boolean;
|
|
3592
|
+
og: {
|
|
3593
|
+
title: string;
|
|
3594
|
+
description: string | null;
|
|
3595
|
+
image: string | null;
|
|
3596
|
+
};
|
|
3597
|
+
};
|
|
3585
3598
|
Category: {
|
|
3586
3599
|
id: string;
|
|
3587
3600
|
name?: string;
|
|
@@ -3592,6 +3605,7 @@ export interface components {
|
|
|
3592
3605
|
thumbnail?: string | null;
|
|
3593
3606
|
parent?: components["schemas"]["CategorySummary"] | null;
|
|
3594
3607
|
children?: components["schemas"]["CategorySummary"][];
|
|
3608
|
+
seo?: components["schemas"]["Seo"];
|
|
3595
3609
|
};
|
|
3596
3610
|
CategorySummary: {
|
|
3597
3611
|
id: string;
|
|
@@ -3616,6 +3630,7 @@ export interface components {
|
|
|
3616
3630
|
thumbnail?: string | null;
|
|
3617
3631
|
products?: components["schemas"]["ProductListItem"][];
|
|
3618
3632
|
products_has_more?: boolean;
|
|
3633
|
+
seo?: components["schemas"]["Seo"];
|
|
3619
3634
|
};
|
|
3620
3635
|
Store: {
|
|
3621
3636
|
id: string;
|
|
@@ -3626,6 +3641,12 @@ export interface components {
|
|
|
3626
3641
|
metadata: {
|
|
3627
3642
|
[key: string]: unknown;
|
|
3628
3643
|
};
|
|
3644
|
+
seo: {
|
|
3645
|
+
title: string;
|
|
3646
|
+
description: string | null;
|
|
3647
|
+
keywords: string[];
|
|
3648
|
+
image: string | null;
|
|
3649
|
+
};
|
|
3629
3650
|
};
|
|
3630
3651
|
Currency: {
|
|
3631
3652
|
code: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-commerce/storefront-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "TypeScript types for the Sonic Commerce storefront API (/api/v1).",
|
|
5
5
|
"keywords": ["sonic-commerce", "openapi", "types", "storefront"],
|
|
6
6
|
"license": "UNLICENSED",
|