Initial commit

This commit is contained in:
Benjamin Sutter
2026-05-15 00:48:18 +02:00
commit 9e827c50f9
72 changed files with 10477 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import type { Need, CreateNeedInput, UpdateNeedInput } from '../domain/need'
import type { AssetType } from '../domain/enums'
export interface NeedFilters {
assetType?: AssetType
organizationId?: string
companyName?: string
}
export interface INeedProvider {
getAll(filters?: NeedFilters): Promise<Need[]>
getById(id: string): Promise<Need | null>
create(data: CreateNeedInput): Promise<Need>
update(id: string, data: UpdateNeedInput): Promise<Need>
remove(id: string): Promise<void>
}