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
|
## Installation
|
||||||
|
|
||||||
```ts
|
```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:
|
// ...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
|
## Documentation
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@luaneko/pglue",
|
"name": "@luaneko/pglue",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"exports": "./mod.ts"
|
"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";
|
import { Pool, PoolOptions, Wire, WireOptions } from "./wire.ts";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
Wire,
|
||||||
|
WireOptions,
|
||||||
WireError,
|
WireError,
|
||||||
PostgresError,
|
PostgresError,
|
||||||
|
Pool,
|
||||||
|
PoolOptions,
|
||||||
|
type WireEvents,
|
||||||
|
type PoolEvents,
|
||||||
type LogLevel,
|
type LogLevel,
|
||||||
|
type Parameters,
|
||||||
type Transaction,
|
type Transaction,
|
||||||
type Channel,
|
type Channel,
|
||||||
type Parameters,
|
type ChannelEvents,
|
||||||
|
type NotificationHandler,
|
||||||
} from "./wire.ts";
|
} from "./wire.ts";
|
||||||
export {
|
export {
|
||||||
type SqlFragment,
|
type SqlFragment,
|
||||||
@ -16,6 +24,8 @@ export {
|
|||||||
type SqlTypeMap,
|
type SqlTypeMap,
|
||||||
SqlTypeError,
|
SqlTypeError,
|
||||||
sql,
|
sql,
|
||||||
|
sql_types,
|
||||||
|
sql_format,
|
||||||
is_sql,
|
is_sql,
|
||||||
Query,
|
Query,
|
||||||
type Result,
|
type Result,
|
||||||
|
Loading…
Reference in New Issue
Block a user