Commit Graph

4 Commits

Author SHA1 Message Date
Oleg Proskurin 20996edd6d refactor: simplify storage path to {org}/{proj}/img/{imageId}
- Remove category from all storage methods
- Change filename to imageId (UUID) across all services
- Update StorageService interface: orgId→orgSlug, projectId→projectSlug
- Update MinioStorageService to use new path format
- Update all route handlers (cdn, images, upload, live, textToImage)
- Update GenerationService and ImageService for new storage keys
- CDN URL format: cdn.banatie.app/{org}/{proj}/img/{imageId}

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 19:47:18 +07:00
Oleg Proskurin b0e6304e07 fix: urls and storage structure 2025-12-26 01:10:14 +07:00
Oleg Proskurin 7e04fcbbb0 fix: storage structure 2025-12-25 23:54:18 +07:00
Oleg Proskurin 237443194f feat: add file upload endpoint 2025-10-11 00:08:51 +07:00