feat: add billing_interval to products supporting one-time, monthly and yearly subscription pricing

This commit is contained in:
DanielS
2026-05-01 02:33:51 +02:00
parent 1ec164cd7b
commit cc10352d72
5 changed files with 103 additions and 34 deletions

View File

@@ -4,6 +4,7 @@ export type Product = {
description?: string | null | undefined;
base_price: number;
is_active: boolean;
billing_interval: 'one_time' | 'monthly' | 'yearly';
created_at: string;
updated_at: string;
category_id?: string | null;