Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
623 B
TypeScript
29 lines
623 B
TypeScript
export declare enum FlagType {
|
|
BOOLEAN = "boolean",
|
|
STRING = "string",
|
|
NUMBER = "number",
|
|
JSON = "json"
|
|
}
|
|
export declare enum FlagScope {
|
|
GLOBAL = "global",
|
|
TENANT = "tenant",
|
|
USER = "user",
|
|
PLAN = "plan"
|
|
}
|
|
export declare class FeatureFlag {
|
|
id: string;
|
|
key: string;
|
|
name: string;
|
|
description: string;
|
|
flag_type: FlagType;
|
|
scope: FlagScope;
|
|
default_value: any;
|
|
is_enabled: boolean;
|
|
targeting_rules: Record<string, any>;
|
|
rollout_percentage: number;
|
|
category: string;
|
|
metadata: Record<string, any>;
|
|
created_at: Date;
|
|
updated_at: Date;
|
|
}
|