You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import type { RequiredSubscriptionPlans, Subscription } from './subscription';
|
|
|
|
export const enum Features {
|
|
Stashes = 'stashes',
|
|
Timeline = 'timeline',
|
|
Worktrees = 'worktrees',
|
|
}
|
|
|
|
export type FeatureAccess =
|
|
| { allowed: true; subscription: { current: Subscription; required?: undefined } }
|
|
| { allowed: false; subscription: { current: Subscription; required?: RequiredSubscriptionPlans } };
|
|
|
|
export const enum PlusFeatures {
|
|
Timeline = 'timeline',
|
|
Worktrees = 'worktrees',
|
|
}
|