x/drash/mod.ts
123456789101112131415161718192021222324252627282930313233343536373839////////////////////////////////////////////////////////////////////////////////// FILE MARKER - IMPORTS ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////import * as Interfaces from "./src/interfaces.ts";import * as Types from "./src/types.ts";import { Server } from "./src/http/server.ts";////////////////////////////////////////////////////////////////////////////////// FILE MARKER - EXPORTS - CLASSES /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////function getVersion() { const url = import.meta.url; if (url.match(/v\d/) === null) { return null; } return "v" + url.split("v")[1].split("/")[0];}export const version = getVersion();// Dictionariesexport { mimeDb as MimeDb } from "./src/dictionaries/mime_db.ts";// Errorsexport * as Errors from "./src/errors.ts";// Httpexport { DrashRequest as Request } from "./src/http/request.ts";export { Resource } from "./src/http/resource.ts";export { DrashResponse as Response } from "./src/http/response.ts";export { Service } from "./src/http/service.ts";export { ErrorHandler } from "./src/http/error_handler.ts";// Export members from the IMPORTS section aboveexport { Interfaces, Server, Types };export type { IErrorHandler, IResource, IService } from "./src/interfaces.ts";