postiz/libraries/nestjs-libraries/src/database/prisma/subscriptions/pricing.ts

40 lines
896 B
TypeScript

export interface PricingInnerInterface {
channel?: number;
posts_per_month: number;
team_members: boolean;
community_features: boolean;
featured_by_gitroom: boolean;
ai: boolean;
import_from_channels: boolean;
}
export interface PricingInterface {
[key: string]: PricingInnerInterface;
}
export const pricing: PricingInterface = {
FREE: {
channel: 3,
posts_per_month: 30,
team_members: false,
community_features: false,
featured_by_gitroom: false,
ai: false,
import_from_channels: false,
},
STANDARD: {
posts_per_month: 400,
team_members: false,
ai: true,
community_features: false,
featured_by_gitroom: false,
import_from_channels: true,
},
PRO: {
posts_per_month: 1000000,
community_features: true,
team_members: true,
featured_by_gitroom: true,
ai: true,
import_from_channels: true,
},
};