@things-factory/operato-wms 4.3.341 → 4.3.343

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.
Files changed (26) hide show
  1. package/client/pages/constants/replenishment-config.js +50 -1
  2. package/client/pages/constants/replenishment.js +4 -4
  3. package/client/pages/inbound/putaway-product.js +91 -9
  4. package/client/pages/inbound/putaway-replenishment-inventory-popup.js +138 -0
  5. package/client/pages/inventory/inventory-adjustment.js +46 -4
  6. package/client/pages/inventory/onhand-inventory.js +28 -0
  7. package/client/pages/order/draft-release-good/draft-release-good-list.js +16 -0
  8. package/client/pages/order/release-order/b2c/b2c-order-requests.js +36 -2
  9. package/client/pages/outbound/single-outbound-worksheet.js +16 -15
  10. package/client/pages/replenishment/replenishment.js +131 -6
  11. package/client/pages/report/outbound-order-details-report.js +17 -0
  12. package/client/pages/report/replenishment-report.js +361 -0
  13. package/client/route.js +4 -0
  14. package/config.development.js +16 -15
  15. package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +6 -3
  16. package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
  17. package/dist-server/graphql/types/reports/outbound-order-details-report.js +1 -0
  18. package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
  19. package/package.json +5 -5
  20. package/server/graphql/resolvers/reports/outbound-order-details-report.ts +6 -3
  21. package/server/graphql/types/reports/outbound-order-details-report.ts +1 -0
  22. package/things-factory.config.js +4 -0
  23. package/translations/en.json +6 -0
  24. package/translations/ko.json +6 -0
  25. package/translations/ms.json +6 -0
  26. package/translations/zh.json +6 -0
@@ -205,13 +205,13 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
205
205
  props: { searchOper: 'eq' },
206
206
  attrs: ['indeterminate']
207
207
  },
208
- // {
209
- // label: i18next.t('field.priority_delivery'),
210
- // name: 'releaseGoodPriorityDelivery',
211
- // type: 'checkbox',
212
- // props: { searchOper: 'eq' },
213
- // attrs: ['indeterminate']
214
- // }
208
+ {
209
+ label: i18next.t('field.priority_delivery'),
210
+ name: 'releaseGoodPriorityDelivery',
211
+ type: 'checkbox',
212
+ props: { searchOper: 'eq' },
213
+ attrs: ['indeterminate']
214
+ }
215
215
  ]
216
216
 
217
217
  this.config = {
@@ -285,13 +285,13 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
285
285
  imex: { header: i18next.t('field.packing'), key: 'releaseGoodPackingOption', width: 20, type: 'string' },
286
286
  width: 60
287
287
  },
288
- // {
289
- // type: 'boolean',
290
- // name: 'releaseGoodPriorityDelivery',
291
- // header: i18next.t('field.priority_delivery'),
292
- // imex: { header: i18next.t('field.priority_delivery'), key: 'releaseGoodPriorityDelivery', width: 20, type: 'string' },
293
- // width: 120
294
- // },
288
+ {
289
+ type: 'boolean',
290
+ name: 'releaseGoodPriorityDelivery',
291
+ header: i18next.t('field.priority_delivery'),
292
+ imex: { header: i18next.t('field.priority_delivery'), key: 'releaseGoodPriorityDelivery', width: 20, type: 'string' },
293
+ width: 120
294
+ },
295
295
  {
296
296
  type: 'object',
297
297
  name: 'bizplace',
@@ -411,6 +411,7 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
411
411
  crossDocking
412
412
  courierOption
413
413
  packingOption
414
+ priorityDelivery
414
415
  }
415
416
  bizplace {
416
417
  id
@@ -459,7 +460,7 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
459
460
  releaseGoodCrossDocking: item.releaseGood.crossDocking,
460
461
  releaseGoodCourierOption: item.releaseGood.courierOption,
461
462
  releaseGoodPackingOption: item.releaseGood.packingOption,
462
- // releaseGoodPriorityDelivery: item.releaseGood.priorityDelivery
463
+ releaseGoodPriorityDelivery: item.releaseGood.priorityDelivery
463
464
  }
464
465
  }) || {}
