Skip to content

Commit

Permalink
fix: export all helpers/types/methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf committed Sep 22, 2023
1 parent d3352d3 commit 4b9cda9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,17 @@ const plugin: ExpressPlugin = { name, buildAuthenticatedRouter, buildRouter };

export default plugin;

export type { AuthenticationOptions, FormidableOptions } from "./types.js";
export type {
AuthenticationOptions,
FormidableOptions,
AuthenticationMaxRetriesOptions,
AuthenticationContext,
} from "./types.js";
export * from "./buildRouter.js";
export * from "./buildAuthenticatedRouter.js";
export * from "./convertRoutes.js";
export * from "./errors.js";
export * from "./logger.js";
export * from "./authentication/login.handler.js";
export * from "./authentication/logout.handler.js";
export * from "./authentication/protected-routes.handler.js";

0 comments on commit 4b9cda9

Please sign in to comment.