mirror of
https://github.com/vercel/commerce.git
synced 2025-06-28 01:11:24 +00:00
51 lines
732 B
TypeScript
51 lines
732 B
TypeScript
export type Meta_Data = {
|
|
id: number;
|
|
key: string;
|
|
value: string;
|
|
};
|
|
|
|
export type Dimension = {
|
|
length: string;
|
|
width: string;
|
|
height: string;
|
|
};
|
|
|
|
export type Category = {
|
|
id: number;
|
|
name: string;
|
|
slug: string;
|
|
};
|
|
|
|
export type Tag = {
|
|
id: number;
|
|
name: string;
|
|
slug: string;
|
|
};
|
|
|
|
export type Image = {
|
|
id: number;
|
|
date_created: Date;
|
|
date_created_gmt: Date;
|
|
date_modified: Date;
|
|
date_modified_gmt: Date;
|
|
src: string;
|
|
name: string;
|
|
alt: string;
|
|
};
|
|
|
|
export type Attribute = {
|
|
id: number;
|
|
name: string;
|
|
position: number;
|
|
visible: boolean;
|
|
variation: boolean;
|
|
options: string[];
|
|
};
|
|
|
|
export type Default_Attribute = {
|
|
id: number;
|
|
name: string;
|
|
slug: string;
|
|
option: string;
|
|
};
|