bun-query-builder 0.1.12 → 0.1.15
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/README.md +45 -468
- package/dist/__tests__/type-narrowing-compile.d.ts +1 -0
- package/dist/__tests__/type-narrowing.test.d.ts +1 -0
- package/dist/actions/benchmark.d.ts +1 -1
- package/dist/actions/cache.d.ts +1 -1
- package/dist/actions/console.d.ts +1 -1
- package/dist/actions/data.d.ts +2 -1
- package/dist/actions/db-info.d.ts +1 -1
- package/dist/actions/db-optimize.d.ts +1 -1
- package/dist/actions/db-wipe.d.ts +1 -1
- package/dist/actions/explain.d.ts +1 -1
- package/dist/actions/file.d.ts +1 -1
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/inspect.d.ts +1 -1
- package/dist/actions/introspect.d.ts +1 -1
- package/dist/actions/make-model.d.ts +1 -1
- package/dist/actions/migrate-generate.d.ts +1 -1
- package/dist/actions/migrate-rollback.d.ts +1 -1
- package/dist/actions/migrate-status.d.ts +1 -1
- package/dist/actions/migrate.d.ts +1 -1
- package/dist/actions/model-show.d.ts +1 -1
- package/dist/actions/ping.d.ts +1 -1
- package/dist/actions/query-explain-all.d.ts +1 -1
- package/dist/actions/relation-diagram.d.ts +1 -1
- package/dist/actions/seed.d.ts +1 -1
- package/dist/actions/sql.d.ts +1 -1
- package/dist/actions/unsafe.d.ts +1 -1
- package/dist/actions/validate.d.ts +1 -1
- package/dist/actions/wait-ready.d.ts +1 -1
- package/dist/bin/cli.js +25785 -0
- package/dist/browser.d.ts +118 -44
- package/dist/client.d.ts +22 -56
- package/dist/config.d.ts +16 -3
- package/dist/db.d.ts +5 -4
- package/dist/drivers/dynamodb.d.ts +3 -13
- package/dist/drivers/index.d.ts +2 -1
- package/dist/drivers/mysql.d.ts +3 -9
- package/dist/drivers/postgres.d.ts +3 -9
- package/dist/drivers/sqlite.d.ts +3 -9
- package/dist/dynamodb/client.d.ts +1 -5
- package/dist/dynamodb/index.d.ts +7 -28
- package/dist/dynamodb/migration-driver.d.ts +2 -23
- package/dist/dynamodb/migration-tracker.d.ts +4 -6
- package/dist/dynamodb/migrations.d.ts +4 -1
- package/dist/dynamodb/model.d.ts +5 -13
- package/dist/dynamodb-client.d.ts +3 -23
- package/dist/dynamodb-single-table.d.ts +22 -26
- package/dist/dynamodb-tooling-adapter.d.ts +2 -33
- package/dist/factory.d.ts +3 -3
- package/dist/index.d.ts +24 -1
- package/dist/loader.d.ts +1 -1
- package/dist/meta.d.ts +1 -1
- package/dist/migrations.d.ts +4 -4
- package/dist/model.d.ts +61 -3
- package/dist/orm.d.ts +130 -82
- package/dist/schema.d.ts +32 -25
- package/dist/seeder.d.ts +3 -1
- package/dist/src/browser.js +824 -0
- package/dist/src/dynamodb/index.js +2301 -0
- package/dist/{index.js → src/index.js} +21466 -20710
- package/dist/type-inference.d.ts +326 -0
- package/dist/types.d.ts +1 -5
- package/package.json +3 -7
package/dist/actions/seed.d.ts
CHANGED
|
@@ -15,4 +15,4 @@ export declare function makeSeeder(name: string): Promise<void>;
|
|
|
15
15
|
* Refresh database and run all seeders
|
|
16
16
|
* This will drop all tables and re-run migrations and seeders
|
|
17
17
|
*/
|
|
18
|
-
export declare function freshDatabase(options?: { seedersDir?: string, modelsDir?: string, verbose?: boolean }): Promise<void>;
|
|
18
|
+
export declare function freshDatabase(options?: { seedersDir?: string, modelsDir?: string, verbose?: boolean }): Promise<void>;
|
package/dist/actions/sql.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SqlOptions } from '../types';
|
|
2
|
-
export declare function sql(dir: string, table: string, opts?: SqlOptions): void;
|
|
2
|
+
export declare function sql(dir: string, table: string, opts?: SqlOptions): void;
|
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): void
|
|
2
|
+
export declare function unsafe(sql: string, opts?: UnsafeOptions): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { WaitReadyOptions } from '../types';
|
|
2
|
-
export declare function waitReady(opts?: WaitReadyOptions): void
|
|
2
|
+
export declare function waitReady(opts?: WaitReadyOptions): Promise<void>;
|