@things-factory/integration-fulfillment 4.3.378 → 4.3.381

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/integration-fulfillment",
3
- "version": "4.3.378",
3
+ "version": "4.3.381",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,17 +24,17 @@
24
24
  "test": "DEBUG=things-factory:* NODE_ENV=development npx mocha -r ts-node/register ./test/**/*spec.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/apptool-ui": "^4.3.378",
28
- "@things-factory/auth-ui": "^4.3.378",
29
- "@things-factory/biz-base": "^4.3.378",
30
- "@things-factory/context-ui": "^4.3.378",
31
- "@things-factory/grist-ui": "^4.3.378",
32
- "@things-factory/i18n-base": "^4.3.378",
33
- "@things-factory/integration-ui": "^4.3.378",
34
- "@things-factory/more-ui": "^4.3.378",
35
- "@things-factory/resource-ui": "^4.3.378",
36
- "@things-factory/setting-ui": "^4.3.378",
37
- "@things-factory/system-ui": "^4.3.378",
27
+ "@things-factory/apptool-ui": "^4.3.381",
28
+ "@things-factory/auth-ui": "^4.3.381",
29
+ "@things-factory/biz-base": "^4.3.381",
30
+ "@things-factory/context-ui": "^4.3.381",
31
+ "@things-factory/grist-ui": "^4.3.381",
32
+ "@things-factory/i18n-base": "^4.3.381",
33
+ "@things-factory/integration-ui": "^4.3.381",
34
+ "@things-factory/more-ui": "^4.3.381",
35
+ "@things-factory/resource-ui": "^4.3.381",
36
+ "@things-factory/setting-ui": "^4.3.381",
37
+ "@things-factory/system-ui": "^4.3.381",
38
38
  "debug": "^4.1.1",
39
39
  "node-fetch": "^2.6.0"
40
40
  },
@@ -48,5 +48,5 @@
48
48
  "nock": "^13.0.2",
49
49
  "should": "^13.2.3"
50
50
  },
51
- "gitHead": "9de7af5e7b61574cdb4773876a41e1b9b77c1689"
51
+ "gitHead": "853888b22dd91352f37d4fe660e3233405beefd1"
52
52
  }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./migrations"), exports);
19
- __exportStar(require("./graphql"), exports);
20
- __exportStar(require("./controllers"), exports);
21
- require("./routes");
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,+CAA4B;AAC5B,4CAAyB;AACzB,gDAA6B;AAE7B,oBAAiB"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const shell_1 = require("@things-factory/shell");
4
- const fulfillment_api_1 = require("./controllers/fulfillment-api");
5
- process.on('bootstrap-module-global-public-route', (app, routes) => {
6
- /*
7
- * koa application에 routes 를 추가할 수 있다.
8
- *
9
- * ex) routes.get('/path', async(context, next) => {})
10
- * ex) routes.post('/path', async(context, next) => {})
11
- */
12
- routes.get('/callback-operato', async (context, next) => {
13
- const { code, state } = context.query;
14
- // state를 fulfillment-center 의 id로 활용한다.
15
- const store = await fulfillment_api_1.FulfillmentAPI.getFulfillmentCenter(state);
16
- context.redirect(`${(0, shell_1.getRedirectSubdomainPath)(context, store.domain.subdomain)}fulfillment-center-operato/${state}/connect-callback?code=${code}`);
17
- });
18
- });
19
- //# sourceMappingURL=routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":";;AAAA,iDAAgE;AAChE,mEAA8D;AAE9D,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;IACxE;;;;;OAKG;IAEH,MAAM,CAAC,GAAG,CAAC,mBAAmB,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACtD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAErC,wCAAwC;QACxC,MAAM,KAAK,GAAG,MAAM,gCAAc,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAE9D,OAAO,CAAC,QAAQ,CACd,GAAG,IAAA,gCAAwB,EACzB,OAAO,EACP,KAAK,CAAC,MAAM,CAAC,SAAS,CACvB,8BAA8B,KAAK,0BAA0B,IAAI,EAAE,CACrE,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}