@acorex/platform-generator 18.0.7 → 18.0.8

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.
Files changed (55) hide show
  1. package/README.md +11 -11
  2. package/generators.json +9 -9
  3. package/package.json +1 -1
  4. package/src/generators/app-module/files/.eslintrc.json.template +40 -40
  5. package/src/generators/app-module/files/jest.config.ts.template +22 -22
  6. package/src/generators/app-module/files/project.json.template +308 -308
  7. package/src/generators/app-module/files/src/app/app.component.ts.template +10 -10
  8. package/src/generators/app-module/files/src/app/app.module.ts.template +99 -99
  9. package/src/generators/app-module/files/src/app/app.routes.ts.template +13 -13
  10. package/src/generators/app-module/files/src/app/header-interceptor.interceptor.ts.template +33 -33
  11. package/src/generators/app-module/files/src/app/modules/auth/application.loader.ts.template +34 -34
  12. package/src/generators/app-module/files/src/app/modules/auth/auth-root.module.ts.template +52 -52
  13. package/src/generators/app-module/files/src/app/modules/auth/auth.strategy.ts.template +91 -91
  14. package/src/generators/app-module/files/src/app/modules/auth/feature.loader.ts.template +17 -17
  15. package/src/generators/app-module/files/src/app/modules/auth/permission.loader.ts.template +21 -21
  16. package/src/generators/app-module/files/src/app/modules/auth/tenant.loader.ts.template +32 -32
  17. package/src/generators/app-module/files/src/app/modules/common/translation-root.module.ts.template +45 -45
  18. package/src/generators/app-module/files/src/app/modules/layout/entity.loader.ts.template +21 -21
  19. package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +79 -79
  20. package/src/generators/app-module/files/src/app/modules/layout/menu.loader.ts.template +159 -159
  21. package/src/generators/app-module/files/src/app/modules/root/home/home.page.html.template +2 -2
  22. package/src/generators/app-module/files/src/app/modules/root/home/home.page.ts.template +9 -9
  23. package/src/generators/app-module/files/src/app/modules/root/root.module.ts.template +32 -32
  24. package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template +184 -184
  25. package/src/generators/app-module/files/src/assets/auth-background.svg +6 -6
  26. package/src/generators/app-module/files/src/assets/documents.svg +9 -9
  27. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/brands.min.css +1457 -1457
  28. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/fontawesome.min.css +11291 -11291
  29. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/light.min.css +22 -22
  30. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/regular.min.css +22 -22
  31. package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/solid.min.css +5 -5
  32. package/src/generators/app-module/files/src/assets/i18n/en/auth.json +49 -49
  33. package/src/generators/app-module/files/src/assets/i18n/en/common.json +179 -179
  34. package/src/generators/app-module/files/src/assets/images/error/error-404.svg +336 -336
  35. package/src/generators/app-module/files/src/assets/images/error/error-offline.svg +133 -133
  36. package/src/generators/app-module/files/src/assets/logos/logo-colored.svg +18 -18
  37. package/src/generators/app-module/files/src/assets/logos/logo-white.svg +17 -17
  38. package/src/generators/app-module/files/src/assets/themes/default/default.scss.template +141 -141
  39. package/src/generators/app-module/files/src/environments/environment.dev.ts.template +19 -19
  40. package/src/generators/app-module/files/src/environments/environment.local.ts.template +19 -19
  41. package/src/generators/app-module/files/src/environments/environment.prod.ts.template +19 -19
  42. package/src/generators/app-module/files/src/environments/environment.test.local.ts.template +19 -19
  43. package/src/generators/app-module/files/src/environments/environment.test.ts.template +19 -19
  44. package/src/generators/app-module/files/src/environments/environment.ts.template +19 -19
  45. package/src/generators/app-module/files/src/index.html.template +34 -34
  46. package/src/generators/app-module/files/src/main.ts.template +6 -6
  47. package/src/generators/app-module/files/src/styles.scss.template +188 -188
  48. package/src/generators/app-module/files/src/test-setup.ts.template +7 -7
  49. package/src/generators/app-module/files/tailwind.config.js.template +18 -18
  50. package/src/generators/app-module/files/tsconfig.app.json.template +10 -10
  51. package/src/generators/app-module/files/tsconfig.editor.json.template +7 -7
  52. package/src/generators/app-module/files/tsconfig.json.template +34 -34
  53. package/src/generators/app-module/files/tsconfig.spec.json.template +11 -11
  54. package/src/generators/app-module/schema.d.ts +4 -4
  55. package/src/generators/app-module/schema.json +27 -27
