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:
@@ -1,7 +1,10 @@
|
||||
import "./admin";
|
||||
import "./api";
|
||||
import "./analytics";
|
||||
import "./api-explorer";
|
||||
import "./api-explorer-docs";
|
||||
import "./bookshelf";
|
||||
import "./collection-rules";
|
||||
import "./collections";
|
||||
import "./conflicts";
|
||||
import "./custom-section-builder";
|
||||
@@ -11,15 +14,22 @@ import "./docs";
|
||||
import "./dom";
|
||||
import "./events";
|
||||
import "./header";
|
||||
import "./index";
|
||||
import "./library";
|
||||
import "./login";
|
||||
import "./linking";
|
||||
import "./password_validation";
|
||||
import "./profile";
|
||||
import "./profile-modal";
|
||||
import "./queue";
|
||||
import "./register";
|
||||
import "./search";
|
||||
import "./storage";
|
||||
import "./themeDropdown";
|
||||
import "./theme";
|
||||
import "./toast";
|
||||
import "./toast-error";
|
||||
import "./unlinked_books";
|
||||
import "./woodPanelingInit";
|
||||
import "./woodPaneling";
|
||||
import "./alpine";
|
||||
|
||||
Vendored
+1
@@ -162,6 +162,7 @@ interface TestRuleMatch {
|
||||
title: string;
|
||||
author: string;
|
||||
cover_image_path?: string;
|
||||
match_reason?: string;
|
||||
}
|
||||
|
||||
// Matches handlers.SearchResponse (internal/handlers/search.go)
|
||||
|
||||
Reference in New Issue
Block a user