@nmxjs/app 1.0.94 → 1.0.95

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,3 +1,4 @@
1
+ /// <reference types="types" />
1
2
  import { ExceptionFilter } from '@nestjs/common';
2
3
  export declare class GqlExceptionFilter implements ExceptionFilter {
3
4
  catch(error: any, host: any): any;
@@ -1,2 +1,2 @@
1
1
  import { ICreateNestAppOptions } from './interfaces';
2
- export declare function createNestApp({ service, module, http }: ICreateNestAppOptions): Promise<void>;
2
+ export declare function createNestApp({ service, module, http }: ICreateNestAppOptions): Promise<any>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="types" />
1
2
  import { DynamicModule } from '@nestjs/common';
2
3
  import { IGetGraphQlModuleOptions } from './interfaces';
3
4
  export declare const checkIsGraphQlModuleExits: () => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="types" />
1
2
  import { ModuleMetadata } from '@nestjs/common';
2
3
  import { IGetGraphQlModuleUseFactoryResult } from './IGetGraphQlModuleUseFactoryResult';
3
4
  export interface IGetGraphQlModuleOptions extends Pick<ModuleMetadata, 'imports'> {
@@ -1 +1 @@
1
- export declare const logAppStarted: (service: string) => void;
1
+ export declare const logAppStarted: (service: string) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmxjs/app",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@nmxjs/constants": "^1.0.4",
30
- "@nmxjs/errors": "^1.0.9",
31
- "@nmxjs/utils": "^1.0.14",
30
+ "@nmxjs/errors": "1.0.12",
31
+ "@nmxjs/utils": "1.0.22",
32
32
  "compression": "^1.7.4",
33
33
  "graphql-ws": "^6.0.3",
34
34
  "helmet": "^8.0.0",
@@ -43,6 +43,7 @@
43
43
  "@nestjs/typeorm": "^11.0.0",
44
44
  "@nestjs/apollo": "^13.0.2",
45
45
  "@nestjs/graphql": "^13.0.2",
46
+ "@nestjs/common": "^10.3.0",
46
47
  "@nmxjs/api": "^1.1.16",
47
48
  "@nmxjs/config": "^1.0.8",
48
49
  "@nmxjs/events": "^1.0.9",
package/types.d.ts CHANGED
@@ -1,3 +1,41 @@
1
+ declare module '@nestjs/microservices' {
2
+ class ClientsModule {
3
+ static register(data);
4
+ }
5
+
6
+ interface MicroserviceOptions {}
7
+
8
+ enum Transport {
9
+ TCP,
10
+ }
11
+ }
12
+
13
+ declare module '@nestjs/common' {
14
+ interface INestApplication {
15
+ get<T>(data);
16
+ connectMicroservice<T>(first, second);
17
+ [key: string]: any;
18
+ }
19
+
20
+ class Logger {
21
+ static log(str);
22
+ }
23
+
24
+ class ModuleMetadata {
25
+ imports: any[];
26
+ }
27
+
28
+ interface ExceptionFilter {}
29
+
30
+ const Catch = (): ClassDecorator => {};
31
+
32
+ class NotFoundException {
33
+ message: string;
34
+ }
35
+
36
+ class DynamicModule {}
37
+ }
38
+
1
39
  declare module '@nestjs/typeorm' {
2
40
  class TypeOrmModule {
3
41
  static forRootAsync: any;
@@ -5,6 +43,7 @@ declare module '@nestjs/typeorm' {
5
43
 
6
44
  type TypeOrmModuleOptions = {};
7
45
  }
46
+
8
47
  declare module '@nestjs/core' {
9
48
  class NestFactory {}
10
49
  }