schema.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 application shell for running a server-side version of an app.",
  7. "additionalProperties": false,
  8. "properties": {
  9. "project": {
  10. "type": "string",
  11. "description": "The name of the related client app.",
  12. "$default": {
  13. "$source": "projectName"
  14. }
  15. },
  16. "route": {
  17. "type": "string",
  18. "description": "Route path used to produce the application shell.",
  19. "default": "shell"
  20. },
  21. "appId": {
  22. "type": "string",
  23. "format": "html-selector",
  24. "description": "The application ID to use in withServerTransition().",
  25. "default": "serverApp",
  26. "x-deprecated": "This option is no longer used."
  27. },
  28. "main": {
  29. "type": "string",
  30. "description": "The name of the main entry-point file.",
  31. "default": "main.server.ts"
  32. },
  33. "rootModuleFileName": {
  34. "type": "string",
  35. "description": "The name of the root module file",
  36. "default": "app.module.server.ts"
  37. },
  38. "rootModuleClassName": {
  39. "type": "string",
  40. "format": "html-selector",
  41. "description": "The name of the root module class.",
  42. "default": "AppServerModule"
  43. }
  44. },
  45. "required": ["project"]
  46. }