Remove Stripe/billing/pricing/marketing, simplify schema and entitlements for unlimited self-host use, and keep auth, encode, and YouTube upload.
16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
import path from "path";
|
|
import {
|
|
normalizeWatermarkSettings,
|
|
type WatermarkSettings,
|
|
} from "./watermark";
|
|
|
|
/** Preserve the user's optional watermark choice without tier-based forcing. */
|
|
export function applyBrandWatermarkPolicy(
|
|
input: Partial<WatermarkSettings> | null | undefined,
|
|
includeWatermarkFallback: boolean,
|
|
): WatermarkSettings {
|
|
return normalizeWatermarkSettings(input, includeWatermarkFallback);
|
|
}
|
|
|
|
export const WATERMARK_FILE_PATH = path.join(process.cwd(), "assets", "watermark.png");
|