Integrate the app end to end, add class outline, browser check and README
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
bdfdf581f3
commit
468cafc6db
17 files changed
+702
-16
No files matched your search
+3
-6
@@ -1,11 +1,8 @@
|
||||
import type { Book, BookMeta, ResolveInput, Resolution, SearchResult } from '../shared/types.ts';
|
||||
import type { Book, BookMeta, ResolveInput } from '../shared/types.ts';
|
||||
import type { Db } from './db.ts';
|
||||
import type { Resolver } from './resolve/resolver.ts';
|
||||
|
||||
// Structural match for Resolver in resolve/resolver.ts (Task 2).
|
||||
export interface ResolverLike {
|
||||
resolve(input: ResolveInput, opts?: { onMeta?: (meta: BookMeta) => void }): Promise<Resolution>;
|
||||
search(title: string, author: string): Promise<SearchResult[]>;
|
||||
}
|
||||
export type ResolverLike = Resolver;
|
||||
|
||||
export interface Jobs { enqueue(id: number): void; resume(): void; idle(): Promise<void> }
|
||||
|
||||
|
||||
Reference in new issue
Block a user