-
Notifications
You must be signed in to change notification settings - Fork 21
feat(clients): retrieve hosts from spec file #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
84c162a
fix(javascript): fix hosts
shortcuts c03732f
retrieve regions from servers in yml
shortcuts b151ce7
move bash logic to js
shortcuts 01ea31b
apply changes from suggestion
shortcuts b90e36a
awaiiiit
shortcuts b91b9c8
type issue with URL
shortcuts 535a823
Merge branch 'main' into fix/APIC-293/javascript-hosts
shortcuts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"noImplicitAny": false, | ||
"suppressImplicitAnyIndexErrors": true, | ||
"target": "ES6", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"strict": true, | ||
"moduleResolution": "node", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"noLib": false, | ||
"declaration": true, | ||
"lib": ["dom", "es6", "es5", "dom.iterable", "scripthost"], | ||
"outDir": "dist", | ||
"typeRoots": ["node_modules/@types"], | ||
"types": ["node"], | ||
"resolveJsonModule": true | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", | ||
"generator-cli": { | ||
"version": "5.3.0", | ||
"version": "5.4.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've upgraded when trying inlined options, it was not successful but let's upgrade it anyway |
||
"generators": { | ||
"javascript-search": { | ||
"generatorName": "typescript-node", | ||
|
@@ -19,9 +19,7 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-search", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-search", | ||
"isSearchHost": true | ||
"packageName": "@algolia/client-search" | ||
} | ||
}, | ||
"javascript-recommend": { | ||
|
@@ -40,9 +38,7 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/recommend", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/recommend", | ||
"isSearchHost": true | ||
"packageName": "@algolia/recommend" | ||
} | ||
}, | ||
"javascript-personalization": { | ||
|
@@ -60,11 +56,11 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-personalization", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-personalization", | ||
"hasRegionalHost": true, | ||
"isEuHost": true, | ||
"host": "personalization" | ||
"host": "personalization", | ||
"topLevelDomain": "com" | ||
} | ||
}, | ||
"javascript-analytics": { | ||
|
@@ -82,12 +78,12 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-analytics", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-analytics", | ||
"hasRegionalHost": true, | ||
"fallbackToAliasHost": true, | ||
"isDeHost": true, | ||
"fallbackToUS": true, | ||
"host": "analytics" | ||
"host": "analytics", | ||
"topLevelDomain": "com" | ||
} | ||
}, | ||
"javascript-insights": { | ||
|
@@ -105,9 +101,12 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-insights", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-insights", | ||
"host": "insights" | ||
"host": "insights", | ||
"topLevelDomain": "io", | ||
"hasRegionalHost": true, | ||
"fallbackToAliasHost": true, | ||
"isDeHost": true | ||
} | ||
}, | ||
"javascript-abtesting": { | ||
|
@@ -125,11 +124,12 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-abtesting", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-abtesting", | ||
"hasRegionalHost": true, | ||
"fallbackToAliasHost": true, | ||
"isDeHost": true, | ||
"host": "analytics" | ||
"host": "analytics", | ||
"topLevelDomain": "com" | ||
} | ||
}, | ||
"javascript-query-suggestions": { | ||
|
@@ -147,11 +147,11 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-query-suggestions", | ||
"packageVersion": "5.0.0", | ||
|
||
"packageName": "@algolia/client-query-suggestions", | ||
"hasRegionalHost": true, | ||
"isEuHost": true, | ||
"host": "query-suggestions" | ||
"host": "query-suggestions", | ||
"topLevelDomain": "com" | ||
} | ||
}, | ||
"javascript-sources": { | ||
|
@@ -169,11 +169,11 @@ | |
"supportsES6": true, | ||
"npmName": "@algolia/client-sources", | ||
"packageVersion": "0.0.1", | ||
|
||
"packageName": "@algolia/client-sources", | ||
"hasRegionalHost": true, | ||
"isDeHost": true, | ||
"host": "data" | ||
"host": "data", | ||
"topLevelDomain": "com" | ||
} | ||
}, | ||
"java-search": { | ||
|
@@ -195,10 +195,9 @@ | |
"sourceFolder": "algoliasearch-core", | ||
"java8": true, | ||
"dateLibrary": "java8", | ||
|
||
"packageName": "algoliasearch-client-java-2" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
{ | ||
"extends": "../base.tsconfig.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"noImplicitAny": false, | ||
"suppressImplicitAnyIndexErrors": true, | ||
"target": "ES6", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"strict": true, | ||
"moduleResolution": "node", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"noLib": false, | ||
"declaration": true, | ||
"lib": ["dom", "es6", "es5", "dom.iterable", "scripthost"], | ||
"outDir": "dist", | ||
"typeRoots": ["node_modules/@types"] | ||
"outDir": "dist" | ||
}, | ||
"include": ["*.ts"] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.