@sqb/nestjs 4.26.1 → 5.0.1

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 CHANGED
@@ -49,7 +49,7 @@ All environment variables starts with prefix (SQB\_). This can be configured whi
49
49
  <!--- BEGIN env --->
50
50
 
51
51
  | Environment Variable | Type | Default | Description |
52
- |------------------------------|---------|---------|-------------------------------------------------------|
52
+ | ---------------------------- | ------- | ------- | ----------------------------------------------------- |
53
53
  | SQB_DIALECT | String | | Database dialect (e.g. postgres, mysql, oracle) |
54
54
  | SQB_CONNECTION_NAME | String | | Logical name of the database connection |
55
55
  | SQB_HOST | String | | Database server host address |
@@ -93,4 +93,3 @@ SQB is available under [MIT](LICENSE) license.
93
93
  [devdependencies-url]: https://david-dm.org/sqbjs/@sqb/nestjs?type=dev
94
94
  [quality-image]: http://npm.packagequality.com/shield/@sqb/nestjs.png
95
95
  [quality-url]: http://packagequality.com/#?package=@sqb/nestjs
96
-
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqb/nestjs",
3
3
  "description": "Nestjs module for data connection using SQB",
4
- "version": "4.26.1",
4
+ "version": "5.0.1",
5
5
  "author": "Panates",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {
@@ -13,8 +13,8 @@
13
13
  "peerDependencies": {
14
14
  "@nestjs/common": ">=7.4.0",
15
15
  "@nestjs/core": ">=7.4.0",
16
- "@sqb/builder": "^4.26.1",
17
- "@sqb/connect": "^4.26.1",
16
+ "@sqb/builder": "^5.0.1",
17
+ "@sqb/connect": "^5.0.1",
18
18
  "reflect-metadata": "^0.2.2",
19
19
  "rxjs": ">=6.6.0"
20
20
  },
@@ -1,4 +1,4 @@
1
- import { DynamicModule, Logger, OnApplicationBootstrap, OnApplicationShutdown } from '@nestjs/common';
1
+ import { type DynamicModule, Logger, type OnApplicationBootstrap, type OnApplicationShutdown } from '@nestjs/common';
2
2
  import { SqbClient } from '@sqb/connect';
3
3
  import type { SqbClientConnectionOptions, SqbModuleAsyncOptions, SqbModuleOptions } from './sqb.interface.js';
4
4
  export declare class SqbCoreModule implements OnApplicationBootstrap, OnApplicationShutdown {
@@ -1,5 +1,5 @@
1
1
  import type { InjectionToken, LoggerService } from '@nestjs/common';
2
- import type { ModuleMetadata } from '@nestjs/common/interfaces';
2
+ import type { ModuleMetadata } from '@nestjs/common/interfaces/index.js';
3
3
  import type { ClientConfiguration } from '@sqb/connect';
4
4
  export interface SqbClientConnectionOptions extends ClientConfiguration {
5
5
  /**
package/sqb.module.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- import { SqbModuleAsyncOptions, SqbModuleOptions } from './sqb.interface.js';
1
+ import { type DynamicModule } from '@nestjs/common';
2
+ import type { SqbModuleAsyncOptions, SqbModuleOptions } from './sqb.interface.js';
3
3
  export declare class SqbModule {
4
4
  static forRoot(options?: SqbModuleOptions): DynamicModule;
5
5
  static forRootAsync(options: SqbModuleAsyncOptions): DynamicModule;