@starbemtech/star-db-query-builder 1.0.8 → 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 CHANGED
@@ -1,6 +1,5 @@
1
1
  import { PoolConfig as PgPoolConfig } from 'pg';
2
2
  import { PoolOptions as MySqlPoolOptions } from 'mysql2';
3
- import { Conditions as TypeConditions } from './src/default/types';
4
3
  export * from './src/db/initDb';
5
4
  export * from './src/default/genericRepository';
6
- export type { PgPoolConfig, MySqlPoolOptions, TypeConditions };
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":";;;;;;;;;;;;;;;;AAIA,UAAU;AACV,kDAA+B;AAE/B,qBAAqB;AACrB,kEAA+C"}
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 as TypeConditions } 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, TypeConditions }
11
+ export type { PgPoolConfig, MySqlPoolOptions }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starbemtech/star-db-query-builder",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "A query builder to be used with mysql or postgres",
5
5
  "author": "Julio Sousa <julio.sousa@starbem.app>",
6
6
  "main": "./dist/index.js",