@kurly-growth/growthman 0.1.4 → 0.1.5

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 (187) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +6 -6
  3. package/.next/fallback-build-manifest.json +2 -2
  4. package/.next/next-minimal-server.js.nft.json +1 -1
  5. package/.next/next-server.js.nft.json +1 -1
  6. package/.next/server/app/_global-error/page/build-manifest.json +4 -4
  7. package/.next/server/app/_global-error/page.js +8 -8
  8. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/_global-error.html +2 -2
  11. package/.next/server/app/_global-error.rsc +8 -8
  12. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  13. package/.next/server/app/_global-error.segments/_full.segment.rsc +8 -8
  14. package/.next/server/app/_global-error.segments/_head.segment.rsc +4 -4
  15. package/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  16. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next/server/app/_not-found/page/build-manifest.json +4 -4
  18. package/.next/server/app/_not-found/page.js +10 -10
  19. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  20. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/_not-found.html +1 -1
  22. package/.next/server/app/_not-found.rsc +10 -10
  23. package/.next/server/app/_not-found.segments/_full.segment.rsc +10 -10
  24. package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  25. package/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  27. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  28. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  29. package/.next/server/app/api/endpoints/[id]/route.js +4 -4
  30. package/.next/server/app/api/endpoints/[id]/route.js.nft.json +1 -1
  31. package/.next/server/app/api/endpoints/bulk/route.js +4 -4
  32. package/.next/server/app/api/endpoints/bulk/route.js.nft.json +1 -1
  33. package/.next/server/app/api/endpoints/import/route.js +4 -4
  34. package/.next/server/app/api/endpoints/import/route.js.nft.json +1 -1
  35. package/.next/server/app/api/endpoints/route.js +4 -4
  36. package/.next/server/app/api/endpoints/route.js.nft.json +1 -1
  37. package/.next/server/app/api/endpoints/sync/route.js +4 -4
  38. package/.next/server/app/api/endpoints/sync/route.js.nft.json +1 -1
  39. package/.next/server/app/api/mock/[...slug]/route.js +4 -4
  40. package/.next/server/app/api/mock/[...slug]/route.js.nft.json +1 -1
  41. package/.next/server/app/favicon.ico/route.js +4 -4
  42. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  43. package/.next/server/app/index.html +1 -1
  44. package/.next/server/app/index.rsc +12 -12
  45. package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  46. package/.next/server/app/index.segments/_full.segment.rsc +12 -12
  47. package/.next/server/app/index.segments/_head.segment.rsc +4 -4
  48. package/.next/server/app/index.segments/_index.segment.rsc +5 -5
  49. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  50. package/.next/server/app/page/build-manifest.json +4 -4
  51. package/.next/server/app/page/react-loadable-manifest.json +3 -3
  52. package/.next/server/app/page.js +12 -12
  53. package/.next/server/app/page.js.nft.json +1 -1
  54. package/.next/server/app/page_client-reference-manifest.js +1 -1
  55. package/.next/server/chunks/8e02f__pnpm_34c6253f._.js +3 -0
  56. package/.next/server/chunks/8e02f__pnpm_34c6253f._.js.map +1 -0
  57. package/.next/server/chunks/{8e02f_next_dist_esm_build_templates_app-route_2d5d7dcf.js → 9ca2c_next_dist_esm_build_templates_app-route_84087e8c.js} +2 -2
  58. package/.next/server/chunks/9ca2c_next_dist_esm_build_templates_app-route_84087e8c.js.map +1 -0
  59. package/.next/server/chunks/{[root-of-the-server]__c49c53b0._.js → [root-of-the-server]__41261df4._.js} +2 -2
  60. package/.next/server/chunks/[root-of-the-server]__41261df4._.js.map +1 -0
  61. package/.next/server/chunks/{[root-of-the-server]__84981507._.js → [root-of-the-server]__76e3e5c5._.js} +2 -2
  62. package/.next/server/chunks/[root-of-the-server]__76e3e5c5._.js.map +1 -0
  63. package/.next/server/chunks/[root-of-the-server]__9f34b8fa._.js +1 -1
  64. package/.next/server/chunks/[root-of-the-server]__9f34b8fa._.js.map +1 -1
  65. package/.next/server/chunks/{[root-of-the-server]__05641340._.js → [root-of-the-server]__a757185b._.js} +2 -2
  66. package/.next/server/chunks/[root-of-the-server]__a757185b._.js.map +1 -0
  67. package/.next/server/chunks/{[root-of-the-server]__a0785728._.js → [root-of-the-server]__e59e1188._.js} +2 -2
  68. package/.next/server/chunks/[root-of-the-server]__e59e1188._.js.map +1 -0
  69. package/.next/server/chunks/[root-of-the-server]__e9fe7c9a._.js +21 -0
  70. package/.next/server/chunks/[root-of-the-server]__e9fe7c9a._.js.map +1 -0
  71. package/.next/server/chunks/[root-of-the-server]__eff896e6._.js +3 -0
  72. package/.next/server/chunks/[root-of-the-server]__eff896e6._.js.map +1 -0
  73. package/.next/server/chunks/ssr/{Desktop_Project_Web_growth-mock-server_4d3bfee7._.js → 9ca2c_next_dist_3cd898b4._.js} +3 -3
  74. package/.next/server/chunks/ssr/9ca2c_next_dist_3cd898b4._.js.map +1 -0
  75. package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_builtin_forbidden_8e6242aa.js → 9ca2c_next_dist_client_components_builtin_forbidden_f49335c3.js} +2 -2
  76. package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_forbidden_f49335c3.js.map +1 -0
  77. package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_global-error_f88aa19b.js +3 -0
  78. package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_global-error_f88aa19b.js.map +1 -0
  79. package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_builtin_unauthorized_d6f465ad.js → 9ca2c_next_dist_client_components_builtin_unauthorized_e72efa43.js} +2 -2
  80. package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_unauthorized_e72efa43.js.map +1 -0
  81. package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_b780ac2a._.js → 9ca2c_next_dist_client_components_fcf027b5._.js} +2 -2
  82. package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_fcf027b5._.js.map +1 -0
  83. package/.next/server/chunks/ssr/9ca2c_next_dist_d1e0d146._.js +3 -0
  84. package/.next/server/chunks/ssr/9ca2c_next_dist_d1e0d146._.js.map +1 -0
  85. package/.next/server/chunks/ssr/9ca2c_next_dist_dedb0e75._.js +6 -0
  86. package/.next/server/chunks/ssr/9ca2c_next_dist_dedb0e75._.js.map +1 -0
  87. package/.next/server/chunks/ssr/{8e02f_next_dist_a79dfbb1._.js → 9ca2c_next_dist_esm_build_templates_app-page_535865d4.js} +3 -3
  88. package/.next/server/chunks/ssr/9ca2c_next_dist_esm_build_templates_app-page_535865d4.js.map +1 -0
  89. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_99247fbd._.js +3 -0
  90. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_99247fbd._.js.map +1 -0
  91. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_c7522028._.js +7 -0
  92. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_c7522028._.js.map +1 -0
  93. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_d48712e4._.js +4 -0
  94. package/.next/server/chunks/ssr/{8e02f_next_dist_a79dfbb1._.js.map → Desktop_Project_Web_growth-mock-server_d48712e4._.js.map} +1 -1
  95. package/.next/server/chunks/ssr/{[root-of-the-server]__caa92361._.js → [root-of-the-server]__17853f53._.js} +2 -2
  96. package/.next/server/chunks/ssr/{[root-of-the-server]__a41353a2._.js → [root-of-the-server]__18a26c10._.js} +2 -2
  97. package/.next/server/chunks/ssr/[root-of-the-server]__18a26c10._.js.map +1 -0
  98. package/.next/server/chunks/ssr/{[root-of-the-server]__c9e25af2._.js → [root-of-the-server]__307548a6._.js} +2 -2
  99. package/.next/server/chunks/ssr/[root-of-the-server]__307548a6._.js.map +1 -0
  100. package/.next/server/chunks/ssr/[root-of-the-server]__4390a85d._.js +10 -0
  101. package/.next/server/chunks/ssr/[root-of-the-server]__4390a85d._.js.map +1 -0
  102. package/.next/server/chunks/ssr/{[root-of-the-server]__0715ef20._.js → [root-of-the-server]__6a5dc11f._.js} +2 -2
  103. package/.next/server/chunks/ssr/[root-of-the-server]__6a5dc11f._.js.map +1 -0
  104. package/.next/server/chunks/ssr/{[root-of-the-server]__e5032d8c._.js → [root-of-the-server]__92f5730f._.js} +2 -2
  105. package/.next/server/chunks/ssr/[root-of-the-server]__92f5730f._.js.map +1 -0
  106. package/.next/server/chunks/ssr/[root-of-the-server]__c6e8de01._.js +1 -1
  107. package/.next/server/chunks/ssr/[root-of-the-server]__d2eb7012._.js +3 -0
  108. package/.next/server/chunks/ssr/[root-of-the-server]__d2eb7012._.js.map +1 -0
  109. package/.next/server/chunks/ssr/{[root-of-the-server]__d0f18aa0._.js → [root-of-the-server]__e3541a66._.js} +2 -2
  110. package/.next/server/chunks/ssr/[root-of-the-server]__e3541a66._.js.map +1 -0
  111. package/.next/server/chunks/ssr/{[root-of-the-server]__6f5c427b._.js → [root-of-the-server]__e5e3a413._.js} +2 -2
  112. package/.next/server/chunks/ssr/[root-of-the-server]__e5e3a413._.js.map +1 -0
  113. package/.next/server/chunks/ssr/[root-of-the-server]__fb4cb1db._.js +3 -0
  114. package/.next/server/chunks/ssr/[root-of-the-server]__fb4cb1db._.js.map +1 -0
  115. package/.next/server/chunks/ssr/b9a5c_lucide-react_dist_esm_createLucideIcon_3a4054f7.js +3 -0
  116. package/.next/server/chunks/ssr/b9a5c_lucide-react_dist_esm_createLucideIcon_3a4054f7.js.map +1 -0
  117. package/.next/server/middleware-build-manifest.js +4 -4
  118. package/.next/server/pages/404.html +1 -1
  119. package/.next/server/pages/500.html +2 -2
  120. package/.next/static/chunks/010e555b4a1dcd52.js +5 -0
  121. package/.next/static/chunks/0275b0ee12e7ce52.js +1 -0
  122. package/.next/static/chunks/33ea23f1243e96f0.js +1 -0
  123. package/.next/static/chunks/525197a7544b0e96.js +1 -0
  124. package/.next/static/chunks/560974ba92e6363e.js +5 -0
  125. package/.next/static/chunks/{31523f3a41fdf0b5.js → 6b128c466fac1211.js} +1 -1
  126. package/.next/static/chunks/8d6c35afc42e5d8e.js +1 -0
  127. package/.next/static/chunks/9fff2b37cf885aa6.js +1 -0
  128. package/.next/static/chunks/a6dad97d9634a72d.js.map +1 -1
  129. package/.next/static/chunks/bb9110e6d0dd8068.css +3 -0
  130. package/.next/static/chunks/{turbopack-7ea3b444f61e390f.js → turbopack-68dbd89b378e971c.js} +2 -2
  131. package/.next/trace +1 -1
  132. package/.next/trace-build +1 -1
  133. package/README.md +8 -0
  134. package/package.json +16 -12
  135. package/.next/server/chunks/8e02f_529f6098._.js +0 -3
  136. package/.next/server/chunks/8e02f_529f6098._.js.map +0 -1
  137. package/.next/server/chunks/8e02f_next_dist_esm_build_templates_app-route_2d5d7dcf.js.map +0 -1
  138. package/.next/server/chunks/[root-of-the-server]__05641340._.js.map +0 -1
  139. package/.next/server/chunks/[root-of-the-server]__40089159._.js +0 -3
  140. package/.next/server/chunks/[root-of-the-server]__40089159._.js.map +0 -1
  141. package/.next/server/chunks/[root-of-the-server]__84981507._.js.map +0 -1
  142. package/.next/server/chunks/[root-of-the-server]__88f1e82c._.js +0 -21
  143. package/.next/server/chunks/[root-of-the-server]__88f1e82c._.js.map +0 -1
  144. package/.next/server/chunks/[root-of-the-server]__a0785728._.js.map +0 -1
  145. package/.next/server/chunks/[root-of-the-server]__c49c53b0._.js.map +0 -1
  146. package/.next/server/chunks/ssr/8e02f_lucide-react_dist_esm_createLucideIcon_92babc87.js +0 -3
  147. package/.next/server/chunks/ssr/8e02f_lucide-react_dist_esm_createLucideIcon_92babc87.js.map +0 -1
  148. package/.next/server/chunks/ssr/8e02f_next_dist_5f7af8e7._.js +0 -3
  149. package/.next/server/chunks/ssr/8e02f_next_dist_5f7af8e7._.js.map +0 -1
  150. package/.next/server/chunks/ssr/8e02f_next_dist_8b7d79d3._.js +0 -6
  151. package/.next/server/chunks/ssr/8e02f_next_dist_8b7d79d3._.js.map +0 -1
  152. package/.next/server/chunks/ssr/8e02f_next_dist_client_components_b780ac2a._.js.map +0 -1
  153. package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_forbidden_8e6242aa.js.map +0 -1
  154. package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_global-error_fef7daa4.js +0 -3
  155. package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_global-error_fef7daa4.js.map +0 -1
  156. package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_unauthorized_d6f465ad.js.map +0 -1
  157. package/.next/server/chunks/ssr/8e02f_next_dist_esm_build_templates_app-page_aefc7b05.js +0 -4
  158. package/.next/server/chunks/ssr/8e02f_next_dist_esm_build_templates_app-page_aefc7b05.js.map +0 -1
  159. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_192f26a7._.js +0 -3
  160. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_192f26a7._.js.map +0 -1
  161. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_4d3bfee7._.js.map +0 -1
  162. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_e3bf5efe._.js +0 -7
  163. package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_e3bf5efe._.js.map +0 -1
  164. package/.next/server/chunks/ssr/[root-of-the-server]__04e2ab43._.js +0 -10
  165. package/.next/server/chunks/ssr/[root-of-the-server]__04e2ab43._.js.map +0 -1
  166. package/.next/server/chunks/ssr/[root-of-the-server]__0715ef20._.js.map +0 -1
  167. package/.next/server/chunks/ssr/[root-of-the-server]__0c263e23._.js +0 -3
  168. package/.next/server/chunks/ssr/[root-of-the-server]__0c263e23._.js.map +0 -1
  169. package/.next/server/chunks/ssr/[root-of-the-server]__5d3307e0._.js +0 -3
  170. package/.next/server/chunks/ssr/[root-of-the-server]__5d3307e0._.js.map +0 -1
  171. package/.next/server/chunks/ssr/[root-of-the-server]__6f5c427b._.js.map +0 -1
  172. package/.next/server/chunks/ssr/[root-of-the-server]__a41353a2._.js.map +0 -1
  173. package/.next/server/chunks/ssr/[root-of-the-server]__c9e25af2._.js.map +0 -1
  174. package/.next/server/chunks/ssr/[root-of-the-server]__d0f18aa0._.js.map +0 -1
  175. package/.next/server/chunks/ssr/[root-of-the-server]__e5032d8c._.js.map +0 -1
  176. package/.next/static/chunks/3a3338ff069e0977.js +0 -5
  177. package/.next/static/chunks/68c20af4dfeb36d0.js +0 -1
  178. package/.next/static/chunks/77942ffae83b12ce.js +0 -1
  179. package/.next/static/chunks/81faf4667437d774.js +0 -1
  180. package/.next/static/chunks/8c554104dfee37e0.js +0 -5
  181. package/.next/static/chunks/ab3bc4985a0e98d2.css +0 -3
  182. package/.next/static/chunks/d71bf6d63636cd19.js +0 -1
  183. package/.next/static/chunks/f32c6649a0ca2698.js +0 -1
  184. /package/.next/server/chunks/ssr/{[root-of-the-server]__caa92361._.js.map → [root-of-the-server]__17853f53._.js.map} +0 -0
  185. /package/.next/static/{17-ALhiWger7Ahids28qF → ywToWYz8OMPylsW9u-DSJ}/_buildManifest.js +0 -0
  186. /package/.next/static/{17-ALhiWger7Ahids28qF → ywToWYz8OMPylsW9u-DSJ}/_clientMiddlewareManifest.json +0 -0
  187. /package/.next/static/{17-ALhiWger7Ahids28qF → ywToWYz8OMPylsW9u-DSJ}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/build/templates/app-route.js","../../../../../../../Desktop/Project/Web/growth-mock-server/app/favicon--route-entry.js"],"sourcesContent":["import { AppRouteRouteModule } from \"next/dist/esm/server/route-modules/app-route/module.compiled\";\nimport { RouteKind } from \"next/dist/esm/server/route-kind\";\nimport { patchFetch as _patchFetch } from \"next/dist/esm/server/lib/patch-fetch\";\nimport { addRequestMeta, getRequestMeta } from \"next/dist/esm/server/request-meta\";\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\";\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\";\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\";\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\";\nimport { NextRequestAdapter, signalFromNodeResponse } from \"next/dist/esm/server/web/spec-extension/adapters/next-request\";\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\";\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\";\nimport { sendResponse } from \"next/dist/esm/server/send-response\";\nimport { fromNodeOutgoingHttpHeaders, toNodeOutgoingHttpHeaders } from \"next/dist/esm/server/web/utils\";\nimport { getCacheControlHeader } from \"next/dist/esm/server/lib/cache-control\";\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from \"next/dist/esm/lib/constants\";\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\";\nimport { CachedRouteKind } from \"next/dist/esm/server/response-cache\";\nimport * as userland from \"INNER_APP_ROUTE\";\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\nconst nextConfigOutput = \"\"\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: \"/favicon.ico/route\",\n pathname: \"/favicon.ico\",\n filename: \"favicon--route-entry\",\n bundlePath: \"\"\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: \"[project]/Desktop/Project/Web/growth-mock-server/app/favicon--route-entry.js\",\n nextConfigOutput,\n userland\n});\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\nexport { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };\nexport async function handler(req, res, ctx) {\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n let srcPage = \"/favicon.ico/route\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || prerenderManifest.routes[resolvedPathname]);\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]);\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.experimental.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n }\n }\n let cacheKey = null;\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname;\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey;\n }\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr;\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse;\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const context = {\n params,\n prerenderManifest,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts)\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n supportsDynamicResponse,\n incrementalCache: getRequestMeta(req, 'incrementalCache'),\n cacheLifeProfiles: nextConfig.cacheLife,\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext)\n },\n sharedContext: {\n buildId\n }\n };\n const nodeNextReq = new NodeNextRequest(req);\n const nodeNextRes = new NodeNextResponse(res);\n const nextReq = NextRequestAdapter.fromNodeNextRequest(nodeNextReq, signalFromNodeResponse(res));\n try {\n const invokeRouteModule = async (span)=>{\n return routeModule.handle(nextReq, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const isMinimalMode = Boolean(process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode'));\n const handleResponse = async (currentSpan)=>{\n var _cacheEntry_value;\n const responseGenerator = async ({ previousCacheEntry })=>{\n try {\n if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {\n res.statusCode = 404;\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED');\n res.end('This page could not be found');\n return null;\n }\n const response = await invokeRouteModule(currentSpan);\n req.fetchMetrics = context.renderOpts.fetchMetrics;\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil;\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil);\n pendingWaitUntil = undefined;\n }\n }\n const cacheTags = context.renderOpts.collectedTags;\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob();\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers);\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type;\n }\n const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;\n const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= INFINITE_CACHE ? undefined : context.renderOpts.collectedExpire;\n // Create the cache entry for the response.\n const cacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers\n },\n cacheControl: {\n revalidate,\n expire\n }\n };\n return cacheEntry;\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, context.renderOpts.pendingWaitUntil);\n return null;\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return null;\n }\n if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_ROUTE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E701\",\n enumerable: false,\n configurable: true\n });\n }\n if (!isMinimalMode) {\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers);\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER);\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {\n headers.set('Cache-Control', getCacheControlHeader(cacheEntry.cacheControl));\n }\n await sendResponse(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200\n }));\n return null;\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (activeSpan) {\n await handleResponse(activeSpan);\n } else {\n await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse));\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n // If this is during static generation, throw the error again.\n if (isIsr) throw err;\n // Otherwise, send a 500 response.\n await sendResponse(nodeNextReq, nodeNextRes, new Response(null, {\n status: 500\n }));\n return null;\n }\n}\n\n//# sourceMappingURL=app-route.js.map\n","import { NextResponse } from 'next/server'\n\nconst contentType = \"image/x-icon\"\nconst cacheControl = \"public, max-age=0, must-revalidate\"\nconst buffer = Buffer.from(\"AAABAAMAEBAAAAEAIABoBAAANgAAACAgAAABACAAKBEAAJ4EAAAwMAAAAQAgAGgmAADGFQAAKAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA/wI0rf+hM6z/mjm4/xI0q/+JM67/qTWn/x0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1rf81NKz/zjOs//M1q/9DM6z/zTSs//Yyrf84AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7O/zREwf/nTcv/vE3M/6lAvP/QQL//CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE3M/2pNzP/8Tcz//03M//9NzP//R8T//0G9/9c0r/9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEvL/yxNzP/7Tcz//03M//9Myv//OrT//zWu//88t///QLz//0rG/6IA//8BAAAAAAAAAAAAAAAAAAAAAE3M/yhNy/+2Tcz//03M//9NzP//PLb//zq0//9Lyv//Tcz//03M//9NzP//Tsz/VQAAAAAAAAAAAAAAAE7M/2lOzP/6Tcz//03M//9NzP//TMr//zWu//9Lyv//Tcz//03M//9NzP//Tcz//07N/7QAAAAAAAAAAE/M/zdOzP/9Tcz//03M//9NzP//Tcz//0zK//87tf//Tcz//03M//9Ny//7Tsz/2U3M//JNzP/eAKr/BgyQ9I86ufzmTcz//03M//9NzP//Tcz//03M//9NzP//RMD//03M//9Nzf/MTMz/HgAAAABVqv8GTMz/MgCZzAUNkfXKPr78/03M//9MyPv/LWyp/0nA9P9NzP//Tcz//03M//9NzP/1Us7/HwAAAAAAAAAAAAAAAAAAAAAAAAAAAIDUBknI/rVNzP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//80rf//P7n/ulDP/xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATs3/k03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9HxP//NK3//zOs//8zrP//ObP//0K+//9Ixf//TMr//03M//9NzP//Tcv/v1X//wMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGbM/wVNzP/uTcz//03M//9NzP//Tcz//03M//9NzP//Ssj//zWu//8zrP//Nq///0bD//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tsv/bAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7I/xdOzf+JTsz/5k3M//9NzP//Tcz//03M//9NzP//Tcz//03M//89uP//M6z//zav//9KyP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP/kZsz/BQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABNzP9QTcz/7U3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//TMv//zSt//8zrP//RsP//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Ozf9IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATcv/WU3M//xNzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Ixv//M6z//zmy//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//07O/4wAAAAAAAAAAAAAAAAAAAAAAAAAAE/I/ypOzP/2Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//0jF//8zrP//QLz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Ts3/twAAAAAAAAAAAAAAAAAAAAAAAAAATcz/s03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//TMr//zSs//9Fwf//Tcz//03M//9N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P//M6z//zOs//8zrP//M6z//zOs//8zrP//M6z//zmz/79Lxf8sgID/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVqv8DTs3/ik3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//TMv//0C8//81rv//M6z//zOs//8zrP//M6z//zSt//85sv//PLb//z66//9Au///Qb3//0PA//5Myv/JT8z/LQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPzv8qTcz/3k3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9My///Prn//zSt//8zrP//M6z//zOs//82r///QLv//0jG//9Lyf//TMr//0zL//9NzP//Tcz//03M//9NzP/+Tsz/yFXG/wkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wFNzf9mTcz/9k3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Cv///NK3//zOs//8zrP//Na7//z24//9KyP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//07M/4ZV//8DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8BUM//IE3L/11NzP+/Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//0nH//83sf//M6z//zOs//82sP//RMD//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M/+JO0P8xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7Y/w1Mzf9/Tsz/2U3M//NNzP/+Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//0C7//8zrP//M6z//zWu//9EwP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//tNy/97Var/AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmzP8FUMv/NkzL/89NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcv//zav//8zrP//M6z//z64//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9OzP+6Tcz/FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGbM/wVOzf9cTcz/5E3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//SMX//zOs//8zrP//Nq7//0vI//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Nzf/qTtH/JwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7L/0VNzP/oTcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//RMH//zOs//8zrP//P7r//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP/+TM3/UQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUMf/IE3M/+dNzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//RMH//zOs//8zrP//R8T//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tsv/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABG0f8LTs7/qk3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//R8T//zOs//82r///Ssj//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tsz/mgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABNzv9JTcz/7E3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//TMr//zSt//84sv//Ssn//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Ozf/9Ts3/0U3M/5JNzf96Tsv/gE3N/6JNzP/fTcz//k3M//9NzP//T83/mAAAAAAAAAAAAAAAAAD//wESku0OD47wIhSV9U0+vvu5Tcz//k3M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//z24//85s///S8n//03M//9NzP//Tcz//03M//9NzP//Tcz/+03M/8lOzf9IQL//BAAAAAAAAAAAAAAAAAAAAABV//8DT8z/N07N/5NNzP/TTs3/WwAAAAAAAAAAAP//AQ2P8lAMkPSmDJH14xKV9P8+vfz/Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//0fF//87tf//Ssn//03M//9NzP//Tcz//03M//9NzP/0Tc3/j07I/xcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wFb2/8OZsz/BQAAAAAAAAAADI/zQgyR9O4MkfT+DJD0/xWY9f9Hxv7/Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9NzP//Tcz//03M//9Nz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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\", 'base64')\n\nexport function GET() {\n return new NextResponse(buffer, {\n headers: {\n 'Content-Type': contentType,\n 'Cache-Control': cacheControl,\n },\n })\n}\n\nexport const dynamic = 'force-static'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EA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AY,cAAc,CAAC,EAAK,EAAK,CACvC,WAAY,aACZ,UAAW,EACX,UAAW,QACX,iBAAkB,CAAA,EAAA,EAAA,mBAAA,AAAmB,EAAC,oBAClC,uBACA,CACJ,EACJ,GAAG,AATgB,EASJ,GAIf,EAAO,MAAM,EAKjB,OAHA,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAAa,IAAI,SAAS,KAAM,CAC5D,OAAQ,GACZ,IACO,IACX,CACJ,EAEA,qCAAqC","ignoreList":[0]}
