// --- ASA GENERATED START ---
// Entitlement types for deterministic feature/limit architecture.
// --- ASA GENERATED END ---

// --- USER CODE START ---

export type EntitlementSource = 'plan' | 'override';
export type FeatureType = 'boolean' | 'number';

export interface EntitlementRow {
  id: string;
  user_id: string;
  feature_key: string;
  feature_type: FeatureType;
  value: string;
  source: EntitlementSource;
  created_at: string;
  updated_at: string;
}

export interface PlanFeatureRow {
  id: string;
  plan_key: string;
  feature_key: string;
  feature_type: FeatureType;
  value: string;
}

// --- USER CODE END ---
