@aeriajs/core 0.0.121 → 0.0.122

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.
@@ -57,10 +57,11 @@ export declare const applyPreset: (entry: Partial<Description> | Description["pr
57
57
  };
58
58
  } | {
59
59
  readonly individualActions: {
60
- readonly 'ui:spawnView': {
60
+ readonly 'route:/dashboard/crud/:id': {
61
61
  readonly label: "action.view";
62
- readonly icon: "magnifying-glass-plus";
62
+ readonly icon: "eye";
63
63
  readonly translate: true;
64
+ readonly setItem: true;
64
65
  };
65
66
  };
66
67
  });
@@ -13,6 +13,12 @@ export declare const crud: {
13
13
  readonly icon: "pencil-simple";
14
14
  readonly translate: true;
15
15
  };
16
+ readonly 'route:/dashboard/crud/:id': {
17
+ readonly label: "action.view";
18
+ readonly icon: "eye";
19
+ readonly translate: true;
20
+ readonly setItem: true;
21
+ };
16
22
  readonly remove: {
17
23
  readonly label: "action.remove";
18
24
  readonly icon: "trash";
@@ -16,6 +16,12 @@ exports.crud = {
16
16
  icon: 'pencil-simple',
17
17
  translate: true,
18
18
  },
19
+ 'route:/dashboard/crud/:id': {
20
+ label: 'action.view',
21
+ icon: 'eye',
22
+ translate: true,
23
+ setItem: true,
24
+ },
19
25
  'remove': {
20
26
  label: 'action.remove',
21
27
  icon: 'trash',
@@ -14,6 +14,12 @@ export const crud = {
14
14
  icon: "pencil-simple",
15
15
  translate: true
16
16
  },
17
+ "route:/dashboard/crud/:id": {
18
+ label: "action.view",
19
+ icon: "eye",
20
+ translate: true,
21
+ setItem: true
22
+ },
17
23
  "remove": {
18
24
  label: "action.remove",
19
25
  icon: "trash",
@@ -1,9 +1,10 @@
1
1
  export declare const view: {
2
2
  readonly individualActions: {
3
- readonly 'ui:spawnView': {
3
+ readonly 'route:/dashboard/crud/:id': {
4
4
  readonly label: "action.view";
5
- readonly icon: "magnifying-glass-plus";
5
+ readonly icon: "eye";
6
6
  readonly translate: true;
7
+ readonly setItem: true;
7
8
  };
8
9
  };
9
10
  };
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.view = void 0;
4
4
  exports.view = {
5
5
  individualActions: {
6
- 'ui:spawnView': {
6
+ 'route:/dashboard/crud/:id': {
7
7
  label: 'action.view',
8
- icon: 'magnifying-glass-plus',
8
+ icon: 'eye',
9
9
  translate: true,
10
+ setItem: true,
10
11
  },
11
12
  },
12
13
  };
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  export const view = {
3
3
  individualActions: {
4
- "ui:spawnView": {
4
+ "route:/dashboard/crud/:id": {
5
5
  label: "action.view",
6
- icon: "magnifying-glass-plus",
7
- translate: true
6
+ icon: "eye",
7
+ translate: true,
8
+ setItem: true
8
9
  }
9
10
  }
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/core",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -41,11 +41,11 @@
41
41
  "mongodb-memory-server": "^9.2.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@aeriajs/builtins": "^0.0.121",
44
+ "@aeriajs/builtins": "^0.0.122",
45
45
  "@aeriajs/common": "^0.0.77",
46
46
  "@aeriajs/entrypoint": "^0.0.79",
47
47
  "@aeriajs/http": "^0.0.88",
48
- "@aeriajs/security": "^0.0.121",
48
+ "@aeriajs/security": "^0.0.122",
49
49
  "@aeriajs/types": "^0.0.67",
50
50
  "@aeriajs/validation": "^0.0.80"
51
51
  },