dsql-admin/dsql-app/.local_dist/server/pages/docs/[page].js

1 line
2.2 KiB
JavaScript
Raw Normal View History

2025-01-13 08:00:21 +00:00
"use strict";(()=>{var e={};e.id=5151,e.ids=[5151],e.modules={59527:(e,t,r)=>{r.r(t),r.d(t,{config:()=>v,default:()=>m,getServerSideProps:()=>f,getStaticPaths:()=>b,getStaticProps:()=>x,reportWebVitals:()=>M,routeModule:()=>R,unstable_getServerProps:()=>E,unstable_getServerSideProps:()=>A,unstable_getStaticParams:()=>h,unstable_getStaticPaths:()=>_,unstable_getStaticProps:()=>q});var a={};r.r(a),r.d(a,{default:()=>g,getStaticPaths:()=>P,getStaticProps:()=>S});var s=r(63865),i=r(9455),u=r(30671),o=r(5583),n=r(19796),l=r(8732),p=r(82015),d=r.n(p);r(1013),r(91258),r(82271),r(24093),r(69237);var c=r(47410);function g({pages:e,targetPage:t}){return(0,l.jsx)(d().Fragment,{})}async function S({params:e}){let t=await (0,c.A)("SELECT id, title, slug, level, parent_id FROM docs_pages ORDER BY page_order ASC"),r=await (0,c.A)("SELECT title, slug, description, content FROM docs_pages WHERE slug = ?",[e?.page]);return{props:{user:null,pages:t,targetPage:r[0]?r[0]:{}}}}async function P(){return{paths:[],fallback:!1}}r(28187),r(9973);let m=(0,u.M)(a,"default"),x=(0,u.M)(a,"getStaticProps"),b=(0,u.M)(a,"getStaticPaths"),f=(0,u.M)(a,"getServerSideProps"),v=(0,u.M)(a,"config"),M=(0,u.M)(a,"reportWebVitals"),q=(0,u.M)(a,"unstable_getStaticProps"),_=(0,u.M)(a,"unstable_getStaticPaths"),h=(0,u.M)(a,"unstable_getStaticParams"),E=(0,u.M)(a,"unstable_getServerProps"),A=(0,u.M)(a,"unstable_getServerSideProps"),R=new s.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/docs/[page]",pathname:"/docs/[page]",bundlePath:"",filename:""},components:{App:n.default,Document:o.default},userland:a})},28187:e=>{e.exports=require("@moduletrace/datasquirel")},13893:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},29021:e=>{e.exports=require("fs")},33873:e=>{e.exports=require("path")}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[883,9821,9796,7713],()=>r(59527));module.exports=a})();