@opra/nestjs 1.0.0-alpha.17 → 1.0.0-alpha.18

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.
@@ -7,7 +7,7 @@ const common_2 = require("@opra/common");
7
7
  const core_1 = require("@opra/core");
8
8
  const path_1 = tslib_1.__importDefault(require("path"));
9
9
  const ts_gems_1 = require("ts-gems");
10
- const public_decorator_1 = require("./decorators/public.decorator");
10
+ const public_decorator_js_1 = require("./decorators/public.decorator.js");
11
11
  const opra_exception_filter_js_1 = require("./services/opra-exception-filter.js");
12
12
  exports.kHandler = Symbol.for('kHandler');
13
13
  class OpraNestAdapter extends core_1.HttpAdapter {
@@ -50,7 +50,7 @@ class OpraNestAdapter extends core_1.HttpAdapter {
50
50
  })
51
51
  ], RootController);
52
52
  if (this.options?.schemaRouteIsPublic) {
53
- (0, public_decorator_1.Public)()(RootController.prototype, 'schema', Object.getOwnPropertyDescriptor(RootController.prototype, 'schema'));
53
+ (0, public_decorator_js_1.Public)()(RootController.prototype, 'schema', Object.getOwnPropertyDescriptor(RootController.prototype, 'schema'));
54
54
  }
55
55
  this.nestControllers.push(RootController);
56
56
  }
@@ -4,7 +4,7 @@ import { ApiDocument, HTTP_CONTROLLER_METADATA, HttpApi, isConstructor, NotFound
4
4
  import { HttpAdapter } from '@opra/core';
5
5
  import nodePath from 'path';
6
6
  import { asMutable } from 'ts-gems';
7
- import { Public } from './decorators/public.decorator';
7
+ import { Public } from './decorators/public.decorator.js';
8
8
  import { OpraExceptionFilter } from './services/opra-exception-filter.js';
9
9
  export const kHandler = Symbol.for('kHandler');
10
10
  export class OpraNestAdapter extends HttpAdapter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/nestjs",
3
- "version": "1.0.0-alpha.17",
3
+ "version": "1.0.0-alpha.18",
4
4
  "description": "Opra NestJS module",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -27,8 +27,8 @@
27
27
  "clean:cover": "rimraf ../../coverage/client"
28
28
  },
29
29
  "dependencies": {
30
- "@opra/common": "^1.0.0-alpha.17",
31
- "@opra/core": "^1.0.0-alpha.17",
30
+ "@opra/common": "^1.0.0-alpha.18",
31
+ "@opra/core": "^1.0.0-alpha.18",
32
32
  "fast-tokenizer": "^1.3.0",
33
33
  "lodash.head": "^4.0.1",
34
34
  "reflect-metadata": "^0.2.2"
@@ -1,5 +1,5 @@
1
1
  import { DynamicModule, MiddlewareConsumer, NestModule, OnModuleDestroy } from '@nestjs/common';
2
- import type { OpraHttpModule } from './opra-http.module';
2
+ import type { OpraHttpModule } from './opra-http.module.js';
3
3
  import { OpraNestAdapter } from './opra-nestjs-adapter.js';
4
4
  export declare class OpraHttpCoreModule implements OnModuleDestroy, NestModule {
5
5
  protected opraAdapter: OpraNestAdapter;
@@ -1,6 +1,6 @@
1
1
  import { Type } from '@nestjs/common';
2
2
  import { HttpAdapter } from '@opra/core';
3
- import type { OpraHttpModule } from './opra-http.module';
3
+ import type { OpraHttpModule } from './opra-http.module.js';
4
4
  export declare const kHandler: unique symbol;
5
5
  export declare class OpraNestAdapter extends HttpAdapter {
6
6
  readonly nestControllers: Type[];