UNPKG

@appsemble/types

Version:

TypeScript definitions reused within Appsemble internally

46 lines (45 loc) 1.33 kB
export interface SubscriptionPlan { /** * The name of the Subscription plan. */ name: string; /** * The price of the Subscription plan. */ price: string; /** * Amount of apps the user can publish. */ appLimit: number; /** * How many notifications we allow organizations on this plan to send daily * from our SMTP server. Unlimited with their custom server. */ dailyNotifications: number | 'unlimited'; /** * How many GB of data we allow the organization to store on our servers. */ persistentStorage: number; /** * Whether we allow the organizations to use custom containers. */ customContainers: boolean; /** * Service level agreement associated with this plan. */ sla: string; /** * Level of block support included in the plan. */ blocks: string; /** * Type of backend support included in the plan. */ backend: string; } export declare const freePlan: SubscriptionPlan; export declare const basicPlan: SubscriptionPlan; export declare const standardPlan: SubscriptionPlan; export declare const extensivePlan: SubscriptionPlan; export declare const enterprisePlan: SubscriptionPlan; export declare function getSubscriptionPlanByName(name: string): SubscriptionPlan;