Add meta_data type to Product (#41961)

This commit is contained in:
Nathan Silveira 2023-12-11 14:45:00 -03:00 committed by GitHub
parent 798e79f7b1
commit 120a3dba87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: add
Add meta_data type to Product

View File

@ -98,6 +98,11 @@ export type Product< Status = ProductStatus, Type = ProductType > = Omit<
generated_slug: string;
id: number;
low_stock_amount: number;
meta_data: {
id?: number;
key: string;
value?: string;
}[];
manage_stock: boolean;
menu_order: number;
name: string;