Abfahrtsanzeiger Display Basic Library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
libmonoformat/ts/src/index.ts

54 lines
1.4 KiB

// =============================================================================
// index.ts — public entry point
//
// Re-exports everything from library.ts so browser bundlers and module users
// get a single clean import path:
//
// import { MonoDisplayDriver, loadBinFile } from "./index.ts";
//
// PLAN: if the project splits into sub-packages (parser / renderer / utils),
// this file will aggregate them here so callers never need to update imports.
// =============================================================================
export {
// Driver (primary browser-facing API)
MonoDisplayDriver,
// File builder — JSON descriptor → binary .bin buffer
MonoDisplayFile,
ElementType,
// Parser — useful when you want to parse without rendering
MonoDisplayParser,
// Low-level binary reader — exposed so power users can parse custom sections
BinaryReader,
// Renderer — exposed for embedding into custom canvas setups
MonoDisplayRenderer,
// Convenience helpers
loadBinFile,
buildBinBuffer,
} from "./library";
export type {
// File builder types
MonoDisplayFileDescriptor,
DisplayElement,
Image2DElement,
// Union type for all display content variants
DisplayContent,
DisplayContentType,
// Concrete content types
StaticFrame,
AnimFrame,
Animation,
TextDisplay,
ScrollText,
// Driver options bag
MonoDisplayDriverOptions,
} from "./library";