@rxap/schematic-angular 16.1.0-dev.2 → 16.1.0-dev.4

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.3...@rxap/schematic-angular@16.1.0-dev.4) (2023-08-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - use role for sub schematic decision ([bd6b135](https://gitlab.com/rxap/packages/commit/bd6b13584d17be6e2aec0d29e9e83b05bfa29d95))
11
+
12
+ # [16.1.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.2...@rxap/schematic-angular@16.1.0-dev.3) (2023-08-07)
13
+
14
+ ### Bug Fixes
15
+
16
+ - allow new role types ([5703642](https://gitlab.com/rxap/packages/commit/5703642f5f33659b7fe6d955ce46445090dbe1fd))
17
+
6
18
  # [16.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.1...@rxap/schematic-angular@16.1.0-dev.2) (2023-08-07)
7
19
 
8
20
  ### Features
package/README.md CHANGED
@@ -17,5 +17,5 @@ yarn add @rxap/schematic-angular
17
17
  ```
18
18
  **Install peer dependencies:**
19
19
  ```bash
20
- yarn add @angular-devkit/core@^16.1.4 @angular-devkit/schematics@^16.1.4 @rxap/schematics-ts-morph@^16.0.0-dev.7 @rxap/schematics-utilities@^16.0.0-dev.7 @rxap/utilities@^16.0.0-dev.6 ts-morph@^18.0.0
20
+ yarn add @angular-devkit/core@^16.1.4 @angular-devkit/schematics@^16.1.4 @rxap/schematics-ts-morph@^16.0.0-dev.8 @rxap/schematics-utilities@^16.0.0-dev.7 @rxap/utilities@^16.0.0-dev.7 ts-morph@^18.0.0
21
21
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/schematic-angular",
3
- "version": "16.1.0-dev.2",
3
+ "version": "16.1.0-dev.4",
4
4
  "type": "commonjs",
5
5
  "schematics": "./collection.json",
6
6
  "publishConfig": {
@@ -37,9 +37,9 @@
37
37
  "peerDependencies": {
38
38
  "@angular-devkit/core": "^16.1.4",
39
39
  "@angular-devkit/schematics": "^16.1.4",
40
- "@rxap/schematics-ts-morph": "^16.0.0-dev.7",
40
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.8",
41
41
  "@rxap/schematics-utilities": "^16.0.0-dev.7",
42
- "@rxap/utilities": "^16.0.0-dev.6",
42
+ "@rxap/utilities": "^16.0.0-dev.7",
43
43
  "ts-morph": "^18.0.0",
44
44
  "@rxap/node-utilities": "1.1.0-dev.1",
45
45
  "@rxap/workspace-ts-morph": "0.1.0-dev.0",
@@ -49,7 +49,7 @@
49
49
  "packageGroup": [
50
50
  {
51
51
  "package": "@rxap/schematics-ts-morph",
52
- "version": "16.0.0-dev.7"
52
+ "version": "16.0.0-dev.8"
53
53
  },
54
54
  {
55
55
  "package": "@rxap/schematics-utilities",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  {
59
59
  "package": "@rxap/utilities",
60
- "version": "16.0.0-dev.6"
60
+ "version": "16.0.0-dev.7"
61
61
  },
62
62
  {
63
63
  "package": "@rxap/workspace-utilities",
@@ -65,7 +65,7 @@
65
65
  }
66
66
  ]
67
67
  },
68
- "gitHead": "6581a2e776d20dc9d2eb9f71d9f0ad704492089b",
68
+ "gitHead": "506d94941fbc9a3b548c6cbafc15949aaa5c89e0",
69
69
  "main": "./src/index.js",
70
70
  "types": "./src/index.d.ts"
71
71
  }
@@ -163,7 +163,7 @@ function defaultActionRule(action, normalizedOptions) {
163
163
  ]);
164
164
  }
165
165
  function actionRule(action, normalizedOptions) {
166
- switch (action.type) {
166
+ switch (action.role) {
167
167
  case 'operation':
168
168
  return operationActionRule(action, normalizedOptions);
169
169
  case 'form':
@@ -213,13 +213,7 @@
213
213
  "type": "boolean"
214
214
  },
215
215
  "role": {
216
- "type": "string",
217
- "enum": [
218
- "form",
219
- "link",
220
- "method",
221
- "custom"
222
- ]
216
+ "type": "string"
223
217
  },
224
218
  "icon": {
225
219
  "type": "string"