Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

305 B
Raw Blame
import { userIsPro } from "@cap/utils";

export interface FeatureFlagUser {
	email: string;
	stripeSubscriptionStatus?: string | null;
	thirdPartyStripeSubscriptionId?: string | null;
}

export async function isAiGenerationEnabled(
	user: FeatureFlagUser,
): Promise<boolean> {
	return userIsPro(user);
}