mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
db795ec050
* updated controllers to use custom json schema and added auto openapi specs * fix data routes parsing body * added schema exports to core * added swagger link to Admin, switched use-search
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import type { Hono, MiddlewareHandler } from "hono";
|
|
|
|
export { tbValidator } from "./server/lib/tbValidator";
|
|
export { Exception, BkndError } from "./errors";
|
|
export { isDebug, env } from "./env";
|
|
export { type PrimaryFieldType, config, type DB, type AppEntity } from "./config";
|
|
export { AwsClient } from "./clients/aws/AwsClient";
|
|
export {
|
|
SimpleRenderer,
|
|
type TemplateObject,
|
|
type TemplateTypes,
|
|
type SimpleRendererOptions,
|
|
} from "./template/SimpleRenderer";
|
|
export { SchemaObject } from "./object/SchemaObject";
|
|
export { DebugLogger } from "./utils/DebugLogger";
|
|
export { Permission } from "./security/Permission";
|
|
export {
|
|
exp,
|
|
makeValidator,
|
|
type FilterQuery,
|
|
type Primitive,
|
|
isPrimitive,
|
|
type TExpression,
|
|
type BooleanLike,
|
|
isBooleanLike,
|
|
} from "./object/query/query";
|
|
export { Registry, type Constructor } from "./registry/Registry";
|
|
export { getFlashMessage } from "./server/flash";
|
|
export { s, jsc, describeRoute } from "./object/schema";
|
|
|
|
export * from "./console";
|
|
export * from "./events";
|
|
|
|
// compatibility
|
|
export type Middleware = MiddlewareHandler<any, any, any>;
|
|
export interface ClassController {
|
|
getController: () => Hono<any, any, any>;
|
|
getMiddleware?: MiddlewareHandler<any, any, any>;
|
|
}
|