almeira-web/src/types/settings.ts
Carlos (Almeira) 339ac0125e refactor: improve project integrity with shared types and strict Appwrite document casting
- Create shared Settings interface in @/types/settings.
- Refactor NewsTicker, AdWrappers, and page components to use shared types.
- Remove risky 'as any' casting from Appwrite document resolution.
- Update Post interface to include resolved_media for consistent data handling.
- Verify Zod error handling consistency across the src directory.
2026-03-28 09:57:42 -05:00

11 lines
207 B
TypeScript

/**
* @file settings.ts
* @description Shared interfaces for Appwrite settings documents.
*/
export interface Settings {
rotation_seconds: number;
ticker_count: number;
[key: string]: any;
}