@cellaware/utils 5.2.1 → 5.3.0

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.
@@ -1,3 +1,4 @@
1
+ export declare function chatwmsGetProductId(customer: string, vendor: string, version: string): string;
1
2
  export interface ChatWMSProduct {
2
3
  productId: string;
3
4
  customer: string;
@@ -5,6 +6,35 @@ export interface ChatWMSProduct {
5
6
  version: string;
6
7
  description: string;
7
8
  externalDescription: string;
9
+ variables: ChatWMSProductVariable[];
10
+ tables: ChatWMSProductTable[];
11
+ notes: ChatWMSProductNote[];
12
+ examples: ChatWMSProductExample[];
13
+ columnDescriptions: any;
14
+ columnComments: any;
15
+ tableMappings: any;
16
+ columnMappings: any;
17
+ analysis: any[];
8
18
  }
9
19
  export declare function initChatWMSProduct(): ChatWMSProduct;
10
- export declare function chatwmsGetProductId(customer: string, vendor: string, version: string): string;
20
+ export interface ChatWMSProductVariable {
21
+ key: string;
22
+ exampleValue: string;
23
+ disabledValue: string;
24
+ }
25
+ export interface ChatWMSProductTable {
26
+ tableName: string;
27
+ tableGroup: string;
28
+ description: string;
29
+ query: string;
30
+ }
31
+ export interface ChatWMSProductNote {
32
+ sequence: number;
33
+ title: string;
34
+ content: string;
35
+ }
36
+ export interface ChatWMSProductExample {
37
+ sequence: number;
38
+ specification: string;
39
+ query: string;
40
+ }
@@ -1,3 +1,6 @@
1
+ export function chatwmsGetProductId(customer, vendor, version) {
2
+ return `${customer}_${vendor}_${version}`;
3
+ }
1
4
  export function initChatWMSProduct() {
2
5
  return {
3
6
  productId: '',
@@ -5,9 +8,15 @@ export function initChatWMSProduct() {
5
8
  vendor: '',
6
9
  version: '',
7
10
  description: '',
8
- externalDescription: ''
11
+ externalDescription: '',
12
+ variables: [],
13
+ tables: [],
14
+ notes: [],
15
+ examples: [],
16
+ columnDescriptions: {},
17
+ columnComments: {},
18
+ tableMappings: {},
19
+ columnMappings: {},
20
+ analysis: []
9
21
  };
10
22
  }
11
- export function chatwmsGetProductId(customer, vendor, version) {
12
- return `${customer}_${vendor}_${version}`;
13
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "5.2.1",
3
+ "version": "5.3.0",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",