vona-cli-set-api 1.0.268 → 1.0.270

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.
@@ -41,7 +41,7 @@
41
41
  "scope": "typescript,typescriptreact",
42
42
  "prefix": "aopget",
43
43
  "body": [
44
- "protected __get__(prop: string, next: NextSync) {",
44
+ "protected __get__: AopActionGet<ClassSome> = (_prop, next, _receiver) => {",
45
45
  " const value = next();",
46
46
  " return value;",
47
47
  "}"
@@ -52,12 +52,23 @@
52
52
  "scope": "typescript,typescriptreact",
53
53
  "prefix": "aopset",
54
54
  "body": [
55
- "protected __set__(prop: string, value: any, next: NextSync): boolean {",
55
+ "protected __set__: AopActionSet<ClassSome> = (_prop, value, next, _receiver) => {",
56
56
  " return next(value);",
57
57
  "}"
58
58
  ],
59
59
  "description": "aop.__set__"
60
60
  },
61
+ "aop.__method__": {
62
+ "scope": "typescript,typescriptreact",
63
+ "prefix": "aopmethod",
64
+ "body": [
65
+ "protected __method__: AopActionMethod<ClassSome> = (_method, _args, next, _receiver) => {",
66
+ " $0",
67
+ " return next();",
68
+ "}"
69
+ ],
70
+ "description": "aop.__method__"
71
+ },
61
72
  "aop.getter": {
62
73
  "scope": "typescript,typescriptreact",
63
74
  "prefix": "aopgetter",
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.155"
49
+ "vona": "^5.0.156"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
3
  "type": "module",
4
- "version": "1.0.268",
4
+ "version": "1.0.270",
5
5
  "description": "vona cli-set-api",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -61,7 +61,7 @@
61
61
  "ts-node-maintained": "^10.9.6",
62
62
  "urllib": "^4.6.11",
63
63
  "uuid": "^11.1.0",
64
- "vona-core": "^5.0.71",
64
+ "vona-core": "^5.0.72",
65
65
  "why-is-node-running": "^3.2.2",
66
66
  "yargs-parser": "^21.1.1"
67
67
  },