465
466
  }
@@ -1,17 +1,37 @@
1
1
  import '@things-factory/grist-ui'
2
2
  import '@things-factory/barcode-ui'
3
+ import '../components/popup-note'
4
+ import '@things-factory/form-ui'
5
+ import '@things-factory/import-ui'
3
6
 
4
7
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
8
+ import {
9
+ css,
10
+ html
11
+ } from 'lit-element'
6
12
 
13
+ import { getCodeByName } from '@things-factory/code-base'
7
14
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
8
- import { i18next, localize } from '@things-factory/i18n-base'
9
- import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
15
+ import {
16
+ i18next,
17
+ localize
18
+ } from '@things-factory/i18n-base'
19
+ import { openPopup } from '@things-factory/layout-base'
20
+ import {
21
+ client,
22
+ CustomAlert,
23
+ navigate,
24
+ PageView
25
+ } from '@things-factory/shell'
10
26
  import { CommonButtonStyles } from '@things-factory/styles'
11
27
  import { isMobileDevice } from '@things-factory/utils'
12
- import { REPLENISHMENT_CONFIG, ORDER_TYPES, ORDER_STATUS } from '../constants'
28
+
13
29
  import { showToast } from '../../util/index'
14
- import { getCodeByName } from '@things-factory/code-base'
30
+ import {
31
+ ORDER_STATUS,
32
+ ORDER_TYPES,
33
+ REPLENISHMENT_CONFIG
34
+ } from '../constants'
15
35
 
16
36
  class Replenishment extends localize(i18next)(PageView) {
17
37
  static get styles() {
@@ -103,7 +123,14 @@ class Replenishment extends localize(i18next)(PageView) {
103
123
  action: this._createReplenishment.bind(this),
104
124
  ...CommonButtonStyles.activate
105
125
  }
106
- ]
126
+ ],
127
+ exportable: {
128
+ name: i18next.t('title.create_replenishment'),
129
+ data: this._exportableData.bind(this)
130
+ },
131
+ importable: {
132
+ handler: this.importableData.bind(this)
133
+ }
107
134
  }
108
135
  case 'list':
