diff --git a/src/helper.ts b/src/helper.ts index 6fc1613..db6759d 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -14,12 +14,12 @@ export interface Asset { path: string; content: string; } - export interface PathBuffer { +export interface PathBuffer { path: string; content: Buffer; } -type AssetOrPathBuffer = Asset | PathBuffer; +export type AssetOrPathBuffer = Asset | PathBuffer; export interface DocumentInput { diff --git a/src/index.ts b/src/index.ts index 8013178..fee57f2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,3 +2,4 @@ export * as FileForge from "./api"; export { FileForgeClient } from "./Client"; export { FileForgeEnvironment } from "./environments"; export { FileForgeError, FileForgeTimeoutError } from "./errors"; +export { generate_from_html, Asset, PathBuffer, AssetOrPathBuffer, DocumentInput, ResponseURL, ResponseStream, ResponseObject } from "./helper"; \ No newline at end of file