Initial commit
Build / run (push) Has been cancelled

This commit is contained in:
maher
2026-05-14 13:42:10 +02:00
commit 511fad8199
4595 changed files with 385164 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import {User} from '../auth/user';
import {Price} from './price';
import {Product} from './product';
export interface Subscription {
id: number;
price_id: number;
product_id: number;
user_id: number;
on_grace_period?: boolean;
gateway_name: 'stripe' | 'paypal' | 'none';
gateway_id: string;
gateway_status: string;
valid?: boolean;
past_due?: boolean;
active?: boolean;
cancelled?: boolean;
on_trial?: boolean;
price?: Price;
product?: Product;
trial_ends_at: string;
ends_at: string;
updated_at: string;
created_at: string;
description: string;
renews_at: string;
user?: User;
}