@@ -1,188 +1,188 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @import '@angular/cdk/overlay-prebuilt.css';
6
- @import '@acorex/styles/index.scss';
7
- @import '@acorex/styles/icons/fontawesome/fontawesome.scss';
8
- @import '@acorex/styles/icons/index.scss';
9
-
10
- @import './assets/fonts/font-awesome/css/fontawesome.min.css';
11
- @import './assets/fonts/font-awesome/css/brands.min.css';
12
- @import './assets/fonts/font-awesome/css/light.min.css';
13
- @import './assets/fonts/font-awesome/css/solid.min.css';
14
- @import './assets/themes/default/default.scss';
15
-
16
- html,
17
- body {
18
- height: 100%;
19
- }
20
-
21
- * {
22
- overscroll-behavior: none;
23
- }
24
-
25
- .ax-heading {
26
- width: 100%;
27
- border-bottom: 1px solid;
28
- border-color: rgba(var(--ax-color-border-default));
29
- line-height: 0.1em;
30
- margin: 1rem auto;
31
- &.ax-heading-center {
32
- text-align: center;
33
- }
34
- &.ax-heading-start {
35
- text-align: start;
36
- }
37
- &.ax-heading-end {
38
- text-align: end;
39
- }
40
- span {
41
- background: rgba(var(--ax-color-surface));
42
- padding: 0 0.75rem;
43
- }
44
- }
45
-
46
- .ax-card {
47
- @apply ax-overflow-hidden;
48
- .ax-card-header {
49
- @apply ax-flex ax-items-center ax-justify-between ax-p-4 md:ax-py-4 md:ax-px-6 ax-border-b;
50
- p {
51
- @apply ax-text-xl ax-font-medium;
52
- }
53
- }
54
- .ax-card-body {
55
- @apply ax-flex ax-flex-col ax-gap-4 md:ax-gap-6 ax-p-4 md:ax-p-6;
56
- }
57
- & > ax-footer {
58
- @apply ax-bg-on-surface ax-py-3 ax-px-4;
59
- }
60
- }
61
-
62
- ::-webkit-scrollbar {
63
- width: 5px;
64
- height: 7px;
65
- }
66
-
67
- ::-webkit-scrollbar-button {
68
- width: 0px;
69
- height: 0px;
70
- }
71
-
72
- ::-webkit-scrollbar-thumb {
73
- background: #c6ccd8;
74
- border: 0px none #ffffff;
75
- border-radius: 50px;
76
- }
77
-
78
- ::-webkit-scrollbar-thumb:hover {
79
- background: #b5bdce;
80
- }
81
-
82
- ::-webkit-scrollbar-thumb:active {
83
- background: #848ea0;
84
- }
85
-
86
- ::-webkit-scrollbar-track {
87
- background: transparent;
88
- border: 0px none #ffffff;
89
- border-radius: 50px;
90
- }
91
-
92
- ::-webkit-scrollbar-track:hover {
93
- background: transparent;
94
- }
95
-
96
- ::-webkit-scrollbar-track:active {
97
- background: transparent;
98
- }
99
-
100
- ::-webkit-scrollbar-corner {
101
- background: transparent;
102
- }
103
-
104
- .no-scrollbar::-webkit-scrollbar {
105
- display: none;
106
- }
107
- /* Hide scrollbar for IE, Edge and Firefox */
108
- .no-scrollbar {
109
- -ms-overflow-style: none; /* IE and Edge */
110
- scrollbar-width: none; /* Firefox */
111
- }
112
-
113
- @include darkMode() {
114
- ::-webkit-scrollbar-thumb {
115
- background: #42454b;
116
- border: 0px none #ffffff;
117
- border-radius: 50px;
118
- }
119
-
120
- ::-webkit-scrollbar-thumb:hover {
121
- background: #5d6168;
122
- }
123
-
124
- ::-webkit-scrollbar-thumb:active {
125
- background: #282a2e;
126
- }
127
- }
128
-
129
- .loading-container {
130
- @apply ax-flex ax-justify-center ax-items-center ax-flex-col ax-h-full;
131
- .loading-content {
132
- @apply ax-w-72;
133
- .logo {
134
- @apply ax-w-3/5 ax-mx-auto;
135
- }
136
- }
137
- .loading-step {
138
- @apply ax-absolute ax-bottom-5 ax-text-sm dark:ax-text-neutral-300 ax-text-neutral-500 ax-mt-4;
139
- }
140
- .progress-bar {
141
- @apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-mt-12;
142
- }
143
- .progress-bar-value {
144
- @apply ax-w-full ax-h-full ax-bg-primary-500;
145
- animation: indeterminateAnimation 1s infinite linear;
146
- transform-origin: 0% 50%;
147
- }
148
- }
149
-
150
- ax-side-menu {
151
- & > ax-title {
152
- margin-top: 1rem !important;
153
- }
154
- }
155
-
156
- .ax-icon-more-horizontal,
157
- .ax-eye {
158
- font-weight: 900;
159
- }
160
-
161
- .axp-validation-message {
162
- @apply ax-text-xs ax-text-danger-500;
163
- }
164
-
165
- .axp-auth-bk {
166
- background-image: url('/assets/auth-background.svg');
167
- }
168
-
169
- .axp-navigating-progress {
170
- @apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-absolute ax-top-0;
171
- & > div {
172
- @apply ax-w-full ax-h-full ax-bg-primary-500;
173
- animation: indeterminateAnimation 1s infinite linear;
174
- transform-origin: 0% 50%;
175
- }
176
- }
177
-
178
- @keyframes indeterminateAnimation {
179
- 0% {
180
- transform: translateX(0) scaleX(0);
181
- }
182
- 40% {
183
- transform: translateX(0) scaleX(0.4);
184
- }
185
- 100% {
186
- transform: translateX(100%) scaleX(0.5);
187
- }
188
- }
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @import '@angular/cdk/overlay-prebuilt.css';
6
+ @import '@acorex/styles/index.scss';
7
+ @import '@acorex/styles/icons/fontawesome/fontawesome.scss';
8
+ @import '@acorex/styles/icons/index.scss';
9
+
10
+ @import './assets/fonts/font-awesome/css/fontawesome.min.css';
11
+ @import './assets/fonts/font-awesome/css/brands.min.css';
12
+ @import './assets/fonts/font-awesome/css/light.min.css';
13
+ @import './assets/fonts/font-awesome/css/solid.min.css';
14
+ @import './assets/themes/default/default.scss';
15
+
16
+ html,
17
+ body {
18
+ height: 100%;
19
+ }
20
+
21
+ * {
22
+ overscroll-behavior: none;
23
+ }
24
+
25
+ .ax-heading {
26
+ width: 100%;
27
+ border-bottom: 1px solid;
28
+ border-color: rgba(var(--ax-color-border-default));
29
+ line-height: 0.1em;
30
+ margin: 1rem auto;
31
+ &.ax-heading-center {
32
+ text-align: center;
33
+ }
34
+ &.ax-heading-start {
35
+ text-align: start;
36
+ }
37
+ &.ax-heading-end {
38
+ text-align: end;
39
+ }
40
+ span {
41
+ background: rgba(var(--ax-color-surface));
42
+ padding: 0 0.75rem;
43
+ }
44
+ }
45
+
46
+ .ax-card {
47
+ @apply ax-overflow-hidden;
48
+ .ax-card-header {
49
+ @apply ax-flex ax-items-center ax-justify-between ax-p-4 md:ax-py-4 md:ax-px-6 ax-border-b;
50
+ p {
51
+ @apply ax-text-xl ax-font-medium;
52
+ }
53
+ }
54
+ .ax-card-body {
55
+ @apply ax-flex ax-flex-col ax-gap-4 md:ax-gap-6 ax-p-4 md:ax-p-6;
56
+ }
57
+ & > ax-footer {
58
+ @apply ax-bg-on-surface ax-py-3 ax-px-4;
59
+ }
60
+ }
61
+
62
+ ::-webkit-scrollbar {
63
+ width: 5px;
64
+ height: 7px;
65
+ }
66
+
67
+ ::-webkit-scrollbar-button {
68
+ width: 0px;
69
+ height: 0px;
70
+ }
71
+
72
+ ::-webkit-scrollbar-thumb {
73
+ background: #c6ccd8;
74
+ border: 0px none #ffffff;
75
+ border-radius: 50px;
76
+ }
77
+
78
+ ::-webkit-scrollbar-thumb:hover {
79
+ background: #b5bdce;
80
+ }
81
+
82
+ ::-webkit-scrollbar-thumb:active {
83
+ background: #848ea0;
84
+ }
85
+
86
+ ::-webkit-scrollbar-track {
87
+ background: transparent;
88
+ border: 0px none #ffffff;
89
+ border-radius: 50px;
90
+ }
91
+
92
+ ::-webkit-scrollbar-track:hover {
93
+ background: transparent;
94
+ }
95
+
96
+ ::-webkit-scrollbar-track:active {
97
+ background: transparent;
98
+ }
99
+
100
+ ::-webkit-scrollbar-corner {
101
+ background: transparent;
102
+ }
103
+
104
+ .no-scrollbar::-webkit-scrollbar {
105
+ display: none;
106
+ }
107
+ /* Hide scrollbar for IE, Edge and Firefox */
108
+ .no-scrollbar {
109
+ -ms-overflow-style: none; /* IE and Edge */
110
+ scrollbar-width: none; /* Firefox */
111
+ }
112
+
113
+ @include darkMode() {
114
+ ::-webkit-scrollbar-thumb {
115
+ background: #42454b;
116
+ border: 0px none #ffffff;
117
+ border-radius: 50px;
118
+ }
119
+
120
+ ::-webkit-scrollbar-thumb:hover {
121
+ background: #5d6168;
122
+ }
123
+
124
+ ::-webkit-scrollbar-thumb:active {
125
+ background: #282a2e;
126
+ }
127
+ }
128
+
129
+ .loading-container {
130
+ @apply ax-flex ax-justify-center ax-items-center ax-flex-col ax-h-full;
131
+ .loading-content {
132
+ @apply ax-w-72;
133
+ .logo {
134
+ @apply ax-w-3/5 ax-mx-auto;
135
+ }
136
+ }
137
+ .loading-step {
138
+ @apply ax-absolute ax-bottom-5 ax-text-sm dark:ax-text-neutral-300 ax-text-neutral-500 ax-mt-4;
139
+ }
140
+ .progress-bar {
141
+ @apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-mt-12;
142
+ }
143
+ .progress-bar-value {
144
+ @apply ax-w-full ax-h-full ax-bg-primary-500;
145
+ animation: indeterminateAnimation 1s infinite linear;
146
+ transform-origin: 0% 50%;
147
+ }
148
+ }
149
+
150
+ ax-side-menu {
151
+ & > ax-title {
152
+ margin-top: 1rem !important;
153
+ }
154
+ }
155
+
156
+ .ax-icon-more-horizontal,
157
+ .ax-eye {
158
+ font-weight: 900;
159
+ }
160
+
161
+ .axp-validation-message {
162
+ @apply ax-text-xs ax-text-danger-500;
163
+ }
164
+
165
+ .axp-auth-bk {
166
+ background-image: url('/assets/auth-background.svg');
167
+ }
168
+
169
+ .axp-navigating-progress {
170
+ @apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-absolute ax-top-0;
171
+ & > div {
172
+ @apply ax-w-full ax-h-full ax-bg-primary-500;
173
+ animation: indeterminateAnimation 1s infinite linear;
174
+ transform-origin: 0% 50%;
175
+ }
176
+ }
177
+
178
+ @keyframes indeterminateAnimation {
179
+ 0% {
180
+ transform: translateX(0) scaleX(0);
181
+ }
182
+ 40% {
183
+ transform: translateX(0) scaleX(0.4);
184
+ }
185
+ 100% {
186
+ transform: translateX(100%) scaleX(0.5);
187
+ }
188
+ }
@@ -1,7 +1,7 @@
1
- globalThis.ngJest = {
2
- testEnvironmentOptions: {
3
- errorOnUnknownElements: true,
4
- errorOnUnknownProperties: true,
5
- },
6
- };
7
- import 'jest-preset-angular/setup-jest';
1
+ globalThis.ngJest = {
2
+ testEnvironmentOptions: {
3
+ errorOnUnknownElements: true,
4
+ errorOnUnknownProperties: true,
5
+ },
6
+ };
7
+ import 'jest-preset-angular/setup-jest';
@@ -1,19 +1,19 @@
1
- const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');
2
- const { join } = require('path');
3
-
4
- /** @type {import('tailwindcss').Config} */
5
- module.exports = {
6
-   presets: [require('@acorex/styles/tailwind-base')],
7
-   content: [
8
-     join(__dirname, 'src/**/!(*.stories|*.spec).{ts,html}'),
9
-     join(
10
-       __dirname,
11
-       '../../node_modules/@acorex/**/!(*.stories|*.spec).{ts,html,mjs}'
12
-     ),
13
-     ...createGlobPatternsForDependencies(__dirname),
14
-   ],
15
-   theme: {
16
-     extend: {},
17
-   },
18
-   plugins: [],
1
+ const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');
2
+ const { join } = require('path');
3
+
4
+ /** @type {import('tailwindcss').Config} */
5
+ module.exports = {
6
+   presets: [require('@acorex/styles/tailwind-base')],
7
+   content: [
8
+     join(__dirname, 'src/**/!(*.stories|*.spec).{ts,html}'),
9
+     join(
10
+       __dirname,
11
+       '../../node_modules/@acorex/**/!(*.stories|*.spec).{ts,html,mjs}'
12
+     ),
13
+     ...createGlobPatternsForDependencies(__dirname),
14
+   ],
15
+   theme: {
16
+     extend: {},
17
+   },
18
+   plugins: [],
19
19
  };
@@ -1,10 +1,10 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../dist/out-tsc",
5
- "types": []
6
- },
7
- "files": ["src/main.ts"],
8
- "include": ["src/**/*.d.ts"],
9
- "exclude": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts"]
10
- }
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../dist/out-tsc",
5
+ "types": []
6
+ },
7
+ "files": ["src/main.ts"],
8
+ "include": ["src/**/*.d.ts"],
9
+ "exclude": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts"]
10
+ }
@@ -1,7 +1,7 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "include": ["src/**/*.ts"],
4
- "compilerOptions": {
5
- "types": ["jest", "node"]
6
- }
7
- }
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "include": ["src/**/*.ts"],
4
+ "compilerOptions": {
5
+ "types": ["jest", "node"]
6
+ }
7
+ }
@@ -1,34 +1,34 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2022",
4
- "useDefineForClassFields": false,
5
- "forceConsistentCasingInFileNames": true,
6
- "strict": true,
7
- "noImplicitOverride": true,
8
- "noPropertyAccessFromIndexSignature": true,
9
- "noImplicitReturns": true,
10
- "noFallthroughCasesInSwitch": true,
11
- "allowSyntheticDefaultImports":true,
12
- "resolveJsonModule" :true
13
- },
14
- "files": [],
15
- "include": [],
16
- "references": [
17
- {
18
- "path": "./tsconfig.app.json"
19
- },
20
- {
21
- "path": "./tsconfig.spec.json"
22
- },
23
- {
24
- "path": "./tsconfig.editor.json"
25
- }
26
- ],
27
- "extends": "../../tsconfig.base.json",
28
- "angularCompilerOptions": {
29
- "enableI18nLegacyMessageIdFormat": false,
30
- "strictInjectionParameters": true,
31
- "strictInputAccessModifiers": true,
32
- "strictTemplates": true
33
- }
34
- }
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es2022",
4
+ "useDefineForClassFields": false,
5
+ "forceConsistentCasingInFileNames": true,
6
+ "strict": true,
7
+ "noImplicitOverride": true,
8
+ "noPropertyAccessFromIndexSignature": true,
9
+ "noImplicitReturns": true,
10
+ "noFallthroughCasesInSwitch": true,
11
+ "allowSyntheticDefaultImports":true,
12
+ "resolveJsonModule" :true
13
+ },
14
+ "files": [],
15
+ "include": [],
16
+ "references": [
17
+ {
18
+ "path": "./tsconfig.app.json"
19
+ },
20
+ {
21
+ "path": "./tsconfig.spec.json"
22
+ },
23
+ {
24
+ "path": "./tsconfig.editor.json"
25
+ }
26
+ ],
27
+ "extends": "../../tsconfig.base.json",
28
+ "angularCompilerOptions": {
29
+ "enableI18nLegacyMessageIdFormat": false,
30
+ "strictInjectionParameters": true,
31
+ "strictInputAccessModifiers": true,
32
+ "strictTemplates": true
33
+ }
34
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../dist/out-tsc",
5
- "module": "commonjs",
6
- "target": "es2016",
7
- "types": ["jest", "node"]
8
- },
9
- "files": ["src/test-setup.ts"],
10
- "include": ["jest.config.ts.template", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"]
11
- }
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../dist/out-tsc",
5
+ "module": "commonjs",
6
+ "target": "es2016",
7
+ "types": ["jest", "node"]
8
+ },
9
+ "files": ["src/test-setup.ts"],
10
+ "include": ["jest.config.ts.template", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"]
11
+ }
@@ -1,4 +1,4 @@
1
- export interface AppModuleGeneratorSchema {
2
- name: string;
3
- title: string;
4
- }
1
+ export interface AppModuleGeneratorSchema {
2
+ name: string;
3
+ title: string;
4
+ }
@@ -1,27 +1,27 @@
1
- {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "AppModule",
4
- "title": "",
5
- "type": "object",
6
- "properties": {
7
- "name": {
8
- "type": "string",
9
- "description": "",
10
- "$default": {
11
- "$source": "argv",
12
- "index": 0
13
- },
14
- "x-prompt": "What name would you like to use?"
15
- },
16
- "title": {
17
- "type": "string",
18
- "description": "",
19
- "$default": {
20
- "$source": "argv",
21
- "index": 1
22
- },
23
- "x-prompt": "What title would you like to use?"
24
- }
25
- },
26
- "required": ["name", "title"]
27
- }
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "AppModule",
4
+ "title": "",
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "description": "",
10
+ "$default": {
11
+ "$source": "argv",
12
+ "index": 0
13
+ },
14
+ "x-prompt": "What name would you like to use?"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "description": "",
19
+ "$default": {
20
+ "$source": "argv",
21
+ "index": 1
22
+ },
23
+ "x-prompt": "What title would you like to use?"
24
+ }
25
+ },
26
+ "required": ["name", "title"]
27
+ }