import type Prisma from "@prisma/client" ; import type Stripe from "stripe" ; export const transformProduct = ( { name , description , price , image } ) : Stripe . Checkout . SessionCreateParams . LineItem => ( { name , description , amount : price , currency : 'PLN' , images : [ image ] , quantity : 1 } ) ;