chore: stale Cardecky-Refs entfernt + apps/landing/ gelöscht
Some checks are pending
CI / validate (push) Waiting to run
Some checks are pending
CI / validate (push) Waiting to run
- apps/landing/ entfernt (Cardecky-Marketing-Astro-Site, war nie deployed — der nginx-Block in landings.conf zeigte auf einen Pfad ohne Inhalt) - Stale Doc-Kommentare in api+web: Cardecky → Wordeck wo passend - fsrs.ts subIndexCount: image-occlusion + audio-front Cases raus (CardType-Enum hat sie nicht mehr — der throw wäre toter Code) - fork.ts: image-occlusion-Sonderfall in subIndexCountFor weg - cards-domain tests: schemas-Test prüft jetzt Wordeck-Typen + dass image-occlusion/audio-front ABGELEHNT werden - cards-domain tests: image-occlusion-throw-Test entfernt - api tests/cards.test.ts: 3 image-occlusion-Cases zu 1 negative Tested (422 expected, weil Schema sie verbietet) 51 Tests grün (cards-domain). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9b37243b1d
commit
c77100e85a
33 changed files with 13 additions and 2348 deletions
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
* Fail-open im Original: bei mana-llm-Ausfall wurde `flag` gesetzt,
|
||||
* damit ein menschlicher Reviewer es trotzdem sieht. Solange wir nur
|
||||
* Cardecky-Decks publishen, ist der Stub `pass` ausreichend — Cardecky
|
||||
* Wordeck-Decks publishen, ist der Stub `pass` ausreichend — Wordeck
|
||||
* ist eine kuratierte Identität.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -146,11 +146,6 @@ export async function forkDeckForUser(
|
|||
|
||||
function subIndexCountFor(type: string, fields: Record<string, string>): number {
|
||||
if (type === 'cloze') return subIndexCountForCloze(fields.text ?? '');
|
||||
if (type === 'image-occlusion') {
|
||||
// image-occlusion hat dynamische subIndexes via mask_regions —
|
||||
// im Marketplace-Fork bisher nicht unterstützt. Default 1.
|
||||
return 1;
|
||||
}
|
||||
return subIndexCount(type);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { authorBlocks, authors, deckReports, publicDecks } from '../../db/schema
|
|||
|
||||
/**
|
||||
* Moderation-Endpoints — App-Review-Pflicht für User-Generated-Content
|
||||
* (App-Store-Guideline 5.1.1(v)). Aus Cardecky-Native erreichbar als
|
||||
* (App-Store-Guideline 5.1.1(v)). Aus Wordeck-Native erreichbar als
|
||||
* „Melden" und „Author blockieren".
|
||||
*
|
||||
* - `POST /decks/:slug/report` — Meldung zu einem Deck. Idempotent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue