Export more things in mod.ts
This commit is contained in:
parent
3d65dcecf2
commit
7f3e3b236b
@ -14,9 +14,9 @@ The glue for TypeScript to PostgreSQL.
|
||||
## Installation
|
||||
|
||||
```ts
|
||||
import pglue from "https://git.lua.re/luaneko/pglue/raw/tag/v0.3.1/mod.ts";
|
||||
import pglue from "https://git.lua.re/luaneko/pglue/raw/tag/v0.3.2/mod.ts";
|
||||
// ...or from github:
|
||||
import pglue from "https://raw.githubusercontent.com/luaneko/pglue/refs/tags/v0.3.1/mod.ts";
|
||||
import pglue from "https://raw.githubusercontent.com/luaneko/pglue/refs/tags/v0.3.2/mod.ts";
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@luaneko/pglue",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"exports": "./mod.ts"
|
||||
}
|
||||
|
12
mod.ts
12
mod.ts
@ -3,12 +3,20 @@ import type * as v from "./valita.ts";
|
||||
import { Pool, PoolOptions, Wire, WireOptions } from "./wire.ts";
|
||||
|
||||
export {
|
||||
Wire,
|
||||
WireOptions,
|
||||
WireError,
|
||||
PostgresError,
|
||||
Pool,
|
||||
PoolOptions,
|
||||
type WireEvents,
|
||||
type PoolEvents,
|
||||
type LogLevel,
|
||||
type Parameters,
|
||||
type Transaction,
|
||||
type Channel,
|
||||
type Parameters,
|
||||
type ChannelEvents,
|
||||
type NotificationHandler,
|
||||
} from "./wire.ts";
|
||||
export {
|
||||
type SqlFragment,
|
||||
@ -16,6 +24,8 @@ export {
|
||||
type SqlTypeMap,
|
||||
SqlTypeError,
|
||||
sql,
|
||||
sql_types,
|
||||
sql_format,
|
||||
is_sql,
|
||||
Query,
|
||||
type Result,
|
||||
|
Loading…
Reference in New Issue
Block a user