- 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.
11 lines
207 B
TypeScript
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;
|
|
}
|