* Build added to gradle * Generated the api client * Removing probably * Import sorting * Looks to be working, ready for demoing * testing and cleanup * Don't need a script * Success. * Remove extra line * Going with this * App builds * More services converted * source auth service converted * source definition service done * Deployment service converted * Missed a line * Hopefully Jobs aren't broken, but needs testing * notification and logs service * workspace service swapped * health service done * workspace service cloud * rename stripe service typo * First pass done * Contexts make things difficult at times * `options` is optional always as far as I can tell * minor cleanup * Fixed TODO * Unnecessary async * This is marginally better. * Cleanup * Minor optional missing * Updated from master * Fix build * Better ts * disabling `any` eslint rule for generated file * Converted to a hook attempting to fix a weird bug from export * * Tim Code Review * Type improvements * Import sorting error * Remove unused service * Tim minor code review * Use generated API over old method * Do not lint generated api * Move replace for future-proofing * More steps towards removing v1 from the api url. * Not needed * Cleaned up * Remove comment * Matching master * log download works * Hard-typing request options * Fixing import * GeneratedApi -> AirbyteClient * Removing weird non-comments * Linting didn't hit on a few pages * regenerated generated client * Better comment * Builds * Log types corrected * Logs more fixed * Bugfixes * minor cleanup * generated client * Fixing some e2e errors * Fixing build bugs * test to see if this makes CI e2e pass * Edmundo code review * More CR * better types * Fixed normalization I think * cleanup * Cleaning up types * Remove old type * Remove more unused types * More type cleanup * Regenerated client & fixed build * Improvements, and one bugfix * Better normalization selection logic * Remove errant console.log ty Teal * Fixing broken normalization * Fix issue with v1 in cloud envs * Adjust master merge error * Automatically prettify generated code * Remove duplicate slash from URLs * Update airbyte-webapp/src/components/JobItem/JobItem.tsx Co-authored-by: Vladimir <volodymyr.s.petrov@globallogic.com> * Update airbyte-webapp/src/components/JobItem/JobItem.tsx Co-authored-by: Vladimir <volodymyr.s.petrov@globallogic.com> * Fix attempt summary * Fix showing correct log * Regenerate API client Co-authored-by: Tim Roes <tim@airbyte.io> Co-authored-by: Vladimir <volodymyr.s.petrov@globallogic.com> Co-authored-by: Tim Roes <mail@timroes.de>
26 lines
744 B
TypeScript
26 lines
744 B
TypeScript
import { defineConfig } from "orval";
|
|
|
|
export default defineConfig({
|
|
api: {
|
|
input: "../airbyte-api/src/main/openapi/config.yaml",
|
|
output: {
|
|
target: "./src/core/request/AirbyteClient.ts",
|
|
prettier: true,
|
|
override: {
|
|
header: (info) => [
|
|
`eslint-disable`,
|
|
`Generated by orval 🍺`,
|
|
`Do not edit manually. Run "npm run generate-client" instead.`,
|
|
...(info.title ? [info.title] : []),
|
|
...(info.description ? [info.description] : []),
|
|
...(info.version ? [`OpenAPI spec version: ${info.version}`] : []),
|
|
],
|
|
mutator: {
|
|
path: "./src/core/request/apiOverride.ts",
|
|
name: "apiOverride",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|