@zhin.js/database 1.0.75 → 1.0.76
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/lib/dialects/mysql.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Dialect } from '../base/index.js';
|
|
1
|
+
import { Dialect, Database } from '../base/index.js';
|
|
2
2
|
import { RelatedDatabase } from "../type/related/database.js";
|
|
3
3
|
import type { ConnectionOptions } from 'mysql2/promise';
|
|
4
|
-
import { Database } from "../base/index.js";
|
|
5
4
|
import { Column, Transaction, TransactionOptions, PoolConfig } from "../types.js";
|
|
6
5
|
export interface MySQLDialectConfig extends ConnectionOptions {
|
|
7
6
|
/**
|
package/lib/dialects/pg.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Dialect } from '../base/index.js';
|
|
1
|
+
import { Dialect, Database } from '../base/index.js';
|
|
2
2
|
import { RelatedDatabase } from "../type/related/database.js";
|
|
3
|
-
import { Database } from "../base/index.js";
|
|
4
3
|
import type { ClientConfig } from 'pg';
|
|
5
4
|
import { Column, Transaction, TransactionOptions, PoolConfig } from "../types.js";
|
|
6
5
|
export interface PostgreSQLDialectConfig extends ClientConfig {
|
package/lib/dialects/redis.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Dialect } from
|
|
1
|
+
import { Dialect, Database } from '../base/index.js';
|
|
2
2
|
import { KeyValueDatabase } from "../type/keyvalue/database.js";
|
|
3
|
-
import { Database } from "../base/index.js";
|
|
4
3
|
import type { RedisClientOptions } from 'redis';
|
|
5
4
|
import { BuildQueryResult, KeyValueQueryResult, DatabaseDialect, QueryParams } from "../types.js";
|
|
6
5
|
export interface RedisDialectConfig extends RedisClientOptions {
|
package/lib/dialects/redis.js
CHANGED
package/lib/dialects/sqlite.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Dialect } from '../base/index.js';
|
|
2
|
-
import { Database } from '../base/index.js';
|
|
1
|
+
import { Dialect, Database } from '../base/index.js';
|
|
3
2
|
import { Column, Transaction, TransactionOptions } from '../types.js';
|
|
4
3
|
import { RelatedDatabase } from '../type/related/database.js';
|
|
5
4
|
export interface SQLiteDialectConfig {
|
package/package.json
CHANGED