You are here

pwa.schema.yml in Progressive Web App 8

Same filename and directory in other branches
  1. 2.x config/schema/pwa.schema.yml
config/schema/pwa.schema.yml

File

config/schema/pwa.schema.yml
View source
  1. pwa.config:
  2. type: config_object
  3. label: 'PWA config'
  4. mapping:
  5. site_name:
  6. type: text
  7. label: 'Web app name'
  8. short_name:
  9. type: text
  10. label: 'Short name'
  11. description:
  12. type: text
  13. label: 'Description'
  14. start_url:
  15. type: text
  16. label: 'Start url'
  17. lang:
  18. type: text
  19. label: 'Language'
  20. theme_color:
  21. type: text
  22. label: 'Theme color'
  23. background_color:
  24. type: text
  25. label: 'Background color'
  26. display:
  27. type: text
  28. label: 'Display type'
  29. default_image:
  30. type: text
  31. label: 'Use the theme image'
  32. urls_to_cache:
  33. type: text
  34. label: 'URLs to cache'
  35. urls_to_exclude:
  36. type: text
  37. label: 'URLs exclude'
  38. offline_page:
  39. type: path
  40. label: 'Offline page path'
  41. cache_version:
  42. type: text
  43. label: 'Cache version'
  44. cross_origin:
  45. type: boolean
  46. label: 'The site is behind HTTP basic authentication'
  47. translatable: false
  48. skip_waiting:
  49. type: boolean
  50. label: 'An updated SW immediately activates after installing'
  51. translatable: false
  52. image:
  53. type: text
  54. label: 'Image path'
  55. image_small:
  56. type: text
  57. label: 'Small image path'
  58. image_very_small:
  59. type: text
  60. label: 'Very small image path'