Site için geliştirmeler yapıldı.
This commit is contained in:
12
types/product.ts
Normal file
12
types/product.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export type Product = {
|
||||
id: number
|
||||
name: string
|
||||
category: string
|
||||
description: string | null
|
||||
image_url: string | null
|
||||
price: number | null
|
||||
created_at: string
|
||||
}
|
||||
|
||||
export type ProductInsert = Omit<Product, 'id' | 'created_at'>
|
||||
export type ProductUpdate = Partial<ProductInsert>
|
||||
Reference in New Issue
Block a user