@cellaware/utils 5.3.6 → 5.4.1

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.
@@ -21,10 +21,10 @@ export interface ChatWMSProduct extends ChatWMSProductBase {
21
21
  tables: ChatWMSProductTable[];
22
22
  notes: ChatWMSProductNote[];
23
23
  examples: ChatWMSProductExample[];
24
- columnDescriptions: any;
25
- columnComments: any;
26
- tableMappings: any;
27
- columnMappings: any;
24
+ columnDescriptions: ChatWMSProductColumnDescription[];
25
+ columnComments: ChatWMSProductColumnComment[];
26
+ tableMappings: ChatWMSProductTableMapping[];
27
+ columnMappings: ChatWMSProductColumnMapping[];
28
28
  analysis: any[];
29
29
  }
30
30
  export declare function initChatWMSProduct(): ChatWMSProduct;
@@ -49,3 +49,21 @@ export interface ChatWMSProductExample {
49
49
  specification: string;
50
50
  query: string;
51
51
  }
52
+ export interface ChatWMSProductColumnDescription {
53
+ columnName: string;
54
+ description: string;
55
+ }
56
+ export interface ChatWMSProductColumnComment {
57
+ columnName: string;
58
+ tableName?: string;
59
+ comment: string;
60
+ }
61
+ export interface ChatWMSProductTableMapping {
62
+ dstTableName: string;
63
+ srcTableName: string;
64
+ }
65
+ export interface ChatWMSProductColumnMapping {
66
+ dstTableName: string;
67
+ dstColumnName: string;
68
+ srcColumnName: string;
69
+ }
@@ -34,10 +34,10 @@ export function initChatWMSProduct() {
34
34
  tables: [],
35
35
  notes: [],
36
36
  examples: [],
37
- columnDescriptions: {},
38
- columnComments: {},
39
- tableMappings: {},
40
- columnMappings: {},
37
+ columnDescriptions: [],
38
+ columnComments: [],
39
+ tableMappings: [],
40
+ columnMappings: [],
41
41
  analysis: []
42
42
  };
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "5.3.6",
3
+ "version": "5.4.1",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",