1 | {
|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
3 | "$id": "SchematicsAngularAppShell",
|
4 | "title": "Angular AppShell Options Schema",
|
5 | "type": "object",
|
6 | "description": "Generates an app shell for running a server-side version of an app.",
|
7 | "additionalProperties": false,
|
8 | "long-description": "./app-shell-long.md",
|
9 | "properties": {
|
10 | "project": {
|
11 | "type": "string",
|
12 | "description": "The name of the related client app.",
|
13 | "$default": {
|
14 | "$source": "projectName"
|
15 | }
|
16 | },
|
17 | "route": {
|
18 | "type": "string",
|
19 | "description": "Route path used to produce the app shell.",
|
20 | "default": "shell"
|
21 | },
|
22 | "appId": {
|
23 | "type": "string",
|
24 | "format": "html-selector",
|
25 | "description": "The app ID to use in withServerTransition().",
|
26 | "default": "serverApp"
|
27 | },
|
28 | "main": {
|
29 | "type": "string",
|
30 | "format": "path",
|
31 | "description": "The name of the main entry-point file.",
|
32 | "default": "main.server.ts"
|
33 | },
|
34 | "appDir": {
|
35 | "type": "string",
|
36 | "format": "path",
|
37 | "description": "The name of the application directory.",
|
38 | "default": "app"
|
39 | },
|
40 | "rootModuleFileName": {
|
41 | "type": "string",
|
42 | "format": "path",
|
43 | "description": "The name of the root module file",
|
44 | "default": "app.server.module.ts"
|
45 | },
|
46 | "rootModuleClassName": {
|
47 | "type": "string",
|
48 | "format": "html-selector",
|
49 | "description": "The name of the root module class.",
|
50 | "default": "AppServerModule"
|
51 | }
|
52 | },
|
53 | "required": ["project"]
|
54 | }
|