diff --git a/framework/commerce/types/product.ts b/framework/commerce/types/product.ts new file mode 100644 index 000000000..b5047564b --- /dev/null +++ b/framework/commerce/types/product.ts @@ -0,0 +1,17 @@ +// TODO: define this type +export type Product = any + +export type ProductTypes = { + product: Product +} + +export type ProductSchema = { + endpoint: { + options: {} + handlers: { + getProducts: { + data: { product: T['product'] } | null + } + } + } +}