bun-query-builder 0.2.26 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/explain.d.ts +1 -1
- package/dist/actions/file.d.ts +1 -1
- package/dist/actions/inspect.d.ts +1 -1
- package/dist/actions/introspect.d.ts +4 -1
- package/dist/actions/ping.d.ts +1 -1
- package/dist/actions/sql.d.ts +5 -1
- package/dist/actions/unsafe.d.ts +1 -1
- package/dist/actions/wait-ready.d.ts +1 -1
- package/dist/bin/cli.js +331 -262
- package/dist/browser.d.ts +14 -8
- package/dist/client.d.ts +144 -101
- package/dist/config.d.ts +71 -0
- package/dist/db.d.ts +5 -0
- package/dist/model.d.ts +1 -1
- package/dist/orm.d.ts +25 -12
- package/dist/schema.d.ts +1 -1
- package/dist/src/index.js +178 -144
- package/dist/type-inference.d.ts +13 -3
- package/dist/types.d.ts +6 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function explain(sql: string): Promise<
|
|
1
|
+
export declare function explain(sql: string): Promise<unknown>;
|
package/dist/actions/file.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { FileOptions } from '../types';
|
|
2
|
-
export declare function file(path: string, opts?: FileOptions): Promise<
|
|
2
|
+
export declare function file(path: string, opts?: FileOptions): Promise<unknown>;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { IntrospectOptions } from '../types';
|
|
2
|
-
export declare function introspect(dir: string, _opts?: IntrospectOptions): Promise<
|
|
2
|
+
export declare function introspect(dir: string, _opts?: IntrospectOptions): Promise<{
|
|
3
|
+
models: unknown;
|
|
4
|
+
schema: unknown
|
|
5
|
+
}>;
|
package/dist/actions/ping.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function ping(): Promise<
|
|
1
|
+
export declare function ping(): Promise<unknown>;
|
package/dist/actions/sql.d.ts
CHANGED
package/dist/actions/unsafe.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { UnsafeOptions } from '../types';
|
|
2
|
-
export declare function unsafe(sql: string, opts?: UnsafeOptions): Promise<
|
|
2
|
+
export declare function unsafe(sql: string, opts?: UnsafeOptions): Promise<unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { WaitReadyOptions } from '../types';
|
|
2
|
-
export declare function waitReady(opts?: WaitReadyOptions): Promise<
|
|
2
|
+
export declare function waitReady(opts?: WaitReadyOptions): Promise<boolean>;
|