109
136
  return {
@@ -243,6 +270,7 @@ class Replenishment extends localize(i18next)(PageView) {
243
270
  minQty
244
271
  pickingShelfQty
245
272
  storageQty
273
+ transferQty
246
274
  bizplace {
247
275
  id
248
276
  name
@@ -505,6 +533,103 @@ class Replenishment extends localize(i18next)(PageView) {
505
533
  this._orderNo = ''
506
534
  this._status = ''
507
535
  }
536
+
537
+ async _exportableData() {
538
+ let records = []
539
+ if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
540
+ records = this.dataGrist.selected
541
+ } else {
542
+ records = this.dataGrist.data.records
543
+ }
544
+
545
+ var headerSetting = this.dataGrist._config.columns
546
+ .filter(column => column.type !== 'gutter' && column.imex !== undefined)
547
+ .map(column => {
548
+ return column.imex
549
+ })
550
+
551
+ var data = records.map(item => {
552
+ return {
553
+ id: item.id,
554
+ ...this.config.columns
555
+ .filter(column => column.type !== 'gutter' && column.imex !== undefined)
556
+ .reduce((record, column) => {
557
+ record[column.imex.key] = column.imex.key
558
+ .split('.')
559
+ .reduce((obj, key) => (obj && obj[key] !== 'undefined' ? obj[key] : undefined), item)
560
+ return record
561
+ }, {})
562
+ }
563
+ })
564
+
565
+ return { header: headerSetting, data: data }
566
+ }
567
+
568
+ async importHandler(patches) {
569
+ try {
570
+ patches.map(itm => {
571
+ const existingRecord = this.dataGrist.dirtyData.records.find(record => record.productSKU === itm.productSKU)
572
+ if (!existingRecord) {
573
+ throw new Error(
574
+ i18next.t('text.transfer_quantity_cannot_be_uploaded_as_it_does_not_meet_the_minimum_required_quantity')
575
+ )
576
+ }
577
+ if (
578
+ !itm.bizplace.name ||
579
+ !itm.productSKU ||
580
+ !itm.packingType ||
581
+ !itm.packingSize ||
582
+ !itm.pickingShelfQty ||
583
+ !itm.storageQty ||
584
+ !itm.minQty ||
585
+ !itm.transferQty ||
586
+ ''
587
+ ) {
588
+ throw new Error(i18next.t('text.empty_value_in_list'))
589
+ }
590
+ if (isNaN(itm.pickingShelfQty) || isNaN(itm.storageQty) || isNaN(itm.minQty) || isNaN(itm.transferQty)) {
591
+ throw new Error(i18next.t('text.invalid_value_in_list'))
592
+ }
593
+ if (itm.pickingShelfQty < 1 || itm.storageQty < 1 || itm.minQty < 1 || itm.transferQty < 1) {
594
+ throw new Error(i18next.t('text.invalid_value_in_list'))
595
+ }
596
+ })
597
+
598
+ patches.forEach(patch => {
599
+ const record = this.dataGrist.dirtyData.records.find(record => record.productSKU === patch.productSKU)
600
+ if (record) {
601
+ record.transferQty = parseInt(patch.transferQty)
602
+ }
603
+ })
604
+
605
+ history.back()
606
+ this.dataGrist.refresh()
607
+ } catch (e) {
608
+ showToast(e)
609
+ }
610
+ }
611
+
612
+ importableData(records) {
613
+ setTimeout(() => {
614
+ openPopup(
615
+ html`
616
+ <import-pop-up
617
+ .records=${records}
618
+ .config=${{
619
+ rows: this.config.rows,
620
+ columns: this.config.columns
621
+ }}
622
+ .importHandler="${this.importHandler.bind(this)}"
623
+ ></import-pop-up>
624
+ `,
625
+ {
626
+ backdrop: true,
627
+ size: 'large',
628
+ title: i18next.t('title.import')
629
+ }
630
+ )
631
+ }, 500)
632
+ }
508
633
  }
509
634
 
510
635
  window.customElements.define('replenishment-page', Replenishment)
@@ -185,6 +185,13 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
185
185
  name: 'binLocation',
186
186
  type: 'text',
187
187
  props: { searchOper: 'ilike' }
188
+ },
189
+ {
190
+ label: i18next.t('field.priority_delivery'),
191
+ name: 'priorityDelivery',
192
+ type: 'checkbox',
193
+ props: { searchOper: 'eq' },
194
+ attrs: ['indeterminate']
188
195
  }
189
196
  ]
190
197
  }
@@ -198,6 +205,13 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
198
205
  header: i18next.t('field.company'),
199
206
  width: 200
200
207
  },
