feat: add Maison Work source type, rename ExternalMarket to Direktinserat, hide own portfolio from demand search by default

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin SutterandClaude Sonnet 4.6 committed 2026-05-19 23:02:05 +02:00
1 parent a521155bb2
commit 3756675b6f
29 files changed
+115 -42

No files matched your search

+2 -2
View File
@@ -50,12 +50,12 @@ export function useUnifiedResults(needId?: string) {
const property = properties.find(p => p.id === (match.resultId ?? match.propertyId))
if (!property) return []
if (rt === 'EXTERNAL_MARKET') {
if (rt === 'EXTERNAL_MARKET' || rt === 'MAISON_WORK') {
const result: ExternalMarketResult = {
matchId: match.id,
needId: match.needId,
matchScore: match.matchScore,
resultType: 'EXTERNAL_MARKET',
resultType: rt as 'EXTERNAL_MARKET' | 'MAISON_WORK',
property,
match,
}