cart mechanism complete
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
'use server'
|
||||
|
||||
import {Lang, Product, ProductLocale} from '@prisma/client'
|
||||
import internal from 'node:stream'
|
||||
import {Lang, Product, ProductLocale, ProductToStore} from '@prisma/client'
|
||||
|
||||
import {db, dbQueryLog} from '@/lib/db/prisma/client'
|
||||
|
||||
export interface ProductProps extends Product {
|
||||
locales: ProductLocale[]
|
||||
toStore: ProductToStore[]
|
||||
}
|
||||
|
||||
export const getProductBySlug = async (data: {
|
||||
slug: string
|
||||
lang: string
|
||||
|
||||
Reference in New Issue
Block a user