* move connector builder components into the same shared components/connectorBuilder directory * move diff over from poc branch * save current progress * add modal for adding streams * focus stream after adding and reset button style * add reset confirm modal and select view on add * style global config and streams buttons * styling improvements * handle long stream names better * pull in connector manifest schema directly * add box shadows to resizable panels * upgrade orval and use connector manifest schema directly * remove airbyte protocol from connector builder api spec * generate python models from openapi change * fix position of yaml toggle * handle no stream case with better looking message * group global fields into single object and fix console error * confirmation modal on toggling dirty form + cleanup * fix connector name display * undo change to manifest schema * remove commented code * remove unnecessary change * fix spacing * use shadow mixin for connector img * add comment about connector img * change onSubmit to no-op * remove console log * clean up styling * simplify sidebar to remove StreamSelectButton component * swap colors of toggle * move FormikPatch to src/core/form * move types up to connectorBuilder/ level * use grid display for ui yaml toggle button * use spread instead of setting array index directly * add intl in missing places * pull connector manifest schema in through separate openapi spec * use correct intl string id * throttle setting json manifest in yaml editor * use button prop instead of manually styling * consolidate AddStreamButton styles * fix sidebar flex styles * use specific flex properties instead of flex * clean up download and reset button styles * use row-reverse for yaml editor download button * fix stream selector styles to remove margins * give connector setup guide panel same corner and shadow styles * remove blur from page display * set view to stream when selected in test panel * add placeholder when stream name is empty * switch to index-based stream selection to preserve testing panel selected stream on rename * handle empty name in stream selector
64 lines
2.0 KiB
TypeScript
64 lines
2.0 KiB
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",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
connectorBuilder: {
|
|
input: "../airbyte-connector-builder-server/src/main/openapi/openapi.yaml",
|
|
output: {
|
|
target: "./src/core/request/ConnectorBuilderClient.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",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
connectorManifest: {
|
|
input: "./src/services/connectorBuilder/connector_manifest_openapi.yaml",
|
|
output: {
|
|
target: "./src/core/request/ConnectorManifest.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}`] : []),
|
|
],
|
|
},
|
|
},
|
|
},
|
|
});
|