Skip to content

Commit

Permalink
chore(deps): update all dependencies (#760)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 9, 2024
1 parent dad2e9e commit d5cfdf4
Show file tree
Hide file tree
Showing 9 changed files with 668 additions and 969 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Install Node & NPM dependencies'
runs:
using: composite
steps:
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
cache: 'npm'
node-version-file: '.nvmrc'
Expand Down
1,520 changes: 610 additions & 910 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@types/jest": "29.5.6",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"@commitlint/cli": "18.4.4",
"@commitlint/config-conventional": "18.4.4",
"@types/jest": "29.5.11",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"abortcontroller-polyfill": "1.7.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-typescript": "3.0.0",
"eslint-plugin-jest": "27.4.3",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-jest": "27.6.1",
"eslint-plugin-prettier": "5.1.2",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-fetch-mock": "3.0.3",
"jest-runner-eslint": "2.1.2",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"semantic-release": "22.0.5",
"lint-staged": "15.2.0",
"prettier": "3.1.1",
"semantic-release": "22.0.12",
"ts-jest": "29.1.1",
"tsjs": "5.0.1",
"tslib": "2.6.2",
"typescript": "5.2.2"
"typescript": "5.3.3"
},
"prettier": "tsjs/prettier-config",
"lint-staged": {
Expand Down
6 changes: 3 additions & 3 deletions src/resources/Activities/ActivitiesInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface ActivityFacetModel {

export interface ActivitiesResourceAndOperations {
/**
* Contains resources and their corresponding operations, where the key is the name of the resource.
*/
[key:string]: ActivityOperation[]
* Contains resources and their corresponding operations, where the key is the name of the resource.
*/
[key: string]: ActivityOperation[];
}
4 changes: 2 additions & 2 deletions src/resources/NextGenSearchPages/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './NextGenSearchPages.js'
export * from './NextGenSearchPages.model.js'
export * from './NextGenSearchPages.js';
export * from './NextGenSearchPages.model.js';
8 changes: 2 additions & 6 deletions src/resources/Organizations/tests/Organizations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,7 @@ describe('Organization', () => {

expect(api.put).toHaveBeenCalledTimes(1);
expect(api.put).toHaveBeenCalledWith(
`${
Organization.baseUrl
}/{organizationName}/machinelearning/orgconfiguration/servingExperimentAllowed?isAllowed=${false}`,
`${Organization.baseUrl}/{organizationName}/machinelearning/orgconfiguration/servingExperimentAllowed?isAllowed=${false}`,
);
});

Expand All @@ -277,9 +275,7 @@ describe('Organization', () => {

expect(api.put).toHaveBeenCalledTimes(1);
expect(api.put).toHaveBeenCalledWith(
`${
Organization.baseUrl
}/{organizationName}/machinelearning/orgconfiguration/servingExperimentAllowed?isAllowed=${true}`,
`${Organization.baseUrl}/{organizationName}/machinelearning/orgconfiguration/servingExperimentAllowed?isAllowed=${true}`,
);
});
});
Expand Down
17 changes: 10 additions & 7 deletions src/resources/Pipelines/Pipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export default class Pipelines extends Resource {
groups: StatementGroups;
facetRules: FacetStateRules;

constructor(protected api: API, protected serverlessApi: API) {
constructor(
protected api: API,
protected serverlessApi: API,
) {
super(api, serverlessApi);

this.associations = new MLAssociations(api, serverlessApi);
Expand All @@ -39,23 +42,23 @@ export default class Pipelines extends Resource {

list<ListPipelinesVariant extends ListPipelinesOptions>(options?: ListPipelinesVariant) {
return this.api.get<ListPipelinesReturnVariant<ListPipelinesVariant>>(
this.buildPath(Pipelines.searchUrlVersion1, {organizationId: this.api.organizationId, ...options})
this.buildPath(Pipelines.searchUrlVersion1, {organizationId: this.api.organizationId, ...options}),
);
}

get(pipelineId: string) {
return this.api.get<PipelineModel>(
this.buildPath(`${Pipelines.searchUrlVersion1}/${pipelineId}`, {
organizationId: this.api.organizationId,
})
}),
);
}

delete(pipelineId: string) {
return this.api.delete(
this.buildPath(`${Pipelines.searchUrlVersion1}/${pipelineId}`, {
organizationId: this.api.organizationId,
})
}),
);
}

Expand All @@ -64,7 +67,7 @@ export default class Pipelines extends Resource {
this.buildPath(`${Pipelines.searchUrlVersion1}/${pipeline.id}`, {
organizationId: this.api.organizationId,
}),
pipeline
pipeline,
);
}

Expand All @@ -73,7 +76,7 @@ export default class Pipelines extends Resource {
this.buildPath(`${Pipelines.searchUrlVersion1}/${pipelineId}/duplicate`, {
organizationId: this.api.organizationId,
}),
granularResource
granularResource,
);
}

Expand All @@ -82,7 +85,7 @@ export default class Pipelines extends Resource {
this.buildPath(Pipelines.searchUrlVersion1, {
organizationId: this.api.organizationId,
}),
pipeline
pipeline,
);
}
}
52 changes: 26 additions & 26 deletions src/resources/SearchAnalysis/SearchAnalysisInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,32 +241,32 @@ export type MappedExecutionSteps = {
[T in AvailableExecutionStep]: T extends 'pipelineSelection'
? QueryPipelineSelection
: T extends 'paramOverrides'
? QueryParamOverrides
: T extends 'thesaurus'
? Thesaurus
: T extends 'stopWords'
? StopWords
: T extends 'filters'
? Filters
: T extends 'rankingExpressions'
? RankingExpressions
: T extends 'featuredResults'
? FeaturedResults
: T extends 'rankingWeights'
? RankingWeights
: T extends 'contentRecommendation'
? ContentRecommendation
: T extends 'productRecommendation'
? ProductRecommendation
: T extends 'art'
? AutomaticRelevanceTuning
: T extends 'dne'
? DynamicNavigationExperience
: T extends 'triggers'
? Triggers
: T extends 'indexQuery'
? IndexQuery
: unknown;
? QueryParamOverrides
: T extends 'thesaurus'
? Thesaurus
: T extends 'stopWords'
? StopWords
: T extends 'filters'
? Filters
: T extends 'rankingExpressions'
? RankingExpressions
: T extends 'featuredResults'
? FeaturedResults
: T extends 'rankingWeights'
? RankingWeights
: T extends 'contentRecommendation'
? ContentRecommendation
: T extends 'productRecommendation'
? ProductRecommendation
: T extends 'art'
? AutomaticRelevanceTuning
: T extends 'dne'
? DynamicNavigationExperience
: T extends 'triggers'
? Triggers
: T extends 'indexQuery'
? IndexQuery
: unknown;
};

/**
Expand Down

0 comments on commit d5cfdf4

Please sign in to comment.