208
+ {
209
+ type: 'boolean',
210
+ name: 'priorityDelivery',
211
+ header: i18next.t('field.priority_delivery'),
212
+ record: { align: 'center' },
213
+ width: 120
214
+ },
201
215
  {
202
216
  type: 'string',
203
217
  name: 'roNo',
@@ -598,6 +612,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
598
612
  let list = {
599
613
  fields: [
600
614
  'bizplace|name',
615
+ 'priorityDelivery',
601
616
  'roNo',
602
617
  'roType',
603
618
  'doNo',
@@ -795,6 +810,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
795
810
  manifestedBy
796
811
  binLocation
797
812
  dispatchedAt
813
+ priorityDelivery
798
814
  }
799
815
  total
800
816
  }
@@ -902,6 +918,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
902
918
  try {
903
919
  var headerSetting = [
904
920
  { header: i18next.t('field.company'), key: 'bizplace|name', width: 60, type: 'string' },
921
+ { header: i18next.t('field.priority_delivery'), key: 'priorityDelivery', width: 20, type: 'string' },
905
922
  { header: i18next.t('field.ro_no'), key: 'roNo', width: 30, type: 'string' },
906
923
  { header: i18next.t('field.ro_type'), key: 'roType', width: 20, type: 'string' },
907
924
  { header: i18next.t('field.do_no'), key: 'doNo', width: 30, type: 'string' },
@@ -0,0 +1,361 @@
1
+ import '@things-factory/form-ui'
2
+ import '@things-factory/grist-ui'
3
+ import '@things-factory/import-ui'
4
+ import '@things-factory/barcode-ui'
5
+ import '../components/popup-note'
6
+
7
+ import gql from 'graphql-tag'
8
+ import {
9
+ css,
10
+ html
11
+ } from 'lit-element'
12
+
13
+ import { getCodeByName } from '@things-factory/code-base'
14
+ import {
15
+ i18next,
16
+ localize
17
+ } from '@things-factory/i18n-base'
18
+ import {
19
+ client,
20
+ PageView
21
+ } from '@things-factory/shell'
22
+ import { ScrollbarStyles } from '@things-factory/styles'
23
+ import { isMobileDevice } from '@things-factory/utils'
24
+
25
+ import { REPLENISHMENT_STATUS } from '../constants'
26
+
27
+ class ReplenishmentReport extends localize(i18next)(PageView) {
28
+ static get styles() {
29
+ return [
30
+ ScrollbarStyles,
31
+ css`
32
+ :host {
33
+ display: flex;
34
+ flex-direction: column;
35
+ overflow: hidden;
36
+ }
37
+
38
+ search-form {
39
+ overflow: visible;
40
+ }
41
+
42
+ data-grist {
43
+ overflow-y: auto;
44
+ flex: 1;
45
+ }
46
+ `
47
+ ]
48
+ }
49
+
50
+ static get properties() {
51
+ return {
52
+ _searchFields: Array,
53
+ config: Object,
54
+ data: Object
55
+ }
56
+ }
57
+
58
+ render() {
59
+ return html`
60
+ <search-form
61
+ id="search-form"
62
+ .fields=${this._searchFields}
63
+ @submit=${async e => {
64
+ this.dataGrist.fetch()
65
+ }}
66
+ ></search-form>
67
+
68
+ <data-grist
69
+ .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
70
+ .config=${this.config}
71
+ .fetchHandler="${this.fetchHandler.bind(this)}"
72
+ ></data-grist>
73
+ `
74
+ }
75
+
76
+ get context() {
77
+ return {
78
+ title: i18next.t('title.replenishment_report'),
79
+ exportable: {
80
+ name: i18next.t('title.replenishment_report'),
81
+ data: this._exportableData.bind(this)
82
+ }
83
+ }
84
+ }
85
+
86
+ async pageInitialized() {
87
+ const _replenishmentStatus = await getCodeByName('REPLENISHMENT_STATUS')
88
+ const partners = [...(await this._fetchPartners())]
89
+
90
+ this._searchFields = [
91
+ {
92
+ label: i18next.t('field.company'),
93
+ name: 'bizplace',
94
+ type: 'select',
95
+ options: [
96
+ { value: '' },
97
+ ...partners
98
+ .map(partner => {
99
+ return {
100
+ name: `${partner.name} ${partner.description ? `(${partner.description})` : ''}`,
101
+ value: partner.id
102
+ }
103
+ })
104
+ .sort(this._compareValues('name', 'asc'))
105
+ ],
106
+ props: { searchOper: 'eq' }
107
+ },
108
+ {
109
+ label: i18next.t('field.order_no'),
110
+ name: 'orderNo',
111
+ type: 'text',
112
+ props: { searchOper: 'i_like' }
113
+ },
114
+ {
115
+ label: i18next.t('field.product_info'),
116
+ name: 'productInfo',
117
+ type: 'text',
118
+ props: { searchOper: 'i_like' }
119
+ },
120
+ {
121
+ name: 'status',
122
+ label: i18next.t('label.status'),
123
+ type: 'select',
124
+ options: [
125
+ { value: '' },
126
+ { name: REPLENISHMENT_STATUS.PICKING.name, value: REPLENISHMENT_STATUS.PICKING.value },
127
+ { name: REPLENISHMENT_STATUS.PUTAWAY.name, value: REPLENISHMENT_STATUS.PUTAWAY.value },
128
+ ..._replenishmentStatus.map(status => {
129
+ return { name: i18next.t(`label.${status.description}`), value: status.name }
130
+ })
131
+ ],
132
+ props: { searchOper: 'eq' }
133
+ },
134
+ {
135
+ label: i18next.t('field.picking_bin'),
136
+ name: 'pickingBin',
137
+ type: 'text',
138
+ props: { searchOper: 'eq' }
139
+ }
140
+ ]
141
+
142
+ this.config = {
143
+ pagination: { limit: 100, pages: [100, 200, 500, 1000] },
144
+ rows: { selectable: { multiple: true } },
145
+ columns: [
146
+ { type: 'gutter', gutterName: 'sequence' },
147
+ {
148
+ type: 'object',
149
+ name: 'bizplace',
150
+ header: i18next.t('field.company'),
151
+ imex: {
152
+ type: 'string',
153
+ header: i18next.t('field.company'),
154
+ key: 'bizplace.name',
155
+ width: 30
156
+ },
157
+ label: true,
158
+ sortable: true,
159
+ width: 250
160
+ },
161
+ {
162
+ type: 'string',
163
+ name: 'orderNo',
164
+ header: i18next.t('field.order_no'),
165
+ imex: {
166
+ type: 'string',
167
+ header: i18next.t('field.order_no'),
168
+ key: 'orderNo',
169
+ width: 30
170
+ },
171
+ label: true,
172
+ sortable: true,
173
+ width: 250
174
+ },
175
+ {
176
+ type: 'string',
177
+ name: 'productSKU',
178
+ header: i18next.t('field.sku'),
179
+ imex: {
180
+ type: 'string',
181
+ key: 'productSKU',
182
+ header: i18next.t('field.sku'),
183
+ width: 30
184
+ },
185
+ label: true,
186
+ sortable: true,
187
+ width: 200
188
+ },
189
+ {
190
+ type: 'string',
191
+ name: 'pickingBin',
192
+ header: i18next.t('field.picking_bin'),
193
+ imex: {
194
+ type: 'string',
195
+ key: 'pickingBin',
196
+ header: i18next.t('field.picking_bin'),
197
+ width: 40
198
+ },
199
+ label: true,
200
+ sortable: true,
201
+ width: 300
202
+ },
203
+ {
204
+ type: 'integer',
205
+ name: 'transferQty',
206
+ header: i18next.t('field.transfer_qty'),
207
+ imex: {
208
+ type: 'integer',
209
+ key: 'transferQty',
210
+ header: i18next.t('field.transfer_qty'),
211
+ width: 30
212
+ },
213
+ label: true,
214
+ sortable: true,
215
+ width: 200
216
+ },
217
+ {
218
+ type: 'string',
219
+ name: 'status',
220
+ header: i18next.t('field.status'),
221
+ imex: {
222
+ type: 'string',
223
+ key: 'status',
224
+ header: i18next.t('field.status'),
225
+ width: 30
226
+ },
227
+ label: true,
228
+ sortable: true,
229
+ width: 200
230
+ }
231
+ ]
232
+ }
233
+ }
234
+
235
+ pageUpdated(changes, lifecycle) {
236
+ if (this.active) {
237
+ this.dataGrist.fetch()
238
+ }
239
+ }
240
+
241
+ async fetchHandler({ page, limit, sorters = [] }) {
242
+ const response = await client.query({
243
+ query: gql`
244
+ query replenishmentReport($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
245
+ replenishmentReport(filters: $filters, pagination: $pagination, sortings: $sortings) {
246
+ items {
247
+ productSKU
248
+ transferQty
249
+ status
250
+ orderNo
251
+ pickingBin
252
+ bizplace {
253
+ id
254
+ name
255
+ }
256
+ }
257
+ total
258
+ }
259
+ }
260
+ `,
261
+ variables: {
262
+ filters: await this.searchForm.getQueryFilters(),
263
+ pagination: { page, limit },
264
+ sortings: sorters
265
+ }
266
+ })
267
+
268
+ if (!response.errors) {
269
+ this.searchForm.form.reset()
270
+ return {
271
+ total: response.data.replenishmentReport.total || 0,
272
+ records: response.data.replenishmentReport.items || []
273
+ }
274
+ }
275
+ }
276
+
277
+ async _fetchPartners() {
278
+ const filters = []
279
+ const response = await client.query({
280
+ query: gql`
281
+ query partnersBizplaces($filters: [Filter!]) {
282
+ partnersBizplaces(filters: $filters) {
283
+ items {
284
+ id
285
+ name
286
+ description
287
+ domain {
288
+ id
289
+ name
290
+ }
291
+ }
292
+ }
293
+ }
294
+ `,
295
+ variables: { filters }
296
+ })
297
+
298
+ if (!response.errors) {
299
+ return response.data.partnersBizplaces.items
300
+ }
301
+ }
302
+
303
+ _compareValues(key, order = 'asc') {
304
+ return function innerSort(a, b) {
305
+ if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {
306
+ return 0
307
+ }
308
+
309
+ const varA = typeof a[key] === 'string' ? a[key].toUpperCase() : a[key]
310
+ const varB = typeof b[key] === 'string' ? b[key].toUpperCase() : b[key]
311
+
312
+ let comparison = 0
313
+ if (varA > varB) {
314
+ comparison = 1
315
+ } else if (varA < varB) {
316
+ comparison = -1
317
+ }
318
+ return order === 'desc' ? comparison * -1 : comparison
319
+ }
320
+ }
321
+
322
+ async _exportableData() {
323
+ let records = []
324
+ if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
325
+ records = this.dataGrist.selected
326
+ } else {
327
+ records = this.dataGrist.data.records
328
+ }
329
+
330
+ var headerSetting = this.dataGrist._config.columns
331
+ .filter(column => column.type !== 'gutter' && column.imex !== undefined)
332
+ .map(column => {
333
+ return column.imex
334
+ })
335
+
336
+ var data = records.map(item => {
337
+ return {
338
+ id: item.id,
339
+ ...this.config.columns
340
+ .filter(column => column.type !== 'gutter' && column.imex !== undefined)
341
+ .reduce((record, column) => {
342
+ record[column.imex.key] = column.imex.key
343
+ .split('.')
344
+ .reduce((obj, key) => (obj && obj[key] !== 'undefined' ? obj[key] : undefined), item)
345
+ return record
346
+ }, {})
347
+ }
348
+ })
349
+
350
+ return { header: headerSetting, data: data }
351
+ }
352
+
353
+ get dataGrist() {
354
+ return this.shadowRoot.querySelector('data-grist')
355
+ }
356
+
357
+ get searchForm() {
358
+ return this.shadowRoot.querySelector('search-form')
359
+ }
360
+ }
361
+ window.customElements.define('replenishment-report', ReplenishmentReport)
package/client/route.js CHANGED
@@ -512,6 +512,10 @@ export default function route(page) {
512
512
  import('./pages/report/analysis-picking-packing-report')
513
513
  return page
514
514
 
515
+ case 'replenishment_report':
516
+ import('./pages/report/replenishment-report')
517
+ return page
518
+
515
519
  /**
516
520
  * Custom ELCCL Menus Section
517
521
  */
@@ -6,28 +6,29 @@ module.exports = {
6
6
  subdomainOffset: 2,
7
7
  port: 1100,
8
8
  inspect: '9430',
9
- ormconfig: {
10
- name: 'default',
11
- type: 'postgres',
12
- database: 'dev',
13
- username: 'postgres',
14
- password: 'hatio',
15
- host: '192.168.0.161',
16
- port: 15432,
17
- synchronize: false,
18
- logging: true
19
- },
20
9
  // ormconfig: {
21
10
  // name: 'default',
22
11
  // type: 'postgres',
23
- // database: 'postgres',
12
+ // database: 'dev',
24
13
  // username: 'postgres',
25
- // password: 'abcd1234',
26
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
- // port: 55432,
14
+ // password: 'hatio',
15
+ // host: '192.168.0.161',
16
+ // port: 15432,
28
17
  // synchronize: false,
29
18
  // logging: true
30
19
  // },
20
+ ormconfig: {
21
+ name: 'default',
22
+ type: 'postgres',
23
+ database: 'postgres',
24
+ username: 'postgres',
25
+
26
+ password: 'abcd1234',
27
+ host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
28
+ port: 55432,
29
+ synchronize: false,
30
+ logging: true
31
+ },
31
32
  sellercraftIntegrationConfig: {
32
33
  apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
34
  },