manifest.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.sampleNotFoundRoutesManifest = exports.sampleNotFoundRoutesRenderManifest = exports.sampleNotFoundRoutesPreRenderManifest = exports.sampleNotFoundRoutesBuildManifest = exports.sampleI18nManifest = exports.sampleRenderManifest = exports.sampleI18nPreRenderManifest = exports.sampleI18nBuildManifest = exports.sampleManifest = exports.samplePreRenderManifest = exports.sampleBuildManifest = void 0;
  4. exports.sampleBuildManifest = {
  5. pages: {
  6. '/': [],
  7. '/[dynamic]': [],
  8. '/_app': [],
  9. '/_error': []
  10. }
  11. };
  12. exports.samplePreRenderManifest = {
  13. routes: {
  14. '/page-0': {},
  15. '/page-1': {},
  16. '/page-2': {},
  17. '/page-3': {}
  18. },
  19. notFoundRoutes: []
  20. };
  21. exports.sampleManifest = {
  22. build: exports.sampleBuildManifest,
  23. preRender: exports.samplePreRenderManifest
  24. };
  25. exports.sampleI18nBuildManifest = {
  26. pages: {
  27. '/': [],
  28. '/about': [],
  29. '/[dynamic]': [],
  30. '/_app': [],
  31. '/_error': []
  32. }
  33. };
  34. exports.sampleI18nPreRenderManifest = {
  35. routes: {
  36. '/en-US': {},
  37. '/fr': {},
  38. '/en-US/about': {},
  39. '/fr/about': {},
  40. '/page-0': {},
  41. '/page-1': {},
  42. '/en-US/page-1': {},
  43. '/page-2': {},
  44. '/fr/page-2': {},
  45. '/page-3': {}
  46. },
  47. notFoundRoutes: []
  48. };
  49. exports.sampleRenderManifest = {
  50. i18n: {
  51. locales: ['en-US', 'fr', 'nl-NL', 'nl-BE'],
  52. defaultLocale: 'en-US'
  53. }
  54. };
  55. exports.sampleI18nManifest = {
  56. build: exports.sampleI18nBuildManifest,
  57. preRender: exports.sampleI18nPreRenderManifest,
  58. routes: exports.sampleRenderManifest
  59. };
  60. exports.sampleNotFoundRoutesBuildManifest = {
  61. pages: {
  62. '/': [],
  63. '/about': [],
  64. '/only-nl': [],
  65. '/[dynamic]': [],
  66. '/_app': [],
  67. '/_error': []
  68. }
  69. };
  70. exports.sampleNotFoundRoutesPreRenderManifest = {
  71. routes: {
  72. '/en-US': {},
  73. '/fr': {},
  74. '/nl-NL': {},
  75. '/en-US/about': {},
  76. '/fr/about': {},
  77. '/nl-NL/about': {},
  78. '/en-US/only-nl': {},
  79. '/fr/only-nl': {},
  80. '/nl-NL/only-nl': {},
  81. '/en-US/page-0': {},
  82. '/fr/page-0': {},
  83. '/nl-NL/page-0': {},
  84. '/en-US/page-1': {},
  85. '/fr/page-1': {},
  86. '/nl-NL/page-1': {}
  87. },
  88. notFoundRoutes: [
  89. '/fr',
  90. '/nl-NL/about',
  91. '/en-US/only-nl',
  92. '/fr/only-nl',
  93. '/nl-NL/page-0',
  94. '/fr/page-1',
  95. '/nl-NL/page-1',
  96. ]
  97. };
  98. exports.sampleNotFoundRoutesRenderManifest = {
  99. i18n: {
  100. locales: ['en-US', 'fr', 'nl-NL'],
  101. defaultLocale: 'en-US'
  102. }
  103. };
  104. exports.sampleNotFoundRoutesManifest = {
  105. build: exports.sampleNotFoundRoutesBuildManifest,
  106. preRender: exports.sampleNotFoundRoutesPreRenderManifest,
  107. routes: exports.sampleNotFoundRoutesRenderManifest
  108. };