-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathopenapi-fixes.patch
More file actions
66 lines (65 loc) · 2.05 KB
/
Copy pathopenapi-fixes.patch
File metadata and controls
66 lines (65 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
This patch fixes bugs in output from `yarn generate-openapi && yarn format`.
diff --git b/web-console/src/lib/services/manager/models/ColumnType.ts a/web-console/src/lib/services/manager/models/ColumnType.ts
index 8484d2bea..953d53760 100644
--- b/web-console/src/lib/services/manager/models/ColumnType.ts
+++ a/web-console/src/lib/services/manager/models/ColumnType.ts
@@ -57,5 +57,5 @@ export type ColumnType = {
* - `DECIMAL(1,2)` sets scale to `2`.
*/
scale?: number | null
- type?: SqlType
+ type: SqlType
}
diff --git b/web-console/src/lib/services/manager/models/TransportConfig.ts a/web-console/src/lib/services/manager/models/TransportConfig.ts
index 8c3a364bc..273fa0299 100644
--- b/web-console/src/lib/services/manager/models/TransportConfig.ts
+++ a/web-console/src/lib/services/manager/models/TransportConfig.ts
@@ -16,33 +16,38 @@ import type { UrlInputConfig } from './UrlInputConfig'
export type TransportConfig =
| {
config: FileInputConfig
- name: TransportConfig.name
+ name: TransportConfig.name.FILE_INPUT
}
| {
config: FileOutputConfig
- name: TransportConfig.name
+ name: TransportConfig.name.FILE_OUTPUT
}
| {
config: KafkaInputConfig
- name: TransportConfig.name
+ name: TransportConfig.name.KAFKA_INPUT
}
| {
config: KafkaOutputConfig
- name: TransportConfig.name
+ name: TransportConfig.name.KAFKA_OUTPUT
}
| {
config: UrlInputConfig
- name: TransportConfig.name
+ name: TransportConfig.name.URL_INPUT
}
| {
config: S3InputConfig
- name: TransportConfig.name
- }
- | {
- name: TransportConfig.name
+ name: TransportConfig.name.S3_INPUT
}
+
export namespace TransportConfig {
export enum name {
- FILE_INPUT = 'file_input'
+ FILE_INPUT = 'file_input',
+ FILE_OUTPUT = 'file_output',
+ KAFKA_INPUT = 'kafka_input',
+ KAFKA_OUTPUT = 'kafka_output',
+ URL_INPUT = 'url_input',
+ S3_INPUT = 's3_input',
+ HTTP_INPUT = 'http_input',
+ HTTP_OUTPUT = 'http_output'
}
}