mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
18 lines
407 B
TypeScript
18 lines
407 B
TypeScript
import {
|
|
LoyaltyProgram,
|
|
SubscriptionNamespace,
|
|
SubscriptionProduct,
|
|
} from "~/enums";
|
|
|
|
export interface ActiveSubscriptions {
|
|
// user's list of subscriptions
|
|
active_subscriptions: Subscription[];
|
|
// special programs that the user could be in
|
|
maybe_loyalty_program?: LoyaltyProgram;
|
|
}
|
|
|
|
export interface Subscription {
|
|
namespace: SubscriptionNamespace;
|
|
product_slug: SubscriptionProduct;
|
|
}
|