refactor: Update main.ts imports and add TypeScript types

- main.ts: Added imports for all new Alpine component files:
  * admin, api-explorer-docs, login, profile, profile-modal,
  * register, toast-error, unlinked_books, index, collection-rules
- api.d.ts: Added match_reason field to TestRuleMatch interface
  for collection rules test results display
This commit is contained in:
2026-03-08 21:36:32 -04:00
parent 6728ba83a1
commit 533dfd64e2
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -162,6 +162,7 @@ interface TestRuleMatch {
title: string;
author: string;
cover_image_path?: string;
match_reason?: string;
}
// Matches handlers.SearchResponse (internal/handlers/search.go)