@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.
@@ -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
  /**
@@ -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 {
@@ -1,6 +1,5 @@
1
- import { Dialect } from "../base/index.js";
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 {
@@ -1,4 +1,4 @@
1
- import { Dialect } from "../base/index.js";
1
+ import { Dialect } from '../base/index.js';
2
2
  import { KeyValueDatabase } from "../type/keyvalue/database.js";
3
3
  import { Registry } from "../registry.js";
4
4
  export class RedisDialect extends Dialect {
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/database",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Universal database abstraction layer for Zhin.js - supports SQLite, MySQL, PostgreSQL, MongoDB, Redis",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",