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>
27 lines
666 B
TypeScript
27 lines
666 B
TypeScript
export declare enum ActivityType {
|
|
PAGE_VIEW = "page_view",
|
|
FEATURE_USE = "feature_use",
|
|
SEARCH = "search",
|
|
DOWNLOAD = "download",
|
|
UPLOAD = "upload",
|
|
SHARE = "share",
|
|
INVITE = "invite",
|
|
SETTINGS_CHANGE = "settings_change",
|
|
SUBSCRIPTION_CHANGE = "subscription_change",
|
|
PAYMENT = "payment"
|
|
}
|
|
export declare class ActivityLog {
|
|
id: string;
|
|
tenant_id: string;
|
|
user_id: string;
|
|
activity_type: ActivityType;
|
|
resource_type: string;
|
|
resource_id: string;
|
|
description: string;
|
|
metadata: Record<string, any>;
|
|
ip_address: string;
|
|
user_agent: string;
|
|
session_id: string;
|
|
created_at: Date;
|
|
}
|