feat(inventory): add new Inventory app scaffolding

Add new Inventory management app with:
- Backend NestJS setup with Drizzle schema for items, categories, locations
- Web SvelteKit app with item management UI
- Shared branding config (logo, icon, colors)
- Storage bucket configuration

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-12-05 04:19:36 +01:00
parent 5fd5423f8e
commit f1ed3e3f2e
113 changed files with 7270 additions and 2 deletions

View file

@ -136,3 +136,13 @@ export function createStorageStorage(publicUrl?: string): StorageClient {
export function createMailStorage(): StorageClient {
return createStorageClient({ name: BUCKETS.MAIL });
}
/**
* Create a storage client for the Inventory project
*/
export function createInventoryStorage(publicUrl?: string): StorageClient {
return createStorageClient({
name: BUCKETS.INVENTORY,
publicUrl: publicUrl ?? process.env.INVENTORY_S3_PUBLIC_URL,
});
}

View file

@ -14,6 +14,7 @@ export {
createContactsStorage,
createStorageStorage,
createMailStorage,
createInventoryStorage,
} from './factory';
// Utilities

View file

@ -85,6 +85,7 @@ export const BUCKETS = {
CONTACTS: 'contacts-storage',
STORAGE: 'storage-storage',
MAIL: 'mail-storage',
INVENTORY: 'inventory-storage',
} as const;
export type BucketName = (typeof BUCKETS)[keyof typeof BUCKETS];