@things-factory/operato-scenario 4.3.671 → 4.3.673
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/dist-server/controllers/index.js +1 -0
- package/dist-server/controllers/index.js.map +1 -0
- package/dist-server/entities/index.js +5 -0
- package/dist-server/entities/index.js.map +1 -0
- package/dist-server/graphql/index.js +9 -0
- package/dist-server/graphql/index.js.map +1 -0
- package/dist-server/graphql/resolvers/index.js +2 -0
- package/dist-server/graphql/resolvers/index.js.map +1 -0
- package/dist-server/graphql/types/index.js +2 -0
- package/dist-server/graphql/types/index.js.map +1 -0
- package/dist-server/index.js +34 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/middlewares/index.js +8 -0
- package/dist-server/middlewares/index.js.map +1 -0
- package/dist-server/migrations/index.js +12 -0
- package/dist-server/migrations/index.js.map +1 -0
- package/dist-server/routes.js +25 -0
- package/dist-server/routes.js.map +1 -0
- package/package.json +21 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/controllers/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/entities/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// import * as resolvers from './resolvers'
|
|
4
|
+
// import * as typeDefs from './types'
|
|
5
|
+
// export const schema = {
|
|
6
|
+
// typeDefs,
|
|
7
|
+
// resolvers: deepMerge.apply(null, Object.values(resolvers))
|
|
8
|
+
// }
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;AAEA,2CAA2C;AAC3C,sCAAsC;AAEtC,0BAA0B;AAC1B,cAAc;AACd,+DAA+D;AAC/D,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":"AAAA,wBAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":"AAAA,wBAAwB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
const integration_base_1 = require("@things-factory/integration-base");
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./migrations"), exports);
|
|
20
|
+
__exportStar(require("./graphql"), exports);
|
|
21
|
+
__exportStar(require("./middlewares"), exports);
|
|
22
|
+
require("./routes");
|
|
23
|
+
process.on('bootstrap-module-start', async ({ app, config, client }) => {
|
|
24
|
+
console.log('%%%%%%%%%%%%%%%% SCENARIO ENGINE - BEGIN %%%%%%%%%%%%%%%%');
|
|
25
|
+
try {
|
|
26
|
+
await integration_base_1.ConnectionManager.ready();
|
|
27
|
+
await integration_base_1.ScenarioEngine.loadAll();
|
|
28
|
+
}
|
|
29
|
+
catch (ex) {
|
|
30
|
+
integration_base_1.ConnectionManager.logger.error(ex);
|
|
31
|
+
}
|
|
32
|
+
console.log('%%%%%%%%%%%%%%%% SCENARIO ENGINE - END %%%%%%%%%%%%%%%%');
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAoF;AAEpF,6CAA0B;AAC1B,+CAA4B;AAC5B,4CAAyB;AACzB,gDAA6B;AAE7B,oBAAiB;AAEjB,OAAO,CAAC,EAAE,CAAC,wBAA+B,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAO,EAAE,EAAE;IACjF,OAAO,CAAC,GAAG,CAAC,2DAA2D,CAAC,CAAA;IACxE,IAAI;QACF,MAAM,oCAAiB,CAAC,KAAK,EAAE,CAAA;QAC/B,MAAM,iCAAc,CAAC,OAAO,EAAE,CAAA;KAC/B;IAAC,OAAO,EAAE,EAAE;QACX,oCAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;KACnC;IACD,OAAO,CAAC,GAAG,CAAC,yDAAyD,CAAC,CAAA;AACxE,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.initMiddlewares = void 0;
|
|
4
|
+
function initMiddlewares(app) {
|
|
5
|
+
/* can add middlewares into app */
|
|
6
|
+
}
|
|
7
|
+
exports.initMiddlewares = initMiddlewares;
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":";;;AAAA,SAAgB,eAAe,CAAC,GAAG;IACjC,kCAAkC;AACpC,CAAC;AAFD,0CAEC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrations = void 0;
|
|
4
|
+
const glob = require('glob');
|
|
5
|
+
const path = require('path');
|
|
6
|
+
exports.migrations = [];
|
|
7
|
+
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
|
|
8
|
+
if (file.indexOf('index.js') !== -1)
|
|
9
|
+
return;
|
|
10
|
+
exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const debug = require('debug')('things-factory:operato-scenario:routes');
|
|
2
|
+
process.on('bootstrap-module-global-public-route', (app, globalPublicRouter) => {
|
|
3
|
+
/*
|
|
4
|
+
* can add global public routes to application (auth not required, tenancy not required)
|
|
5
|
+
*
|
|
6
|
+
* ex) routes.get('/path', async(context, next) => {})
|
|
7
|
+
* ex) routes.post('/path', async(context, next) => {})
|
|
8
|
+
*/
|
|
9
|
+
});
|
|
10
|
+
process.on('bootstrap-module-global-private-route', (app, globalPrivateRouter) => {
|
|
11
|
+
/*
|
|
12
|
+
* can add global private routes to application (auth required, tenancy not required)
|
|
13
|
+
*/
|
|
14
|
+
});
|
|
15
|
+
process.on('bootstrap-module-domain-public-route', (app, domainPublicRouter) => {
|
|
16
|
+
/*
|
|
17
|
+
* can add domain public routes to application (auth not required, tenancy required)
|
|
18
|
+
*/
|
|
19
|
+
});
|
|
20
|
+
process.on('bootstrap-module-domain-private-route', (app, domainPrivateRouter) => {
|
|
21
|
+
/*
|
|
22
|
+
* can add domain private routes to application (auth required, tenancy required)
|
|
23
|
+
*/
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,wCAAwC,CAAC,CAAA;AAExE,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE;IACpF;;;;;OAKG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE;IACtF;;OAEG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE;IACpF;;OAEG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE;IACtF;;OAEG;AACL,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-scenario",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.673",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
"docker:run": "docker run --platform linux/amd64 -it -p 4000:3000 hatiolab/operato-scenario:latest"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
40
|
-
"@things-factory/auth-ui": "^4.3.
|
|
41
|
-
"@things-factory/context-ui": "^4.3.
|
|
42
|
-
"@things-factory/export-ui": "^4.3.
|
|
43
|
-
"@things-factory/font-base": "^4.3.
|
|
44
|
-
"@things-factory/form-ui": "^4.3.
|
|
45
|
-
"@things-factory/help": "^4.3.
|
|
46
|
-
"@things-factory/i18n-base": "^4.3.
|
|
47
|
-
"@things-factory/import-ui": "^4.3.
|
|
48
|
-
"@things-factory/integration-notification": "^4.3.
|
|
49
|
-
"@things-factory/integration-ui": "^4.3.
|
|
50
|
-
"@things-factory/layout-ui": "^4.3.
|
|
51
|
-
"@things-factory/lite-menu": "^4.3.
|
|
52
|
-
"@things-factory/more-ui": "^4.3.
|
|
53
|
-
"@things-factory/notification": "^4.3.
|
|
54
|
-
"@things-factory/oauth2-client": "^4.3.
|
|
39
|
+
"@things-factory/apptool-ui": "^4.3.673",
|
|
40
|
+
"@things-factory/auth-ui": "^4.3.673",
|
|
41
|
+
"@things-factory/context-ui": "^4.3.673",
|
|
42
|
+
"@things-factory/export-ui": "^4.3.673",
|
|
43
|
+
"@things-factory/font-base": "^4.3.673",
|
|
44
|
+
"@things-factory/form-ui": "^4.3.673",
|
|
45
|
+
"@things-factory/help": "^4.3.673",
|
|
46
|
+
"@things-factory/i18n-base": "^4.3.673",
|
|
47
|
+
"@things-factory/import-ui": "^4.3.673",
|
|
48
|
+
"@things-factory/integration-notification": "^4.3.673",
|
|
49
|
+
"@things-factory/integration-ui": "^4.3.673",
|
|
50
|
+
"@things-factory/layout-ui": "^4.3.673",
|
|
51
|
+
"@things-factory/lite-menu": "^4.3.673",
|
|
52
|
+
"@things-factory/more-ui": "^4.3.673",
|
|
53
|
+
"@things-factory/notification": "^4.3.673",
|
|
54
|
+
"@things-factory/oauth2-client": "^4.3.673",
|
|
55
55
|
"@things-factory/operato-license-checker": "^3.0.4",
|
|
56
|
-
"@things-factory/resource-ui": "^4.3.
|
|
57
|
-
"@things-factory/setting-ui": "^4.3.
|
|
58
|
-
"@things-factory/system-ui": "^4.3.
|
|
56
|
+
"@things-factory/resource-ui": "^4.3.673",
|
|
57
|
+
"@things-factory/setting-ui": "^4.3.673",
|
|
58
|
+
"@things-factory/system-ui": "^4.3.673"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@things-factory/builder": "^4.3.591"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "d22f985380f3af2ebc0f81ea8bec478ba00b4777"
|
|
64
64
|
}
|