Skip to content

Commit

Permalink
Merge pull request #1340 from terascope/bundled-deps-2025-01-14
Browse files Browse the repository at this point in the history
Bundled deps 2025-01-14
  • Loading branch information
busma13 authored Jan 16, 2025
2 parents e092103 + 194f69a commit 9286ab2
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 220 deletions.
10 changes: 5 additions & 5 deletions asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"test": "yarn --cwd ../ test"
},
"dependencies": {
"@terascope/data-mate": "~1.6.0",
"@terascope/elasticsearch-api": "~4.6.0",
"@terascope/data-mate": "~1.7.2",
"@terascope/elasticsearch-api": "~4.7.1",
"@terascope/elasticsearch-asset-apis": "~1.0.5",
"@terascope/job-components": "~1.8.0",
"@terascope/teraslice-state-storage": "~1.6.0",
"@terascope/utils": "~1.6.0",
"@terascope/job-components": "~1.9.1",
"@terascope/teraslice-state-storage": "~1.7.1",
"@terascope/utils": "~1.7.1",
"datemath-parser": "~1.0.6",
"got": "~13.0.0",
"moment": "~2.30.1"
Expand Down
2 changes: 1 addition & 1 deletion asset/src/__lib/DateReaderAPISlicer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class DateReaderAPISlicer extends ParallelSlicer<ESDateConfig> {
// NOTE ORDER MATTERS
// a parallel slicer initialize calls newSlicer multiple times
// need to make api before newSlicer is called
const apiName = this.opConfig.api_name;
const apiName = this.opConfig.api_name as string;
const apiManager = this.getAPI<ElasticReaderFactoryAPI>(apiName);
this.api = await apiManager.create(apiName, {});

Expand Down
2 changes: 1 addition & 1 deletion asset/src/__lib/ReaderAPIFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class ReaderAPIFetcher extends Fetcher<ESDateConfig> {
api!: ElasticsearchReaderAPI;

async initialize(): Promise<void> {
const apiName = this.opConfig.api_name;
const apiName = this.opConfig.api_name as string;
const apiManager = this.getAPI<ElasticReaderFactoryAPI>(apiName);
this.api = await apiManager.create(apiName, {});
await super.initialize();
Expand Down
1 change: 1 addition & 0 deletions asset/src/elasticsearch_bulk/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import { ElasticsearchAPISenderConfig } from '../elasticsearch_sender_api/interf

export interface ElasticsearchBulkConfig extends ElasticsearchAPISenderConfig, OpConfig {
api_name: string;
connection: string;
}
1 change: 1 addition & 0 deletions asset/src/elasticsearch_reader/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ESReaderOptions, SpacesAPIConfig } from '@terascope/elasticsearch-asset

export interface ESReaderConfig extends ESReaderOptions, OpConfig {
api_name: string;
connection: string;
}

export type ESDateConfig = ESReaderConfig | SpacesAPIConfig;
4 changes: 3 additions & 1 deletion asset/src/spaces_reader/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { OpConfig } from '@terascope/job-components';
import { SpacesAPIConfig } from '@terascope/elasticsearch-asset-apis';

export interface AssetSpacesAPIConfig extends OpConfig, SpacesAPIConfig {}
export interface AssetSpacesAPIConfig extends OpConfig, SpacesAPIConfig {
connection: string;
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,26 @@
"test:watch": "ts-scripts test --watch asset --"
},
"devDependencies": {
"@terascope/data-types": "~1.6.0",
"@terascope/elasticsearch-api": "~4.6.0",
"@terascope/data-types": "~1.7.1",
"@terascope/elasticsearch-api": "~4.7.1",
"@terascope/elasticsearch-asset-apis": "~1.0.5",
"@terascope/eslint-config": "~1.1.3",
"@terascope/job-components": "~1.8.0",
"@terascope/scripts": "~1.7.1",
"@terascope/teraslice-state-storage": "~1.6.0",
"@terascope/types": "~1.3.1",
"@types/bluebird": "~3.5.38",
"@terascope/eslint-config": "~1.1.4",
"@terascope/job-components": "~1.9.1",
"@terascope/scripts": "~1.9.0",
"@terascope/teraslice-state-storage": "~1.7.1",
"@terascope/types": "~1.4.1",
"@types/bluebird": "~3.5.42",
"@types/got": "~9.6.12",
"@types/jest": "~29.5.14",
"@types/node": "~22.10.3",
"elasticsearch-store": "~1.6.0",
"eslint": "~9.17.0",
"@types/node": "~22.10.6",
"elasticsearch-store": "~1.7.2",
"eslint": "~9.18.0",
"jest": "~29.7.0",
"jest-extended": "~4.0.2",
"moment": "~2.30.1",
"nock": "~13.5.6",
"node-notifier": "~10.0.1",
"teraslice-test-harness": "~1.2.1",
"teraslice-test-harness": "~1.3.1",
"ts-jest": "~29.2.5",
"typescript": "~5.2.2"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/elasticsearch-asset-apis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
"test:watch": "TEST_ELASTICSEARCH='true' ts-scripts test --watch . --"
},
"dependencies": {
"@terascope/data-mate": "~1.6.0",
"@terascope/data-types": "~1.6.0",
"@terascope/elasticsearch-api": "~4.6.0",
"@terascope/utils": "~1.6.0",
"@terascope/data-mate": "~1.7.2",
"@terascope/data-types": "~1.7.1",
"@terascope/elasticsearch-api": "~4.7.1",
"@terascope/utils": "~1.7.1",
"datemath-parser": "~1.0.6",
"got": "~13.0.0",
"moment": "~2.30.1"
},
"devDependencies": {
"@terascope/scripts": "^1.9.0",
"@terascope/types": "~1.3.1",
"@types/node": "~22.10.3",
"@terascope/types": "~1.4.1",
"@types/node": "~22.10.6",
"jest": "~29.7.0"
},
"engines": {
Expand Down
Loading

0 comments on commit 9286ab2

Please sign in to comment.