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