Remove non-gmt scheduled sale properties from Product type (#35096)
This commit is contained in:
parent
c6eab3b4b2
commit
9fc0935e98
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: major
|
||||||
|
Type: update
|
||||||
|
|
||||||
|
Remove `Product` `date_on_sale_from` and `date_on_sale_to` properties. Use `date_on_sale_from_gmt` and `date_on_sale_to_gmt` instead.
|
|
@ -59,9 +59,7 @@ export type Product< Status = ProductStatus, Type = ProductType > = Omit<
|
||||||
description: string;
|
description: string;
|
||||||
short_description: string;
|
short_description: string;
|
||||||
sku: string;
|
sku: string;
|
||||||
date_on_sale_from: string | null;
|
|
||||||
date_on_sale_from_gmt: string | null;
|
date_on_sale_from_gmt: string | null;
|
||||||
date_on_sale_to: string | null;
|
|
||||||
date_on_sale_to_gmt: string | null;
|
date_on_sale_to_gmt: string | null;
|
||||||
virtual: boolean;
|
virtual: boolean;
|
||||||
downloadable: boolean;
|
downloadable: boolean;
|
||||||
|
|
Loading…
Reference in New Issue