@things-factory/operato-hub 4.3.738 → 4.3.741
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
CHANGED
|
@@ -4,56 +4,56 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 4001,
|
|
8
8
|
inspect: '9260',
|
|
9
9
|
//postgres
|
|
10
|
-
ormconfig: {
|
|
11
|
-
name: 'default',
|
|
12
|
-
type: 'postgres',
|
|
13
|
-
database: 'postgres',
|
|
14
|
-
username: 'postgres',
|
|
15
|
-
password: 't62dgT#Ns*GerhuZ9wnzm^',
|
|
16
|
-
host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
|
|
17
|
-
port: 55432,
|
|
18
|
-
synchronize: false,
|
|
19
|
-
logging: true
|
|
20
|
-
},
|
|
21
|
-
//operato
|
|
22
10
|
// ormconfig: {
|
|
23
11
|
// name: 'default',
|
|
24
12
|
// type: 'postgres',
|
|
25
|
-
// database: '
|
|
13
|
+
// database: 'postgres',
|
|
26
14
|
// username: 'postgres',
|
|
27
15
|
// password: 'hatio',
|
|
28
|
-
// host: '192.168.0.
|
|
16
|
+
// host: '192.168.0.144',
|
|
29
17
|
// port: 15432,
|
|
30
18
|
// synchronize: false,
|
|
31
19
|
// logging: true
|
|
32
20
|
// },
|
|
33
|
-
//
|
|
21
|
+
//operato
|
|
34
22
|
// ormconfig: {
|
|
35
23
|
// name: 'default',
|
|
36
24
|
// type: 'postgres',
|
|
37
|
-
// database: '
|
|
25
|
+
// database: 'operato',
|
|
38
26
|
// username: 'postgres',
|
|
39
27
|
// password: 'hatio',
|
|
40
|
-
// host: '192.168.0.
|
|
28
|
+
// host: '192.168.0.151',
|
|
41
29
|
// port: 15432,
|
|
42
30
|
// synchronize: false,
|
|
43
31
|
// logging: true
|
|
44
32
|
// },
|
|
45
|
-
//
|
|
33
|
+
//eric2
|
|
46
34
|
// ormconfig: {
|
|
47
35
|
// name: 'default',
|
|
48
36
|
// type: 'postgres',
|
|
49
|
-
// database: '
|
|
37
|
+
// database: 'eric2',
|
|
50
38
|
// username: 'postgres',
|
|
51
39
|
// password: 'hatio',
|
|
52
|
-
// host: '
|
|
40
|
+
// host: '192.168.0.153',
|
|
53
41
|
// port: 15432,
|
|
54
42
|
// synchronize: false,
|
|
55
43
|
// logging: true
|
|
56
44
|
// },
|
|
45
|
+
// arif's
|
|
46
|
+
ormconfig: {
|
|
47
|
+
name: 'default',
|
|
48
|
+
type: 'postgres',
|
|
49
|
+
database: 'staging',
|
|
50
|
+
username: 'postgres',
|
|
51
|
+
password: 't62dgT#Ns*GerhuZ9wnzm^',
|
|
52
|
+
host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
|
|
53
|
+
port: 55432,
|
|
54
|
+
synchronize: false,
|
|
55
|
+
logging: true
|
|
56
|
+
},
|
|
57
57
|
//EMS
|
|
58
58
|
// ormconfig: {
|
|
59
59
|
// name: 'default',
|
|
@@ -143,23 +143,10 @@ module.exports = {
|
|
|
143
143
|
},
|
|
144
144
|
sftpFileStorage: {
|
|
145
145
|
type: 's3',
|
|
146
|
-
accessKeyId: '
|
|
147
|
-
secretAccessKey: '
|
|
148
|
-
bucketName: 'operato-sftp'
|
|
149
|
-
region: 'ap-southeast-1'
|
|
146
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
147
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
148
|
+
bucketName: 'operato-sftp'
|
|
150
149
|
},
|
|
151
|
-
|
|
152
|
-
// SFTP Configuration for external server
|
|
153
|
-
// sftpExternal: {
|
|
154
|
-
// type: 'sftp',
|
|
155
|
-
// host: '103.4.6.168',
|
|
156
|
-
// port: 2211,
|
|
157
|
-
// username: 'hatio_admin',
|
|
158
|
-
// password: 'Yltc@2025!',
|
|
159
|
-
// basePath: '/Staging',
|
|
160
|
-
// timeout: 30000,
|
|
161
|
-
// retries: 3
|
|
162
|
-
// },
|
|
163
150
|
// storage: {
|
|
164
151
|
// type: 's3',
|
|
165
152
|
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
@@ -226,13 +213,6 @@ module.exports = {
|
|
|
226
213
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
227
214
|
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
228
215
|
},
|
|
229
|
-
|
|
230
|
-
// Job queue (AWS SQS)
|
|
231
|
-
jobQueue: {
|
|
232
|
-
// For JobQueueService/JobWorker (FIFO queue is supported)
|
|
233
|
-
queueUrl: 'https://sqs.ap-southeast-5.amazonaws.com/309536469266/operato-job-queue.fifo',
|
|
234
|
-
sqsRegion: 'ap-southeast-5'
|
|
235
|
-
},
|
|
236
216
|
marketplaceIntegrationShopee: {
|
|
237
217
|
platform: 'shopee',
|
|
238
218
|
isUAT: false,
|
|
@@ -24,6 +24,8 @@ exports.companyRolesByScopeResolver = {
|
|
|
24
24
|
companyRoleMap.forEach((roles) => {
|
|
25
25
|
companyRoles.push({ domain: roles[0].domain, roles });
|
|
26
26
|
});
|
|
27
|
+
// Sort by domain name in ascending order
|
|
28
|
+
companyRoles.sort((a, b) => a.domain.name.localeCompare(b.domain.name));
|
|
27
29
|
return companyRoles;
|
|
28
30
|
}
|
|
29
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"company-roles-by-scope.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/oauth2/company-roles-by-scope.ts"],"names":[],"mappings":";;;AAAA,yDAAsE;AACtE,qCAAuC;AAQ1B,QAAA,2BAA2B,GAAG;IACzC,KAAK,CAAC,mBAAmB,CAAC,CAAO,EAAE,EAAE,KAAK,EAAuB,EAAE,OAAY;QAC7E,IAAI,EAAE,IAAI,EAAE,GAA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AAC,OAAO,CAAC,CAAC,IAAU,EAAE,EAAE;YACpC,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;gBACtC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;aAC9C;iBAAM;gBACL,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;aAC3C;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,YAAY,GAAkB,EAAE,CAAA;QACpC,cAAc,CAAC,OAAO,CAAC,CAAC,KAAa,EAAE,EAAE;YACvC,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;QAEF,yCAAyC;QACzC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;QAEvE,OAAO,YAAY,CAAA;IACrB,CAAC;CACF,CAAA"}
|
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.741",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -55,61 +55,61 @@
|
|
|
55
55
|
"@operato/scene-tab": "^0.1.8",
|
|
56
56
|
"@operato/scene-table": "^0.1.8",
|
|
57
57
|
"@operato/scene-wheel-sorter": "^0.1.8",
|
|
58
|
-
"@things-factory/api": "^4.3.
|
|
59
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
60
|
-
"@things-factory/attachment-base": "^4.3.
|
|
61
|
-
"@things-factory/auth-base": "^4.3.
|
|
62
|
-
"@things-factory/auth-ui": "^4.3.
|
|
63
|
-
"@things-factory/biz-base": "^4.3.
|
|
64
|
-
"@things-factory/biz-ui": "^4.3.
|
|
65
|
-
"@things-factory/board-service": "^4.3.
|
|
66
|
-
"@things-factory/board-ui": "^4.3.
|
|
67
|
-
"@things-factory/code-ui": "^4.3.
|
|
68
|
-
"@things-factory/component-ui": "^4.3.
|
|
69
|
-
"@things-factory/context-ui": "^4.3.
|
|
70
|
-
"@things-factory/document-template-ui": "^4.3.
|
|
71
|
-
"@things-factory/export-ui": "^4.3.
|
|
72
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
73
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
74
|
-
"@things-factory/geography": "^4.3.
|
|
75
|
-
"@things-factory/grist-ui": "^4.3.
|
|
76
|
-
"@things-factory/help": "^4.3.
|
|
77
|
-
"@things-factory/i18n-base": "^4.3.
|
|
78
|
-
"@things-factory/import-ui": "^4.3.
|
|
79
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
80
|
-
"@things-factory/integration-accounting": "^4.3.
|
|
81
|
-
"@things-factory/integration-fulfillment": "^4.3.
|
|
82
|
-
"@things-factory/integration-lmd": "^4.3.
|
|
83
|
-
"@things-factory/integration-marketplace": "^4.3.
|
|
84
|
-
"@things-factory/integration-pos": "^4.3.
|
|
85
|
-
"@things-factory/integration-powrup": "^4.3.
|
|
86
|
-
"@things-factory/integration-sellercraft": "^4.3.
|
|
87
|
-
"@things-factory/integration-sftp": "^4.3.
|
|
88
|
-
"@things-factory/lite-menu": "^4.3.
|
|
89
|
-
"@things-factory/marketplace-base": "^4.3.
|
|
90
|
-
"@things-factory/more-ui": "^4.3.
|
|
91
|
-
"@things-factory/notification": "^4.3.
|
|
92
|
-
"@things-factory/pdf": "^4.3.
|
|
93
|
-
"@things-factory/product-ui": "^4.3.
|
|
94
|
-
"@things-factory/resource-ui": "^4.3.
|
|
95
|
-
"@things-factory/sales-base": "^4.3.
|
|
96
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
97
|
-
"@things-factory/scene-excel": "^4.3.
|
|
98
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
99
|
-
"@things-factory/scene-form": "^4.3.
|
|
100
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
101
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
102
|
-
"@things-factory/scene-label": "^4.3.
|
|
103
|
-
"@things-factory/scene-marker": "^4.3.
|
|
104
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
105
|
-
"@things-factory/scene-restful": "^4.3.
|
|
106
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
107
|
-
"@things-factory/setting-ui": "^4.3.
|
|
108
|
-
"@things-factory/shell": "^4.3.
|
|
109
|
-
"@things-factory/system-ui": "^4.3.
|
|
110
|
-
"@things-factory/transport-base": "^4.3.
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
58
|
+
"@things-factory/api": "^4.3.740",
|
|
59
|
+
"@things-factory/apptool-ui": "^4.3.740",
|
|
60
|
+
"@things-factory/attachment-base": "^4.3.740",
|
|
61
|
+
"@things-factory/auth-base": "^4.3.740",
|
|
62
|
+
"@things-factory/auth-ui": "^4.3.740",
|
|
63
|
+
"@things-factory/biz-base": "^4.3.740",
|
|
64
|
+
"@things-factory/biz-ui": "^4.3.740",
|
|
65
|
+
"@things-factory/board-service": "^4.3.740",
|
|
66
|
+
"@things-factory/board-ui": "^4.3.740",
|
|
67
|
+
"@things-factory/code-ui": "^4.3.740",
|
|
68
|
+
"@things-factory/component-ui": "^4.3.740",
|
|
69
|
+
"@things-factory/context-ui": "^4.3.740",
|
|
70
|
+
"@things-factory/document-template-ui": "^4.3.740",
|
|
71
|
+
"@things-factory/export-ui": "^4.3.740",
|
|
72
|
+
"@things-factory/export-ui-csv": "^4.3.740",
|
|
73
|
+
"@things-factory/export-ui-excel": "^4.3.740",
|
|
74
|
+
"@things-factory/geography": "^4.3.740",
|
|
75
|
+
"@things-factory/grist-ui": "^4.3.740",
|
|
76
|
+
"@things-factory/help": "^4.3.740",
|
|
77
|
+
"@things-factory/i18n-base": "^4.3.740",
|
|
78
|
+
"@things-factory/import-ui": "^4.3.740",
|
|
79
|
+
"@things-factory/import-ui-excel": "^4.3.740",
|
|
80
|
+
"@things-factory/integration-accounting": "^4.3.740",
|
|
81
|
+
"@things-factory/integration-fulfillment": "^4.3.740",
|
|
82
|
+
"@things-factory/integration-lmd": "^4.3.740",
|
|
83
|
+
"@things-factory/integration-marketplace": "^4.3.740",
|
|
84
|
+
"@things-factory/integration-pos": "^4.3.740",
|
|
85
|
+
"@things-factory/integration-powrup": "^4.3.740",
|
|
86
|
+
"@things-factory/integration-sellercraft": "^4.3.740",
|
|
87
|
+
"@things-factory/integration-sftp": "^4.3.740",
|
|
88
|
+
"@things-factory/lite-menu": "^4.3.740",
|
|
89
|
+
"@things-factory/marketplace-base": "^4.3.740",
|
|
90
|
+
"@things-factory/more-ui": "^4.3.740",
|
|
91
|
+
"@things-factory/notification": "^4.3.740",
|
|
92
|
+
"@things-factory/pdf": "^4.3.740",
|
|
93
|
+
"@things-factory/product-ui": "^4.3.741",
|
|
94
|
+
"@things-factory/resource-ui": "^4.3.740",
|
|
95
|
+
"@things-factory/sales-base": "^4.3.740",
|
|
96
|
+
"@things-factory/scene-data-transform": "^4.3.740",
|
|
97
|
+
"@things-factory/scene-excel": "^4.3.740",
|
|
98
|
+
"@things-factory/scene-firebase": "^4.3.740",
|
|
99
|
+
"@things-factory/scene-form": "^4.3.740",
|
|
100
|
+
"@things-factory/scene-google-map": "^4.3.740",
|
|
101
|
+
"@things-factory/scene-graphql": "^4.3.740",
|
|
102
|
+
"@things-factory/scene-label": "^4.3.740",
|
|
103
|
+
"@things-factory/scene-marker": "^4.3.740",
|
|
104
|
+
"@things-factory/scene-mqtt": "^4.3.740",
|
|
105
|
+
"@things-factory/scene-restful": "^4.3.740",
|
|
106
|
+
"@things-factory/scene-visualizer": "^4.3.740",
|
|
107
|
+
"@things-factory/setting-ui": "^4.3.740",
|
|
108
|
+
"@things-factory/shell": "^4.3.740",
|
|
109
|
+
"@things-factory/system-ui": "^4.3.740",
|
|
110
|
+
"@things-factory/transport-base": "^4.3.740",
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.740",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.741",
|
|
113
113
|
"cron-parser": "^4.7.0",
|
|
114
114
|
"koa2-swagger-ui": "^5.0.2",
|
|
115
115
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
"yamljs": "^0.3.0"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@things-factory/builder": "^4.3.
|
|
120
|
+
"@things-factory/builder": "^4.3.740"
|
|
121
121
|
},
|
|
122
122
|
"resolutions": {
|
|
123
123
|
"core-js": "^3.16.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "97de9f3e63d7acdb0e59eff61f5c170457582490"
|
|
126
126
|
}
|
|
@@ -31,6 +31,9 @@ export const companyRolesByScopeResolver = {
|
|
|
31
31
|
companyRoles.push({ domain: roles[0].domain, roles })
|
|
32
32
|
})
|
|
33
33
|
|
|
34
|
+
// Sort by domain name in ascending order
|
|
35
|
+
companyRoles.sort((a, b) => a.domain.name.localeCompare(b.domain.name))
|
|
36
|
+
|
|
34
37
|
return companyRoles
|
|
35
38
|
}
|
|
36
39
|
}
|