@opra/elastic 1.27.1 → 1.27.4

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,5 +1,6 @@
1
1
  import '@opra/core';
2
2
  import { OpraFilter } from '@opra/common';
3
+ import {} from '../elastic-adapter.js';
3
4
  /**
4
5
  * Prepares an Elasticsearch filter query from the provided input.
5
6
  *
@@ -1,4 +1,4 @@
1
- import { ComplexType, parseFieldsProjection, } from '@opra/common';
1
+ import { ApiField, ComplexType, FieldsProjection, parseFieldsProjection, } from '@opra/common';
2
2
  /**
3
3
  * Prepares an Elasticsearch projection object from the provided fields projection.
4
4
  *
@@ -1,3 +1,4 @@
1
+ import { OpraFilter } from '@opra/common';
1
2
  import _prepareFilter from './adapter-utils/prepare-filter.js';
2
3
  import _preparePatch from './adapter-utils/prepare-patch.js';
3
4
  import _prepareProjection from './adapter-utils/prepare-projection.js';
@@ -1,6 +1,8 @@
1
1
  import { ResourceNotAvailableError } from '@opra/common';
2
+ import { ExecutionContext, ServiceBase } from '@opra/core';
2
3
  import { ElasticAdapter } from './elastic-adapter.js';
3
4
  import { ElasticEntityService } from './elastic-entity-service.js';
5
+ import { ElasticService } from './elastic-service.js';
4
6
  /**
5
7
  * Class representing an Elasticsearch collection service for interacting with an Elasticsearch index.
6
8
  *
@@ -1,4 +1,4 @@
1
- import { DATATYPE_METADATA, InternalServerError, } from '@opra/common';
1
+ import { ComplexType, DataType, DATATYPE_METADATA, InternalServerError, } from '@opra/common';
2
2
  import { isNotNullish } from 'valgen';
3
3
  import { ElasticAdapter } from './elastic-adapter.js';
4
4
  import { ElasticService } from './elastic-service.js';
@@ -1,3 +1,4 @@
1
+ import { Client } from '@elastic/elasticsearch';
1
2
  import { ServiceBase } from '@opra/core';
2
3
  /**
3
4
  * Class representing a Elasticsearch service for interacting with a collection.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/elastic",
3
- "version": "1.27.1",
3
+ "version": "1.27.4",
4
4
  "description": "Opra Elastic Search adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "@elastic/elasticsearch": ">=8.7.0 <10",
14
- "@opra/common": "^1.27.1",
15
- "@opra/core": "^1.27.1"
14
+ "@opra/common": "^1.27.4",
15
+ "@opra/core": "^1.27.4"
16
16
  },
17
17
  "type": "module",
18
18
  "module": "./index.js",