mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
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:
parent
5fd5423f8e
commit
f1ed3e3f2e
113 changed files with 7270 additions and 2 deletions
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export {
|
|||
createContactsStorage,
|
||||
createStorageStorage,
|
||||
createMailStorage,
|
||||
createInventoryStorage,
|
||||
} from './factory';
|
||||
|
||||
// Utilities
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue