11 lines
289 B
TypeScript
11 lines
289 B
TypeScript
import type Stripe from "stripe";
|
|
import { z } from "zod/v4";
|
|
|
|
export const StripeInvoiceItemsActionSchema = z.object({
|
|
createInvoiceItems: z.array(z.custom<Stripe.InvoiceItemCreateParams>()),
|
|
});
|
|
|
|
export type StripeInvoiceItemsAction = z.infer<
|
|
typeof StripeInvoiceItemsActionSchema
|
|
>;
|