Files
Filamenteka/src/types/filament.ts
DaX 12e91d4c3e Remove refresh icon and fix Safari/WebKit runtime errors
- Removed manual refresh button from frontend (kept auto-refresh functionality)
- Fixed WebKit 'object cannot be found' error by replacing absolute positioning with flexbox
- Added lazy loading to images to prevent preload warnings
- Cleaned up unused imports and variables:
  - Removed unused useRef import
  - Removed unused colors state variable and colorService
  - Removed unused ColorSwatch import from FilamentTableV2
  - Removed unused getModifierIcon function from MaterialBadge
- Updated tests to match current implementation
- Improved layout stability for better cross-browser compatibility
- Removed temporary migration scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 22:37:30 +02:00

14 lines
489 B
TypeScript

export interface Filament {
id?: string;
tip: string;
finish: string;
boja: string;
boja_hex?: string; // Using snake_case to match database
refill: number; // Changed to number for consistency
spulna: number; // Changed to number for consistency
kolicina: number; // Already changed to match database
cena: string;
status?: string;
created_at?: string; // Using snake_case to match database
updated_at?: string; // Using snake_case to match database
}