From 06e167ba21f204311af2075a6eeff2364cb7ae8a Mon Sep 17 00:00:00 2001 From: Pierre Dorge Date: Mon, 27 May 2024 14:48:33 +0200 Subject: [PATCH] Adds content of helper.ts to module exports --- src/helper.ts | 4 ++-- src/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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