All checks were successful
CI / Lint, typecheck, test (pull_request) Successful in 5m4s
CI / Build container images (pull_request) Successful in 2m47s
CI / Auth e2e pack (pull_request) Successful in 7m44s
CI / Import/export fidelity gate (pull_request) Successful in 55s
CD / Build and push images (push) Successful in 19s
CD / Deploy to Test (push) Successful in 13s
CD / Smoke tests against Test (push) Successful in 1m22s
CD / Promote to Int (push) Successful in 11s
CI / Lint, typecheck, test (push) Successful in 5m9s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 7m53s
CI / Import/export fidelity gate (push) Successful in 53s
Trashing a page (promote and subtree modes) clears the affected search vectors, restoring rebuilds them; pond trash clears every page vector of the pond, pond restore reindexes only the live pages (pages trashed inside stay out); the GDPR pseudonymization's personal-pond trash does the same. reindexAll now converges to the invariant (clears trashed, rebuilds live), and a one-off migration backfills vectors of already-trashed content. The query-side deleted_at guards stay untouched as the independent second layer - the test proves both layers separately, including writing a vector back onto a trashed page (simulating a future path that forgot the clear) and asserting the query still hides it. New provider methods removePond/reindexPond behind the SearchProvider seam. Refs #195 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168Ph5uBmHm8X28CSVpbpnJ
17 lines
539 B
TypeScript
17 lines
539 B
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { QuotasModule } from '../quotas/quotas.module';
|
|
import { SearchModule } from '../search/search.module';
|
|
|
|
import { PondAccessNotifier } from './pond-access-notifier.service';
|
|
import { PondsController } from './ponds.controller';
|
|
import { PondsService } from './ponds.service';
|
|
|
|
@Module({
|
|
imports: [QuotasModule, SearchModule],
|
|
controllers: [PondsController],
|
|
providers: [PondsService, PondAccessNotifier],
|
|
exports: [PondsService, PondAccessNotifier],
|
|
})
|
|
export class PondsModule {}
|