@knowledge-stack/ksapi 1.115.1 → 1.115.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/esm/models/CatalogTableResponse.d.ts +6 -0
- package/dist/esm/models/CatalogTableResponse.js +2 -0
- package/dist/models/CatalogTableResponse.d.ts +6 -0
- package/dist/models/CatalogTableResponse.js +2 -0
- package/docs/CatalogTableResponse.md +2 -0
- package/package.json +1 -1
- package/src/models/CatalogTableResponse.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.115.
|
|
1
|
+
# @knowledge-stack/ksapi@1.115.2
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -583,7 +583,7 @@ and is automatically generated by the
|
|
|
583
583
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
584
584
|
|
|
585
585
|
- API version: `0.1.0`
|
|
586
|
-
- Package version: `1.115.
|
|
586
|
+
- Package version: `1.115.2`
|
|
587
587
|
- Generator version: `7.21.0`
|
|
588
588
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
589
589
|
|
|
@@ -28,6 +28,12 @@ export interface CatalogTableResponse {
|
|
|
28
28
|
* @memberof CatalogTableResponse
|
|
29
29
|
*/
|
|
30
30
|
schemaName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof CatalogTableResponse
|
|
35
|
+
*/
|
|
36
|
+
isView?: boolean;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<CatalogColumnResponse>}
|
|
@@ -35,6 +35,7 @@ export function CatalogTableResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return {
|
|
36
36
|
'name': json['name'],
|
|
37
37
|
'schemaName': json['schema_name'],
|
|
38
|
+
'isView': json['is_view'] == null ? undefined : json['is_view'],
|
|
38
39
|
'columns': (json['columns'].map(CatalogColumnResponseFromJSON)),
|
|
39
40
|
};
|
|
40
41
|
}
|
|
@@ -48,6 +49,7 @@ export function CatalogTableResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
48
49
|
return {
|
|
49
50
|
'name': value['name'],
|
|
50
51
|
'schema_name': value['schemaName'],
|
|
52
|
+
'is_view': value['isView'],
|
|
51
53
|
'columns': (value['columns'].map(CatalogColumnResponseToJSON)),
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -28,6 +28,12 @@ export interface CatalogTableResponse {
|
|
|
28
28
|
* @memberof CatalogTableResponse
|
|
29
29
|
*/
|
|
30
30
|
schemaName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof CatalogTableResponse
|
|
35
|
+
*/
|
|
36
|
+
isView?: boolean;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<CatalogColumnResponse>}
|
|
@@ -43,6 +43,7 @@ function CatalogTableResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
return {
|
|
44
44
|
'name': json['name'],
|
|
45
45
|
'schemaName': json['schema_name'],
|
|
46
|
+
'isView': json['is_view'] == null ? undefined : json['is_view'],
|
|
46
47
|
'columns': (json['columns'].map(CatalogColumnResponse_1.CatalogColumnResponseFromJSON)),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
@@ -56,6 +57,7 @@ function CatalogTableResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
57
|
return {
|
|
57
58
|
'name': value['name'],
|
|
58
59
|
'schema_name': value['schemaName'],
|
|
60
|
+
'is_view': value['isView'],
|
|
59
61
|
'columns': (value['columns'].map(CatalogColumnResponse_1.CatalogColumnResponseToJSON)),
|
|
60
62
|
};
|
|
61
63
|
}
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`name` | string
|
|
10
10
|
`schemaName` | string
|
|
11
|
+
`isView` | boolean
|
|
11
12
|
`columns` | [Array<CatalogColumnResponse>](CatalogColumnResponse.md)
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -19,6 +20,7 @@ import type { CatalogTableResponse } from '@knowledge-stack/ksapi'
|
|
|
19
20
|
const example = {
|
|
20
21
|
"name": null,
|
|
21
22
|
"schemaName": null,
|
|
23
|
+
"isView": null,
|
|
22
24
|
"columns": null,
|
|
23
25
|
} satisfies CatalogTableResponse
|
|
24
26
|
|
package/package.json
CHANGED
|
@@ -39,6 +39,12 @@ export interface CatalogTableResponse {
|
|
|
39
39
|
* @memberof CatalogTableResponse
|
|
40
40
|
*/
|
|
41
41
|
schemaName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CatalogTableResponse
|
|
46
|
+
*/
|
|
47
|
+
isView?: boolean;
|
|
42
48
|
/**
|
|
43
49
|
*
|
|
44
50
|
* @type {Array<CatalogColumnResponse>}
|
|
@@ -86,6 +92,7 @@ export function CatalogTableResponseFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
86
92
|
|
|
87
93
|
'name': json['name'],
|
|
88
94
|
'schemaName': json['schema_name'],
|
|
95
|
+
'isView': json['is_view'] == null ? undefined : json['is_view'],
|
|
89
96
|
'columns': ((json['columns'] as Array<any>).map(CatalogColumnResponseFromJSON)),
|
|
90
97
|
};
|
|
91
98
|
}
|
|
@@ -103,6 +110,7 @@ export function CatalogTableResponseToJSONTyped(value?: CatalogTableResponse | n
|
|
|
103
110
|
|
|
104
111
|
'name': value['name'],
|
|
105
112
|
'schema_name': value['schemaName'],
|
|
113
|
+
'is_view': value['isView'],
|
|
106
114
|
'columns': ((value['columns'] as Array<any>).map(CatalogColumnResponseToJSON)),
|
|
107
115
|
};
|
|
108
116
|
}
|