@bmstravel/nvp-plop-templates 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,8 +37,8 @@ export const {{pascalCase mixinName}}Mixin = () => {
|
|
37
37
|
const $this: IBaseService<any, any> = this
|
38
38
|
return {
|
39
39
|
code: 0,
|
40
|
-
data: {}
|
41
|
-
}
|
40
|
+
data: {},
|
41
|
+
},
|
42
42
|
},
|
43
43
|
}
|
44
44
|
}
|
@@ -51,13 +51,14 @@ export const {{pascalCase mixinName}}Mixin = () => {
|
|
51
51
|
handler(ctx: Context<{{pascalCase mixinEvent}}Params, any>) {
|
52
52
|
const $this: IBaseService<any, any> = this
|
53
53
|
$this.logger.info("Event received, parameters OK!", ctx.params);
|
54
|
-
}
|
54
|
+
},
|
55
55
|
}
|
56
56
|
}
|
57
57
|
{{/if}}
|
58
58
|
return {
|
59
|
-
{{#
|
59
|
+
{{#filter mixinIncludes "mixins"}}
|
60
60
|
mixins: [],
|
61
|
+
{{/filter}}
|
61
62
|
{{/if}}
|
62
63
|
{{#if mixinMethod}}
|
63
64
|
methods,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bmstravel/nvp-plop-templates",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.2",
|
4
4
|
"description": "🏆 Using for plop templates",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "lib/index.js",
|
@@ -15,5 +15,5 @@
|
|
15
15
|
"phongnv86 <phongnguyenvan86@gmail.com>",
|
16
16
|
"phongnv86 <phongnv@media-one.vn>"
|
17
17
|
],
|
18
|
-
"gitHead": "
|
18
|
+
"gitHead": "c987a49dafd67268701b9a257625ef8184057ac6"
|
19
19
|
}
|