@barcidev/ngx-autogen 0.1.37 → 0.1.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barcidev/ngx-autogen",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "A collection of Angular schematics for essential functionalities.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -3,18 +3,6 @@
3
3
  "$id": "ng-add-schema",
4
4
  "type": "object",
5
5
  "properties": {
6
- "pk": {
7
- "type": "string",
8
- "description": "The name of the default Primary Key (e.g., id, cod, uuid); default is 'id'.",
9
- "x-prompt": "What is the name of the default Primary Key (e.g., id, cod, uuid)?",
10
- "default": "id"
11
- },
12
- "lang":{
13
- "type": "string",
14
- "description": "The default language for the application (en, es); default is 'en'.",
15
- "x-prompt": "What is the default language for the application (en, es)?",
16
- "default": "en"
17
- }
18
6
  },
19
7
  "required": ["pk"]
20
8
  }
@@ -19,15 +19,17 @@
19
19
  "description": "Whether the files should be grouped in subfolders.",
20
20
  "default": false
21
21
  },
22
- "lang": {
22
+ "pk": {
23
23
  "type": "string",
24
- "description": "Language for pluralization ('en' for English, 'es' for Spanish).",
25
- "enum": ["en", "es"],
26
- "default": "en"
24
+ "description": "The name of the default Primary Key (e.g., id, cod, uuid); default is 'id'.",
25
+ "x-prompt": "What is the name of the default Primary Key (e.g., id, cod, uuid)?",
26
+ "default": "id"
27
27
  },
28
- "pk": {
28
+ "lang":{
29
29
  "type": "string",
30
- "description": "Name of the primary key."
30
+ "description": "The default language for the application (en, es); default is 'en'.",
31
+ "x-prompt": "What is the default language for the application (en, es)?",
32
+ "default": "en"
31
33
  }
32
34
  },
33
35
  "required": ["name"]