@steedos/service-metadata-layouts 2.2.55-beta.9 → 2.2.56
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/lib/layouts.service.js +1 -36
- package/lib/layouts.service.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.json +1 -0
package/lib/layouts.service.js
CHANGED
|
@@ -5,13 +5,7 @@ const _1 = require(".");
|
|
|
5
5
|
const actionsHandler_1 = require("./actionsHandler");
|
|
6
6
|
module.exports = {
|
|
7
7
|
name: "layouts",
|
|
8
|
-
/**
|
|
9
|
-
* Settings
|
|
10
|
-
*/
|
|
11
8
|
settings: {},
|
|
12
|
-
/**
|
|
13
|
-
* Dependencies
|
|
14
|
-
*/
|
|
15
9
|
dependencies: ['metadata'],
|
|
16
10
|
events: {
|
|
17
11
|
[`$METADATA.${_1.METADATA_TYPE}.*`]: {
|
|
@@ -22,15 +16,7 @@ module.exports = {
|
|
|
22
16
|
}
|
|
23
17
|
}
|
|
24
18
|
},
|
|
25
|
-
/**
|
|
26
|
-
* Actions
|
|
27
|
-
*/
|
|
28
19
|
actions: {
|
|
29
|
-
/**
|
|
30
|
-
* Say a 'Hello' action.
|
|
31
|
-
*
|
|
32
|
-
* @returns
|
|
33
|
-
*/
|
|
34
20
|
get: {
|
|
35
21
|
handler(ctx) {
|
|
36
22
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,35 +60,14 @@ module.exports = {
|
|
|
74
60
|
}
|
|
75
61
|
}
|
|
76
62
|
},
|
|
77
|
-
hooks: {
|
|
78
|
-
// error: {
|
|
79
|
-
// // Global error handler
|
|
80
|
-
// "*": function(ctx, err) {
|
|
81
|
-
// // this.logger.error(`Error occurred when '${ctx.action.name}' action was called`, err);
|
|
82
|
-
// // Throw further the error
|
|
83
|
-
// throw err;
|
|
84
|
-
// }
|
|
85
|
-
// }
|
|
86
|
-
},
|
|
87
|
-
/**
|
|
88
|
-
* Methods
|
|
89
|
-
*/
|
|
63
|
+
hooks: {},
|
|
90
64
|
methods: {},
|
|
91
|
-
/**
|
|
92
|
-
* Service created lifecycle event handler
|
|
93
|
-
*/
|
|
94
65
|
created() {
|
|
95
66
|
},
|
|
96
|
-
/**
|
|
97
|
-
* Service started lifecycle event handler
|
|
98
|
-
*/
|
|
99
67
|
started() {
|
|
100
68
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
101
69
|
});
|
|
102
70
|
},
|
|
103
|
-
/**
|
|
104
|
-
* Service stopped lifecycle event handler
|
|
105
|
-
*/
|
|
106
71
|
stopped() {
|
|
107
72
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
108
73
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layouts.service.js","sourceRoot":"","sources":["../src/layouts.service.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AACb,wBAAkC;AAClC,qDAAkD;AAClD,MAAM,CAAC,OAAO,GAAG;IACb,IAAI,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"layouts.service.js","sourceRoot":"","sources":["../src/layouts.service.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AACb,wBAAkC;AAClC,qDAAkD;AAClD,MAAM,CAAC,OAAO,GAAG;IACb,IAAI,EAAE,SAAS;IAIf,QAAQ,EAAE,EAET;IAKD,YAAY,EAAE,CAAC,UAAU,CAAC;IAE1B,MAAM,EAAE;QACV,CAAC,aAAa,gBAAa,IAAI,CAAC,EAAE;YAClB,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBAC7C,CAAC;aAAA;SACJ;KACP;IAIE,OAAO,EAAE;QAML,GAAG,EAAE;YACK,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACzC,CAAC;aAAA;SACJ;QACD,MAAM,EAAE;YACE,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5C,CAAC;aAAA;SACJ;QACD,MAAM,EAAE;YACE,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5C,CAAC;aAAA;SACJ;QACD,GAAG,EAAE;YACK,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACzC,CAAC;aAAA;SACJ;QACD,MAAM,EAAE;YACE,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5C,CAAC;aAAA;SACJ;QACD,MAAM,EAAE;YACE,OAAO,CAAC,GAAG;;oBACb,OAAO,MAAM,+BAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5C,CAAC;aAAA;SACJ;KACJ;IACD,KAAK,EAAC,EASL;IAID,OAAO,EAAE,EAER;IAKD,OAAO;IAEP,CAAC;IAKK,OAAO;;QAEb,CAAC;KAAA;IAKK,OAAO;;QAEb,CAAC;KAAA;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-metadata-layouts",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.56",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/layouts.service.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "b917dd72fc649aef379413971e8e39a9bc3697d9"
|
|
37
37
|
}
|