@things-factory/operato-hub 4.3.209 → 4.3.210
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 +35 -33
- package/package.json +6 -6
package/config.development.js
CHANGED
|
@@ -4,52 +4,47 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port: 3000,
|
|
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: 'localhost',
|
|
16
|
+
port: 15432,
|
|
17
|
+
synchronize: false,
|
|
18
|
+
logging: true,
|
|
19
|
+
connectTimeoutMS: 30000,
|
|
20
|
+
extra: { poolSize: 30 }
|
|
21
|
+
},
|
|
9
22
|
// ormconfig: {
|
|
10
23
|
// name: 'default',
|
|
11
24
|
// type: 'postgres',
|
|
12
|
-
// database: '
|
|
25
|
+
// database: 'dev2', // dev2
|
|
13
26
|
// username: 'postgres',
|
|
14
27
|
// password: 'abcd1234',
|
|
15
28
|
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
16
29
|
// port: 55432,
|
|
17
|
-
// synchronize:
|
|
18
|
-
// logging:
|
|
30
|
+
// synchronize:false,
|
|
31
|
+
// logging: false,
|
|
32
|
+
// connectTimeoutMS: 30000,
|
|
33
|
+
// extra: { poolSize: 30 }
|
|
19
34
|
// },
|
|
20
35
|
// ormconfig: {
|
|
21
36
|
// name: 'default',
|
|
22
37
|
// type: 'postgres',
|
|
23
|
-
// database: 'v3-hub1',
|
|
24
|
-
// username: 'postgres',
|
|
25
|
-
// password: 'hatio',
|
|
26
38
|
// host: 'localhost',
|
|
27
39
|
// port: 15432,
|
|
28
|
-
//
|
|
29
|
-
//
|
|
40
|
+
// database: 'postgres',
|
|
41
|
+
// username: 'postgres',
|
|
42
|
+
// password: 'hatio',
|
|
43
|
+
// synchronize: false,
|
|
44
|
+
// logging: true,
|
|
45
|
+
// connectTimeoutMS: 30000,
|
|
46
|
+
// extra: { poolSize: 30 }
|
|
30
47
|
// },
|
|
31
|
-
ormconfig: {
|
|
32
|
-
name: 'default',
|
|
33
|
-
type: 'postgres',
|
|
34
|
-
database: 'dev3',
|
|
35
|
-
username: 'postgres',
|
|
36
|
-
password: 'hatio',
|
|
37
|
-
host: '192.168.0.161',
|
|
38
|
-
port: 15432,
|
|
39
|
-
synchronize: true,
|
|
40
|
-
logging: true
|
|
41
|
-
},
|
|
42
|
-
ormconfig: {
|
|
43
|
-
name: 'default',
|
|
44
|
-
type: 'postgres',
|
|
45
|
-
database: 'dev',
|
|
46
|
-
username: 'postgres',
|
|
47
|
-
password: 'hatio',
|
|
48
|
-
host: 'localhost',
|
|
49
|
-
port: 15432,
|
|
50
|
-
synchronize: true,
|
|
51
|
-
logging: true
|
|
52
|
-
},
|
|
53
48
|
password: {
|
|
54
49
|
lowerCase: true,
|
|
55
50
|
upperCase: false,
|
|
@@ -126,13 +121,13 @@ module.exports = {
|
|
|
126
121
|
// }
|
|
127
122
|
},
|
|
128
123
|
fulfillmentIntegrationOperato: {
|
|
129
|
-
host: '
|
|
124
|
+
host: '192.168.0.161:3000',
|
|
130
125
|
protocol: 'http',
|
|
131
126
|
platform: 'operato',
|
|
132
127
|
application: 'Operato MMS',
|
|
133
128
|
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
134
129
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
135
|
-
callback: 'http://
|
|
130
|
+
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
136
131
|
},
|
|
137
132
|
marketplaceIntegrationShopee: {
|
|
138
133
|
platform: 'shopee',
|
|
@@ -155,5 +150,12 @@ module.exports = {
|
|
|
155
150
|
apiSecret: 'T139_ItMjObC82mmy7iwnNflhd2iV0kUvDBj0P_201EmA7Sj',
|
|
156
151
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
157
152
|
hostname: 'http://operato-h.com:3000/'
|
|
153
|
+
},
|
|
154
|
+
awbFileStorage: {
|
|
155
|
+
type: 's3',
|
|
156
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
157
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
158
|
+
bucketName: 'operato-awb',
|
|
159
|
+
region: 'ap-southeast-1'
|
|
158
160
|
}
|
|
159
161
|
}
|
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.210",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
"@things-factory/integration-sellercraft": "^4.3.208",
|
|
86
86
|
"@things-factory/integration-sftp": "^4.3.190",
|
|
87
87
|
"@things-factory/lite-menu": "^4.3.186",
|
|
88
|
-
"@things-factory/marketplace-base": "^4.3.
|
|
88
|
+
"@things-factory/marketplace-base": "^4.3.210",
|
|
89
89
|
"@things-factory/more-ui": "^4.3.179",
|
|
90
90
|
"@things-factory/notification": "^4.3.186",
|
|
91
91
|
"@things-factory/pdf": "^4.3.159",
|
|
92
92
|
"@things-factory/product-ui": "^4.3.204",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.179",
|
|
94
|
-
"@things-factory/sales-base": "^4.3.
|
|
94
|
+
"@things-factory/sales-base": "^4.3.210",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.159",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.159",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"@things-factory/setting-ui": "^4.3.186",
|
|
107
107
|
"@things-factory/shell": "^4.3.179",
|
|
108
108
|
"@things-factory/system-ui": "^4.3.179",
|
|
109
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
110
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
109
|
+
"@things-factory/warehouse-base": "^4.3.210",
|
|
110
|
+
"@things-factory/worksheet-base": "^4.3.210",
|
|
111
111
|
"cron-parser": "^4.7.0",
|
|
112
112
|
"koa2-swagger-ui": "^5.0.2",
|
|
113
113
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"resolutions": {
|
|
120
120
|
"core-js": "^3.16.0"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "b4d6d4be8e4fe505d754df98a4632097d5451119"
|
|
123
123
|
}
|