@@ -1,3 +1,3 @@
1
- module.exports=[93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},63121,e=>{"use strict";function t(e,n,a=new Set){if(e.$ref){if(a.has(e.$ref))return{};a.add(e.$ref);let r=function(e,t){let r=e.split("/");if("#"!==r[0]||"components"!==r[1]||"schemas"!==r[2])return null;let n=r[3];return t.components?.schemas?.[n]||null}(e.$ref,n);return r?t(r,n,a):{}}if(e.allOf&&e.allOf.length>0){let r={};for(let s of e.allOf){let e=t(s,n,a);"object"==typeof e&&null!==e&&Object.assign(r,e)}return r}if(e.oneOf&&e.oneOf.length>0)return t(e.oneOf[0],n,a);if(e.anyOf&&e.anyOf.length>0)return t(e.anyOf[0],n,a);if(void 0!==e.example)return e.example;if(void 0!==e.default)return e.default;if(e.enum&&e.enum.length>0)return e.enum[0];switch(e.type){case"string":var s=e.format;switch(s){case"date":return"2024-01-15";case"date-time":return"2024-01-15T09:30:00Z";case"time":return"09:30:00";case"email":return"user@example.com";case"uri":case"url":return"https://example.com";case"uuid":return"550e8400-e29b-41d4-a716-446655440000";case"hostname":return"example.com";case"ipv4":return"192.168.1.1";case"ipv6":return"2001:0db8:85a3:0000:0000:8a2e:0370:7334";case"byte":return"SGVsbG8gV29ybGQ=";case"binary":return"<binary>";case"password":return"********";case"phone":return"+1-555-555-5555";default:return"string"}case"number":var o=e.format;switch(o){case"float":return 1.5;case"double":return 1.23456789;default:return 0}case"integer":var i=e.format;switch(i){case"int32":return 123;case"int64":return 0x499602d2;default:return 0}case"boolean":return!0;case"array":if(e.items)return[t(e.items,n,a)];return[];case"object":return r(e,n,a);default:if(e.properties)return r(e,n,a);return null}}function r(e,r,n){let a={};if(e.properties)for(let[s,o]of Object.entries(e.properties))a[s]=t(o,r,n);return a}function n(e){let r=[];if(!e.paths)return r;for(let[n,a]of Object.entries(e.paths))for(let[s,o]of Object.entries(a)){if(!["get","post","put","patch","delete","head","options"].includes(s.toLowerCase()))continue;let a=o.summary||o.description||null,i=200,l={};if(o.responses)for(let r of Object.keys(o.responses).sort((e,t)=>"200"===e?-1:"200"===t?1:parseInt(e,10)-parseInt(t,10))){let n=parseInt(r,10);if(n>=200&&n<300){i=n;let a=o.responses[r];if(a.content){let r=a.content["application/json"]||a.content["application/hal+json"]||a.content["application/vnd.api+json"]||Object.values(a.content).find(e=>e.schema);r&&(r.example?l=r.example:r.schema&&(l=t(r.schema,e)))}break}}let u=n.replace(/\{(\w+)\}/g,":$1");r.push({path:u,method:s.toUpperCase(),description:a,statusCode:i,responseBody:l})}return r}e.s(["parseOpenAPISpec",()=>n])},25040,e=>{"use strict";var t=e.i(90853),r=e.i(23778),n=e.i(27873),a=e.i(59784),s=e.i(75321),o=e.i(89306),i=e.i(93178),l=e.i(8007),u=e.i(78226),p=e.i(77688),d=e.i(11733),c=e.i(88075),f=e.i(11526),h=e.i(34033),m=e.i(44670),x=e.i(93695);e.i(71109);var v=e.i(15864),g=e.i(70388),R=e.i(16267),y=e.i(63121);async function w(e){let{url:t}=await e.json();if(!t)return g.NextResponse.json({error:"URL is required"},{status:400});try{let e=await fetch(t,{headers:{Accept:"application/json"}});if(!e.ok)return g.NextResponse.json({error:`Failed to fetch OpenAPI spec: ${e.statusText}`},{status:400});let r=await e.json(),n=(0,y.parseOpenAPISpec)(r);if(0===n.length)return g.NextResponse.json({error:"No valid endpoints found in OpenAPI spec"},{status:400});let a=await Promise.allSettled(n.map(e=>R.prisma.mockEndpoint.upsert({where:{path_method:{path:e.path,method:e.method}},update:{description:e.description,statusCode:e.statusCode,responseBody:e.responseBody},create:{path:e.path,method:e.method,description:e.description,statusCode:e.statusCode,responseBody:e.responseBody}}))),s=a.filter(e=>"fulfilled"===e.status).length,o=a.filter(e=>"rejected"===e.status).length;return g.NextResponse.json({message:`Synced ${s} endpoints`,succeeded:s,failed:o,total:n.length})}catch(e){return console.error("Sync error:",e),g.NextResponse.json({error:e instanceof Error?e.message:"Sync failed"},{status:500})}}e.s(["POST",()=>w],67832);var b=e.i(67832);let E=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/endpoints/sync/route",pathname:"/api/endpoints/sync",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/sync/route.ts",nextConfigOutput:"",userland:b}),{workAsyncStorage:C,workUnitAsyncStorage:O,serverHooks:j}=E;function A(){return(0,n.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:O})}async function P(e,t,n){E.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/endpoints/sync/route";g=g.replace(/\/index$/,"")||"/";let R=await E.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:y,params:w,nextConfig:b,parsedUrl:C,isDraftMode:O,prerenderManifest:j,routerServerContext:A,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,resolvedPathname:S,clientReferenceManifest:k,serverActionsManifest:T}=R,q=(0,i.normalizeAppPath)(g),I=!!(j.dynamicRoutes[q]||j.routes[S]),_=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,C,!1):t.end("This page could not be found"),null);if(I&&!O){let e=!!j.routes[S],t=j.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(b.experimental.adapterPath)return await _();throw new x.NoFallbackError}}let U=null;!I||E.isDev||O||(U="/index"===(U=S)?"/":U);let H=!0===E.isDev||!I,$=I&&!H;T&&k&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:k,serverActionsManifest:T});let D=e.method||"GET",M=(0,s.getTracer)(),B=M.getActiveScopeSpan(),F={params:w,prerenderManifest:j,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:H,incrementalCache:(0,a.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:b.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,a)=>E.onRequestError(e,t,n,a,A)},sharedContext:{buildId:y}},K=new l.NodeNextRequest(e),L=new l.NodeNextResponse(t),G=u.NextRequestAdapter.fromNodeNextRequest(K,(0,u.signalFromNodeResponse)(t));try{let o=async e=>E.handle(G,F).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route");if(n){let t=`${D} ${n}`;e.setAttributes({"next.route":n,"http.route":n,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${g}`)}),i=!!(0,a.getRequestMeta)(e,"minimalMode"),l=async a=>{var s,l;let u=async({previousCacheEntry:r})=>{try{if(!i&&P&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(a);e.fetchMetrics=F.renderOpts.fetchMetrics;let l=F.renderOpts.pendingWaitUntil;l&&n.waitUntil&&(n.waitUntil(l),l=void 0);let u=F.renderOpts.collectedTags;if(!I)return await (0,c.sendResponse)(K,L,s,F.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(s.headers);u&&(t[m.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==F.renderOpts.collectedRevalidate&&!(F.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&F.renderOpts.collectedRevalidate,n=void 0===F.renderOpts.collectedExpire||F.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:F.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await E.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:P})},!1,A),t}},p=await E.handleResponse({req:e,nextConfig:b,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:j,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,responseGenerator:u,waitUntil:n.waitUntil,isMinimalMode:i});if(!I)return null;if((null==p||null==(s=p.value)?void 0:s.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==p||null==(l=p.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",P?"REVALIDATED":p.isMiss?"MISS":p.isStale?"STALE":"HIT"),O&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let x=(0,f.fromNodeOutgoingHttpHeaders)(p.value.headers);return i&&I||x.delete(m.NEXT_CACHE_TAGS_HEADER),!p.cacheControl||t.getHeader("Cache-Control")||x.get("Cache-Control")||x.set("Cache-Control",(0,h.getCacheControlHeader)(p.cacheControl)),await (0,c.sendResponse)(K,L,new Response(p.value.body,{headers:x,status:p.value.status||200})),null};B?await l(B):await M.withPropagatedContext(e.headers,()=>M.trace(p.BaseServerSpan.handleRequest,{spanName:`${D} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},l))}catch(t){if(t instanceof x.NoFallbackError||await E.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:P})},!1,A),I)throw t;return await (0,c.sendResponse)(K,L,new Response(null,{status:500})),null}}e.s(["handler",()=>P,"patchFetch",()=>A,"routeModule",()=>E,"serverHooks",()=>j,"workAsyncStorage",()=>C,"workUnitAsyncStorage",()=>O],25040)}];
1
+ module.exports=[93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},63121,e=>{"use strict";function t(e,n,a=new Set){if(e.$ref){if(a.has(e.$ref))return{};a.add(e.$ref);let r=function(e,t){let r=e.split("/");if("#"!==r[0]||"components"!==r[1]||"schemas"!==r[2])return null;let n=r[3];return t.components?.schemas?.[n]||null}(e.$ref,n);return r?t(r,n,a):{}}if(e.allOf&&e.allOf.length>0){let r={};for(let s of e.allOf){let e=t(s,n,a);"object"==typeof e&&null!==e&&Object.assign(r,e)}return r}if(e.oneOf&&e.oneOf.length>0)return t(e.oneOf[0],n,a);if(e.anyOf&&e.anyOf.length>0)return t(e.anyOf[0],n,a);if(void 0!==e.example)return e.example;if(void 0!==e.default)return e.default;if(e.enum&&e.enum.length>0)return e.enum[0];switch(e.type){case"string":var s=e.format;switch(s){case"date":return"2024-01-15";case"date-time":return"2024-01-15T09:30:00Z";case"time":return"09:30:00";case"email":return"user@example.com";case"uri":case"url":return"https://example.com";case"uuid":return"550e8400-e29b-41d4-a716-446655440000";case"hostname":return"example.com";case"ipv4":return"192.168.1.1";case"ipv6":return"2001:0db8:85a3:0000:0000:8a2e:0370:7334";case"byte":return"SGVsbG8gV29ybGQ=";case"binary":return"<binary>";case"password":return"********";case"phone":return"+1-555-555-5555";default:return"string"}case"number":var o=e.format;switch(o){case"float":return 1.5;case"double":return 1.23456789;default:return 0}case"integer":var i=e.format;switch(i){case"int32":return 123;case"int64":return 0x499602d2;default:return 0}case"boolean":return!0;case"array":if(e.items)return[t(e.items,n,a)];return[];case"object":return r(e,n,a);default:if(e.properties)return r(e,n,a);return null}}function r(e,r,n){let a={};if(e.properties)for(let[s,o]of Object.entries(e.properties))a[s]=t(o,r,n);return a}function n(e){let r=[];if(!e.paths)return r;for(let[n,a]of Object.entries(e.paths))for(let[s,o]of Object.entries(a)){if(!["get","post","put","patch","delete","head","options"].includes(s.toLowerCase()))continue;let a=o.summary||o.description||null,i=200,l={};if(o.responses)for(let r of Object.keys(o.responses).sort((e,t)=>"200"===e?-1:"200"===t?1:parseInt(e,10)-parseInt(t,10))){let n=parseInt(r,10);if(n>=200&&n<300){i=n;let a=o.responses[r];if(a.content){let r=a.content["application/json"]||a.content["application/hal+json"]||a.content["application/vnd.api+json"]||Object.values(a.content).find(e=>e.schema);r&&(r.example?l=r.example:r.schema&&(l=t(r.schema,e)))}break}}let u=n.replace(/\{(\w+)\}/g,":$1");r.push({path:u,method:s.toUpperCase(),description:a,statusCode:i,responseBody:l})}return r}e.s(["parseOpenAPISpec",()=>n])},53535,e=>{"use strict";var t=e.i(43646),r=e.i(48499),n=e.i(79744),a=e.i(37726),s=e.i(24472),o=e.i(57008),i=e.i(13998),l=e.i(46091),u=e.i(45959),p=e.i(96129),d=e.i(92031),c=e.i(31074),f=e.i(19567),h=e.i(84045),m=e.i(93101),x=e.i(93695);e.i(2038);var v=e.i(42518),g=e.i(40163),R=e.i(16267),y=e.i(63121);async function w(e){let{url:t}=await e.json();if(!t)return g.NextResponse.json({error:"URL is required"},{status:400});try{let e=await fetch(t,{headers:{Accept:"application/json"}});if(!e.ok)return g.NextResponse.json({error:`Failed to fetch OpenAPI spec: ${e.statusText}`},{status:400});let r=await e.json(),n=(0,y.parseOpenAPISpec)(r);if(0===n.length)return g.NextResponse.json({error:"No valid endpoints found in OpenAPI spec"},{status:400});let a=await Promise.allSettled(n.map(e=>R.prisma.mockEndpoint.upsert({where:{path_method:{path:e.path,method:e.method}},update:{description:e.description,statusCode:e.statusCode,responseBody:e.responseBody},create:{path:e.path,method:e.method,description:e.description,statusCode:e.statusCode,responseBody:e.responseBody}}))),s=a.filter(e=>"fulfilled"===e.status).length,o=a.filter(e=>"rejected"===e.status).length;return g.NextResponse.json({message:`Synced ${s} endpoints`,succeeded:s,failed:o,total:n.length})}catch(e){return console.error("Sync error:",e),g.NextResponse.json({error:e instanceof Error?e.message:"Sync failed"},{status:500})}}e.s(["POST",()=>w],67832);var b=e.i(67832);let E=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/endpoints/sync/route",pathname:"/api/endpoints/sync",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/sync/route.ts",nextConfigOutput:"",userland:b}),{workAsyncStorage:C,workUnitAsyncStorage:O,serverHooks:j}=E;function A(){return(0,n.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:O})}async function P(e,t,n){E.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/endpoints/sync/route";g=g.replace(/\/index$/,"")||"/";let R=await E.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:y,params:w,nextConfig:b,parsedUrl:C,isDraftMode:O,prerenderManifest:j,routerServerContext:A,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,resolvedPathname:S,clientReferenceManifest:k,serverActionsManifest:T}=R,q=(0,i.normalizeAppPath)(g),I=!!(j.dynamicRoutes[q]||j.routes[S]),_=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,C,!1):t.end("This page could not be found"),null);if(I&&!O){let e=!!j.routes[S],t=j.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(b.experimental.adapterPath)return await _();throw new x.NoFallbackError}}let U=null;!I||E.isDev||O||(U="/index"===(U=S)?"/":U);let H=!0===E.isDev||!I,$=I&&!H;T&&k&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:k,serverActionsManifest:T});let D=e.method||"GET",M=(0,s.getTracer)(),B=M.getActiveScopeSpan(),F={params:w,prerenderManifest:j,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:H,incrementalCache:(0,a.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:b.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,a)=>E.onRequestError(e,t,n,a,A)},sharedContext:{buildId:y}},K=new l.NodeNextRequest(e),L=new l.NodeNextResponse(t),G=u.NextRequestAdapter.fromNodeNextRequest(K,(0,u.signalFromNodeResponse)(t));try{let o=async e=>E.handle(G,F).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route");if(n){let t=`${D} ${n}`;e.setAttributes({"next.route":n,"http.route":n,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${g}`)}),i=!!(0,a.getRequestMeta)(e,"minimalMode"),l=async a=>{var s,l;let u=async({previousCacheEntry:r})=>{try{if(!i&&P&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(a);e.fetchMetrics=F.renderOpts.fetchMetrics;let l=F.renderOpts.pendingWaitUntil;l&&n.waitUntil&&(n.waitUntil(l),l=void 0);let u=F.renderOpts.collectedTags;if(!I)return await (0,c.sendResponse)(K,L,s,F.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(s.headers);u&&(t[m.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==F.renderOpts.collectedRevalidate&&!(F.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&F.renderOpts.collectedRevalidate,n=void 0===F.renderOpts.collectedExpire||F.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:F.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await E.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:P})},!1,A),t}},p=await E.handleResponse({req:e,nextConfig:b,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:j,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,responseGenerator:u,waitUntil:n.waitUntil,isMinimalMode:i});if(!I)return null;if((null==p||null==(s=p.value)?void 0:s.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==p||null==(l=p.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",P?"REVALIDATED":p.isMiss?"MISS":p.isStale?"STALE":"HIT"),O&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let x=(0,f.fromNodeOutgoingHttpHeaders)(p.value.headers);return i&&I||x.delete(m.NEXT_CACHE_TAGS_HEADER),!p.cacheControl||t.getHeader("Cache-Control")||x.get("Cache-Control")||x.set("Cache-Control",(0,h.getCacheControlHeader)(p.cacheControl)),await (0,c.sendResponse)(K,L,new Response(p.value.body,{headers:x,status:p.value.status||200})),null};B?await l(B):await M.withPropagatedContext(e.headers,()=>M.trace(p.BaseServerSpan.handleRequest,{spanName:`${D} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},l))}catch(t){if(t instanceof x.NoFallbackError||await E.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:P})},!1,A),I)throw t;return await (0,c.sendResponse)(K,L,new Response(null,{status:500})),null}}e.s(["handler",()=>P,"patchFetch",()=>A,"routeModule",()=>E,"serverHooks",()=>j,"workAsyncStorage",()=>C,"workUnitAsyncStorage",()=>O],53535)}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__c49c53b0._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__41261df4._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../Desktop/Project/Web/growth-mock-server/lib/openapi-parser.ts","../../../../../../../Desktop/Project/Web/growth-mock-server/app/api/endpoints/sync/route.ts","../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/build/templates/app-route.js"],"sourcesContent":["interface OpenAPISpec {\n paths?: Record<string, Record<string, OpenAPIOperation>>\n components?: {\n schemas?: Record<string, OpenAPISchema>\n }\n}\n\ninterface OpenAPIOperation {\n summary?: string\n description?: string\n responses?: Record<string, OpenAPIResponse>\n requestBody?: {\n content?: Record<string, { schema?: OpenAPISchema; example?: unknown }>\n }\n}\n\ninterface OpenAPIResponse {\n description?: string\n content?: Record<string, { schema?: OpenAPISchema; example?: unknown }>\n}\n\ninterface OpenAPISchema {\n type?: string\n format?: string\n properties?: Record<string, OpenAPISchema>\n items?: OpenAPISchema\n example?: unknown\n default?: unknown\n enum?: unknown[]\n $ref?: string\n allOf?: OpenAPISchema[]\n oneOf?: OpenAPISchema[]\n anyOf?: OpenAPISchema[]\n nullable?: boolean\n required?: string[]\n additionalProperties?: boolean | OpenAPISchema\n}\n\nexport interface ParsedEndpoint {\n path: string\n method: string\n description: string | null\n statusCode: number\n responseBody: unknown\n}\n\nfunction resolveRef(ref: string, spec: OpenAPISpec): OpenAPISchema | null {\n // $ref format: \"#/components/schemas/SchemaName\"\n const parts = ref.split('/')\n if (parts[0] !== '#' || parts[1] !== 'components' || parts[2] !== 'schemas') {\n return null\n }\n const schemaName = parts[3]\n return spec.components?.schemas?.[schemaName] || null\n}\n\nfunction generateMockValue(\n schema: OpenAPISchema,\n spec: OpenAPISpec,\n visited: Set<string> = new Set()\n): unknown {\n // Handle $ref\n if (schema.$ref) {\n // Prevent circular references\n if (visited.has(schema.$ref)) {\n return {}\n }\n visited.add(schema.$ref)\n const resolved = resolveRef(schema.$ref, spec)\n if (resolved) {\n return generateMockValue(resolved, spec, visited)\n }\n return {}\n }\n\n // Handle allOf (merge schemas)\n if (schema.allOf && schema.allOf.length > 0) {\n const merged: Record<string, unknown> = {}\n for (const subSchema of schema.allOf) {\n const value = generateMockValue(subSchema, spec, visited)\n if (typeof value === 'object' && value !== null) {\n Object.assign(merged, value)\n }\n }\n return merged\n }\n\n // Handle oneOf/anyOf (use first option)\n if (schema.oneOf && schema.oneOf.length > 0) {\n return generateMockValue(schema.oneOf[0], spec, visited)\n }\n if (schema.anyOf && schema.anyOf.length > 0) {\n return generateMockValue(schema.anyOf[0], spec, visited)\n }\n\n // Use example or default if available\n if (schema.example !== undefined) return schema.example\n if (schema.default !== undefined) return schema.default\n if (schema.enum && schema.enum.length > 0) return schema.enum[0]\n\n // Generate based on type and format\n switch (schema.type) {\n case 'string':\n return generateStringValue(schema.format)\n case 'number':\n return generateNumberValue(schema.format)\n case 'integer':\n return generateIntegerValue(schema.format)\n case 'boolean':\n return true\n case 'array':\n if (schema.items) {\n return [generateMockValue(schema.items, spec, visited)]\n }\n return []\n case 'object':\n return generateObjectValue(schema, spec, visited)\n default:\n // If no type but has properties, treat as object\n if (schema.properties) {\n return generateObjectValue(schema, spec, visited)\n }\n return null\n }\n}\n\nfunction generateStringValue(format?: string): string {\n switch (format) {\n case 'date':\n return '2024-01-15'\n case 'date-time':\n return '2024-01-15T09:30:00Z'\n case 'time':\n return '09:30:00'\n case 'email':\n return 'user@example.com'\n case 'uri':\n case 'url':\n return 'https://example.com'\n case 'uuid':\n return '550e8400-e29b-41d4-a716-446655440000'\n case 'hostname':\n return 'example.com'\n case 'ipv4':\n return '192.168.1.1'\n case 'ipv6':\n return '2001:0db8:85a3:0000:0000:8a2e:0370:7334'\n case 'byte':\n return 'SGVsbG8gV29ybGQ='\n case 'binary':\n return '<binary>'\n case 'password':\n return '********'\n case 'phone':\n return '+1-555-555-5555'\n default:\n return 'string'\n }\n}\n\nfunction generateNumberValue(format?: string): number {\n switch (format) {\n case 'float':\n return 1.5\n case 'double':\n return 1.23456789\n default:\n return 0\n }\n}\n\nfunction generateIntegerValue(format?: string): number {\n switch (format) {\n case 'int32':\n return 123\n case 'int64':\n return 1234567890\n default:\n return 0\n }\n}\n\nfunction generateObjectValue(\n schema: OpenAPISchema,\n spec: OpenAPISpec,\n visited: Set<string>\n): Record<string, unknown> {\n const obj: Record<string, unknown> = {}\n\n if (schema.properties) {\n for (const [key, propSchema] of Object.entries(schema.properties)) {\n obj[key] = generateMockValue(propSchema, spec, visited)\n }\n }\n\n return obj\n}\n\nexport function parseOpenAPISpec(spec: OpenAPISpec): ParsedEndpoint[] {\n const endpoints: ParsedEndpoint[] = []\n\n if (!spec.paths) return endpoints\n\n for (const [path, methods] of Object.entries(spec.paths)) {\n for (const [method, operation] of Object.entries(methods)) {\n // Skip non-HTTP method properties like 'parameters'\n if (\n !['get', 'post', 'put', 'patch', 'delete', 'head', 'options'].includes(\n method.toLowerCase()\n )\n ) {\n continue\n }\n\n const description = operation.summary || operation.description || null\n\n // Find successful response (2xx)\n let statusCode = 200\n let responseBody: unknown = {}\n\n if (operation.responses) {\n // Sort response codes to prefer 200, then other 2xx\n const responseCodes = Object.keys(operation.responses).sort((a, b) => {\n if (a === '200') return -1\n if (b === '200') return 1\n return parseInt(a, 10) - parseInt(b, 10)\n })\n\n for (const code of responseCodes) {\n const codeNum = parseInt(code, 10)\n if (codeNum >= 200 && codeNum < 300) {\n statusCode = codeNum\n const response = operation.responses[code]\n\n if (response.content) {\n // Try application/json first, then any JSON-like content type\n const jsonContent =\n response.content['application/json'] ||\n response.content['application/hal+json'] ||\n response.content['application/vnd.api+json'] ||\n Object.values(response.content).find((c) => c.schema)\n\n if (jsonContent) {\n if (jsonContent.example) {\n responseBody = jsonContent.example\n } else if (jsonContent.schema) {\n responseBody = generateMockValue(jsonContent.schema, spec)\n }\n }\n }\n break\n }\n }\n }\n\n // Convert OpenAPI path params {id} to Express-style :id\n const normalizedPath = path.replace(/\\{(\\w+)\\}/g, ':$1')\n\n endpoints.push({\n path: normalizedPath,\n method: method.toUpperCase(),\n description,\n statusCode,\n responseBody,\n })\n }\n }\n\n return endpoints\n}\n","import { NextRequest, NextResponse } from 'next/server'\nimport { Prisma } from '@/generated/prisma'\nimport { prisma } from '@/lib/prisma'\nimport { parseOpenAPISpec } from '@/lib/openapi-parser'\n\nexport async function POST(request: NextRequest) {\n const { url } = await request.json()\n\n if (!url) {\n return NextResponse.json({ error: 'URL is required' }, { status: 400 })\n }\n\n try {\n // OpenAPI JSON 가져오기\n const response = await fetch(url, {\n headers: {\n Accept: 'application/json',\n },\n })\n\n if (!response.ok) {\n return NextResponse.json(\n { error: `Failed to fetch OpenAPI spec: ${response.statusText}` },\n { status: 400 }\n )\n }\n\n const spec = await response.json()\n const endpoints = parseOpenAPISpec(spec)\n\n if (endpoints.length === 0) {\n return NextResponse.json(\n { error: 'No valid endpoints found in OpenAPI spec' },\n { status: 400 }\n )\n }\n\n // Upsert로 새로 추가하거나 업데이트\n const results = await Promise.allSettled(\n endpoints.map((ep) =>\n prisma.mockEndpoint.upsert({\n where: {\n path_method: {\n path: ep.path,\n method: ep.method,\n },\n },\n update: {\n description: ep.description,\n statusCode: ep.statusCode,\n responseBody: ep.responseBody as Prisma.InputJsonValue,\n },\n create: {\n path: ep.path,\n method: ep.method,\n description: ep.description,\n statusCode: ep.statusCode,\n responseBody: ep.responseBody as Prisma.InputJsonValue,\n },\n })\n )\n )\n\n const succeeded = results.filter((r) => r.status === 'fulfilled').length\n const failed = results.filter((r) => r.status === 'rejected').length\n\n return NextResponse.json({\n message: `Synced ${succeeded} endpoints`,\n succeeded,\n failed,\n total: endpoints.length,\n })\n } catch (error) {\n console.error('Sync error:', error)\n return NextResponse.json(\n { error: error instanceof Error ? error.message : 'Sync failed' },\n { status: 500 }\n )\n }\n}\n","import { AppRouteRouteModule } from \"next/dist/esm/server/route-modules/app-route/module.compiled\";\nimport { RouteKind } from \"next/dist/esm/server/route-kind\";\nimport { patchFetch as _patchFetch } from \"next/dist/esm/server/lib/patch-fetch\";\nimport { addRequestMeta, getRequestMeta } from \"next/dist/esm/server/request-meta\";\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\";\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\";\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\";\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\";\nimport { NextRequestAdapter, signalFromNodeResponse } from \"next/dist/esm/server/web/spec-extension/adapters/next-request\";\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\";\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\";\nimport { sendResponse } from \"next/dist/esm/server/send-response\";\nimport { fromNodeOutgoingHttpHeaders, toNodeOutgoingHttpHeaders } from \"next/dist/esm/server/web/utils\";\nimport { getCacheControlHeader } from \"next/dist/esm/server/lib/cache-control\";\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from \"next/dist/esm/lib/constants\";\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\";\nimport { CachedRouteKind } from \"next/dist/esm/server/response-cache\";\nimport * as userland from \"INNER_APP_ROUTE\";\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\nconst nextConfigOutput = \"\"\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: \"/api/endpoints/sync/route\",\n pathname: \"/api/endpoints/sync\",\n filename: \"route\",\n bundlePath: \"\"\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: \"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/sync/route.ts\",\n nextConfigOutput,\n userland\n});\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\nexport { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };\nexport async function handler(req, res, ctx) {\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n let srcPage = \"/api/endpoints/sync/route\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || prerenderManifest.routes[resolvedPathname]);\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]);\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.experimental.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n }\n }\n let cacheKey = null;\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname;\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey;\n }\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr;\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse;\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const context = {\n params,\n prerenderManifest,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts)\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n supportsDynamicResponse,\n incrementalCache: getRequestMeta(req, 'incrementalCache'),\n cacheLifeProfiles: nextConfig.cacheLife,\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext)\n },\n sharedContext: {\n buildId\n }\n };\n const nodeNextReq = new NodeNextRequest(req);\n const nodeNextRes = new NodeNextResponse(res);\n const nextReq = NextRequestAdapter.fromNodeNextRequest(nodeNextReq, signalFromNodeResponse(res));\n try {\n const invokeRouteModule = async (span)=>{\n return routeModule.handle(nextReq, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const isMinimalMode = Boolean(process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode'));\n const handleResponse = async (currentSpan)=>{\n var _cacheEntry_value;\n const responseGenerator = async ({ previousCacheEntry })=>{\n try {\n if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {\n res.statusCode = 404;\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED');\n res.end('This page could not be found');\n return null;\n }\n const response = await invokeRouteModule(currentSpan);\n req.fetchMetrics = context.renderOpts.fetchMetrics;\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil;\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil);\n pendingWaitUntil = undefined;\n }\n }\n const cacheTags = context.renderOpts.collectedTags;\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob();\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers);\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type;\n }\n const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;\n const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= INFINITE_CACHE ? undefined : context.renderOpts.collectedExpire;\n // Create the cache entry for the response.\n const cacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers\n },\n cacheControl: {\n revalidate,\n expire\n }\n };\n return cacheEntry;\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, context.renderOpts.pendingWaitUntil);\n return null;\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return null;\n }\n if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_ROUTE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E701\",\n enumerable: false,\n configurable: true\n });\n }\n if (!isMinimalMode) {\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers);\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER);\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {\n headers.set('Cache-Control', getCacheControlHeader(cacheEntry.cacheControl));\n }\n await sendResponse(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200\n }));\n return null;\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (activeSpan) {\n await handleResponse(activeSpan);\n } else {\n await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse));\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n // If this is during static generation, throw the error again.\n if (isIsr) throw err;\n // Otherwise, send a 500 response.\n await sendResponse(nodeNextReq, nodeNextRes, new Response(null, {\n status: 500\n }));\n return null;\n }\n}\n\n//# sourceMappingURL=app-route.js.map\n"],"names":[],"mappings":"8iCAwDA,SAAS,EACP,CAAqB,CACrB,CAAiB,CACjB,EAAuB,IAAI,GAAK,EAGhC,GAAI,EAAO,IAAI,CAAE,CAEf,GAAI,EAAQ,GAAG,CAAC,EAAO,IAAI,EACzB,CAD4B,KACrB,CAAC,EAEV,EAAQ,GAAG,CAAC,EAAO,IAAI,EACvB,IAAM,EAAW,AAtBrB,SAAoB,AAAX,CAAsB,CAAE,CAAiB,EAEhD,IAAM,EAAQ,EAAI,KAAK,CAAC,KACxB,GAAiB,MAAb,CAAK,CAAC,EAAE,EAAyB,eAAb,CAAK,CAAC,EAAE,EAAkC,WAAW,CAAxB,CAAK,CAAC,EAAE,CAC3D,OAAO,KAET,IAAM,EAAa,CAAK,CAAC,EAAE,CAC3B,OAAO,EAAK,UAAU,EAAE,SAAS,CAAC,EAAW,EAAI,IACnD,EAcgC,EAAO,IAAI,CAAE,UACrC,AAAJ,EACS,EAAkB,EAAU,EAAM,EAD7B,CAGP,CAAC,CACV,CAGA,GAAI,EAAO,KAAK,EAAI,EAAO,KAAK,CAAC,MAAM,CAAG,EAAG,CAC3C,IAAM,EAAkC,CAAC,EACzC,IAAK,IAAM,KAAa,EAAO,KAAK,CAAE,CACpC,IAAM,EAAQ,EAAkB,EAAW,EAAM,GAC5B,UAAjB,OAAO,GAAsB,AAAU,MAAM,IAC/C,OAAO,MAAM,CAAC,EAAQ,EAE1B,CACA,OAAO,CACT,CAGA,GAAI,EAAO,KAAK,EAAI,EAAO,KAAK,CAAC,MAAM,CAAG,EACxC,CAD2C,MACpC,EAAkB,EAAO,KAAK,CAAC,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AC7F,EAAQ,GAAG,CAAC,gBAAiB,CAAA,EAAA,EAAA,qBAAA,AAAqB,EAAC,EAAW,YAAY,GAE9E,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAChC,IAAI,SAAS,EAAW,KAAK,CAAC,IAAI,CAAE,SAChC,EACA,OAAQ,EAAW,KAAK,CAAC,MAAM,EAAI,GACvC,IACO,IACX,EAGI,EACA,MAAM,EAAe,EADT,CAGZ,MAAM,EAAO,qBAAqB,CAAC,EAAI,OAAO,CAAE,IAAI,EAAO,KAAK,CAAC,EAAA,cAAc,CAAC,aAAa,CAAE,CACvF,SAAU,CAAA,EAAG,EAAO,CAAC,EAAE,EAAA,CAAS,CAChC,KAAM,EAAA,QAAQ,CAAC,MAAM,CACrB,WAAY,CACR,cAAe,EACf,cAAe,EAAI,GAAG,AAC1B,CACJ,EAAG,GAEf,CAAE,MAAO,EAAK,CAeV,GAdM,aAAe,EAAA,eAAe,EAEhC,CAFmC,KAE7B,EAAY,cAAc,CAAC,EAAK,EAAK,CACvC,WAAY,aACZ,UAAW,EACX,UAAW,QACX,iBAAkB,CAAA,EAAA,EAAA,mBAAmB,AAAnB,EAAoB,oBAClC,uBACA,CACJ,EACJ,GAAG,AATgB,EASJ,GAIf,EAAO,MAAM,EAKjB,OAHA,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAAa,IAAI,SAAS,KAAM,CAC5D,OAAQ,GACZ,IACO,IACX,CACJ,EAEA,qCAAqC","ignoreList":[2]}
@@ -1,3 +1,3 @@
1
- module.exports=[93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},77098,e=>{"use strict";let t=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"];function r(e){return!!e&&"string"==typeof e&&!!e.startsWith("/")&&!(e.length>1e3)}function a(e){return"string"==typeof e&&t.includes(e.toUpperCase())}function n(e){return null==e||"number"==typeof e&&e>=100&&e<600}e.s(["validateMethod",()=>a,"validatePath",()=>r,"validateStatusCode",()=>n])},77851,e=>{"use strict";var t=e.i(90853),r=e.i(23778),a=e.i(27873),n=e.i(59784),s=e.i(75321),o=e.i(89306),i=e.i(93178),l=e.i(8007),d=e.i(78226),u=e.i(77688),p=e.i(11733),c=e.i(88075),h=e.i(11526),x=e.i(34033),v=e.i(44670),R=e.i(93695);e.i(71109);var f=e.i(15864),m=e.i(70388),g=e.i(16267),E=e.i(77098);async function w(){let e=await g.prisma.mockEndpoint.findMany({orderBy:{createdAt:"desc"}});return m.NextResponse.json(e)}async function y(e){let{path:t,method:r,description:a,statusCode:n,responseBody:s}=await e.json();if(!(0,E.validatePath)(t))return m.NextResponse.json({error:"Invalid path"},{status:400});if(!(0,E.validateMethod)(r))return m.NextResponse.json({error:"Invalid method"},{status:400});if(!(0,E.validateStatusCode)(n))return m.NextResponse.json({error:"Invalid status code"},{status:400});let o=await g.prisma.mockEndpoint.create({data:{path:t,method:r.toUpperCase(),description:a,statusCode:n??200,responseBody:s}});return m.NextResponse.json(o,{status:201})}e.s(["GET",()=>w,"POST",()=>y],55289);var C=e.i(55289);let A=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/endpoints/route",pathname:"/api/endpoints",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/route.ts",nextConfigOutput:"",userland:C}),{workAsyncStorage:T,workUnitAsyncStorage:P,serverHooks:b}=A;function N(){return(0,a.patchFetch)({workAsyncStorage:T,workUnitAsyncStorage:P})}async function k(e,t,a){A.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/endpoints/route";m=m.replace(/\/index$/,"")||"/";let g=await A.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,params:w,nextConfig:y,parsedUrl:C,isDraftMode:T,prerenderManifest:P,routerServerContext:b,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,resolvedPathname:O,clientReferenceManifest:j,serverActionsManifest:S}=g,q=(0,i.normalizeAppPath)(m),_=!!(P.dynamicRoutes[q]||P.routes[O]),H=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,C,!1):t.end("This page could not be found"),null);if(_&&!T){let e=!!P.routes[O],t=P.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(y.experimental.adapterPath)return await H();throw new R.NoFallbackError}}let I=null;!_||A.isDev||T||(I="/index"===(I=O)?"/":I);let U=!0===A.isDev||!_,D=_&&!U;S&&j&&(0,o.setManifestsSingleton)({page:m,clientReferenceManifest:j,serverActionsManifest:S});let M=e.method||"GET",$=(0,s.getTracer)(),F=$.getActiveScopeSpan(),K={params:w,prerenderManifest:P,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:y.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>A.onRequestError(e,t,a,n,b)},sharedContext:{buildId:E}},B=new l.NodeNextRequest(e),L=new l.NodeNextResponse(t),G=d.NextRequestAdapter.fromNodeNextRequest(B,(0,d.signalFromNodeResponse)(t));try{let o=async e=>A.handle(G,K).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=$.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${M} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${M} ${m}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let d=async({previousCacheEntry:r})=>{try{if(!i&&N&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(n);e.fetchMetrics=K.renderOpts.fetchMetrics;let l=K.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let d=K.renderOpts.collectedTags;if(!_)return await (0,c.sendResponse)(B,L,s,K.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(s.headers);d&&(t[v.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,a=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=v.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await A.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,b),t}},u=await A.handleResponse({req:e,nextConfig:y,cacheKey:I,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:P,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,responseGenerator:d,waitUntil:a.waitUntil,isMinimalMode:i});if(!_)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(l=u.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",N?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let R=(0,h.fromNodeOutgoingHttpHeaders)(u.value.headers);return i&&_||R.delete(v.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||R.get("Cache-Control")||R.set("Cache-Control",(0,x.getCacheControlHeader)(u.cacheControl)),await (0,c.sendResponse)(B,L,new Response(u.value.body,{headers:R,status:u.value.status||200})),null};F?await l(F):await $.withPropagatedContext(e.headers,()=>$.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${m}`,kind:s.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},l))}catch(t){if(t instanceof R.NoFallbackError||await A.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,b),_)throw t;return await (0,c.sendResponse)(B,L,new Response(null,{status:500})),null}}e.s(["handler",()=>k,"patchFetch",()=>N,"routeModule",()=>A,"serverHooks",()=>b,"workAsyncStorage",()=>T,"workUnitAsyncStorage",()=>P],77851)}];
1
+ module.exports=[93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},77098,e=>{"use strict";let t=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"];function r(e){return!!e&&"string"==typeof e&&!!e.startsWith("/")&&!(e.length>1e3)}function a(e){return"string"==typeof e&&t.includes(e.toUpperCase())}function n(e){return null==e||"number"==typeof e&&e>=100&&e<600}e.s(["validateMethod",()=>a,"validatePath",()=>r,"validateStatusCode",()=>n])},28355,e=>{"use strict";var t=e.i(43646),r=e.i(48499),a=e.i(79744),n=e.i(37726),s=e.i(24472),o=e.i(57008),i=e.i(13998),l=e.i(46091),d=e.i(45959),u=e.i(96129),p=e.i(92031),c=e.i(31074),h=e.i(19567),x=e.i(84045),v=e.i(93101),R=e.i(93695);e.i(2038);var f=e.i(42518),m=e.i(40163),g=e.i(16267),E=e.i(77098);async function w(){let e=await g.prisma.mockEndpoint.findMany({orderBy:{createdAt:"desc"}});return m.NextResponse.json(e)}async function y(e){let{path:t,method:r,description:a,statusCode:n,responseBody:s}=await e.json();if(!(0,E.validatePath)(t))return m.NextResponse.json({error:"Invalid path"},{status:400});if(!(0,E.validateMethod)(r))return m.NextResponse.json({error:"Invalid method"},{status:400});if(!(0,E.validateStatusCode)(n))return m.NextResponse.json({error:"Invalid status code"},{status:400});let o=await g.prisma.mockEndpoint.create({data:{path:t,method:r.toUpperCase(),description:a,statusCode:n??200,responseBody:s}});return m.NextResponse.json(o,{status:201})}e.s(["GET",()=>w,"POST",()=>y],55289);var C=e.i(55289);let A=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/endpoints/route",pathname:"/api/endpoints",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/route.ts",nextConfigOutput:"",userland:C}),{workAsyncStorage:T,workUnitAsyncStorage:P,serverHooks:b}=A;function N(){return(0,a.patchFetch)({workAsyncStorage:T,workUnitAsyncStorage:P})}async function k(e,t,a){A.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/endpoints/route";m=m.replace(/\/index$/,"")||"/";let g=await A.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,params:w,nextConfig:y,parsedUrl:C,isDraftMode:T,prerenderManifest:P,routerServerContext:b,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,resolvedPathname:O,clientReferenceManifest:j,serverActionsManifest:S}=g,q=(0,i.normalizeAppPath)(m),_=!!(P.dynamicRoutes[q]||P.routes[O]),H=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,C,!1):t.end("This page could not be found"),null);if(_&&!T){let e=!!P.routes[O],t=P.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(y.experimental.adapterPath)return await H();throw new R.NoFallbackError}}let I=null;!_||A.isDev||T||(I="/index"===(I=O)?"/":I);let U=!0===A.isDev||!_,D=_&&!U;S&&j&&(0,o.setManifestsSingleton)({page:m,clientReferenceManifest:j,serverActionsManifest:S});let M=e.method||"GET",$=(0,s.getTracer)(),F=$.getActiveScopeSpan(),K={params:w,prerenderManifest:P,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:y.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>A.onRequestError(e,t,a,n,b)},sharedContext:{buildId:E}},B=new l.NodeNextRequest(e),L=new l.NodeNextResponse(t),G=d.NextRequestAdapter.fromNodeNextRequest(B,(0,d.signalFromNodeResponse)(t));try{let o=async e=>A.handle(G,K).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=$.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${M} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${M} ${m}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let d=async({previousCacheEntry:r})=>{try{if(!i&&N&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(n);e.fetchMetrics=K.renderOpts.fetchMetrics;let l=K.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let d=K.renderOpts.collectedTags;if(!_)return await (0,c.sendResponse)(B,L,s,K.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(s.headers);d&&(t[v.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,a=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=v.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await A.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,b),t}},u=await A.handleResponse({req:e,nextConfig:y,cacheKey:I,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:P,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,responseGenerator:d,waitUntil:a.waitUntil,isMinimalMode:i});if(!_)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(l=u.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",N?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let R=(0,h.fromNodeOutgoingHttpHeaders)(u.value.headers);return i&&_||R.delete(v.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||R.get("Cache-Control")||R.set("Cache-Control",(0,x.getCacheControlHeader)(u.cacheControl)),await (0,c.sendResponse)(B,L,new Response(u.value.body,{headers:R,status:u.value.status||200})),null};F?await l(F):await $.withPropagatedContext(e.headers,()=>$.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${m}`,kind:s.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},l))}catch(t){if(t instanceof R.NoFallbackError||await A.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,b),_)throw t;return await (0,c.sendResponse)(B,L,new Response(null,{status:500})),null}}e.s(["handler",()=>k,"patchFetch",()=>N,"routeModule",()=>A,"serverHooks",()=>b,"workAsyncStorage",()=>T,"workUnitAsyncStorage",()=>P],28355)}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__84981507._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__76e3e5c5._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../Desktop/Project/Web/growth-mock-server/lib/validation.ts","../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/build/templates/app-route.js","../../../../../../../Desktop/Project/Web/growth-mock-server/app/api/endpoints/route.ts"],"sourcesContent":["const VALID_METHODS = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']\n\nexport function validatePath(path: unknown): path is string {\n if (!path || typeof path !== 'string') return false\n if (!path.startsWith('/')) return false\n if (path.length > 1000) return false\n return true\n}\n\nexport function validateMethod(method: unknown): method is string {\n if (typeof method !== 'string') return false\n return VALID_METHODS.includes(method.toUpperCase())\n}\n\nexport function validateStatusCode(statusCode: unknown): statusCode is number {\n if (statusCode === undefined || statusCode === null) return true // optional\n if (typeof statusCode !== 'number') return false\n return statusCode >= 100 && statusCode < 600\n}\n","import { AppRouteRouteModule } from \"next/dist/esm/server/route-modules/app-route/module.compiled\";\nimport { RouteKind } from \"next/dist/esm/server/route-kind\";\nimport { patchFetch as _patchFetch } from \"next/dist/esm/server/lib/patch-fetch\";\nimport { addRequestMeta, getRequestMeta } from \"next/dist/esm/server/request-meta\";\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\";\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\";\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\";\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\";\nimport { NextRequestAdapter, signalFromNodeResponse } from \"next/dist/esm/server/web/spec-extension/adapters/next-request\";\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\";\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\";\nimport { sendResponse } from \"next/dist/esm/server/send-response\";\nimport { fromNodeOutgoingHttpHeaders, toNodeOutgoingHttpHeaders } from \"next/dist/esm/server/web/utils\";\nimport { getCacheControlHeader } from \"next/dist/esm/server/lib/cache-control\";\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from \"next/dist/esm/lib/constants\";\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\";\nimport { CachedRouteKind } from \"next/dist/esm/server/response-cache\";\nimport * as userland from \"INNER_APP_ROUTE\";\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\nconst nextConfigOutput = \"\"\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: \"/api/endpoints/route\",\n pathname: \"/api/endpoints\",\n filename: \"route\",\n bundlePath: \"\"\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: \"[project]/Desktop/Project/Web/growth-mock-server/app/api/endpoints/route.ts\",\n nextConfigOutput,\n userland\n});\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\nexport { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };\nexport async function handler(req, res, ctx) {\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n let srcPage = \"/api/endpoints/route\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || prerenderManifest.routes[resolvedPathname]);\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]);\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.experimental.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n }\n }\n let cacheKey = null;\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname;\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey;\n }\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr;\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse;\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const context = {\n params,\n prerenderManifest,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts)\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n supportsDynamicResponse,\n incrementalCache: getRequestMeta(req, 'incrementalCache'),\n cacheLifeProfiles: nextConfig.cacheLife,\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext)\n },\n sharedContext: {\n buildId\n }\n };\n const nodeNextReq = new NodeNextRequest(req);\n const nodeNextRes = new NodeNextResponse(res);\n const nextReq = NextRequestAdapter.fromNodeNextRequest(nodeNextReq, signalFromNodeResponse(res));\n try {\n const invokeRouteModule = async (span)=>{\n return routeModule.handle(nextReq, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const isMinimalMode = Boolean(process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode'));\n const handleResponse = async (currentSpan)=>{\n var _cacheEntry_value;\n const responseGenerator = async ({ previousCacheEntry })=>{\n try {\n if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {\n res.statusCode = 404;\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED');\n res.end('This page could not be found');\n return null;\n }\n const response = await invokeRouteModule(currentSpan);\n req.fetchMetrics = context.renderOpts.fetchMetrics;\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil;\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil);\n pendingWaitUntil = undefined;\n }\n }\n const cacheTags = context.renderOpts.collectedTags;\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob();\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers);\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type;\n }\n const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;\n const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= INFINITE_CACHE ? undefined : context.renderOpts.collectedExpire;\n // Create the cache entry for the response.\n const cacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers\n },\n cacheControl: {\n revalidate,\n expire\n }\n };\n return cacheEntry;\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, context.renderOpts.pendingWaitUntil);\n return null;\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return null;\n }\n if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_ROUTE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E701\",\n enumerable: false,\n configurable: true\n });\n }\n if (!isMinimalMode) {\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers);\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER);\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {\n headers.set('Cache-Control', getCacheControlHeader(cacheEntry.cacheControl));\n }\n await sendResponse(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200\n }));\n return null;\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (activeSpan) {\n await handleResponse(activeSpan);\n } else {\n await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse));\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n // If this is during static generation, throw the error again.\n if (isIsr) throw err;\n // Otherwise, send a 500 response.\n await sendResponse(nodeNextReq, nodeNextRes, new Response(null, {\n status: 500\n }));\n return null;\n }\n}\n\n//# sourceMappingURL=app-route.js.map\n","import { NextRequest, NextResponse } from 'next/server'\nimport { prisma } from '@/lib/prisma'\nimport { validatePath, validateMethod, validateStatusCode } from '@/lib/validation'\n\n// GET: 모든 엔드포인트 조회\nexport async function GET() {\n const endpoints = await prisma.mockEndpoint.findMany({\n orderBy: { createdAt: 'desc' },\n })\n return NextResponse.json(endpoints)\n}\n\n// POST: 새 엔드포인트 생성\nexport async function POST(request: NextRequest) {\n const body = await request.json()\n const { path, method, description, statusCode, responseBody } = body\n\n if (!validatePath(path)) {\n return NextResponse.json({ error: 'Invalid path' }, { status: 400 })\n }\n if (!validateMethod(method)) {\n return NextResponse.json({ error: 'Invalid method' }, { status: 400 })\n }\n if (!validateStatusCode(statusCode)) {\n return NextResponse.json({ error: 'Invalid status code' }, { status: 400 })\n }\n\n const endpoint = await prisma.mockEndpoint.create({\n data: {\n path,\n method: method.toUpperCase(),\n description,\n statusCode: statusCode ?? 200,\n responseBody,\n },\n })\n\n return NextResponse.json(endpoint, { status: 201 })\n}\n"],"names":[],"mappings":"8iCAAA,IAAM,EAAgB,CAAC,MAAO,OAAQ,MAAO,QAAS,SAAU,OAAQ,UAAU,CAE3E,SAAS,EAAa,CAAa,SACpC,CAAC,GAAwB,UAAhB,AAA0B,OAAnB,AAA0B,IAC1C,CAAC,EAAK,UAAU,CAAC,MAAM,EACvB,EAAK,GADyB,GACnB,CAAG,GAAA,CAEpB,CAEO,CAJmB,OAAO,CAIjB,EAAe,CAAe,QAC5C,AAAsB,UAAlB,AAA4B,OAArB,AAA4B,GAChC,EAAc,QAAQ,CAAC,EAAO,WAAW,GAClD,CAEO,SAAS,EAAmB,CAAmB,SACpD,MAAI,GACsB,UAAtB,AAAgC,EADjB,KACwB,AAAhC,GACJ,GAAc,EAFW,GAEJ,EAAa,GAC3C,OAHiD,MAAM,OAAO,KAAK,WAAW,mECf9E,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA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,qBAAA,AAAqB,EAAC,EAAW,YAAY,GAE9E,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAChC,IAAI,SAAS,EAAW,KAAK,CAAC,IAAI,CAAE,SAChC,EACA,OAAQ,EAAW,KAAK,CAAC,MAAM,EAAI,GACvC,IACO,IACX,EAGI,EACA,MAAM,EAAe,EADT,CAGZ,MAAM,EAAO,qBAAqB,CAAC,EAAI,OAAO,CAAE,IAAI,EAAO,KAAK,CAAC,EAAA,cAAc,CAAC,aAAa,CAAE,CACvF,SAAU,CAAA,EAAG,EAAO,CAAC,EAAE,EAAA,CAAS,CAChC,KAAM,EAAA,QAAQ,CAAC,MAAM,CACrB,WAAY,CACR,cAAe,EACf,cAAe,EAAI,GAAG,AAC1B,CACJ,EAAG,GAEf,CAAE,MAAO,EAAK,CAeV,GAdM,aAAe,EAAA,eAAe,EAEhC,CAFmC,KAE7B,EAAY,cAAc,CAAC,EAAK,EAAK,CACvC,WAAY,aACZ,UAAW,EACX,UAAW,QACX,iBAAkB,CAAA,EAAA,EAAA,mBAAA,AAAmB,EAAC,oBAClC,uBACA,CACJ,EACJ,GAAG,AATgB,EASJ,GAIf,EAAO,MAAM,EAKjB,OAHA,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAAa,IAAI,SAAS,KAAM,CAC5D,OAAQ,GACZ,IACO,IACX,CACJ,EAEA,qCAAqC","ignoreList":[1]}
@@ -124,6 +124,6 @@ ${n}`}(e,r))},__internal:e=>{if(!e)return;let t=["debug","engine","configOverrid
124
124
 
125
125
  Learn how: https://pris.ly/d/${s9[t]}-build`;throw console.error(e),new rP(e,r)}})(e=t?.__internal?.configOverride?.(e)??e),t&&function(e,t){for(let[r,n]of Object.entries(e)){if(!oj.includes(r)){let e=oF(r,oj);throw new oD(`Unknown property ${r} provided to PrismaClient constructor.${e}`)}oq[r](n,t)}if(e.datasourceUrl&&e.datasources)throw new oD('Can not use "datasourceUrl" and "datasources" options at the same time. Pick one of them')}(t,e);let r=new sh.EventEmitter().on("error",()=>{});this._extensions=iZ.empty(),this._previewFeatures=function({generator:e}){return e?.previewFeatures??[]}(e),this._clientVersion=e.clientVersion??"6.19.1",this._activeProvider=e.activeProvider,this._globalOmit=t?.omit,this._tracingHelper=new oP;let n=e.relativeEnvPaths&&{rootEnvPath:e.relativeEnvPaths.rootEnvPath&&sm.default.resolve(e.dirname,e.relativeEnvPaths.rootEnvPath),schemaEnvPath:e.relativeEnvPaths.schemaEnvPath&&sm.default.resolve(e.dirname,e.relativeEnvPaths.schemaEnvPath)},i;if(t?.adapter){i=t.adapter;let r="postgresql"===e.activeProvider||"cockroachdb"===e.activeProvider?"postgres":e.activeProvider;if(i.provider!==r)throw new rP(`The Driver Adapter \`${i.adapterName}\`, based on \`${i.provider}\`, is not compatible with the provider \`${r}\` specified in the Prisma schema.`,this._clientVersion);if(t.datasources||void 0!==t.datasourceUrl)throw new rP("Custom datasource configuration is not compatible with Prisma Driver Adapters. Please define the database connection string directly in the Driver Adapter configuration.",this._clientVersion)}let s=!i&&n&&rf(n,{conflictCheck:"none"})||e.injectableEdgeEnv?.();try{let n=t??{},a=n.__internal??{},o=!0===a.debug;o&&eE.enable("prisma:client");let l=sm.default.resolve(e.dirname,e.relativePath);sp.default.existsSync(l)||(l=e.dirname),oV("dirname",e.dirname),oV("relativePath",e.relativePath),oV("cwd",l);let u=a.engine||{};if(n.errorFormat?this._errorFormat=n.errorFormat:this._errorFormat="minimal",this._runtimeDataModel=e.runtimeDataModel,this._engineConfig={cwd:l,dirname:e.dirname,enableDebugLogs:o,allowTriggerPanic:u.allowTriggerPanic,prismaPath:u.binaryPath??void 0,engineEndpoint:u.endpoint,generator:e.generator,showColors:"pretty"===this._errorFormat,logLevel:n.log&&function(e){return"string"==typeof e?e:e.reduce((e,t)=>{let r="string"==typeof t?t:t.level;return"query"===r?e:e&&("info"===t||"info"===e)?"info":r},void 0)}(n.log),logQueries:n.log&&!!("string"==typeof n.log?"query"===n.log:n.log.find(e=>"string"==typeof e?"query"===e:"query"===e.level)),env:s?.parsed??{},flags:[],engineWasm:e.engineWasm,compilerWasm:e.compilerWasm,clientVersion:e.clientVersion,engineVersion:e.engineVersion,previewFeatures:this._previewFeatures,activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,overrideDatasources:function(e,t){return e?e.datasources?e.datasources:e.datasourceUrl?{[t[0]]:{url:e.datasourceUrl}}:{}:{}}(n,e.datasourceNames),inlineDatasources:e.inlineDatasources,inlineSchemaHash:e.inlineSchemaHash,tracingHelper:this._tracingHelper,transactionOptions:{maxWait:n.transactionOptions?.maxWait??2e3,timeout:n.transactionOptions?.timeout??5e3,isolationLevel:n.transactionOptions?.isolationLevel},logEmitter:r,isBundled:e.isBundled,adapter:i},this._accelerateEngineConfig={...this._engineConfig,accelerateUtils:{resolveDatasourceUrl:av,getBatchRequestPayload:sN,prismaGraphQLToJSError:sT,PrismaClientUnknownRequestError:rO,PrismaClientInitializationError:rP,PrismaClientKnownRequestError:r$,debug:eE("prisma:client:accelerateEngine"),engineVersion:sc.version,clientVersion:e.clientVersion}},oV("clientVersion",e.clientVersion),this._engine=function({copyEngine:e=!0},t){let r;try{r=av({inlineDatasources:t.inlineDatasources,overrideDatasources:t.overrideDatasources,env:{...t.env,...process.env},clientVersion:t.clientVersion})}catch{}let{ok:n,isUsing:i,diagnostics:s}=function({url:e,adapter:t,copyEngine:r,targetBuildType:n}){let i=[],s=[],a=e=>{let t=e.join(`
126
126
  `);s.push({_tag:"error",value:t})},o=!!e?.startsWith("prisma://"),l=t3(e),u=!!t,c=o||l;!u&&r&&c&&"client"!==n&&"wasm-compiler-edge"!==n&&i.push({_tag:"warning",value:["recommend--no-engine","In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)"]});let d=c||!r;u&&(d||"edge"===n)&&("edge"===n?a(["Prisma Client was configured to use the `adapter` option but it was imported via its `/edge` endpoint.","Please either remove the `/edge` endpoint or remove the `adapter` from the Prisma Client constructor."]):c?a(["You've provided both a driver adapter and an Accelerate database URL. Driver adapters currently cannot connect to Accelerate.","Please provide either a driver adapter with a direct database URL or an Accelerate URL and no driver adapter."]):r||a(["Prisma Client was configured to use the `adapter` option but `prisma generate` was run with `--no-engine`.","Please run `prisma generate` without `--no-engine` to be able to use Prisma Client with the adapter."]));let h={accelerate:d,ppg:l,driverAdapters:u};return s.length>0?{ok:!1,diagnostics:{warnings:i,errors:s},isUsing:h}:{ok:!0,diagnostics:{warnings:i},isUsing:h}}({url:r,adapter:t.adapter,copyEngine:e,targetBuildType:"library"});for(let e of s.warnings)rx(...e.value);if(!n)throw new rk(s.errors[0].value,{clientVersion:t.clientVersion});let a=tG(t.generator);return(i.accelerate||i.ppg)&&i.driverAdapters,i.accelerate?new a5(t):(i.driverAdapters,"library"===a||i.accelerate,new oa(t))}(e,this._engineConfig),this._requestHandler=new oT(this,r),n.log)for(let e of n.log){let t="string"==typeof e?e:"stdout"===e.emit?e.level:null;t&&this.$on(t,e=>{t8.log(`${t8.tags[t]??""}`,e.message||e.query)})}}catch(e){throw e.clientVersion=this._clientVersion,e}return this._appliedParent=sX(this)}get[Symbol.toStringTag](){return"PrismaClient"}$on(e,t){return"beforeExit"===e?this._engine.onBeforeExit(t):e&&this._engineConfig.logEmitter.on(e,t),this}$connect(){try{return this._engine.start()}catch(e){throw e.clientVersion=this._clientVersion,e}}async $disconnect(){try{await this._engine.stop()}catch(e){throw e.clientVersion=this._clientVersion,e}finally{ef.length=0}}$executeRawInternal(e,t,r,n){let i=this._activeProvider;return this._request({action:"executeRaw",args:r,transaction:e,clientMethod:t,argsMapper:of({clientMethod:t,activeProvider:i}),callsite:sL(this._errorFormat),dataPath:[],middlewareArgsMapper:n})}$executeRaw(e,...t){return this._createPrismaPromise(r=>{if(void 0!==e.raw||void 0!==e.sql){let[n,i]=oH(e,t);return og(this._activeProvider,n.text,n.values,Array.isArray(e)?"prisma.$executeRaw`<SQL>`":"prisma.$executeRaw(sql`<SQL>`)"),this.$executeRawInternal(r,"$executeRaw",n,i)}throw new rk("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n",{clientVersion:this._clientVersion})})}$executeRawUnsafe(e,...t){return this._createPrismaPromise(r=>(og(this._activeProvider,e,t,"prisma.$executeRawUnsafe(<SQL>, [...values])"),this.$executeRawInternal(r,"$executeRawUnsafe",[e,...t])))}$runCommandRaw(t){if("mongodb"!==e.activeProvider)throw new rk(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`,{clientVersion:this._clientVersion});return this._createPrismaPromise(e=>this._request({args:t,clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",argsMapper:ol,callsite:sL(this._errorFormat),transaction:e}))}async $queryRawInternal(e,t,r,n){let i=this._activeProvider;return this._request({action:"queryRaw",args:r,transaction:e,clientMethod:t,argsMapper:of({clientMethod:t,activeProvider:i}),callsite:sL(this._errorFormat),dataPath:[],middlewareArgsMapper:n})}$queryRaw(e,...t){return this._createPrismaPromise(r=>{if(void 0!==e.raw||void 0!==e.sql)return this.$queryRawInternal(r,"$queryRaw",...oH(e,t));throw new rk("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n",{clientVersion:this._clientVersion})})}$queryRawTyped(e){return this._createPrismaPromise(t=>{if(!this._hasPreviewFlag("typedSql"))throw new rk("`typedSql` preview feature must be enabled in order to access $queryRawTyped API",{clientVersion:this._clientVersion});return this.$queryRawInternal(t,"$queryRawTyped",e)})}$queryRawUnsafe(e,...t){return this._createPrismaPromise(r=>this.$queryRawInternal(r,"$queryRawUnsafe",[e,...t]))}_transactionWithArray({promises:e,options:t}){var r;let n=oB.nextId(),i=function(e,t=()=>{}){let r,n=new Promise(e=>r=e);return{then:i=>(0==--e&&r(t()),i?.(n))}}(e.length);return 0===(r=e.map((e,r)=>{if(e?.[Symbol.toStringTag]!=="PrismaPromise")throw Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");let s=t?.isolationLevel??this._engineConfig.transactionOptions.isolationLevel;return e.requestTransaction?.({kind:"batch",id:n,index:r,isolationLevel:s,lock:i})??e})).length?Promise.resolve([]):new Promise((e,t)=>{let n=Array(r.length),i=null,s=!1,a=0,o=()=>{s||++a===r.length&&(s=!0,i?t(i):e(n))},l=e=>{s||(s=!0,t(e))};for(let e=0;e<r.length;e++)r[e].then(t=>{n[e]=t,o()},t=>{o$(t)?t.batchRequestIdx===e?l(t):(i||(i=t),o()):l(t)})})}async _transactionWithCallback({callback:e,options:t}){let r={traceparent:this._tracingHelper.getTraceParent()},n={maxWait:t?.maxWait??this._engineConfig.transactionOptions.maxWait,timeout:t?.timeout??this._engineConfig.transactionOptions.timeout,isolationLevel:t?.isolationLevel??this._engineConfig.transactionOptions.isolationLevel},i=await this._engine.transaction("start",r,n),s;try{let t={kind:"itx",...i};s=await e(this._createItxClient(t)),await this._engine.transaction("commit",r,i)}catch(e){throw await this._engine.transaction("rollback",r,i).catch(()=>{}),e}return s}_createItxClient(e){return sO(sX(sO(this[sZ]?this[sZ]:this,[sE("_appliedParent",()=>this._appliedParent._createItxClient(e)),sE("_createPrismaPromise",()=>ob(e)),sE(oU,()=>e.id)])),[sS(s4)])}$transaction(e,t){let r;return r="function"==typeof e?this._engineConfig.adapter?.adapterName==="@prisma/adapter-d1"?()=>{throw Error("Cloudflare D1 does not support interactive transactions. We recommend you to refactor your queries with that limitation in mind, and use batch transactions with `prisma.$transactions([])` where applicable.")}:()=>this._transactionWithCallback({callback:e,options:t}):()=>this._transactionWithArray({promises:e,options:t}),this._tracingHelper.runInChildSpan({name:"transaction",attributes:{method:"$transaction"}},r)}_request(e){e.otelParentCtx=this._tracingHelper.getActiveContext();let t=e.middlewareArgsMapper??oL,r={args:t.requestArgsToMiddlewareArgs(e.args),dataPath:e.dataPath,runInTransaction:!!e.transaction,action:e.action,model:e.model},n={operation:{name:"operation",attributes:{method:r.action,model:r.model,name:r.model?`${r.model}.${r.action}`:r.action}}},i=async r=>{let{runInTransaction:n,args:i,...s}=r,a={...e,...s};i&&(a.args=t.middlewareArgsToRequestArgs(i)),void 0!==e.transaction&&!1===n&&delete a.transaction;let o=await function(e,t){let{jsModelName:r,action:n,clientMethod:i}=t;if(e._extensions.isEmpty())return e._executeRequest(t);let s=e._extensions.getAllQueryCallbacks(r??"$none",r?n:i);return function e(t,r,n,i=0){return t._createPrismaPromise(s=>{let a=r.customDataProxyFetch;return"transaction"in r&&void 0!==s&&(r.transaction?.kind==="batch"&&r.transaction.lock.then(),r.transaction=s),i===n.length?t._executeRequest(r):n[i]({model:r.model,operation:r.model?r.action:r.clientMethod,args:function(e){var t,r;if(e instanceof sg){return new sg((t=e).strings,t.values)}if(su(e)){return new so((r=e).sql,r.values)}if(Array.isArray(e)){let t=[e[0]];for(let r=1;r<e.length;r++)t[r]=s7(e[r]);return t}let n={};for(let t in e)n[t]=s7(e[t]);return n}(r.args??{}),__internalParams:r,query:(s,o=r)=>{let l=o.customDataProxyFetch;return o.customDataProxyFetch=s3(a,l),o.args=s,e(t,o,n,i+1)}})})}(e,t,s)}(this,a);return a.model?function({result:e,modelName:t,args:r,extensions:n,runtimeDataModel:i,globalOmit:s}){return n.isEmpty()||null==e||"object"!=typeof e||!i.models[t]?e:s1({result:e,args:r??{},modelName:t,runtimeDataModel:i,visitor:(e,t,r)=>{let i=iQ(t);return function({result:e,modelName:t,select:r,omit:n,extensions:i}){let s=i.getAllComputedFields(t);if(!s)return e;let a=[],o=[];for(let t of Object.values(s)){if(n){if(n[t.name])continue;let e=t.needs.filter(e=>n[e]);e.length>0&&o.push(sS(e))}else if(r){if(!r[t.name])continue;let e=t.needs.filter(e=>!r[e]);e.length>0&&o.push(sS(e))}(function(e,t){return t.every(t=>Object.prototype.hasOwnProperty.call(e,t))})(e,t.needs)&&a.push(function(e,t){return sx(sE(e.name,()=>e.compute(t)))}(t,sO(e,a)))}return a.length>0||o.length>0?sO(e,[...a,...o]):e}({result:e,modelName:i,select:r.select,omit:r.select?void 0:{...s?.[i],...r.omit},extensions:n})}})}({result:o,modelName:a.model,args:a.args,extensions:this._extensions,runtimeDataModel:this._runtimeDataModel,globalOmit:this._globalOmit}):o};return this._tracingHelper.runInChildSpan(n.operation,()=>new sd.AsyncResource("prisma-client-request").runInAsyncScope(()=>i(r)))}async _executeRequest({args:e,clientMethod:t,dataPath:r,callsite:n,action:i,model:s,argsMapper:a,transaction:o,unpacker:l,otelParentCtx:u,customDataProxyFetch:c}){try{e=a?a(e):e;let d=this._tracingHelper.runInChildSpan({name:"serialize"},()=>i5({modelName:s,runtimeDataModel:this._runtimeDataModel,action:i,args:e,clientMethod:t,callsite:n,extensions:this._extensions,errorFormat:this._errorFormat,clientVersion:this._clientVersion,previewFeatures:this._previewFeatures,globalOmit:this._globalOmit}));return eE.enabled("prisma:client")&&(oV("Prisma Client call:"),oV(`prisma.${t}(${function(e){if(void 0===e)return"";let t=iH(e);return new ih(0,{colors:ig}).write(t).toString()}(e)})`),oV("Generated request:"),oV(JSON.stringify(d,null,2)+`
127
- `)),o?.kind==="batch"&&await o.lock,this._requestHandler.request({protocolQuery:d,modelName:s,action:i,clientMethod:t,dataPath:r,callsite:n,args:e,extensions:this._extensions,transaction:o,unpacker:l,otelParentCtx:u,otelChildCtx:this._tracingHelper.getActiveContext(),globalOmit:this._globalOmit,customDataProxyFetch:c})}catch(e){throw e.clientVersion=this._clientVersion,e}}$metrics=new sr(this);_hasPreviewFlag(e){return!!this._engineConfig.previewFeatures?.includes(e)}$applyPendingMigrations(){return this._engine.applyPendingMigrations()}$extends=s0}return t}function oH(e,t){var r;return Array.isArray(r=e)&&Array.isArray(r.raw)?[new sg(e,t),oy]:[e,ow]}var oJ=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function oG(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!oJ.has(t))throw TypeError(`Invalid enum value: ${String(t)}`)}})}function oK(e){rf(e,{conflictCheck:"warn"})}},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},52546,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let{PrismaClientKnownRequestError:n,PrismaClientUnknownRequestError:i,PrismaClientRustPanicError:s,PrismaClientInitializationError:a,PrismaClientValidationError:o,getPrismaClient:l,sqltag:u,empty:c,join:d,raw:h,skip:p,Decimal:m,Debug:g,objectEnumValues:f,makeStrictEnum:y,Extensions:w,warnOnce:b,defineDmmfProperty:v,Public:E,getRuntime:x,createParam:P}=e.r(48055),$={};r.Prisma=$,r.$Enums={},$.prismaVersion={client:"6.19.1",engine:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7"},$.PrismaClientKnownRequestError=n,$.PrismaClientUnknownRequestError=i,$.PrismaClientRustPanicError=s,$.PrismaClientInitializationError=a,$.PrismaClientValidationError=o,$.Decimal=m,$.sql=u,$.empty=c,$.join=d,$.raw=h,$.validator=E.validator,$.getExtensionContext=w.getExtensionContext,$.defineExtension=w.defineExtension,$.DbNull=f.instances.DbNull,$.JsonNull=f.instances.JsonNull,$.AnyNull=f.instances.AnyNull,$.NullTypes={DbNull:f.classes.DbNull,JsonNull:f.classes.JsonNull,AnyNull:f.classes.AnyNull};let _=e.r(14747);r.Prisma.TransactionIsolationLevel=y({Serializable:"Serializable"}),r.Prisma.MockEndpointScalarFieldEnum={id:"id",path:"path",method:"method",description:"description",statusCode:"statusCode",responseBody:"responseBody",createdAt:"createdAt",updatedAt:"updatedAt"},r.Prisma.SortOrder={asc:"asc",desc:"desc"},r.Prisma.JsonNullValueInput={JsonNull:$.JsonNull},r.Prisma.JsonNullValueFilter={DbNull:$.DbNull,JsonNull:$.JsonNull,AnyNull:$.AnyNull},r.Prisma.QueryMode={default:"default",insensitive:"insensitive"},r.Prisma.NullsOrder={first:"first",last:"last"},r.Prisma.ModelName={MockEndpoint:"MockEndpoint"};let O={generator:{name:"client",provider:{fromEnvVar:null,value:"prisma-client-js"},output:{value:"/Users/seongwook.byeon/Desktop/Project/Web/growth-mock-server/generated/prisma",fromEnvVar:null},config:{engineType:"library"},binaryTargets:[{fromEnvVar:null,value:"darwin-arm64",native:!0}],previewFeatures:[],sourceFilePath:"/Users/seongwook.byeon/Desktop/Project/Web/growth-mock-server/prisma/schema.prisma",isCustomOutput:!0},relativeEnvPaths:{rootEnvPath:null},relativePath:"../../prisma",clientVersion:"6.19.1",engineVersion:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7",datasourceNames:["db"],activeProvider:"sqlite",postinstall:!1,inlineDatasources:{db:{url:{fromEnvVar:null,value:"file:./dev.db"}}},inlineSchema:'generator client {\n provider = "prisma-client-js"\n output = "../generated/prisma"\n}\n\ndatasource db {\n provider = "sqlite"\n url = "file:./dev.db"\n}\n\nmodel MockEndpoint {\n id String @id @default(cuid())\n path String // 예: /v1/missions\n method String // GET, POST, PUT, DELETE 등\n description String? // API 설명\n statusCode Int @default(200) // 응답할 상태 코드\n responseBody Json // 내려줄 가짜 데이터\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([path, method]) // path와 method 조합이 유일해야 함\n @@map("mock_endpoints") // 테이블 이름을 snake_case로 매핑\n}\n',inlineSchemaHash:"787b4566dd9897fca9f476e1375849b71dd24e3cfa38b2e70b10d24ecab21c50",copyEngine:!0},k=e.r(22734);if(O.dirname="/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma",!k.existsSync(_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","schema.prisma"))){let e=["generated/prisma","prisma"],t=e.find(e=>k.existsSync(_.join(process.cwd(),e,"schema.prisma")))??e[0];O.dirname=_.join(process.cwd(),t),O.isBundled=!0}O.runtimeDataModel=JSON.parse('{"models":{"MockEndpoint":{"dbName":"mock_endpoints","schema":null,"fields":[{"name":"id","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":true,"isReadOnly":false,"hasDefaultValue":true,"type":"String","nativeType":null,"default":{"name":"cuid","args":[1]},"isGenerated":false,"isUpdatedAt":false},{"name":"path","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"method","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"description","kind":"scalar","isList":false,"isRequired":false,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"statusCode","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":true,"type":"Int","nativeType":null,"default":200,"isGenerated":false,"isUpdatedAt":false},{"name":"responseBody","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"Json","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"createdAt","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":true,"type":"DateTime","nativeType":null,"default":{"name":"now","args":[]},"isGenerated":false,"isUpdatedAt":false},{"name":"updatedAt","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"DateTime","nativeType":null,"isGenerated":false,"isUpdatedAt":true}],"primaryKey":null,"uniqueFields":[["path","method"]],"uniqueIndexes":[{"name":null,"fields":["path","method"]}],"isGenerated":false}},"enums":{},"types":{}}'),v(r.Prisma,O.runtimeDataModel),O.engineWasm=void 0,O.compilerWasm=void 0;let{warnEnvConflicts:S}=e.r(48055);S({rootEnvPath:O.relativeEnvPaths.rootEnvPath&&_.resolve(O.dirname,O.relativeEnvPaths.rootEnvPath),schemaEnvPath:O.relativeEnvPaths.schemaEnvPath&&_.resolve(O.dirname,O.relativeEnvPaths.schemaEnvPath)}),r.PrismaClient=l(O),Object.assign(r,$),_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","libquery_engine-darwin-arm64.dylib.node"),_.join(process.cwd(),"generated/prisma/libquery_engine-darwin-arm64.dylib.node"),_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","schema.prisma"),_.join(process.cwd(),"generated/prisma/schema.prisma")},16267,e=>{"use strict";var t=e.i(52546);let r=globalThis.prisma??new t.PrismaClient;e.s(["prisma",0,r])}];
127
+ `)),o?.kind==="batch"&&await o.lock,this._requestHandler.request({protocolQuery:d,modelName:s,action:i,clientMethod:t,dataPath:r,callsite:n,args:e,extensions:this._extensions,transaction:o,unpacker:l,otelParentCtx:u,otelChildCtx:this._tracingHelper.getActiveContext(),globalOmit:this._globalOmit,customDataProxyFetch:c})}catch(e){throw e.clientVersion=this._clientVersion,e}}$metrics=new sr(this);_hasPreviewFlag(e){return!!this._engineConfig.previewFeatures?.includes(e)}$applyPendingMigrations(){return this._engine.applyPendingMigrations()}$extends=s0}return t}function oH(e,t){var r;return Array.isArray(r=e)&&Array.isArray(r.raw)?[new sg(e,t),oy]:[e,ow]}var oJ=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function oG(e){return new Proxy(e,{get(e,t){if(t in e)return e[t];if(!oJ.has(t))throw TypeError(`Invalid enum value: ${String(t)}`)}})}function oK(e){rf(e,{conflictCheck:"warn"})}},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},52546,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let{PrismaClientKnownRequestError:n,PrismaClientUnknownRequestError:i,PrismaClientRustPanicError:s,PrismaClientInitializationError:a,PrismaClientValidationError:o,getPrismaClient:l,sqltag:u,empty:c,join:d,raw:h,skip:p,Decimal:m,Debug:g,objectEnumValues:f,makeStrictEnum:y,Extensions:w,warnOnce:b,defineDmmfProperty:v,Public:E,getRuntime:x,createParam:P}=e.r(48055),$={};r.Prisma=$,r.$Enums={},$.prismaVersion={client:"6.19.1",engine:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7"},$.PrismaClientKnownRequestError=n,$.PrismaClientUnknownRequestError=i,$.PrismaClientRustPanicError=s,$.PrismaClientInitializationError=a,$.PrismaClientValidationError=o,$.Decimal=m,$.sql=u,$.empty=c,$.join=d,$.raw=h,$.validator=E.validator,$.getExtensionContext=w.getExtensionContext,$.defineExtension=w.defineExtension,$.DbNull=f.instances.DbNull,$.JsonNull=f.instances.JsonNull,$.AnyNull=f.instances.AnyNull,$.NullTypes={DbNull:f.classes.DbNull,JsonNull:f.classes.JsonNull,AnyNull:f.classes.AnyNull};let _=e.r(14747);r.Prisma.TransactionIsolationLevel=y({Serializable:"Serializable"}),r.Prisma.MockEndpointScalarFieldEnum={id:"id",path:"path",method:"method",description:"description",statusCode:"statusCode",responseBody:"responseBody",createdAt:"createdAt",updatedAt:"updatedAt"},r.Prisma.SortOrder={asc:"asc",desc:"desc"},r.Prisma.JsonNullValueInput={JsonNull:$.JsonNull},r.Prisma.JsonNullValueFilter={DbNull:$.DbNull,JsonNull:$.JsonNull,AnyNull:$.AnyNull},r.Prisma.QueryMode={default:"default",insensitive:"insensitive"},r.Prisma.NullsOrder={first:"first",last:"last"},r.Prisma.ModelName={MockEndpoint:"MockEndpoint"};let O={generator:{name:"client",provider:{fromEnvVar:null,value:"prisma-client-js"},output:{value:"/Users/seongwook.byeon/Desktop/Project/Web/growth-mock-server/generated/prisma",fromEnvVar:null},config:{engineType:"library"},binaryTargets:[{fromEnvVar:null,value:"darwin-arm64",native:!0}],previewFeatures:[],sourceFilePath:"/Users/seongwook.byeon/Desktop/Project/Web/growth-mock-server/prisma/schema.prisma",isCustomOutput:!0},relativeEnvPaths:{rootEnvPath:null},relativePath:"../../prisma",clientVersion:"6.19.1",engineVersion:"c2990dca591cba766e3b7ef5d9e8a84796e47ab7",datasourceNames:["db"],activeProvider:"sqlite",inlineDatasources:{db:{url:{fromEnvVar:null,value:"file:./dev.db"}}},inlineSchema:'generator client {\n provider = "prisma-client-js"\n output = "../generated/prisma"\n}\n\ndatasource db {\n provider = "sqlite"\n url = "file:./dev.db"\n}\n\nmodel MockEndpoint {\n id String @id @default(cuid())\n path String // 예: /v1/missions\n method String // GET, POST, PUT, DELETE 등\n description String? // API 설명\n statusCode Int @default(200) // 응답할 상태 코드\n responseBody Json // 내려줄 가짜 데이터\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([path, method]) // path와 method 조합이 유일해야 함\n @@map("mock_endpoints") // 테이블 이름을 snake_case로 매핑\n}\n',inlineSchemaHash:"787b4566dd9897fca9f476e1375849b71dd24e3cfa38b2e70b10d24ecab21c50",copyEngine:!0},k=e.r(22734);if(O.dirname="/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma",!k.existsSync(_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","schema.prisma"))){let e=["generated/prisma","prisma"],t=e.find(e=>k.existsSync(_.join(process.cwd(),e,"schema.prisma")))??e[0];O.dirname=_.join(process.cwd(),t),O.isBundled=!0}O.runtimeDataModel=JSON.parse('{"models":{"MockEndpoint":{"dbName":"mock_endpoints","schema":null,"fields":[{"name":"id","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":true,"isReadOnly":false,"hasDefaultValue":true,"type":"String","nativeType":null,"default":{"name":"cuid","args":[1]},"isGenerated":false,"isUpdatedAt":false},{"name":"path","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"method","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"description","kind":"scalar","isList":false,"isRequired":false,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"String","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"statusCode","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":true,"type":"Int","nativeType":null,"default":200,"isGenerated":false,"isUpdatedAt":false},{"name":"responseBody","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"Json","nativeType":null,"isGenerated":false,"isUpdatedAt":false},{"name":"createdAt","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":true,"type":"DateTime","nativeType":null,"default":{"name":"now","args":[]},"isGenerated":false,"isUpdatedAt":false},{"name":"updatedAt","kind":"scalar","isList":false,"isRequired":true,"isUnique":false,"isId":false,"isReadOnly":false,"hasDefaultValue":false,"type":"DateTime","nativeType":null,"isGenerated":false,"isUpdatedAt":true}],"primaryKey":null,"uniqueFields":[["path","method"]],"uniqueIndexes":[{"name":null,"fields":["path","method"]}],"isGenerated":false}},"enums":{},"types":{}}'),v(r.Prisma,O.runtimeDataModel),O.engineWasm=void 0,O.compilerWasm=void 0;let{warnEnvConflicts:S}=e.r(48055);S({rootEnvPath:O.relativeEnvPaths.rootEnvPath&&_.resolve(O.dirname,O.relativeEnvPaths.rootEnvPath),schemaEnvPath:O.relativeEnvPaths.schemaEnvPath&&_.resolve(O.dirname,O.relativeEnvPaths.schemaEnvPath)}),r.PrismaClient=l(O),Object.assign(r,$),_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","libquery_engine-darwin-arm64.dylib.node"),_.join(process.cwd(),"generated/prisma/libquery_engine-darwin-arm64.dylib.node"),_.join("/ROOT/Desktop/Project/Web/growth-mock-server/generated/prisma","schema.prisma"),_.join(process.cwd(),"generated/prisma/schema.prisma")},16267,e=>{"use strict";var t=e.i(52546);let r=globalThis.prisma??new t.PrismaClient;e.s(["prisma",0,r])}];
128
128
 
129
129
  //# sourceMappingURL=%5Broot-of-the-server%5D__9f34b8fa._.js.map