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
+5
-5
@@ -5,12 +5,12 @@ import { normalizeIsbn } from '../shared/isbn.ts';
|
||||
import { formatCallNumber, parseCallNumber, sortKeyOfRaw } from '../shared/callnumber.ts';
|
||||
import type { Db, Filter, NewBook } from './db.ts';
|
||||
import type { Jobs, ResolverLike } from './jobs.ts';
|
||||
import type { renderCalibrationPdf, renderCardsPdf } from './pdf/render.ts';
|
||||
import type { classNames } from '../shared/lcc-outline.ts';
|
||||
|
||||
// Structural matches for pdf/render.ts (Task 4).
|
||||
export type RenderCardsPdf = (cards: CardData[], opts: Settings & { startPosition: 1 | 2 | 3 }) => Promise<Uint8Array>;
|
||||
export type RenderCalibrationPdf = (s: Settings) => Promise<Uint8Array>;
|
||||
// Matches classNames in shared/lcc-outline.ts (Task 1b).
|
||||
export type ClassNames = (letters: string) => { className: string | null; subclassName: string | null };
|
||||
export type RenderCardsPdf = typeof renderCardsPdf;
|
||||
export type RenderCalibrationPdf = typeof renderCalibrationPdf;
|
||||
export type ClassNames = typeof classNames;
|
||||
|
||||
export interface EventBus {
|
||||
on(listener: (event: string, data: unknown) => void): () => void;
|
||||
|
||||
Reference in new issue
Block a user