@things-factory/operato-hub 4.3.345 → 4.3.346
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/config.development.js +41 -28
- package/package.json +5 -5
package/config.development.js
CHANGED
|
@@ -4,51 +4,57 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 3000,
|
|
8
8
|
inspect: '9260',
|
|
9
|
+
ormconfig: {
|
|
10
|
+
name: 'default',
|
|
11
|
+
type: 'postgres',
|
|
12
|
+
database: 'postgres',
|
|
13
|
+
username: 'postgres',
|
|
14
|
+
password: 'hatio',
|
|
15
|
+
host: '192.168.0.161',
|
|
16
|
+
port: 15432,
|
|
17
|
+
synchronize: false,
|
|
18
|
+
logging: true
|
|
19
|
+
},
|
|
20
|
+
|
|
9
21
|
// ormconfig: {
|
|
10
22
|
// name: 'default',
|
|
11
23
|
// type: 'postgres',
|
|
12
|
-
// database: '
|
|
13
|
-
// username: 'postgres',
|
|
14
|
-
// password: 'abcd1234',
|
|
15
|
-
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
16
|
-
// port: 55432,
|
|
17
|
-
// synchronize: true,
|
|
18
|
-
// logging: true
|
|
19
|
-
// },
|
|
20
|
-
// ormconfig: {
|
|
21
|
-
// name: 'default',
|
|
22
|
-
// type: 'postgres',
|
|
23
|
-
// database: 'v3-hub1',
|
|
24
|
+
// database: '06072023',
|
|
24
25
|
// username: 'postgres',
|
|
25
26
|
// password: 'hatio',
|
|
26
|
-
// host: '
|
|
27
|
+
// host: '192.168.0.153',
|
|
27
28
|
// port: 15432,
|
|
28
|
-
// synchronize:
|
|
29
|
+
// synchronize: false,
|
|
29
30
|
// logging: true
|
|
30
31
|
// },
|
|
32
|
+
|
|
31
33
|
// ormconfig: {
|
|
32
34
|
// name: 'default',
|
|
33
35
|
// type: 'postgres',
|
|
34
|
-
// database: '
|
|
36
|
+
// database: 'dev2', // dev2
|
|
35
37
|
// username: 'postgres',
|
|
36
|
-
// password: '
|
|
37
|
-
// host: '
|
|
38
|
-
// port:
|
|
39
|
-
// synchronize:
|
|
40
|
-
// logging:
|
|
38
|
+
// password: 'abcd1234',
|
|
39
|
+
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
40
|
+
// port: 55432,
|
|
41
|
+
// synchronize:false,
|
|
42
|
+
// logging: false,
|
|
43
|
+
// connectTimeoutMS: 30000,
|
|
44
|
+
// extra: { poolSize: 30 }
|
|
41
45
|
// },
|
|
42
46
|
// ormconfig: {
|
|
43
47
|
// name: 'default',
|
|
44
48
|
// type: 'postgres',
|
|
45
|
-
// database: 'dev',
|
|
46
|
-
// username: 'postgres',
|
|
47
|
-
// password: 'hatio',
|
|
48
49
|
// host: 'localhost',
|
|
49
50
|
// port: 15432,
|
|
50
|
-
//
|
|
51
|
-
//
|
|
51
|
+
// database: 'postgres',
|
|
52
|
+
// username: 'postgres',
|
|
53
|
+
// password: 'hatio',
|
|
54
|
+
// synchronize: false,
|
|
55
|
+
// logging: true,
|
|
56
|
+
// connectTimeoutMS: 30000,
|
|
57
|
+
// extra: { poolSize: 30 }
|
|
52
58
|
// },
|
|
53
59
|
password: {
|
|
54
60
|
lowerCase: true,
|
|
@@ -126,13 +132,13 @@ module.exports = {
|
|
|
126
132
|
// }
|
|
127
133
|
},
|
|
128
134
|
fulfillmentIntegrationOperato: {
|
|
129
|
-
host: '
|
|
135
|
+
host: '192.168.0.161:3000',
|
|
130
136
|
protocol: 'http',
|
|
131
137
|
platform: 'operato',
|
|
132
138
|
application: 'Operato MMS',
|
|
133
139
|
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
134
140
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
135
|
-
callback: 'http://
|
|
141
|
+
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
136
142
|
},
|
|
137
143
|
marketplaceIntegrationShopee: {
|
|
138
144
|
platform: 'shopee',
|
|
@@ -155,5 +161,12 @@ module.exports = {
|
|
|
155
161
|
apiSecret: 'T139_ItMjObC82mmy7iwnNflhd2iV0kUvDBj0P_201EmA7Sj',
|
|
156
162
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
157
163
|
hostname: 'http://operato-h.com:3000/'
|
|
164
|
+
},
|
|
165
|
+
awbFileStorage: {
|
|
166
|
+
type: 's3',
|
|
167
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
168
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
169
|
+
bucketName: 'operato-awb',
|
|
170
|
+
region: 'ap-southeast-1'
|
|
158
171
|
}
|
|
159
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.346",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/pdf": "^4.3.281",
|
|
93
93
|
"@things-factory/product-ui": "^4.3.344",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.281",
|
|
95
|
-
"@things-factory/sales-base": "^4.3.
|
|
95
|
+
"@things-factory/sales-base": "^4.3.346",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.281",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.281",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.281",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/setting-ui": "^4.3.281",
|
|
108
108
|
"@things-factory/shell": "^4.3.281",
|
|
109
109
|
"@things-factory/system-ui": "^4.3.281",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.346",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.346",
|
|
112
112
|
"cron-parser": "^4.7.0",
|
|
113
113
|
"koa2-swagger-ui": "^5.0.2",
|
|
114
114
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"resolutions": {
|
|
121
121
|
"core-js": "^3.16.0"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "687dc4ef7c0622b42ccb920afa354c79c0fe694b"
|
|
124
124
|
}
|