@opra/core 1.27.0 → 1.27.2

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
+ import { DocumentNode, OpraSchema } from '@opra/common';
1
2
  import { AsyncEventEmitter } from 'node-events-async';
2
3
  /**
3
4
  * ExecutionContext provides a context for executing operations within an adapter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/core",
3
- "version": "1.27.0",
3
+ "version": "1.27.2",
4
4
  "description": "Opra schema package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "tslib": "^2.8.1"
11
11
  },
12
12
  "peerDependencies": {
13
- "@opra/common": "^1.27.0"
13
+ "@opra/common": "^1.27.2"
14
14
  },
15
15
  "type": "module",
16
16
  "module": "./index.js",
@@ -1,10 +1,10 @@
1
1
  import './augmentation/18n.augmentation.js';
2
2
  import { ApiDocument, I18n, OpraSchema } from '@opra/common';
3
- import { AsyncEventEmitter, EventMap } from 'node-events-async';
3
+ import { AsyncEventEmitter, type EventMap } from 'node-events-async';
4
4
  import { AssetCache } from './asset-cache.js';
5
5
  import { kAssetCache } from './constants.js';
6
6
  import { ExecutionContext } from './execution-context.js';
7
- import { ILogger } from './interfaces/logger.interface.js';
7
+ import type { ILogger } from './interfaces/logger.interface.js';
8
8
  /**
9
9
  * Base class for all platform adapters in the OPRA framework.
10
10
  * A platform adapter bridge between a specific platform (like Express, Socket.io, etc.)
@@ -1,5 +1,5 @@
1
1
  import './augmentation/18n.augmentation.js';
2
- import { I18n } from '@opra/common';
2
+ import { ApiDocument, I18n, OpraSchema } from '@opra/common';
3
3
  import { AsyncEventEmitter } from 'node-events-async';
4
4
  import { AssetCache } from './asset-cache.js';
5
5
  import { kAssetCache } from './constants.js';