@starbemtech/star-db-query-builder 1.0.7 → 1.0.9
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/index.d.ts +1 -2
- package/dist/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.ts +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PoolConfig as PgPoolConfig } from 'pg';
|
|
2
2
|
import { PoolOptions as MySqlPoolOptions } from 'mysql2';
|
|
3
|
-
import { Conditions } from './src/default/types';
|
|
4
3
|
export * from './src/db/initDb';
|
|
5
4
|
export * from './src/default/genericRepository';
|
|
6
|
-
export type { PgPoolConfig, MySqlPoolOptions
|
|
5
|
+
export type { PgPoolConfig, MySqlPoolOptions };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,UAAU;AACV,kDAA+B;AAE/B,qBAAqB;AACrB,kEAA+C"}
|
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DBClients, QueryParams, Conditions } from './src/default/types'
|
|
|
3
3
|
|
|
4
4
|
export declare function initDb<T>(config: { type: DBClients; options: T }): void
|
|
5
5
|
export declare function getDbClient(): IDatabaseClient
|
|
6
|
-
export { Conditions }
|
|
6
|
+
export type { Conditions }
|
|
7
7
|
|
|
8
8
|
export declare function findFirst<T>({
|
|
9
9
|
tableName,
|
package/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PoolConfig as PgPoolConfig } from 'pg'
|
|
2
2
|
import { PoolOptions as MySqlPoolOptions } from 'mysql2'
|
|
3
|
-
import { Conditions } from './src/default/types'
|
|
4
3
|
|
|
5
4
|
// Configs
|
|
6
5
|
export * from './src/db/initDb'
|
|
@@ -9,4 +8,4 @@ export * from './src/db/initDb'
|
|
|
9
8
|
export * from './src/default/genericRepository'
|
|
10
9
|
|
|
11
10
|
// Types Definition
|
|
12
|
-
export type { PgPoolConfig, MySqlPoolOptions
|
|
11
|
+
export type { PgPoolConfig, MySqlPoolOptions }
|
package/package.json
CHANGED