@thorprovider/types 4.0.0 → 4.0.1

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.mts CHANGED
@@ -3790,6 +3790,10 @@ interface DropshipperVariant {
3790
3790
  title: string;
3791
3791
  sku: string | null;
3792
3792
  stock_quantity: number;
3793
+ /** Whether inventory is tracked for this variant */
3794
+ manage_inventory: boolean;
3795
+ /** Whether backorders are allowed when out of stock */
3796
+ allow_backorder: boolean;
3793
3797
  /** Price Y pays to X. Read-only for Y. */
3794
3798
  cost_price: number;
3795
3799
  cost_price_currency: string;
package/dist/index.d.ts CHANGED
@@ -3790,6 +3790,10 @@ interface DropshipperVariant {
3790
3790
  title: string;
3791
3791
  sku: string | null;
3792
3792
  stock_quantity: number;
3793
+ /** Whether inventory is tracked for this variant */
3794
+ manage_inventory: boolean;
3795
+ /** Whether backorders are allowed when out of stock */
3796
+ allow_backorder: boolean;
3793
3797
  /** Price Y pays to X. Read-only for Y. */
3794
3798
  cost_price: number;
3795
3799
  cost_price_currency: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thorprovider/types",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Shared TypeScript types for Thor Commerce ecosystem - Framework-agnostic type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -161,6 +161,10 @@ export interface DropshipperVariant {
161
161
  title: string;
162
162
  sku: string | null;
163
163
  stock_quantity: number;
164
+ /** Whether inventory is tracked for this variant */
165
+ manage_inventory: boolean;
166
+ /** Whether backorders are allowed when out of stock */
167
+ allow_backorder: boolean;
164
168
  /** Price Y pays to X. Read-only for Y. */
165
169
  cost_price: number;
166
170
  cost_price_currency: string;