mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 20:13:58 +00:00
Add trial system
This commit is contained in:
@@ -10,6 +10,10 @@ type SubscriptionStatusContextType = {
|
||||
subscribed: boolean;
|
||||
/** True when org has exceeded plan limits (sites, users, etc.). Only set when build === saas. */
|
||||
limitsExceeded: boolean;
|
||||
/** Unix timestamp (ms) when the trial expires, or null if not in trial. */
|
||||
trialExpiresAt: number | null;
|
||||
/** True if the organization is currently in a trial period. */
|
||||
isTrial: boolean;
|
||||
};
|
||||
|
||||
const SubscriptionStatusContext = createContext<
|
||||
|
||||
Reference in New Issue
Block a user