Release 202506091901

This commit is contained in:
pluja
2025-06-09 19:01:08 +00:00
parent b8b2dee4a4
commit 459d7c91f7
5 changed files with 232 additions and 273 deletions

View File

@@ -41,6 +41,8 @@ export function makeNonDbAttributes(
isRecentlyListed: true
listedAt: true
createdAt: true
tosReviewAt: true
tosReview: true
}
}>,
{ filter = false }: { filter?: boolean } = {}
@@ -156,6 +158,17 @@ export function makeNonDbAttributes(
trustPoints: -5,
links: [],
},
{
title: "Can't analyse ToS",
show: service.tosReviewAt !== null && service.tosReview === null,
type: 'WARNING',
category: 'TRUST',
description:
'The Terms of Service page is not analyable by our AI. Possible reasons may be: captchas, client side rendering, DDoS protections, or non-text format.',
privacyPoints: 0,
trustPoints: -3,
links: [],
},
]
if (filter) return nonDbAttributes.filter(({ show }) => show)