- types.ts: SearchIndexDoc, SearchSuggestion + 3 Zod schemas - repository.ts: index/remove entities, search with CONTAINS, prefix suggestions - routes.ts: 6 endpoints (search, suggest, index entity, reindex, delete by type:id) - search.test.ts: 15 schema validation tests - Parameterized queries (no manual quote escaping) - Composite doc ID format: entityType:entityId - Cosmos containers: search_index, search_suggestions |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| POSTAL_SMTP_SETUP.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||