@mokup/playground 0.0.5 → 0.0.7
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.
- package/dist/assets/index.css +1 -1
- package/dist/assets/playground.js +3 -3
- package/dist/mokup-sw.js +1 -1
- package/package.json +2 -2
package/dist/mokup-sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const D=/^[\w-]+$/,he=/^\[([^\]/]+)\]$/,fe=/^\[\.\.\.([^\]/]+)\]$/,ge=/^\[\[\.\.\.([^\]/]+)\]\]$/,ve=/^\([^)]+\)$/;function we(t){switch(t.type){case"static":return 4;case"param":return 3;case"catchall":return 2;case"optional-catchall":return 1;default:return 0}}function W(t){return t.map(we)}function xe(t,e){const o=Math.min(t.length,e.length);for(let s=0;s<o;s+=1){const a=t[s]??0,r=e[s]??0;if(a!==r)return r-a}return t.length!==e.length?e.length-t.length:0}function Y(t){const o=(t.split("?")[0]??"").split("#")[0]??"";let s=o.startsWith("/")?o:`/${o}`;return s.length>1&&s.endsWith("/")&&(s=s.slice(0,-1)),s}function Te(t){return Y(t).split("/").filter(Boolean)}function _e(t){const e=[],o=[],s=Y(t),a=Te(s),r=[],d=new Set;for(let u=0;u<a.length;u+=1){const n=a[u];if(!n)continue;if(ve.test(n)){e.push(`Route groups are not supported: ${n}`);continue}const p=n.match(ge);if(p){const m=p[1];if(!m){e.push(`Invalid optional catch-all param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid optional catch-all param name "${m}"`);continue}if(u!==a.length-1){e.push(`Optional catch-all "${n}" must be the last segment`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"optional-catchall",name:m});continue}const l=n.match(fe);if(l){const m=l[1];if(!m){e.push(`Invalid catch-all param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid catch-all param name "${m}"`);continue}if(u!==a.length-1){e.push(`Catch-all "${n}" must be the last segment`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"catchall",name:m});continue}const k=n.match(he);if(k){const m=k[1];if(!m){e.push(`Invalid param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid param name "${m}"`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"param",name:m});continue}if(n.includes("[")||n.includes("]")||n.includes("(")||n.includes(")")){e.push(`Invalid route segment "${n}"`);continue}r.push({type:"static",value:n})}return{template:s,tokens:r,score:W(r),errors:e,warnings:o}}var L=(t,e,o)=>(s,a)=>{let r=-1;return d(0);async function d(u){if(u<=r)throw new Error("next() called multiple times");r=u;let n,p=!1,l;if(t[u]?(l=t[u][0][0],s.req.routeIndex=u):l=u===t.length&&a||void 0,l)try{n=await l(s,()=>d(u+1))}catch(k){if(k instanceof Error&&e)s.error=k,n=await e(k,s),p=!0;else throw k}else s.finalized===!1&&o&&(n=await o(s));return n&&(s.finalized===!1||p)&&(s.res=n),s}},be=Symbol(),Ae=async(t,e=Object.create(null))=>{const{all:o=!1,dot:s=!1}=e,r=(t instanceof oe?t.raw.headers:t.headers).get("Content-Type");return r?.startsWith("multipart/form-data")||r?.startsWith("application/x-www-form-urlencoded")?je(t,{all:o,dot:s}):{}};async function je(t,e){const o=await t.formData();return o?Se(o,e):{}}function Se(t,e){const o=Object.create(null);return t.forEach((s,a)=>{e.all||a.endsWith("[]")?Ie(o,a,s):o[a]=s}),e.dot&&Object.entries(o).forEach(([s,a])=>{s.includes(".")&&(Ze(o,s,a),delete o[s])}),o}var Ie=(t,e,o)=>{t[e]!==void 0?Array.isArray(t[e])?t[e].push(o):t[e]=[t[e],o]:e.endsWith("[]")?t[e]=[o]:t[e]=o},Ze=(t,e,o)=>{let s=t;const a=e.split(".");a.forEach((r,d)=>{d===a.length-1?s[r]=o:((!s[r]||typeof s[r]!="object"||Array.isArray(s[r])||s[r]instanceof File)&&(s[r]=Object.create(null)),s=s[r])})},J=t=>{const e=t.split("/");return e[0]===""&&e.shift(),e},Oe=t=>{const{groups:e,path:o}=Pe(t),s=J(o);return Ee(s,e)},Pe=t=>{const e=[];return t=t.replace(/\{[^}]+\}/g,(o,s)=>{const a=`@${s}`;return e.push([a,o]),a}),{groups:e,path:t}},Ee=(t,e)=>{for(let o=e.length-1;o>=0;o--){const[s]=e[o];for(let a=t.length-1;a>=0;a--)if(t[a].includes(s)){t[a]=t[a].replace(s,e[o][1]);break}}return t},$={},$e=(t,e)=>{if(t==="*")return"*";const o=t.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(o){const s=`${t}#${e}`;return $[s]||(o[2]?$[s]=e&&e[0]!==":"&&e[0]!=="*"?[s,o[1],new RegExp(`^${o[2]}(?=/${e})`)]:[t,o[1],new RegExp(`^${o[2]}$`)]:$[s]=[t,o[1],!0]),$[s]}return null},C=(t,e)=>{try{return e(t)}catch{return t.replace(/(?:%[0-9A-Fa-f]{2})+/g,o=>{try{return e(o)}catch{return o}})}},Ue=t=>C(t,decodeURI),Q=t=>{const e=t.url,o=e.indexOf("/",e.indexOf(":")+4);let s=o;for(;s<e.length;s++){const a=e.charCodeAt(s);if(a===37){const r=e.indexOf("?",s),d=e.slice(o,r===-1?void 0:r);return Ue(d.includes("%25")?d.replace(/%25/g,"%2525"):d)}else if(a===63)break}return e.slice(o,s)},De=t=>{const e=Q(t);return e.length>1&&e.at(-1)==="/"?e.slice(0,-1):e},A=(t,e,...o)=>(o.length&&(e=A(e,...o)),`${t?.[0]==="/"?"":"/"}${t}${e==="/"?"":`${t?.at(-1)==="/"?"":"/"}${e?.[0]==="/"?e.slice(1):e}`}`),X=t=>{if(t.charCodeAt(t.length-1)!==63||!t.includes(":"))return null;const e=t.split("/"),o=[];let s="";return e.forEach(a=>{if(a!==""&&!/\:/.test(a))s+="/"+a;else if(/\:/.test(a))if(/\?/.test(a)){o.length===0&&s===""?o.push("/"):o.push(s);const r=a.replace("?","");s+="/"+r,o.push(s)}else s+="/"+a}),o.filter((a,r,d)=>d.indexOf(a)===r)},z=t=>/[%+]/.test(t)?(t.indexOf("+")!==-1&&(t=t.replace(/\+/g," ")),t.indexOf("%")!==-1?C(t,te):t):t,ee=(t,e,o)=>{let s;if(!o&&e&&!/[%+]/.test(e)){let d=t.indexOf("?",8);if(d===-1)return;for(t.startsWith(e,d+1)||(d=t.indexOf(`&${e}`,d+1));d!==-1;){const u=t.charCodeAt(d+e.length+1);if(u===61){const n=d+e.length+2,p=t.indexOf("&",n);return z(t.slice(n,p===-1?void 0:p))}else if(u==38||isNaN(u))return"";d=t.indexOf(`&${e}`,d+1)}if(s=/[%+]/.test(t),!s)return}const a={};s??=/[%+]/.test(t);let r=t.indexOf("?",8);for(;r!==-1;){const d=t.indexOf("&",r+1);let u=t.indexOf("=",r);u>d&&d!==-1&&(u=-1);let n=t.slice(r+1,u===-1?d===-1?void 0:d:u);if(s&&(n=z(n)),r=d,n==="")continue;let p;u===-1?p="":(p=t.slice(u+1,d===-1?void 0:d),s&&(p=z(p))),o?(a[n]&&Array.isArray(a[n])||(a[n]=[]),a[n].push(p)):a[n]??=p}return e?a[e]:a},ze=ee,Me=(t,e)=>ee(t,e,!0),te=decodeURIComponent,V=t=>C(t,te),oe=class{raw;#e;#t;routeIndex=0;path;bodyCache={};constructor(t,e="/",o=[[]]){this.raw=t,this.path=e,this.#t=o,this.#e={}}param(t){return t?this.#o(t):this.#r()}#o(t){const e=this.#t[0][this.routeIndex][1][t],o=this.#a(e);return o&&/\%/.test(o)?V(o):o}#r(){const t={},e=Object.keys(this.#t[0][this.routeIndex][1]);for(const o of e){const s=this.#a(this.#t[0][this.routeIndex][1][o]);s!==void 0&&(t[o]=/\%/.test(s)?V(s):s)}return t}#a(t){return this.#t[1]?this.#t[1][t]:t}query(t){return ze(this.url,t)}queries(t){return Me(this.url,t)}header(t){if(t)return this.raw.headers.get(t)??void 0;const e={};return this.raw.headers.forEach((o,s)=>{e[s]=o}),e}async parseBody(t){return this.bodyCache.parsedBody??=await Ae(this,t)}#s=t=>{const{bodyCache:e,raw:o}=this,s=e[t];if(s)return s;const a=Object.keys(e)[0];return a?e[a].then(r=>(a==="json"&&(r=JSON.stringify(r)),new Response(r)[t]())):e[t]=o[t]()};json(){return this.#s("text").then(t=>JSON.parse(t))}text(){return this.#s("text")}arrayBuffer(){return this.#s("arrayBuffer")}blob(){return this.#s("blob")}formData(){return this.#s("formData")}addValidatedData(t,e){this.#e[t]=e}valid(t){return this.#e[t]}get url(){return this.raw.url}get method(){return this.raw.method}get[be](){return this.#t}get matchedRoutes(){return this.#t[0].map(([[,t]])=>t)}get routePath(){return this.#t[0].map(([[,t]])=>t)[this.routeIndex].path}},Re={Stringify:1},se=async(t,e,o,s,a)=>{typeof t=="object"&&!(t instanceof String)&&(t instanceof Promise||(t=t.toString()),t instanceof Promise&&(t=await t));const r=t.callbacks;return r?.length?(a?a[0]+=t:a=[t],Promise.all(r.map(u=>u({phase:e,buffer:a,context:s}))).then(u=>Promise.all(u.filter(Boolean).map(n=>se(n,e,!1,s,a))).then(()=>a[0]))):Promise.resolve(t)},Ge="text/plain; charset=UTF-8",M=(t,e)=>({"Content-Type":t,...e}),Ce=class{#e;#t;env={};#o;finalized=!1;error;#r;#a;#s;#i;#u;#p;#n;#c;#l;constructor(t,e){this.#e=t,e&&(this.#a=e.executionCtx,this.env=e.env,this.#p=e.notFoundHandler,this.#l=e.path,this.#c=e.matchResult)}get req(){return this.#t??=new oe(this.#e,this.#l,this.#c),this.#t}get event(){if(this.#a&&"respondWith"in this.#a)return this.#a;throw Error("This context has no FetchEvent")}get executionCtx(){if(this.#a)return this.#a;throw Error("This context has no ExecutionContext")}get res(){return this.#s||=new Response(null,{headers:this.#n??=new Headers})}set res(t){if(this.#s&&t){t=new Response(t.body,t);for(const[e,o]of this.#s.headers.entries())if(e!=="content-type")if(e==="set-cookie"){const s=this.#s.headers.getSetCookie();t.headers.delete("set-cookie");for(const a of s)t.headers.append("set-cookie",a)}else t.headers.set(e,o)}this.#s=t,this.finalized=!0}render=(...t)=>(this.#u??=e=>this.html(e),this.#u(...t));setLayout=t=>this.#i=t;getLayout=()=>this.#i;setRenderer=t=>{this.#u=t};header=(t,e,o)=>{this.finalized&&(this.#s=new Response(this.#s.body,this.#s));const s=this.#s?this.#s.headers:this.#n??=new Headers;e===void 0?s.delete(t):o?.append?s.append(t,e):s.set(t,e)};status=t=>{this.#r=t};set=(t,e)=>{this.#o??=new Map,this.#o.set(t,e)};get=t=>this.#o?this.#o.get(t):void 0;get var(){return this.#o?Object.fromEntries(this.#o):{}}#d(t,e,o){const s=this.#s?new Headers(this.#s.headers):this.#n??new Headers;if(typeof e=="object"&&"headers"in e){const r=e.headers instanceof Headers?e.headers:new Headers(e.headers);for(const[d,u]of r)d.toLowerCase()==="set-cookie"?s.append(d,u):s.set(d,u)}if(o)for(const[r,d]of Object.entries(o))if(typeof d=="string")s.set(r,d);else{s.delete(r);for(const u of d)s.append(r,u)}const a=typeof e=="number"?e:e?.status??this.#r;return new Response(t,{status:a,headers:s})}newResponse=(...t)=>this.#d(...t);body=(t,e,o)=>this.#d(t,e,o);text=(t,e,o)=>!this.#n&&!this.#r&&!e&&!o&&!this.finalized?new Response(t):this.#d(t,e,M(Ge,o));json=(t,e,o)=>this.#d(JSON.stringify(t),e,M("application/json",o));html=(t,e,o)=>{const s=a=>this.#d(a,e,M("text/html; charset=UTF-8",o));return typeof t=="object"?se(t,Re.Stringify,!1,{}).then(s):s(t)};redirect=(t,e)=>{const o=String(t);return this.header("Location",/[^\x00-\xFF]/.test(o)?encodeURI(o):o),this.newResponse(null,e??302)};notFound=()=>(this.#p??=()=>new Response,this.#p(this))},h="ALL",qe="all",He=["get","post","put","delete","options","patch"],ae="Can not add a route since the matcher is already built.",q=class extends Error{},Le="__COMPOSED_HANDLER",Ve=t=>t.text("404 Not Found",404),N=(t,e)=>{if("getResponse"in t){const o=t.getResponse();return e.newResponse(o.body,o)}return console.error(t),e.text("Internal Server Error",500)},Ne=class re{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#e="/";routes=[];constructor(e={}){[...He,qe].forEach(r=>{this[r]=(d,...u)=>(typeof d=="string"?this.#e=d:this.#r(r,this.#e,d),u.forEach(n=>{this.#r(r,this.#e,n)}),this)}),this.on=(r,d,...u)=>{for(const n of[d].flat()){this.#e=n;for(const p of[r].flat())u.map(l=>{this.#r(p.toUpperCase(),this.#e,l)})}return this},this.use=(r,...d)=>(typeof r=="string"?this.#e=r:(this.#e="*",d.unshift(r)),d.forEach(u=>{this.#r(h,this.#e,u)}),this);const{strict:s,...a}=e;Object.assign(this,a),this.getPath=s??!0?e.getPath??Q:De}#t(){const e=new re({router:this.router,getPath:this.getPath});return e.errorHandler=this.errorHandler,e.#o=this.#o,e.routes=this.routes,e}#o=Ve;errorHandler=N;route(e,o){const s=this.basePath(e);return o.routes.map(a=>{let r;o.errorHandler===N?r=a.handler:(r=async(d,u)=>(await L([],o.errorHandler)(d,()=>a.handler(d,u))).res,r[Le]=a.handler),s.#r(a.method,a.path,r)}),this}basePath(e){const o=this.#t();return o._basePath=A(this._basePath,e),o}onError=e=>(this.errorHandler=e,this);notFound=e=>(this.#o=e,this);mount(e,o,s){let a,r;s&&(typeof s=="function"?r=s:(r=s.optionHandler,s.replaceRequest===!1?a=n=>n:a=s.replaceRequest));const d=r?n=>{const p=r(n);return Array.isArray(p)?p:[p]}:n=>{let p;try{p=n.executionCtx}catch{}return[n.env,p]};a||=(()=>{const n=A(this._basePath,e),p=n==="/"?0:n.length;return l=>{const k=new URL(l.url);return k.pathname=k.pathname.slice(p)||"/",new Request(k,l)}})();const u=async(n,p)=>{const l=await o(a(n.req.raw),...d(n));if(l)return l;await p()};return this.#r(h,A(e,"*"),u),this}#r(e,o,s){e=e.toUpperCase(),o=A(this._basePath,o);const a={basePath:this._basePath,path:o,method:e,handler:s};this.router.add(e,o,[s,a]),this.routes.push(a)}#a(e,o){if(e instanceof Error)return this.errorHandler(e,o);throw e}#s(e,o,s,a){if(a==="HEAD")return(async()=>new Response(null,await this.#s(e,o,s,"GET")))();const r=this.getPath(e,{env:s}),d=this.router.match(a,r),u=new Ce(e,{path:r,matchResult:d,env:s,executionCtx:o,notFoundHandler:this.#o});if(d[0].length===1){let p;try{p=d[0][0][0][0](u,async()=>{u.res=await this.#o(u)})}catch(l){return this.#a(l,u)}return p instanceof Promise?p.then(l=>l||(u.finalized?u.res:this.#o(u))).catch(l=>this.#a(l,u)):p??this.#o(u)}const n=L(d[0],this.errorHandler,this.#o);return(async()=>{try{const p=await n(u);if(!p.finalized)throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?");return p.res}catch(p){return this.#a(p,u)}})()}fetch=(e,...o)=>this.#s(e,o[1],o[0],e.method);request=(e,o,s,a)=>e instanceof Request?this.fetch(o?new Request(e,o):e,s,a):(e=e.toString(),this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${A("/",e)}`,o),s,a));fire=()=>{addEventListener("fetch",e=>{e.respondWith(this.#s(e.request,e,void 0,e.request.method))})}},de=[];function Ke(t,e){const o=this.buildAllMatchers(),s=((a,r)=>{const d=o[a]||o[h],u=d[2][r];if(u)return u;const n=r.match(d[0]);if(!n)return[[],de];const p=n.indexOf("",1);return[d[1][p],n]});return this.match=s,s(t,e)}var U="[^/]+",Z=".*",O="(?:|/.*)",j=Symbol(),Fe=new Set(".\\+*[^]$()");function Be(t,e){return t.length===1?e.length===1?t<e?-1:1:-1:e.length===1||t===Z||t===O?1:e===Z||e===O?-1:t===U?1:e===U?-1:t.length===e.length?t<e?-1:1:e.length-t.length}var We=class G{#e;#t;#o=Object.create(null);insert(e,o,s,a,r){if(e.length===0){if(this.#e!==void 0)throw j;if(r)return;this.#e=o;return}const[d,...u]=e,n=d==="*"?u.length===0?["","",Z]:["","",U]:d==="/*"?["","",O]:d.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);let p;if(n){const l=n[1];let k=n[2]||U;if(l&&n[2]&&(k===".*"||(k=k.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:"),/\((?!\?:)/.test(k))))throw j;if(p=this.#o[k],!p){if(Object.keys(this.#o).some(m=>m!==Z&&m!==O))throw j;if(r)return;p=this.#o[k]=new G,l!==""&&(p.#t=a.varIndex++)}!r&&l!==""&&s.push([l,p.#t])}else if(p=this.#o[d],!p){if(Object.keys(this.#o).some(l=>l.length>1&&l!==Z&&l!==O))throw j;if(r)return;p=this.#o[d]=new G}p.insert(u,o,s,a,r)}buildRegExpStr(){const o=Object.keys(this.#o).sort(Be).map(s=>{const a=this.#o[s];return(typeof a.#t=="number"?`(${s})@${a.#t}`:Fe.has(s)?`\\${s}`:s)+a.buildRegExpStr()});return typeof this.#e=="number"&&o.unshift(`#${this.#e}`),o.length===0?"":o.length===1?o[0]:"(?:"+o.join("|")+")"}},Ye=class{#e={varIndex:0};#t=new We;insert(t,e,o){const s=[],a=[];for(let d=0;;){let u=!1;if(t=t.replace(/\{[^}]+\}/g,n=>{const p=`@\\${d}`;return a[d]=[p,n],d++,u=!0,p}),!u)break}const r=t.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let d=a.length-1;d>=0;d--){const[u]=a[d];for(let n=r.length-1;n>=0;n--)if(r[n].indexOf(u)!==-1){r[n]=r[n].replace(u,a[d][1]);break}}return this.#t.insert(r,e,s,this.#e,o),s}buildRegExp(){let t=this.#t.buildRegExpStr();if(t==="")return[/^$/,[],[]];let e=0;const o=[],s=[];return t=t.replace(/#(\d+)|@(\d+)|\.\*\$/g,(a,r,d)=>r!==void 0?(o[++e]=Number(r),"$()"):(d!==void 0&&(s[Number(d)]=++e),"")),[new RegExp(`^${t}`),o,s]}},Je=[/^$/,[],Object.create(null)],ne=Object.create(null);function ue(t){return ne[t]??=new RegExp(t==="*"?"":`^${t.replace(/\/\*$|([.\\+*[^\]$()])/g,(e,o)=>o?`\\${o}`:"(?:|/.*)")}$`)}function Qe(){ne=Object.create(null)}function Xe(t){const e=new Ye,o=[];if(t.length===0)return Je;const s=t.map(p=>[!/\*|\/:/.test(p[0]),...p]).sort(([p,l],[k,m])=>p?1:k?-1:l.length-m.length),a=Object.create(null);for(let p=0,l=-1,k=s.length;p<k;p++){const[m,f,v]=s[p];m?a[f]=[v.map(([g])=>[g,Object.create(null)]),de]:l++;let y;try{y=e.insert(f,l,m)}catch(g){throw g===j?new q(f):g}m||(o[l]=v.map(([g,T])=>{const P=Object.create(null);for(T-=1;T>=0;T--){const[E,w]=y[T];P[E]=w}return[g,P]}))}const[r,d,u]=e.buildRegExp();for(let p=0,l=o.length;p<l;p++)for(let k=0,m=o[p].length;k<m;k++){const f=o[p][k]?.[1];if(!f)continue;const v=Object.keys(f);for(let y=0,g=v.length;y<g;y++)f[v[y]]=u[f[v[y]]]}const n=[];for(const p in d)n[p]=o[d[p]];return[r,n,a]}function b(t,e){if(t){for(const o of Object.keys(t).sort((s,a)=>a.length-s.length))if(ue(o).test(e))return[...t[o]]}}var et=class{name="RegExpRouter";#e;#t;constructor(){this.#e={[h]:Object.create(null)},this.#t={[h]:Object.create(null)}}add(t,e,o){const s=this.#e,a=this.#t;if(!s||!a)throw new Error(ae);s[t]||[s,a].forEach(u=>{u[t]=Object.create(null),Object.keys(u[h]).forEach(n=>{u[t][n]=[...u[h][n]]})}),e==="/*"&&(e="*");const r=(e.match(/\/:/g)||[]).length;if(/\*$/.test(e)){const u=ue(e);t===h?Object.keys(s).forEach(n=>{s[n][e]||=b(s[n],e)||b(s[h],e)||[]}):s[t][e]||=b(s[t],e)||b(s[h],e)||[],Object.keys(s).forEach(n=>{(t===h||t===n)&&Object.keys(s[n]).forEach(p=>{u.test(p)&&s[n][p].push([o,r])})}),Object.keys(a).forEach(n=>{(t===h||t===n)&&Object.keys(a[n]).forEach(p=>u.test(p)&&a[n][p].push([o,r]))});return}const d=X(e)||[e];for(let u=0,n=d.length;u<n;u++){const p=d[u];Object.keys(a).forEach(l=>{(t===h||t===l)&&(a[l][p]||=[...b(s[l],p)||b(s[h],p)||[]],a[l][p].push([o,r-n+u+1]))})}}match=Ke;buildAllMatchers(){const t=Object.create(null);return Object.keys(this.#t).concat(Object.keys(this.#e)).forEach(e=>{t[e]||=this.#o(e)}),this.#e=this.#t=void 0,Qe(),t}#o(t){const e=[];let o=t===h;return[this.#e,this.#t].forEach(s=>{const a=s[t]?Object.keys(s[t]).map(r=>[r,s[t][r]]):[];a.length!==0?(o||=!0,e.push(...a)):t!==h&&e.push(...Object.keys(s[h]).map(r=>[r,s[h][r]]))}),o?Xe(e):null}},tt=class{name="SmartRouter";#e=[];#t=[];constructor(t){this.#e=t.routers}add(t,e,o){if(!this.#t)throw new Error(ae);this.#t.push([t,e,o])}match(t,e){if(!this.#t)throw new Error("Fatal error");const o=this.#e,s=this.#t,a=o.length;let r=0,d;for(;r<a;r++){const u=o[r];try{for(let n=0,p=s.length;n<p;n++)u.add(...s[n]);d=u.match(t,e)}catch(n){if(n instanceof q)continue;throw n}this.match=u.match.bind(u),this.#e=[u],this.#t=void 0;break}if(r===a)throw new Error("Fatal error");return this.name=`SmartRouter + ${this.activeRouter.name}`,d}get activeRouter(){if(this.#t||this.#e.length!==1)throw new Error("No active router has been determined yet.");return this.#e[0]}},I=Object.create(null),ot=class pe{#e;#t;#o;#r=0;#a=I;constructor(e,o,s){if(this.#t=s||Object.create(null),this.#e=[],e&&o){const a=Object.create(null);a[e]={handler:o,possibleKeys:[],score:0},this.#e=[a]}this.#o=[]}insert(e,o,s){this.#r=++this.#r;let a=this;const r=Oe(o),d=[];for(let u=0,n=r.length;u<n;u++){const p=r[u],l=r[u+1],k=$e(p,l),m=Array.isArray(k)?k[0]:p;if(m in a.#t){a=a.#t[m],k&&d.push(k[1]);continue}a.#t[m]=new pe,k&&(a.#o.push(k),d.push(k[1])),a=a.#t[m]}return a.#e.push({[e]:{handler:s,possibleKeys:d.filter((u,n,p)=>p.indexOf(u)===n),score:this.#r}}),a}#s(e,o,s,a){const r=[];for(let d=0,u=e.#e.length;d<u;d++){const n=e.#e[d],p=n[o]||n[h],l={};if(p!==void 0&&(p.params=Object.create(null),r.push(p),s!==I||a&&a!==I))for(let k=0,m=p.possibleKeys.length;k<m;k++){const f=p.possibleKeys[k],v=l[p.score];p.params[f]=a?.[f]&&!v?a[f]:s[f]??a?.[f],l[p.score]=!0}}return r}search(e,o){const s=[];this.#a=I;let r=[this];const d=J(o),u=[];for(let n=0,p=d.length;n<p;n++){const l=d[n],k=n===p-1,m=[];for(let f=0,v=r.length;f<v;f++){const y=r[f],g=y.#t[l];g&&(g.#a=y.#a,k?(g.#t["*"]&&s.push(...this.#s(g.#t["*"],e,y.#a)),s.push(...this.#s(g,e,y.#a))):m.push(g));for(let T=0,P=y.#o.length;T<P;T++){const E=y.#o[T],w=y.#a===I?{}:{...y.#a};if(E==="*"){const _=y.#t["*"];_&&(s.push(...this.#s(_,e,y.#a)),_.#a=w,m.push(_));continue}const[me,H,S]=E;if(!l&&!(S instanceof RegExp))continue;const x=y.#t[me],ke=d.slice(n).join("/");if(S instanceof RegExp){const _=S.exec(ke);if(_){if(w[H]=_[0],s.push(...this.#s(x,e,y.#a,w)),Object.keys(x.#t).length){x.#a=w;const ye=_[0].match(/\//)?.length??0;(u[ye]||=[]).push(x)}continue}}(S===!0||S.test(l))&&(w[H]=l,k?(s.push(...this.#s(x,e,w,y.#a)),x.#t["*"]&&s.push(...this.#s(x.#t["*"],e,w,y.#a))):(x.#a=w,m.push(x)))}}r=m.concat(u.shift()??[])}return s.length>1&&s.sort((n,p)=>n.score-p.score),[s.map(({handler:n,params:p})=>[n,p])]}},st=class{name="TrieRouter";#e;constructor(){this.#e=new ot}add(t,e,o){const s=X(e);if(s){for(let a=0,r=s.length;a<r;a++)this.#e.insert(t,s[a],o);return}this.#e.insert(t,e,o)}match(t,e){return this.#e.search(t,e)}},at=class extends Ne{constructor(t={}){super(t),this.router=t.router??new tt({routers:[new et,new st]})}},rt=Object.create(null),dt=class{name="PatternRouter";#e=[];add(t,e,o){const s=e.at(-1)==="*";s&&(e=e.slice(0,-2)),e.at(-1)==="?"&&(e=e.slice(0,-1),this.add(t,e.replace(/\/[^/]+$/,""),o));const a=(e.match(/\/?(:\w+(?:{(?:(?:{[\d,]+})|[^}])+})?)|\/?[^\/\?]+/g)||[]).map(r=>{const d=r.match(/^\/:([^{]+)(?:{(.*)})?/);return d?`/(?<${d[1]}>${d[2]||"[^/]+"})`:r==="/*"?"/[^/]+":r.replace(/[.\\+*[^\]$()]/g,"\\$&")});try{this.#e.push([new RegExp(`^${a.join("")}${s?"":"/?$"}`),t,o])}catch{throw new q}}match(t,e){const o=[];for(let s=0,a=this.#e.length;s<a;s++){const[r,d,u]=this.#e[s];if(d===t||d===h){const n=r.exec(e);n&&o.push([u,n.groups||rt])}}return[o]}},nt=(t,e={fetch:globalThis.fetch.bind(globalThis)})=>o=>{o.respondWith((async()=>{const s=await t.fetch(o.request,{},o);return e.fetch&&s.status===404?await e.fetch(o.request):s})())};function ie(t,e){if(/^(?:data|http|https|file):/.test(t))return t;if(!e)throw new Error("moduleBase is required for relative module paths.");const o=typeof e=="string"?e:e.href;if(/^(?:data|http|https|file):/.test(o))return new URL(t,o).href;const s=o.endsWith("/")?o:`${o}/`,a=t.startsWith("./")?t.slice(2):t.startsWith("/")?t.slice(1):t;return`${s}${a}`}function ut(t){return t?Array.isArray(t)?t:typeof t=="function"?[{response:t}]:typeof t=="object"?[t]:[{response:t}]:[]}async function pt(t,e){if(!t)return;const o=t.response;return typeof o=="function"?o(e):o}function it(t){return t&&typeof t=="object"&&"middleware"in t?t.middleware:t}function ct(t){const e=it(t);return e?Array.isArray(e)?e.filter(o=>typeof o=="function"):typeof e=="function"?[e]:[]:[]}async function ce(t,e,o,s){const a=s?.[t],r=a?void 0:ie(t,o),d=r?s?.[r]:void 0,n=a??d??await import(r??t);return n[e]??n.default??n}function le(t,e,o,s){return s?.[t]?`${t}::${e}`:`${ie(t,o)}::${e}`}async function lt(t,e,o,s){const a=t.exportName??"default",r=le(t.module,a,o,s);let d=e.get(r);if(!d){const u=await ce(t.module,a,o,s);d=ut(u),e.set(r,d)}return typeof t.ruleIndex=="number"?d[t.ruleIndex]:d[0]}async function mt(t,e,o,s){const a=t.exportName??"default",r=le(t.module,a,o,s);let d=e.get(r);if(!d){const u=await ce(t.module,a,o,s);d=ct(u),e.set(r,d)}return typeof t.ruleIndex=="number"?d[t.ruleIndex]:d[0]}const kt=new Set(["GET","POST","PUT","PATCH","DELETE","OPTIONS","HEAD"]);function yt(t){if(!t)return;const e=t.toUpperCase();if(kt.has(e))return e}function ht(t){return new Promise(e=>setTimeout(e,t))}function ft(t){if(typeof atob=="function"){const e=atob(t),o=new Uint8Array(e.length);for(let s=0;s<e.length;s+=1)o[s]=e.charCodeAt(s);return o}throw new Error("Base64 decoding is not supported in this runtime.")}function gt(t){return!t||t.length===0?"/":`/${t.map(o=>o.type==="static"?o.value:o.type==="param"?`:${o.name}`:o.type==="catchall"?`:${o.name}{.+}`:`:${o.name}{.+}?`).join("/")}`}function vt(t){const e=[];for(const o of t.routes){const s=yt(o.method)??"GET",a=o.tokens?{tokens:o.tokens,score:o.score??W(o.tokens),errors:[]}:_e(o.url);a.errors.length>0||e.push({route:o,method:s,tokens:o.tokens??a.tokens,score:o.score??a.score})}return e.sort((o,s)=>o.method!==s.method?o.method.localeCompare(s.method):xe(o.score,s.score))}function K(t){return typeof t=="number"&&Number.isFinite(t)&&t>=200&&t<=599}function wt(t,e){return K(t)?t:K(e)?e:200}function xt(t,e){const o=new Headers(t.headers),s=!!e.headers&&Object.keys(e.headers).length>0;if(e.headers)for(const[r,d]of Object.entries(e.headers))o.set(r,d);const a=wt(e.status,t.status);return a===t.status&&!s?t:new Response(t.body,{status:a,headers:o})}function F(t,e){if(e instanceof Response)return e;if(typeof e>"u"){const o=t.body(null);return o.status===200?new Response(o.body,{status:204,headers:o.headers}):o}if(typeof e=="string")return t.text(e);if(e instanceof Uint8Array||e instanceof ArrayBuffer){t.res.headers.get("content-type")||t.header("content-type","application/octet-stream");const o=e instanceof ArrayBuffer?e:new Uint8Array(e);return t.body(o)}return t.json(e)}function Tt(t){const{route:e,moduleCache:o,moduleBase:s,moduleMap:a}=t;return async r=>{if(e.response.type==="json")return typeof e.response.body>"u"?F(r,void 0):r.json(e.response.body);if(e.response.type==="text")return r.text(e.response.body);if(e.response.type==="binary"){const n=new Uint8Array(ft(e.response.body));return r.header("content-type","application/octet-stream"),r.body(n)}const d=await lt(e.response,o,s,a),u=await pt(d,r);return F(r,u)}}function _t(t){return async(e,o)=>{const a=await o()??e.res;return t.delay&&t.delay>0&&await ht(t.delay),xt(a,t)}}async function bt(t){const{manifest:e,moduleCache:o,middlewareCache:s,moduleBase:a,moduleMap:r}=t,d=new at({router:new dt,strict:!1}),u=vt(e);for(const n of u){const p=[];for(const k of n.route.middleware??[]){const m=await mt(k,s,a,r);m&&p.push(m)}const l=Tt({route:n.route,moduleCache:o,...typeof a<"u"?{moduleBase:a}:{},...typeof r<"u"?{moduleMap:r}:{}});d.on(n.method,gt(n.tokens),_t(n.route),...p,l)}return d}async function At(t){const e=typeof t.manifest=="function"?await t.manifest():t.manifest;return await bt({manifest:e,moduleCache:new Map,middlewareCache:new Map,...typeof t.moduleBase<"u"?{moduleBase:t.moduleBase}:{},...typeof t.moduleMap<"u"?{moduleMap:t.moduleMap}:{}})}const jt=t=>{const e=t.req.param("id")??"ses_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},St=Object.freeze(Object.defineProperty({__proto__:null,default:jt},Symbol.toStringTag,{value:"Module"})),It=t=>{const e=t.req.param("id")??"met_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Zt=Object.freeze(Object.defineProperty({__proto__:null,default:It},Symbol.toStringTag,{value:"Module"})),Ot=t=>{const e=t.req.param("id")??"bil_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Pt=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),Et=t=>{const e=t.req.param("id")??"crt_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},$t=Object.freeze(Object.defineProperty({__proto__:null,default:Et},Symbol.toStringTag,{value:"Module"})),Ut=t=>{const e=t.req.param("id")??"prd_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Ut},Symbol.toStringTag,{value:"Module"})),zt=t=>{const e=t.req.param("id")??"pst_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Mt=Object.freeze(Object.defineProperty({__proto__:null,default:zt},Symbol.toStringTag,{value:"Module"})),Rt=t=>{const e=t.req.param("id")??"frd_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Gt=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"})),Ct=t=>{const e=t.req.param("id")??"grp_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},qt=Object.freeze(Object.defineProperty({__proto__:null,default:Ct},Symbol.toStringTag,{value:"Module"})),Ht=t=>{const e=t.req.param("id")??"inv_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Lt=Object.freeze(Object.defineProperty({__proto__:null,default:Ht},Symbol.toStringTag,{value:"Module"})),Vt=t=>{const e=t.req.param("id")??"med_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Vt},Symbol.toStringTag,{value:"Module"})),Kt=t=>{const e=t.req.param("id")??"msg_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Ft=Object.freeze(Object.defineProperty({__proto__:null,default:Kt},Symbol.toStringTag,{value:"Module"})),Bt=t=>{const e=t.req.param("id")??"not_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Wt=Object.freeze(Object.defineProperty({__proto__:null,default:Bt},Symbol.toStringTag,{value:"Module"})),Yt=t=>{const e=t.req.param("id")??"ord_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Jt=Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"})),Qt=t=>{const e=t.req.param("id")??"org_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Xt=Object.freeze(Object.defineProperty({__proto__:null,default:Qt},Symbol.toStringTag,{value:"Module"})),eo=t=>{const e=t.req.param("id")??"pay_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},to=Object.freeze(Object.defineProperty({__proto__:null,default:eo},Symbol.toStringTag,{value:"Module"})),oo=t=>{const e=t.req.param("id")??"pro_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},so=Object.freeze(Object.defineProperty({__proto__:null,default:oo},Symbol.toStringTag,{value:"Module"})),ao=t=>{const e=t.req.param("id")??"prj_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},ro=Object.freeze(Object.defineProperty({__proto__:null,default:ao},Symbol.toStringTag,{value:"Module"})),no=t=>{const e=t.req.param("id")??"rev_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},uo=Object.freeze(Object.defineProperty({__proto__:null,default:no},Symbol.toStringTag,{value:"Module"})),po=t=>{const e=t.req.param("id")??"set_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},io=Object.freeze(Object.defineProperty({__proto__:null,default:po},Symbol.toStringTag,{value:"Module"})),co=t=>{const e=t.req.param("id")??"shp_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},lo=Object.freeze(Object.defineProperty({__proto__:null,default:co},Symbol.toStringTag,{value:"Module"})),mo=t=>{const e=t.req.param("id")??"usr_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},ko=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"})),yo=t=>{const e=t.req.param("id")??"met_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Metric ${o}`;return{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{period:"30d",value:1280,trend:"up"}}},ho=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),fo=t=>{const e=t.req.param("id")??"bil_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Billing Account ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}},go=Object.freeze(Object.defineProperty({__proto__:null,default:fo},Symbol.toStringTag,{value:"Module"})),vo=t=>{const e=t.req.param("id")??"crt_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Cart ${o}`;return{id:o,name:s,status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}},wo=Object.freeze(Object.defineProperty({__proto__:null,default:vo},Symbol.toStringTag,{value:"Module"})),xo=t=>{const e=t.req.param("id")??"prd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Product ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}},To=Object.freeze(Object.defineProperty({__proto__:null,default:xo},Symbol.toStringTag,{value:"Module"})),_o=t=>{const e=t.req.param("id")??"pst_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Post ${o}`;return{id:o,title:s,status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{authorId:"usr_1001",content:"Sample post content",likes:12}}},bo=Object.freeze(Object.defineProperty({__proto__:null,default:_o},Symbol.toStringTag,{value:"Module"})),Ao=t=>{const e=t.req.param("id")??"frd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Friend ${o}`;return{id:o,name:s,status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{since:"2025-12-20"}}},jo=Object.freeze(Object.defineProperty({__proto__:null,default:Ao},Symbol.toStringTag,{value:"Module"})),So=t=>{const e=t.req.param("id")??"grp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Group ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{membersCount:12,privacy:"private"}}},Io=Object.freeze(Object.defineProperty({__proto__:null,default:So},Symbol.toStringTag,{value:"Module"})),Zo=t=>{const e=t.req.param("id")??"inv_unknown",o=Array.isArray(e)?e.join("-"):e,s=`SKU ${o}`;return{id:o,sku:s,status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{quantity:120,location:"wh-1"}}},Oo=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"})),Po=t=>{const e=t.req.param("id")??"med_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Media ${o}`;return{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{type:"image",url:"https://cdn.example.com/media.png",size:2048}}},Eo=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"})),$o=t=>{const e=t.req.param("id")??"msg_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Message ${o}`;return{id:o,subject:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}},Uo=Object.freeze(Object.defineProperty({__proto__:null,default:$o},Symbol.toStringTag,{value:"Module"})),Do=t=>{const e=t.req.param("id")??"not_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Notification ${o}`;return{id:o,title:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{type:"system",read:!1,channel:"email"}}},zo=Object.freeze(Object.defineProperty({__proto__:null,default:Do},Symbol.toStringTag,{value:"Module"})),Mo=t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=`ORD ${o}`;return{id:o,number:s,status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}},Ro=Object.freeze(Object.defineProperty({__proto__:null,default:Mo},Symbol.toStringTag,{value:"Module"})),Go=t=>{const e=t.req.param("id")??"org_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Org ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{domain:"example.com",plan:"pro",membersCount:12}}},Co=Object.freeze(Object.defineProperty({__proto__:null,default:Go},Symbol.toStringTag,{value:"Module"})),qo=t=>{const e=t.req.param("id")??"pay_unknown",o=Array.isArray(e)?e.join("-"):e,s=`PAY ${o}`;return{id:o,reference:s,status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{amount:{amount:120,currency:"USD"},provider:"stripe"}}},Ho=Object.freeze(Object.defineProperty({__proto__:null,default:qo},Symbol.toStringTag,{value:"Module"})),Lo=t=>{const e=t.req.param("id")??"pro_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Profile ${o}`;return{id:o,displayName:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}},Vo=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"})),No=t=>{const e=t.req.param("id")??"prj_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Project ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}},Ko=Object.freeze(Object.defineProperty({__proto__:null,default:No},Symbol.toStringTag,{value:"Module"})),Fo=t=>{const e=t.req.param("id")??"rev_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Review ${o}`;return{id:o,title:s,status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{rating:4,productId:"prd_1001",authorId:"usr_1002"}}},Bo=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),Wo=t=>{const e=t.req.param("id")??"set_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Setting ${o}`;return{id:o,key:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{value:"enabled",scope:"org"}}},Yo=Object.freeze(Object.defineProperty({__proto__:null,default:Wo},Symbol.toStringTag,{value:"Module"})),Jo=t=>{const e=t.req.param("id")??"shp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`TRK ${o}`;return{id:o,tracking:s,status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{carrier:"DHL",eta:"2026-01-22"}}},Qo=Object.freeze(Object.defineProperty({__proto__:null,default:Jo},Symbol.toStringTag,{value:"Module"})),Xo=t=>{const e=t.req.param("id")??"usr_unknown",o=Array.isArray(e)?e.join("-"):e,s=`User ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{email:"user@example.com",role:"member"}}},es=Object.freeze(Object.defineProperty({__proto__:null,default:Xo},Symbol.toStringTag,{value:"Module"})),ts=t=>{const e=t.req.param("id")??"met_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Metric ${o}`;return{ok:!0,data:{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{period:"30d",value:1280,trend:"up"}}}},os=Object.freeze(Object.defineProperty({__proto__:null,default:ts},Symbol.toStringTag,{value:"Module"})),ss=t=>{const e=t.req.param("id")??"bil_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Billing Account ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}}},as=Object.freeze(Object.defineProperty({__proto__:null,default:ss},Symbol.toStringTag,{value:"Module"})),rs=t=>{const e=t.req.param("id")??"crt_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Cart ${o}`;return{ok:!0,data:{id:o,name:s,status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}}},ds=Object.freeze(Object.defineProperty({__proto__:null,default:rs},Symbol.toStringTag,{value:"Module"})),ns=t=>{const e=t.req.param("id")??"prd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Product ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}}},us=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"})),ps=t=>{const e=t.req.param("id")??"pst_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Post ${o}`;return{ok:!0,data:{id:o,title:s,status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{authorId:"usr_1001",content:"Sample post content",likes:12}}}},is=Object.freeze(Object.defineProperty({__proto__:null,default:ps},Symbol.toStringTag,{value:"Module"})),cs=t=>{const e=t.req.param("id")??"frd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Friend ${o}`;return{ok:!0,data:{id:o,name:s,status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{since:"2025-12-20"}}}},ls=Object.freeze(Object.defineProperty({__proto__:null,default:cs},Symbol.toStringTag,{value:"Module"})),ms=t=>{const e=t.req.param("id")??"grp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Group ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{membersCount:12,privacy:"private"}}}},ks=Object.freeze(Object.defineProperty({__proto__:null,default:ms},Symbol.toStringTag,{value:"Module"})),ys=t=>{const e=t.req.param("id")??"inv_unknown",o=Array.isArray(e)?e.join("-"):e,s=`SKU ${o}`;return{ok:!0,data:{id:o,sku:s,status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{quantity:120,location:"wh-1"}}}},hs=Object.freeze(Object.defineProperty({__proto__:null,default:ys},Symbol.toStringTag,{value:"Module"})),fs=t=>{const e=t.req.param("id")??"med_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Media ${o}`;return{ok:!0,data:{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{type:"image",url:"https://cdn.example.com/media.png",size:2048}}}},gs=Object.freeze(Object.defineProperty({__proto__:null,default:fs},Symbol.toStringTag,{value:"Module"})),vs=t=>{const e=t.req.param("id")??"msg_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Message ${o}`;return{ok:!0,data:{id:o,subject:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}}},ws=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"})),xs=t=>{const e=t.req.param("id")??"not_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Notification ${o}`;return{ok:!0,data:{id:o,title:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{type:"system",read:!1,channel:"email"}}}},Ts=Object.freeze(Object.defineProperty({__proto__:null,default:xs},Symbol.toStringTag,{value:"Module"})),_s=t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=`ORD ${o}`;return{ok:!0,data:{id:o,number:s,status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}}},bs=Object.freeze(Object.defineProperty({__proto__:null,default:_s},Symbol.toStringTag,{value:"Module"})),As=t=>{const e=t.req.param("id")??"org_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Org ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{domain:"example.com",plan:"pro",membersCount:12}}}},js=Object.freeze(Object.defineProperty({__proto__:null,default:As},Symbol.toStringTag,{value:"Module"})),Ss=t=>{const e=t.req.param("id")??"pay_unknown",o=Array.isArray(e)?e.join("-"):e,s=`PAY ${o}`;return{ok:!0,data:{id:o,reference:s,status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{amount:{amount:120,currency:"USD"},provider:"stripe"}}}},Is=Object.freeze(Object.defineProperty({__proto__:null,default:Ss},Symbol.toStringTag,{value:"Module"})),Zs=t=>{const e=t.req.param("id")??"pro_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Profile ${o}`;return{ok:!0,data:{id:o,displayName:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}}},Os=Object.freeze(Object.defineProperty({__proto__:null,default:Zs},Symbol.toStringTag,{value:"Module"})),Ps=t=>{const e=t.req.param("id")??"prj_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Project ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}}},Es=Object.freeze(Object.defineProperty({__proto__:null,default:Ps},Symbol.toStringTag,{value:"Module"})),$s=t=>{const e=t.req.param("id")??"rev_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Review ${o}`;return{ok:!0,data:{id:o,title:s,status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{rating:4,productId:"prd_1001",authorId:"usr_1002"}}}},Us=Object.freeze(Object.defineProperty({__proto__:null,default:$s},Symbol.toStringTag,{value:"Module"})),Ds=t=>{const e=t.req.param("id")??"set_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Setting ${o}`;return{ok:!0,data:{id:o,key:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{value:"enabled",scope:"org"}}}},zs=Object.freeze(Object.defineProperty({__proto__:null,default:Ds},Symbol.toStringTag,{value:"Module"})),Ms=t=>{const e=t.req.param("id")??"shp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`TRK ${o}`;return{ok:!0,data:{id:o,tracking:s,status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{carrier:"DHL",eta:"2026-01-22"}}}},Rs=Object.freeze(Object.defineProperty({__proto__:null,default:Ms},Symbol.toStringTag,{value:"Module"})),Gs=t=>{const e=t.req.param("id")??"usr_unknown",o=Array.isArray(e)?e.join("-"):e,s=`User ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{email:"user@example.com",role:"member"}}}},Cs=Object.freeze(Object.defineProperty({__proto__:null,default:Gs},Symbol.toStringTag,{value:"Module"})),qs=async t=>{const e=await t.req.json().catch(()=>({})),o=e&&typeof e=="object"?e:{},s=o.username,a=o.password;return s!=="demo"||a!=="mokup"?(t.status(401),{ok:!1,error:"invalid_credentials"}):{token:"mokup-demo-token",expiresIn:3600,user:{id:"usr_1001",name:"Demo User",email:"demo@example.com"}}},Hs=Object.freeze(Object.defineProperty({__proto__:null,default:qs},Symbol.toStringTag,{value:"Module"})),Ls=async t=>{const e=await t.req.json().catch(()=>({})),o=e&&typeof e=="object"?e:{},s=t.req.query("fail")??o.fail,a=Array.isArray(s)?s[0]:s;return a==="1"||a==="true"||a===!0?(t.status(402),{ok:!1,error:"payment_required"}):{ok:!0,paymentId:"pay_2001",status:"authorized",amount:{amount:120,currency:"USD"}}},Vs=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"})),Ns=async t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=await t.req.json().catch(()=>({})),a=s&&typeof s=="object"?s:{},r=t.req.query("status")??a.status;return(Array.isArray(r)?r[0]:r)==="shipped"?(t.status(409),{ok:!1,error:"order_already_shipped",id:o}):{ok:!0,id:o,status:"canceled"}},Ks=Object.freeze(Object.defineProperty({__proto__:null,default:Ns},Symbol.toStringTag,{value:"Module"})),Fs=t=>(t.status(201),{ok:!0,data:{id:"met_2001",name:"Metric 2001",status:"ready",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",period:"30d",value:1280,trend:"up"}}),Bs=Object.freeze(Object.defineProperty({__proto__:null,default:Fs},Symbol.toStringTag,{value:"Module"})),Ws=t=>(t.status(201),{ok:!0,data:{id:"bil_2001",name:"Billing Account 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}),Ys=Object.freeze(Object.defineProperty({__proto__:null,default:Ws},Symbol.toStringTag,{value:"Module"})),Js=t=>(t.status(201),{ok:!0,data:{id:"crt_2001",name:"Cart 2001",status:"open",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}),Qs=Object.freeze(Object.defineProperty({__proto__:null,default:Js},Symbol.toStringTag,{value:"Module"})),Xs=t=>(t.status(201),{ok:!0,data:{id:"prd_2001",name:"Product 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}),ea=Object.freeze(Object.defineProperty({__proto__:null,default:Xs},Symbol.toStringTag,{value:"Module"})),ta=t=>(t.status(201),{ok:!0,data:{id:"pst_2001",title:"Post 2001",status:"published",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}}),oa=Object.freeze(Object.defineProperty({__proto__:null,default:ta},Symbol.toStringTag,{value:"Module"})),sa=t=>(t.status(201),{ok:!0,data:{id:"frd_2001",name:"Friend 2001",status:"accepted",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",since:"2025-12-20"}}),aa=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"})),ra=t=>(t.status(201),{ok:!0,data:{id:"grp_2001",name:"Group 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",membersCount:12,privacy:"private"}}),da=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"})),na=t=>(t.status(201),{ok:!0,data:{id:"inv_2001",sku:"SKU 2001",status:"available",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",quantity:120,location:"wh-1"}}),ua=Object.freeze(Object.defineProperty({__proto__:null,default:na},Symbol.toStringTag,{value:"Module"})),pa=t=>(t.status(201),{ok:!0,data:{id:"med_2001",name:"Media 2001",status:"ready",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048}}),ia=Object.freeze(Object.defineProperty({__proto__:null,default:pa},Symbol.toStringTag,{value:"Module"})),ca=t=>(t.status(201),{ok:!0,data:{id:"msg_2001",subject:"Message 2001",status:"unread",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}),la=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"})),ma=t=>(t.status(201),{ok:!0,data:{id:"not_2001",title:"Notification 2001",status:"unread",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",type:"system",read:!1,channel:"email"}}),ka=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"})),ya=t=>(t.status(201),{ok:!0,data:{id:"ord_2001",number:"ORD 2001",status:"processing",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}),ha=Object.freeze(Object.defineProperty({__proto__:null,default:ya},Symbol.toStringTag,{value:"Module"})),fa=t=>(t.status(201),{ok:!0,data:{id:"org_2001",name:"Org 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}}),ga=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),va=t=>(t.status(201),{ok:!0,data:{id:"pay_2001",reference:"PAY 2001",status:"authorized",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}}),wa=Object.freeze(Object.defineProperty({__proto__:null,default:va},Symbol.toStringTag,{value:"Module"})),xa=t=>(t.status(201),{ok:!0,data:{id:"pro_2001",displayName:"Profile 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}),Ta=Object.freeze(Object.defineProperty({__proto__:null,default:xa},Symbol.toStringTag,{value:"Module"})),_a=t=>(t.status(201),{ok:!0,data:{id:"prj_2001",name:"Project 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}),ba=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"})),Aa=t=>(t.status(201),{ok:!0,data:{id:"rev_2001",title:"Review 2001",status:"pending",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}}),ja=Object.freeze(Object.defineProperty({__proto__:null,default:Aa},Symbol.toStringTag,{value:"Module"})),Sa=t=>(t.status(201),{ok:!0,data:{id:"set_2001",key:"Setting 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",value:"enabled",scope:"org"}}),Ia=Object.freeze(Object.defineProperty({__proto__:null,default:Sa},Symbol.toStringTag,{value:"Module"})),Za=t=>(t.status(201),{ok:!0,data:{id:"shp_2001",tracking:"TRK 2001",status:"in_transit",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}}),Oa=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"})),Pa=t=>(t.status(201),{ok:!0,data:{id:"usr_2001",name:"User 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",email:"user@example.com",role:"member"}}),Ea=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"})),$a=async(t,e)=>(t.header("x-mokup-middleware","enabled"),await e()),Ua={headers:{"x-mokup-scope":"docs"},delay:120,middleware:[$a]},Da=Object.freeze(Object.defineProperty({__proto__:null,default:Ua},Symbol.toStringTag,{value:"Module"})),i=t=>t?.default??t,B=t=>{if(typeof t>"u")return null;if(typeof t=="function")return{response:t};if(t===null)return{response:null};if(typeof t=="object"){if("response"in t)return t;if("handler"in t){const e=t;return{response:e.handler,...typeof e.status=="number"?{status:e.status}:{},...e.headers?{headers:e.headers}:{},...typeof e.delay=="number"?{delay:e.delay}:{}}}return{response:t}}return{response:t}},c=t=>{if(typeof t>"u")return[];if(Array.isArray(t))return t.map(B).filter(Boolean);const e=B(t);return e?[e]:[]},za={version:1,routes:[{method:"DELETE",url:"/api/auth/sessions/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"sessions"},{type:"param",name:"id"}],score:[4,4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/sessions/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].delete.ts",ruleIndex:0}},{method:"GET",url:"/api/analytics/events",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"events"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"met_1001",name:"Metric 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"},{id:"met_1002",name:"Metric 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"},{id:"met_1003",name:"Metric 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/analytics/export",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/analytics-2026-01.csv"}}},{method:"GET",url:"/api/analytics/funnels",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"funnels"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"analytics",generatedAt:"2026-01-18T12:00:00.000Z",steps:4,conversion:.42}}},{method:"GET",url:"/api/analytics/series",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"series"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{period:"30d",points:[12,18,22,16,24,28,30]}}},{method:"GET",url:"/api/analytics/summary",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"summary"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"analytics",generatedAt:"2026-01-18T12:00:00.000Z",period:"30d",total:12e3,change:4}}},{method:"GET",url:"/api/auth/me",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"me"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"usr_1001",name:"Demo User",email:"demo@example.com",role:"admin"}}},{method:"GET",url:"/api/auth/sessions",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"sessions"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ses_1001",device:"Chrome",ip:"203.0.113.10",createdAt:"2026-01-01T12:00:00.000Z"},{id:"ses_1002",device:"Safari",ip:"203.0.113.11",createdAt:"2026-01-01T12:00:00.000Z"}],page:1,pageSize:2,total:2}}},{method:"GET",url:"/api/billing/history",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"history"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/invoices",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"invoices"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/plans",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"plans"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/usage",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"usage"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"billing",generatedAt:"2026-01-18T12:00:00.000Z",period:"30d",units:1200}}},{method:"GET",url:"/api/catalog/categories",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"categories"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog/export",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/catalog-2026-01.csv"}}},{method:"GET",url:"/api/catalog/featured",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"featured"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog/search",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/catalog/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:320,active:300,archived:20}}},{method:"GET",url:"/api/feed/following",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"static",value:"following"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/feed/trending",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"static",value:"trending"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends/requests",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"static",value:"requests"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends/suggestions",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"static",value:"suggestions"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/inventory/export",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/inventory-2026-01.csv"}}},{method:"GET",url:"/api/inventory/search",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"inv_1001",sku:"SKU 1001",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1002",sku:"SKU 1002",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1003",sku:"SKU 1003",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/inventory/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:420,available:380,reserved:40}}},{method:"GET",url:"/api/messages/search",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/messages/threads",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"static",value:"threads"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications/read",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"read"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"settings"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"notifications",generatedAt:"2026-01-18T12:00:00.000Z",email:!0,sms:!1,push:!0}}},{method:"GET",url:"/api/notifications/unread",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"unread"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orders/export",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/orders-2026-01.csv"}}},{method:"GET",url:"/api/orders/search",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ord_1001",number:"ORD 1001",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1002",number:"ORD 1002",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1003",number:"ORD 1003",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/orders/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:210,processing:18,shipped:160,canceled:32}}},{method:"GET",url:"/api/orgs/export",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/orgs-2026-01.csv"}}},{method:"GET",url:"/api/orgs/search",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/orgs/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:42,active:38,archived:4}}},{method:"GET",url:"/api/payments/methods",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"methods"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/payments/search",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/payments/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:180,authorized:20,captured:140,failed:20}}},{method:"GET",url:"/api/profiles/search",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pro_1001",displayName:"Profile 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1002",displayName:"Profile 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1003",displayName:"Profile 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/profiles/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:60,active:58,suspended:2}}},{method:"GET",url:"/api/projects/export",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/projects-2026-01.csv"}}},{method:"GET",url:"/api/projects/search",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prj_1001",name:"Project 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1002",name:"Project 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1003",name:"Project 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/projects/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:18,active:16,archived:2}}},{method:"GET",url:"/api/reviews/export",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/reviews-2026-01.csv"}}},{method:"GET",url:"/api/reviews/search",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"rev_1001",title:"Review 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1002",title:"Review 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1003",title:"Review 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/reviews/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:56,pending:6,approved:45,rejected:5}}},{method:"GET",url:"/api/settings/branding",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"branding"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",logoUrl:"https://cdn.example.com/logo.svg",color:"#2B4C7E"}}},{method:"GET",url:"/api/settings/features",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"features"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",flags:{betaDashboard:!0,newBilling:!1}}}},{method:"GET",url:"/api/settings/locales",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"locales"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"set_1001",key:"Setting 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"},{id:"set_1002",key:"Setting 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"},{id:"set_1003",key:"Setting 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/settings/security",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"security"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",mfaRequired:!1,sessionTimeoutMinutes:60}}},{method:"GET",url:"/api/shipping/carriers",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"carriers"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/rates",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"rates"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:140,in_transit:24,delivered:110,delayed:6}}},{method:"GET",url:"/api/users/export",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/users-2026-01.csv"}}},{method:"GET",url:"/api/users/search",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"usr_1001",name:"User 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1002",name:"User 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1003",name:"User 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/users/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:128,active:120,disabled:8}}},{method:"GET",url:"/api/cart/[id]/items",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"items"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"crt_1001",name:"Cart 1001",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"},{id:"crt_1002",name:"Cart 1002",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"},{id:"crt_1003",name:"Cart 1003",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/groups/[id]/members",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"members"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"grp_1001",name:"Group 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"},{id:"grp_1002",name:"Group 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"},{id:"grp_1003",name:"Group 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orgs/[id]/members",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"},{type:"static",value:"members"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/[id]/track",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"},{type:"static",value:"track"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"shipping",generatedAt:"2026-01-18T12:00:00.000Z",status:"in_transit",checkpoint:"Hub"}}},{method:"GET",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/analytics",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"met_1001",name:"Metric 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"},{id:"met_1002",name:"Metric 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"},{id:"met_1003",name:"Metric 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/cart",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"crt_1001",name:"Cart 1001",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"},{id:"crt_1002",name:"Cart 1002",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"},{id:"crt_1003",name:"Cart 1003",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/feed",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/groups",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"grp_1001",name:"Group 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"},{id:"grp_1002",name:"Group 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"},{id:"grp_1003",name:"Group 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/inventory",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"inv_1001",sku:"SKU 1001",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1002",sku:"SKU 1002",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1003",sku:"SKU 1003",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/media",tokens:[{type:"static",value:"api"},{type:"static",value:"media"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"med_1001",name:"Media 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048},{id:"med_1002",name:"Media 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048},{id:"med_1003",name:"Media 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/messages",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orders",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ord_1001",number:"ORD 1001",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1002",number:"ORD 1002",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1003",number:"ORD 1003",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orgs",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/payments",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/profiles",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pro_1001",displayName:"Profile 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1002",displayName:"Profile 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1003",displayName:"Profile 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/projects",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prj_1001",name:"Project 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1002",name:"Project 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1003",name:"Project 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/reviews",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"rev_1001",title:"Review 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1002",title:"Review 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1003",title:"Review 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"set_1001",key:"Setting 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"},{id:"set_1002",key:"Setting 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"},{id:"set_1003",key:"Setting 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/users",tokens:[{type:"static",value:"api"},{type:"static",value:"users"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"usr_1001",name:"User 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1002",name:"User 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1003",name:"User 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"}],page:1,pageSize:3,total:3}}},{method:"PATCH",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].patch.ts",ruleIndex:0}},{method:"POST",url:"/api/auth/mfa/setup",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"mfa"},{type:"static",value:"setup"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"mfa_setup",qr:"otpauth://totp/mokup",secret:"ABC123"}}},{method:"POST",url:"/api/auth/mfa/verify",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"mfa"},{type:"static",value:"verify"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"mfa_verified"}}},{method:"POST",url:"/api/auth/password/reset",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"password"},{type:"static",value:"reset"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"reset_email_sent",delivery:"email"}}},{method:"POST",url:"/api/auth/password/update",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"password"},{type:"static",value:"update"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"password_updated"}}},{method:"POST",url:"/api/auth/login",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"login"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/login.post.ts",ruleIndex:0}},{method:"POST",url:"/api/auth/logout",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"logout"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"logged_out"}}},{method:"POST",url:"/api/auth/refresh",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"refresh"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{token:"mokup-demo-token",expiresIn:3600}}},{method:"POST",url:"/api/billing/checkout",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"checkout"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"checkout",redirectUrl:"https://pay.example.com/checkout"}}},{method:"POST",url:"/api/media/presign",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"static",value:"presign"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"presigned",url:"https://cdn.example.com/presign"}}},{method:"POST",url:"/api/media/uploads",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"static",value:"uploads"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"upload_created",uploadUrl:"https://cdn.example.com/upload"}}},{method:"POST",url:"/api/notifications/mark-read",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"mark-read"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"marked_read",count:3}}},{method:"POST",url:"/api/notifications/subscribe",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"subscribe"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"subscribed",channel:"email"}}},{method:"POST",url:"/api/payments/charge",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"charge"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/charge.post.ts",ruleIndex:0}},{method:"POST",url:"/api/payments/refund",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"refund"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"refunded"}}},{method:"POST",url:"/api/settings/update",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"update"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"updated"}}},{method:"POST",url:"/api/users/bulk",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"bulk"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,processed:3,failed:0}}},{method:"POST",url:"/api/users/import",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"import"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,imported:3}}},{method:"POST",url:"/api/cart/[id]/apply-coupon",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"apply-coupon"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"coupon_applied",code:"SAVE10",discount:{amount:10,currency:"USD"}}}},{method:"POST",url:"/api/cart/[id]/checkout",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"checkout"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"checkout_started",redirectUrl:"https://pay.example.com/checkout"}}},{method:"POST",url:"/api/cart/[id]/clear",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"clear"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"cleared"}}},{method:"POST",url:"/api/cart/[id]/items",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"items"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"item_added",itemId:"prd_1001"}}},{method:"POST",url:"/api/feed/[id]/like",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"},{type:"static",value:"like"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pst_1001",ok:!0,action:"liked"}}},{method:"POST",url:"/api/friends/[id]/accept",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"},{type:"static",value:"accept"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"frd_1001",ok:!0,action:"accepted"}}},{method:"POST",url:"/api/friends/[id]/block",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"},{type:"static",value:"block"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"frd_1001",ok:!0,action:"blocked"}}},{method:"POST",url:"/api/groups/[id]/join",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"join"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"grp_1001",ok:!0,action:"joined"}}},{method:"POST",url:"/api/groups/[id]/leave",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"leave"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"grp_1001",ok:!0,action:"left"}}},{method:"POST",url:"/api/inventory/[id]/adjust",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"},{type:"static",value:"adjust"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"inv_1001",ok:!0,action:"adjusted",delta:5}}},{method:"POST",url:"/api/inventory/[id]/reserve",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"},{type:"static",value:"reserve"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"inv_1001",ok:!0,action:"reserved",reserved:5}}},{method:"POST",url:"/api/media/[id]/transcode",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"},{type:"static",value:"transcode"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"med_1001",ok:!0,action:"transcoding_started"}}},{method:"POST",url:"/api/messages/[id]/read",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"},{type:"static",value:"read"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"msg_1001",ok:!0,action:"read"}}},{method:"POST",url:"/api/orders/[id]/cancel",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"},{type:"static",value:"cancel"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id]/cancel.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orders/[id]/fulfill",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"},{type:"static",value:"fulfill"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"ord_1001",ok:!0,action:"fulfilled"}}},{method:"POST",url:"/api/orgs/[id]/invite",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"},{type:"static",value:"invite"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"org_1001",ok:!0,action:"invited",email:"invitee@example.com"}}},{method:"POST",url:"/api/profiles/[id]/follow",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"},{type:"static",value:"follow"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pro_1001",ok:!0,action:"followed"}}},{method:"POST",url:"/api/profiles/[id]/unfollow",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"},{type:"static",value:"unfollow"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pro_1001",ok:!0,action:"unfollowed"}}},{method:"POST",url:"/api/projects/[id]/archive",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"},{type:"static",value:"archive"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"prj_1001",ok:!0,action:"archived"}}},{method:"POST",url:"/api/projects/[id]/restore",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"},{type:"static",value:"restore"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"prj_1001",ok:!0,action:"restored"}}},{method:"POST",url:"/api/reviews/[id]/approve",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"},{type:"static",value:"approve"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"rev_1001",ok:!0,action:"approved"}}},{method:"POST",url:"/api/reviews/[id]/reject",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"},{type:"static",value:"reject"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"rev_1001",ok:!0,action:"rejected"}}},{method:"POST",url:"/api/shipping/[id]/label",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"},{type:"static",value:"label"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"shp_1001",ok:!0,action:"label_created"}}},{method:"POST",url:"/api/analytics",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics.post.ts",ruleIndex:0}},{method:"POST",url:"/api/billing",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing.post.ts",ruleIndex:0}},{method:"POST",url:"/api/cart",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart.post.ts",ruleIndex:0}},{method:"POST",url:"/api/catalog",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog.post.ts",ruleIndex:0}},{method:"POST",url:"/api/feed",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed.post.ts",ruleIndex:0}},{method:"POST",url:"/api/friends",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends.post.ts",ruleIndex:0}},{method:"POST",url:"/api/groups",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups.post.ts",ruleIndex:0}},{method:"POST",url:"/api/inventory",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory.post.ts",ruleIndex:0}},{method:"POST",url:"/api/media",tokens:[{type:"static",value:"api"},{type:"static",value:"media"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media.post.ts",ruleIndex:0}},{method:"POST",url:"/api/messages",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages.post.ts",ruleIndex:0}},{method:"POST",url:"/api/notifications",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orders",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orgs",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs.post.ts",ruleIndex:0}},{method:"POST",url:"/api/payments",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments.post.ts",ruleIndex:0}},{method:"POST",url:"/api/profiles",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles.post.ts",ruleIndex:0}},{method:"POST",url:"/api/projects",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects.post.ts",ruleIndex:0}},{method:"POST",url:"/api/reviews",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews.post.ts",ruleIndex:0}},{method:"POST",url:"/api/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings.post.ts",ruleIndex:0}},{method:"POST",url:"/api/shipping",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping.post.ts",ruleIndex:0}},{method:"POST",url:"/api/users",tokens:[{type:"static",value:"api"},{type:"static",value:"users"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users.post.ts",ruleIndex:0}}]},Ma={"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/sessions/[id].delete.ts":{default:c(i(St))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].delete.ts":{default:c(i(Zt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].delete.ts":{default:c(i(Pt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].delete.ts":{default:c(i($t))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].delete.ts":{default:c(i(Dt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].delete.ts":{default:c(i(Mt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].delete.ts":{default:c(i(Gt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].delete.ts":{default:c(i(qt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].delete.ts":{default:c(i(Lt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].delete.ts":{default:c(i(Nt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].delete.ts":{default:c(i(Ft))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].delete.ts":{default:c(i(Wt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].delete.ts":{default:c(i(Jt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].delete.ts":{default:c(i(Xt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].delete.ts":{default:c(i(to))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].delete.ts":{default:c(i(so))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].delete.ts":{default:c(i(ro))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].delete.ts":{default:c(i(uo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].delete.ts":{default:c(i(io))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].delete.ts":{default:c(i(lo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].delete.ts":{default:c(i(ko))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].get.ts":{default:c(i(ho))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].get.ts":{default:c(i(go))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].get.ts":{default:c(i(wo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].get.ts":{default:c(i(To))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].get.ts":{default:c(i(bo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].get.ts":{default:c(i(jo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].get.ts":{default:c(i(Io))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].get.ts":{default:c(i(Oo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].get.ts":{default:c(i(Eo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].get.ts":{default:c(i(Uo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].get.ts":{default:c(i(zo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].get.ts":{default:c(i(Ro))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].get.ts":{default:c(i(Co))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].get.ts":{default:c(i(Ho))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].get.ts":{default:c(i(Vo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].get.ts":{default:c(i(Ko))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].get.ts":{default:c(i(Bo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].get.ts":{default:c(i(Yo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].get.ts":{default:c(i(Qo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].get.ts":{default:c(i(es))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].patch.ts":{default:c(i(os))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].patch.ts":{default:c(i(as))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].patch.ts":{default:c(i(ds))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].patch.ts":{default:c(i(us))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].patch.ts":{default:c(i(is))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].patch.ts":{default:c(i(ls))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].patch.ts":{default:c(i(ks))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].patch.ts":{default:c(i(hs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].patch.ts":{default:c(i(gs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].patch.ts":{default:c(i(ws))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].patch.ts":{default:c(i(Ts))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].patch.ts":{default:c(i(bs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].patch.ts":{default:c(i(js))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].patch.ts":{default:c(i(Is))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].patch.ts":{default:c(i(Os))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].patch.ts":{default:c(i(Es))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].patch.ts":{default:c(i(Us))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].patch.ts":{default:c(i(zs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].patch.ts":{default:c(i(Rs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].patch.ts":{default:c(i(Cs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/login.post.ts":{default:c(i(Hs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/charge.post.ts":{default:c(i(Vs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id]/cancel.post.ts":{default:c(i(Ks))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics.post.ts":{default:c(i(Bs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing.post.ts":{default:c(i(Ys))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart.post.ts":{default:c(i(Qs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog.post.ts":{default:c(i(ea))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed.post.ts":{default:c(i(oa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends.post.ts":{default:c(i(aa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups.post.ts":{default:c(i(da))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory.post.ts":{default:c(i(ua))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media.post.ts":{default:c(i(ia))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages.post.ts":{default:c(i(la))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications.post.ts":{default:c(i(ka))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders.post.ts":{default:c(i(ha))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs.post.ts":{default:c(i(ga))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments.post.ts":{default:c(i(wa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles.post.ts":{default:c(i(Ta))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects.post.ts":{default:c(i(ba))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews.post.ts":{default:c(i(ja))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings.post.ts":{default:c(i(Ia))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping.post.ts":{default:c(i(Oa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users.post.ts":{default:c(i(Ea))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts":Da},R=["/api"];self.addEventListener("install",()=>{self.skipWaiting()});self.addEventListener("activate",t=>{t.waitUntil(self.clients.claim())});const Ra=t=>{if(!R||R.length===0)return!0;const e=new URL(t.url).pathname;return R.some(o=>o==="/"?!0:e===o||e.startsWith(o+"/"))},Ga=async()=>{const t=await At({manifest:za,moduleMap:Ma}),e=nt(t);self.addEventListener("fetch",o=>{Ra(o.request)&&e(o)})};Ga().catch(t=>{console.error("[mokup] Failed to build service worker app:",t)});
|
|
1
|
+
const D=/^[\w-]+$/,fe=/^\[([^\]/]+)\]$/,he=/^\[\.\.\.([^\]/]+)\]$/,ge=/^\[\[\.\.\.([^\]/]+)\]\]$/,ve=/^\([^)]+\)$/;function we(t){switch(t.type){case"static":return 4;case"param":return 3;case"catchall":return 2;case"optional-catchall":return 1;default:return 0}}function W(t){return t.map(we)}function xe(t,e){const o=Math.min(t.length,e.length);for(let s=0;s<o;s+=1){const a=t[s]??0,r=e[s]??0;if(a!==r)return r-a}return t.length!==e.length?e.length-t.length:0}function Y(t){const o=(t.split("?")[0]??"").split("#")[0]??"";let s=o.startsWith("/")?o:`/${o}`;return s.length>1&&s.endsWith("/")&&(s=s.slice(0,-1)),s}function Te(t){return Y(t).split("/").filter(Boolean)}function _e(t){const e=[],o=[],s=Y(t),a=Te(s),r=[],d=new Set;for(let u=0;u<a.length;u+=1){const n=a[u];if(!n)continue;if(ve.test(n)){e.push(`Route groups are not supported: ${n}`);continue}const p=n.match(ge);if(p){const m=p[1];if(!m){e.push(`Invalid optional catch-all param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid optional catch-all param name "${m}"`);continue}if(u!==a.length-1){e.push(`Optional catch-all "${n}" must be the last segment`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"optional-catchall",name:m});continue}const l=n.match(he);if(l){const m=l[1];if(!m){e.push(`Invalid catch-all param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid catch-all param name "${m}"`);continue}if(u!==a.length-1){e.push(`Catch-all "${n}" must be the last segment`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"catchall",name:m});continue}const k=n.match(fe);if(k){const m=k[1];if(!m){e.push(`Invalid param name "${n}"`);continue}if(!D.test(m)){e.push(`Invalid param name "${m}"`);continue}d.has(m)&&o.push(`Duplicate param name "${m}"`),d.add(m),r.push({type:"param",name:m});continue}if(n.includes("[")||n.includes("]")||n.includes("(")||n.includes(")")){e.push(`Invalid route segment "${n}"`);continue}r.push({type:"static",value:n})}return{template:s,tokens:r,score:W(r),errors:e,warnings:o}}var L=(t,e,o)=>(s,a)=>{let r=-1;return d(0);async function d(u){if(u<=r)throw new Error("next() called multiple times");r=u;let n,p=!1,l;if(t[u]?(l=t[u][0][0],s.req.routeIndex=u):l=u===t.length&&a||void 0,l)try{n=await l(s,()=>d(u+1))}catch(k){if(k instanceof Error&&e)s.error=k,n=await e(k,s),p=!0;else throw k}else s.finalized===!1&&o&&(n=await o(s));return n&&(s.finalized===!1||p)&&(s.res=n),s}},be=Symbol(),Ae=async(t,e=Object.create(null))=>{const{all:o=!1,dot:s=!1}=e,r=(t instanceof oe?t.raw.headers:t.headers).get("Content-Type");return r?.startsWith("multipart/form-data")||r?.startsWith("application/x-www-form-urlencoded")?je(t,{all:o,dot:s}):{}};async function je(t,e){const o=await t.formData();return o?Se(o,e):{}}function Se(t,e){const o=Object.create(null);return t.forEach((s,a)=>{e.all||a.endsWith("[]")?Ie(o,a,s):o[a]=s}),e.dot&&Object.entries(o).forEach(([s,a])=>{s.includes(".")&&(Ze(o,s,a),delete o[s])}),o}var Ie=(t,e,o)=>{t[e]!==void 0?Array.isArray(t[e])?t[e].push(o):t[e]=[t[e],o]:e.endsWith("[]")?t[e]=[o]:t[e]=o},Ze=(t,e,o)=>{let s=t;const a=e.split(".");a.forEach((r,d)=>{d===a.length-1?s[r]=o:((!s[r]||typeof s[r]!="object"||Array.isArray(s[r])||s[r]instanceof File)&&(s[r]=Object.create(null)),s=s[r])})},J=t=>{const e=t.split("/");return e[0]===""&&e.shift(),e},Oe=t=>{const{groups:e,path:o}=Pe(t),s=J(o);return Ee(s,e)},Pe=t=>{const e=[];return t=t.replace(/\{[^}]+\}/g,(o,s)=>{const a=`@${s}`;return e.push([a,o]),a}),{groups:e,path:t}},Ee=(t,e)=>{for(let o=e.length-1;o>=0;o--){const[s]=e[o];for(let a=t.length-1;a>=0;a--)if(t[a].includes(s)){t[a]=t[a].replace(s,e[o][1]);break}}return t},$={},$e=(t,e)=>{if(t==="*")return"*";const o=t.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(o){const s=`${t}#${e}`;return $[s]||(o[2]?$[s]=e&&e[0]!==":"&&e[0]!=="*"?[s,o[1],new RegExp(`^${o[2]}(?=/${e})`)]:[t,o[1],new RegExp(`^${o[2]}$`)]:$[s]=[t,o[1],!0]),$[s]}return null},C=(t,e)=>{try{return e(t)}catch{return t.replace(/(?:%[0-9A-Fa-f]{2})+/g,o=>{try{return e(o)}catch{return o}})}},Ue=t=>C(t,decodeURI),Q=t=>{const e=t.url,o=e.indexOf("/",e.indexOf(":")+4);let s=o;for(;s<e.length;s++){const a=e.charCodeAt(s);if(a===37){const r=e.indexOf("?",s),d=e.slice(o,r===-1?void 0:r);return Ue(d.includes("%25")?d.replace(/%25/g,"%2525"):d)}else if(a===63)break}return e.slice(o,s)},De=t=>{const e=Q(t);return e.length>1&&e.at(-1)==="/"?e.slice(0,-1):e},A=(t,e,...o)=>(o.length&&(e=A(e,...o)),`${t?.[0]==="/"?"":"/"}${t}${e==="/"?"":`${t?.at(-1)==="/"?"":"/"}${e?.[0]==="/"?e.slice(1):e}`}`),X=t=>{if(t.charCodeAt(t.length-1)!==63||!t.includes(":"))return null;const e=t.split("/"),o=[];let s="";return e.forEach(a=>{if(a!==""&&!/\:/.test(a))s+="/"+a;else if(/\:/.test(a))if(/\?/.test(a)){o.length===0&&s===""?o.push("/"):o.push(s);const r=a.replace("?","");s+="/"+r,o.push(s)}else s+="/"+a}),o.filter((a,r,d)=>d.indexOf(a)===r)},z=t=>/[%+]/.test(t)?(t.indexOf("+")!==-1&&(t=t.replace(/\+/g," ")),t.indexOf("%")!==-1?C(t,te):t):t,ee=(t,e,o)=>{let s;if(!o&&e&&!/[%+]/.test(e)){let d=t.indexOf("?",8);if(d===-1)return;for(t.startsWith(e,d+1)||(d=t.indexOf(`&${e}`,d+1));d!==-1;){const u=t.charCodeAt(d+e.length+1);if(u===61){const n=d+e.length+2,p=t.indexOf("&",n);return z(t.slice(n,p===-1?void 0:p))}else if(u==38||isNaN(u))return"";d=t.indexOf(`&${e}`,d+1)}if(s=/[%+]/.test(t),!s)return}const a={};s??=/[%+]/.test(t);let r=t.indexOf("?",8);for(;r!==-1;){const d=t.indexOf("&",r+1);let u=t.indexOf("=",r);u>d&&d!==-1&&(u=-1);let n=t.slice(r+1,u===-1?d===-1?void 0:d:u);if(s&&(n=z(n)),r=d,n==="")continue;let p;u===-1?p="":(p=t.slice(u+1,d===-1?void 0:d),s&&(p=z(p))),o?(a[n]&&Array.isArray(a[n])||(a[n]=[]),a[n].push(p)):a[n]??=p}return e?a[e]:a},ze=ee,Me=(t,e)=>ee(t,e,!0),te=decodeURIComponent,V=t=>C(t,te),oe=class{raw;#e;#t;routeIndex=0;path;bodyCache={};constructor(t,e="/",o=[[]]){this.raw=t,this.path=e,this.#t=o,this.#e={}}param(t){return t?this.#o(t):this.#r()}#o(t){const e=this.#t[0][this.routeIndex][1][t],o=this.#a(e);return o&&/\%/.test(o)?V(o):o}#r(){const t={},e=Object.keys(this.#t[0][this.routeIndex][1]);for(const o of e){const s=this.#a(this.#t[0][this.routeIndex][1][o]);s!==void 0&&(t[o]=/\%/.test(s)?V(s):s)}return t}#a(t){return this.#t[1]?this.#t[1][t]:t}query(t){return ze(this.url,t)}queries(t){return Me(this.url,t)}header(t){if(t)return this.raw.headers.get(t)??void 0;const e={};return this.raw.headers.forEach((o,s)=>{e[s]=o}),e}async parseBody(t){return this.bodyCache.parsedBody??=await Ae(this,t)}#s=t=>{const{bodyCache:e,raw:o}=this,s=e[t];if(s)return s;const a=Object.keys(e)[0];return a?e[a].then(r=>(a==="json"&&(r=JSON.stringify(r)),new Response(r)[t]())):e[t]=o[t]()};json(){return this.#s("text").then(t=>JSON.parse(t))}text(){return this.#s("text")}arrayBuffer(){return this.#s("arrayBuffer")}blob(){return this.#s("blob")}formData(){return this.#s("formData")}addValidatedData(t,e){this.#e[t]=e}valid(t){return this.#e[t]}get url(){return this.raw.url}get method(){return this.raw.method}get[be](){return this.#t}get matchedRoutes(){return this.#t[0].map(([[,t]])=>t)}get routePath(){return this.#t[0].map(([[,t]])=>t)[this.routeIndex].path}},Re={Stringify:1},se=async(t,e,o,s,a)=>{typeof t=="object"&&!(t instanceof String)&&(t instanceof Promise||(t=t.toString()),t instanceof Promise&&(t=await t));const r=t.callbacks;return r?.length?(a?a[0]+=t:a=[t],Promise.all(r.map(u=>u({phase:e,buffer:a,context:s}))).then(u=>Promise.all(u.filter(Boolean).map(n=>se(n,e,!1,s,a))).then(()=>a[0]))):Promise.resolve(t)},Ge="text/plain; charset=UTF-8",M=(t,e)=>({"Content-Type":t,...e}),Ce=class{#e;#t;env={};#o;finalized=!1;error;#r;#a;#s;#i;#u;#p;#n;#c;#l;constructor(t,e){this.#e=t,e&&(this.#a=e.executionCtx,this.env=e.env,this.#p=e.notFoundHandler,this.#l=e.path,this.#c=e.matchResult)}get req(){return this.#t??=new oe(this.#e,this.#l,this.#c),this.#t}get event(){if(this.#a&&"respondWith"in this.#a)return this.#a;throw Error("This context has no FetchEvent")}get executionCtx(){if(this.#a)return this.#a;throw Error("This context has no ExecutionContext")}get res(){return this.#s||=new Response(null,{headers:this.#n??=new Headers})}set res(t){if(this.#s&&t){t=new Response(t.body,t);for(const[e,o]of this.#s.headers.entries())if(e!=="content-type")if(e==="set-cookie"){const s=this.#s.headers.getSetCookie();t.headers.delete("set-cookie");for(const a of s)t.headers.append("set-cookie",a)}else t.headers.set(e,o)}this.#s=t,this.finalized=!0}render=(...t)=>(this.#u??=e=>this.html(e),this.#u(...t));setLayout=t=>this.#i=t;getLayout=()=>this.#i;setRenderer=t=>{this.#u=t};header=(t,e,o)=>{this.finalized&&(this.#s=new Response(this.#s.body,this.#s));const s=this.#s?this.#s.headers:this.#n??=new Headers;e===void 0?s.delete(t):o?.append?s.append(t,e):s.set(t,e)};status=t=>{this.#r=t};set=(t,e)=>{this.#o??=new Map,this.#o.set(t,e)};get=t=>this.#o?this.#o.get(t):void 0;get var(){return this.#o?Object.fromEntries(this.#o):{}}#d(t,e,o){const s=this.#s?new Headers(this.#s.headers):this.#n??new Headers;if(typeof e=="object"&&"headers"in e){const r=e.headers instanceof Headers?e.headers:new Headers(e.headers);for(const[d,u]of r)d.toLowerCase()==="set-cookie"?s.append(d,u):s.set(d,u)}if(o)for(const[r,d]of Object.entries(o))if(typeof d=="string")s.set(r,d);else{s.delete(r);for(const u of d)s.append(r,u)}const a=typeof e=="number"?e:e?.status??this.#r;return new Response(t,{status:a,headers:s})}newResponse=(...t)=>this.#d(...t);body=(t,e,o)=>this.#d(t,e,o);text=(t,e,o)=>!this.#n&&!this.#r&&!e&&!o&&!this.finalized?new Response(t):this.#d(t,e,M(Ge,o));json=(t,e,o)=>this.#d(JSON.stringify(t),e,M("application/json",o));html=(t,e,o)=>{const s=a=>this.#d(a,e,M("text/html; charset=UTF-8",o));return typeof t=="object"?se(t,Re.Stringify,!1,{}).then(s):s(t)};redirect=(t,e)=>{const o=String(t);return this.header("Location",/[^\x00-\xFF]/.test(o)?encodeURI(o):o),this.newResponse(null,e??302)};notFound=()=>(this.#p??=()=>new Response,this.#p(this))},f="ALL",qe="all",He=["get","post","put","delete","options","patch"],ae="Can not add a route since the matcher is already built.",q=class extends Error{},Le="__COMPOSED_HANDLER",Ve=t=>t.text("404 Not Found",404),N=(t,e)=>{if("getResponse"in t){const o=t.getResponse();return e.newResponse(o.body,o)}return console.error(t),e.text("Internal Server Error",500)},Ne=class re{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#e="/";routes=[];constructor(e={}){[...He,qe].forEach(r=>{this[r]=(d,...u)=>(typeof d=="string"?this.#e=d:this.#r(r,this.#e,d),u.forEach(n=>{this.#r(r,this.#e,n)}),this)}),this.on=(r,d,...u)=>{for(const n of[d].flat()){this.#e=n;for(const p of[r].flat())u.map(l=>{this.#r(p.toUpperCase(),this.#e,l)})}return this},this.use=(r,...d)=>(typeof r=="string"?this.#e=r:(this.#e="*",d.unshift(r)),d.forEach(u=>{this.#r(f,this.#e,u)}),this);const{strict:s,...a}=e;Object.assign(this,a),this.getPath=s??!0?e.getPath??Q:De}#t(){const e=new re({router:this.router,getPath:this.getPath});return e.errorHandler=this.errorHandler,e.#o=this.#o,e.routes=this.routes,e}#o=Ve;errorHandler=N;route(e,o){const s=this.basePath(e);return o.routes.map(a=>{let r;o.errorHandler===N?r=a.handler:(r=async(d,u)=>(await L([],o.errorHandler)(d,()=>a.handler(d,u))).res,r[Le]=a.handler),s.#r(a.method,a.path,r)}),this}basePath(e){const o=this.#t();return o._basePath=A(this._basePath,e),o}onError=e=>(this.errorHandler=e,this);notFound=e=>(this.#o=e,this);mount(e,o,s){let a,r;s&&(typeof s=="function"?r=s:(r=s.optionHandler,s.replaceRequest===!1?a=n=>n:a=s.replaceRequest));const d=r?n=>{const p=r(n);return Array.isArray(p)?p:[p]}:n=>{let p;try{p=n.executionCtx}catch{}return[n.env,p]};a||=(()=>{const n=A(this._basePath,e),p=n==="/"?0:n.length;return l=>{const k=new URL(l.url);return k.pathname=k.pathname.slice(p)||"/",new Request(k,l)}})();const u=async(n,p)=>{const l=await o(a(n.req.raw),...d(n));if(l)return l;await p()};return this.#r(f,A(e,"*"),u),this}#r(e,o,s){e=e.toUpperCase(),o=A(this._basePath,o);const a={basePath:this._basePath,path:o,method:e,handler:s};this.router.add(e,o,[s,a]),this.routes.push(a)}#a(e,o){if(e instanceof Error)return this.errorHandler(e,o);throw e}#s(e,o,s,a){if(a==="HEAD")return(async()=>new Response(null,await this.#s(e,o,s,"GET")))();const r=this.getPath(e,{env:s}),d=this.router.match(a,r),u=new Ce(e,{path:r,matchResult:d,env:s,executionCtx:o,notFoundHandler:this.#o});if(d[0].length===1){let p;try{p=d[0][0][0][0](u,async()=>{u.res=await this.#o(u)})}catch(l){return this.#a(l,u)}return p instanceof Promise?p.then(l=>l||(u.finalized?u.res:this.#o(u))).catch(l=>this.#a(l,u)):p??this.#o(u)}const n=L(d[0],this.errorHandler,this.#o);return(async()=>{try{const p=await n(u);if(!p.finalized)throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?");return p.res}catch(p){return this.#a(p,u)}})()}fetch=(e,...o)=>this.#s(e,o[1],o[0],e.method);request=(e,o,s,a)=>e instanceof Request?this.fetch(o?new Request(e,o):e,s,a):(e=e.toString(),this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${A("/",e)}`,o),s,a));fire=()=>{addEventListener("fetch",e=>{e.respondWith(this.#s(e.request,e,void 0,e.request.method))})}},de=[];function Ke(t,e){const o=this.buildAllMatchers(),s=((a,r)=>{const d=o[a]||o[f],u=d[2][r];if(u)return u;const n=r.match(d[0]);if(!n)return[[],de];const p=n.indexOf("",1);return[d[1][p],n]});return this.match=s,s(t,e)}var U="[^/]+",Z=".*",O="(?:|/.*)",j=Symbol(),Fe=new Set(".\\+*[^]$()");function Be(t,e){return t.length===1?e.length===1?t<e?-1:1:-1:e.length===1||t===Z||t===O?1:e===Z||e===O?-1:t===U?1:e===U?-1:t.length===e.length?t<e?-1:1:e.length-t.length}var We=class G{#e;#t;#o=Object.create(null);insert(e,o,s,a,r){if(e.length===0){if(this.#e!==void 0)throw j;if(r)return;this.#e=o;return}const[d,...u]=e,n=d==="*"?u.length===0?["","",Z]:["","",U]:d==="/*"?["","",O]:d.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);let p;if(n){const l=n[1];let k=n[2]||U;if(l&&n[2]&&(k===".*"||(k=k.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:"),/\((?!\?:)/.test(k))))throw j;if(p=this.#o[k],!p){if(Object.keys(this.#o).some(m=>m!==Z&&m!==O))throw j;if(r)return;p=this.#o[k]=new G,l!==""&&(p.#t=a.varIndex++)}!r&&l!==""&&s.push([l,p.#t])}else if(p=this.#o[d],!p){if(Object.keys(this.#o).some(l=>l.length>1&&l!==Z&&l!==O))throw j;if(r)return;p=this.#o[d]=new G}p.insert(u,o,s,a,r)}buildRegExpStr(){const o=Object.keys(this.#o).sort(Be).map(s=>{const a=this.#o[s];return(typeof a.#t=="number"?`(${s})@${a.#t}`:Fe.has(s)?`\\${s}`:s)+a.buildRegExpStr()});return typeof this.#e=="number"&&o.unshift(`#${this.#e}`),o.length===0?"":o.length===1?o[0]:"(?:"+o.join("|")+")"}},Ye=class{#e={varIndex:0};#t=new We;insert(t,e,o){const s=[],a=[];for(let d=0;;){let u=!1;if(t=t.replace(/\{[^}]+\}/g,n=>{const p=`@\\${d}`;return a[d]=[p,n],d++,u=!0,p}),!u)break}const r=t.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let d=a.length-1;d>=0;d--){const[u]=a[d];for(let n=r.length-1;n>=0;n--)if(r[n].indexOf(u)!==-1){r[n]=r[n].replace(u,a[d][1]);break}}return this.#t.insert(r,e,s,this.#e,o),s}buildRegExp(){let t=this.#t.buildRegExpStr();if(t==="")return[/^$/,[],[]];let e=0;const o=[],s=[];return t=t.replace(/#(\d+)|@(\d+)|\.\*\$/g,(a,r,d)=>r!==void 0?(o[++e]=Number(r),"$()"):(d!==void 0&&(s[Number(d)]=++e),"")),[new RegExp(`^${t}`),o,s]}},Je=[/^$/,[],Object.create(null)],ne=Object.create(null);function ue(t){return ne[t]??=new RegExp(t==="*"?"":`^${t.replace(/\/\*$|([.\\+*[^\]$()])/g,(e,o)=>o?`\\${o}`:"(?:|/.*)")}$`)}function Qe(){ne=Object.create(null)}function Xe(t){const e=new Ye,o=[];if(t.length===0)return Je;const s=t.map(p=>[!/\*|\/:/.test(p[0]),...p]).sort(([p,l],[k,m])=>p?1:k?-1:l.length-m.length),a=Object.create(null);for(let p=0,l=-1,k=s.length;p<k;p++){const[m,h,v]=s[p];m?a[h]=[v.map(([g])=>[g,Object.create(null)]),de]:l++;let y;try{y=e.insert(h,l,m)}catch(g){throw g===j?new q(h):g}m||(o[l]=v.map(([g,T])=>{const P=Object.create(null);for(T-=1;T>=0;T--){const[E,w]=y[T];P[E]=w}return[g,P]}))}const[r,d,u]=e.buildRegExp();for(let p=0,l=o.length;p<l;p++)for(let k=0,m=o[p].length;k<m;k++){const h=o[p][k]?.[1];if(!h)continue;const v=Object.keys(h);for(let y=0,g=v.length;y<g;y++)h[v[y]]=u[h[v[y]]]}const n=[];for(const p in d)n[p]=o[d[p]];return[r,n,a]}function b(t,e){if(t){for(const o of Object.keys(t).sort((s,a)=>a.length-s.length))if(ue(o).test(e))return[...t[o]]}}var et=class{name="RegExpRouter";#e;#t;constructor(){this.#e={[f]:Object.create(null)},this.#t={[f]:Object.create(null)}}add(t,e,o){const s=this.#e,a=this.#t;if(!s||!a)throw new Error(ae);s[t]||[s,a].forEach(u=>{u[t]=Object.create(null),Object.keys(u[f]).forEach(n=>{u[t][n]=[...u[f][n]]})}),e==="/*"&&(e="*");const r=(e.match(/\/:/g)||[]).length;if(/\*$/.test(e)){const u=ue(e);t===f?Object.keys(s).forEach(n=>{s[n][e]||=b(s[n],e)||b(s[f],e)||[]}):s[t][e]||=b(s[t],e)||b(s[f],e)||[],Object.keys(s).forEach(n=>{(t===f||t===n)&&Object.keys(s[n]).forEach(p=>{u.test(p)&&s[n][p].push([o,r])})}),Object.keys(a).forEach(n=>{(t===f||t===n)&&Object.keys(a[n]).forEach(p=>u.test(p)&&a[n][p].push([o,r]))});return}const d=X(e)||[e];for(let u=0,n=d.length;u<n;u++){const p=d[u];Object.keys(a).forEach(l=>{(t===f||t===l)&&(a[l][p]||=[...b(s[l],p)||b(s[f],p)||[]],a[l][p].push([o,r-n+u+1]))})}}match=Ke;buildAllMatchers(){const t=Object.create(null);return Object.keys(this.#t).concat(Object.keys(this.#e)).forEach(e=>{t[e]||=this.#o(e)}),this.#e=this.#t=void 0,Qe(),t}#o(t){const e=[];let o=t===f;return[this.#e,this.#t].forEach(s=>{const a=s[t]?Object.keys(s[t]).map(r=>[r,s[t][r]]):[];a.length!==0?(o||=!0,e.push(...a)):t!==f&&e.push(...Object.keys(s[f]).map(r=>[r,s[f][r]]))}),o?Xe(e):null}},tt=class{name="SmartRouter";#e=[];#t=[];constructor(t){this.#e=t.routers}add(t,e,o){if(!this.#t)throw new Error(ae);this.#t.push([t,e,o])}match(t,e){if(!this.#t)throw new Error("Fatal error");const o=this.#e,s=this.#t,a=o.length;let r=0,d;for(;r<a;r++){const u=o[r];try{for(let n=0,p=s.length;n<p;n++)u.add(...s[n]);d=u.match(t,e)}catch(n){if(n instanceof q)continue;throw n}this.match=u.match.bind(u),this.#e=[u],this.#t=void 0;break}if(r===a)throw new Error("Fatal error");return this.name=`SmartRouter + ${this.activeRouter.name}`,d}get activeRouter(){if(this.#t||this.#e.length!==1)throw new Error("No active router has been determined yet.");return this.#e[0]}},I=Object.create(null),ot=class pe{#e;#t;#o;#r=0;#a=I;constructor(e,o,s){if(this.#t=s||Object.create(null),this.#e=[],e&&o){const a=Object.create(null);a[e]={handler:o,possibleKeys:[],score:0},this.#e=[a]}this.#o=[]}insert(e,o,s){this.#r=++this.#r;let a=this;const r=Oe(o),d=[];for(let u=0,n=r.length;u<n;u++){const p=r[u],l=r[u+1],k=$e(p,l),m=Array.isArray(k)?k[0]:p;if(m in a.#t){a=a.#t[m],k&&d.push(k[1]);continue}a.#t[m]=new pe,k&&(a.#o.push(k),d.push(k[1])),a=a.#t[m]}return a.#e.push({[e]:{handler:s,possibleKeys:d.filter((u,n,p)=>p.indexOf(u)===n),score:this.#r}}),a}#s(e,o,s,a){const r=[];for(let d=0,u=e.#e.length;d<u;d++){const n=e.#e[d],p=n[o]||n[f],l={};if(p!==void 0&&(p.params=Object.create(null),r.push(p),s!==I||a&&a!==I))for(let k=0,m=p.possibleKeys.length;k<m;k++){const h=p.possibleKeys[k],v=l[p.score];p.params[h]=a?.[h]&&!v?a[h]:s[h]??a?.[h],l[p.score]=!0}}return r}search(e,o){const s=[];this.#a=I;let r=[this];const d=J(o),u=[];for(let n=0,p=d.length;n<p;n++){const l=d[n],k=n===p-1,m=[];for(let h=0,v=r.length;h<v;h++){const y=r[h],g=y.#t[l];g&&(g.#a=y.#a,k?(g.#t["*"]&&s.push(...this.#s(g.#t["*"],e,y.#a)),s.push(...this.#s(g,e,y.#a))):m.push(g));for(let T=0,P=y.#o.length;T<P;T++){const E=y.#o[T],w=y.#a===I?{}:{...y.#a};if(E==="*"){const _=y.#t["*"];_&&(s.push(...this.#s(_,e,y.#a)),_.#a=w,m.push(_));continue}const[me,H,S]=E;if(!l&&!(S instanceof RegExp))continue;const x=y.#t[me],ke=d.slice(n).join("/");if(S instanceof RegExp){const _=S.exec(ke);if(_){if(w[H]=_[0],s.push(...this.#s(x,e,y.#a,w)),Object.keys(x.#t).length){x.#a=w;const ye=_[0].match(/\//)?.length??0;(u[ye]||=[]).push(x)}continue}}(S===!0||S.test(l))&&(w[H]=l,k?(s.push(...this.#s(x,e,w,y.#a)),x.#t["*"]&&s.push(...this.#s(x.#t["*"],e,w,y.#a))):(x.#a=w,m.push(x)))}}r=m.concat(u.shift()??[])}return s.length>1&&s.sort((n,p)=>n.score-p.score),[s.map(({handler:n,params:p})=>[n,p])]}},st=class{name="TrieRouter";#e;constructor(){this.#e=new ot}add(t,e,o){const s=X(e);if(s){for(let a=0,r=s.length;a<r;a++)this.#e.insert(t,s[a],o);return}this.#e.insert(t,e,o)}match(t,e){return this.#e.search(t,e)}},at=class extends Ne{constructor(t={}){super(t),this.router=t.router??new tt({routers:[new et,new st]})}},rt=Object.create(null),dt=class{name="PatternRouter";#e=[];add(t,e,o){const s=e.at(-1)==="*";s&&(e=e.slice(0,-2)),e.at(-1)==="?"&&(e=e.slice(0,-1),this.add(t,e.replace(/\/[^/]+$/,""),o));const a=(e.match(/\/?(:\w+(?:{(?:(?:{[\d,]+})|[^}])+})?)|\/?[^\/\?]+/g)||[]).map(r=>{const d=r.match(/^\/:([^{]+)(?:{(.*)})?/);return d?`/(?<${d[1]}>${d[2]||"[^/]+"})`:r==="/*"?"/[^/]+":r.replace(/[.\\+*[^\]$()]/g,"\\$&")});try{this.#e.push([new RegExp(`^${a.join("")}${s?"":"/?$"}`),t,o])}catch{throw new q}}match(t,e){const o=[];for(let s=0,a=this.#e.length;s<a;s++){const[r,d,u]=this.#e[s];if(d===t||d===f){const n=r.exec(e);n&&o.push([u,n.groups||rt])}}return[o]}},nt=(t,e={fetch:globalThis.fetch.bind(globalThis)})=>o=>{o.respondWith((async()=>{const s=await t.fetch(o.request,{},o);return e.fetch&&s.status===404?await e.fetch(o.request):s})())};function ie(t,e){if(/^(?:data|http|https|file):/.test(t))return t;if(!e)throw new Error("moduleBase is required for relative module paths.");const o=typeof e=="string"?e:e.href;if(/^(?:data|http|https|file):/.test(o))return new URL(t,o).href;const s=o.endsWith("/")?o:`${o}/`,a=t.startsWith("./")?t.slice(2):t.startsWith("/")?t.slice(1):t;return`${s}${a}`}function ut(t){return t?Array.isArray(t)?t:typeof t=="function"?[{handler:t}]:typeof t=="object"?[t]:[{handler:t}]:[]}async function pt(t,e){if(!t)return;const o=t.handler;return typeof o=="function"?o(e):o}function it(t){return t&&typeof t=="object"&&"middleware"in t?t.middleware:t}function ct(t){const e=it(t);return e?Array.isArray(e)?e.filter(o=>typeof o=="function"):typeof e=="function"?[e]:[]:[]}async function ce(t,e,o,s){const a=s?.[t],r=a?void 0:ie(t,o),d=r?s?.[r]:void 0,n=a??d??await import(r??t);return n[e]??n.default??n}function le(t,e,o,s){return s?.[t]?`${t}::${e}`:`${ie(t,o)}::${e}`}async function lt(t,e,o,s){const a=t.exportName??"default",r=le(t.module,a,o,s);let d=e.get(r);if(!d){const u=await ce(t.module,a,o,s);d=ut(u),e.set(r,d)}return typeof t.ruleIndex=="number"?d[t.ruleIndex]:d[0]}async function mt(t,e,o,s){const a=t.exportName??"default",r=le(t.module,a,o,s);let d=e.get(r);if(!d){const u=await ce(t.module,a,o,s);d=ct(u),e.set(r,d)}return typeof t.ruleIndex=="number"?d[t.ruleIndex]:d[0]}const kt=new Set(["GET","POST","PUT","PATCH","DELETE","OPTIONS","HEAD"]);function yt(t){if(!t)return;const e=t.toUpperCase();if(kt.has(e))return e}function ft(t){return new Promise(e=>setTimeout(e,t))}function ht(t){if(typeof atob=="function"){const e=atob(t),o=new Uint8Array(e.length);for(let s=0;s<e.length;s+=1)o[s]=e.charCodeAt(s);return o}throw new Error("Base64 decoding is not supported in this runtime.")}function gt(t){return!t||t.length===0?"/":`/${t.map(o=>o.type==="static"?o.value:o.type==="param"?`:${o.name}`:o.type==="catchall"?`:${o.name}{.+}`:`:${o.name}{.+}?`).join("/")}`}function vt(t){const e=[];for(const o of t.routes){const s=yt(o.method)??"GET",a=o.tokens?{tokens:o.tokens,score:o.score??W(o.tokens),errors:[]}:_e(o.url);a.errors.length>0||e.push({route:o,method:s,tokens:o.tokens??a.tokens,score:o.score??a.score})}return e.sort((o,s)=>o.method!==s.method?o.method.localeCompare(s.method):xe(o.score,s.score))}function K(t){return typeof t=="number"&&Number.isFinite(t)&&t>=200&&t<=599}function wt(t,e){return K(t)?t:K(e)?e:200}function xt(t,e){const o=new Headers(t.headers),s=!!e.headers&&Object.keys(e.headers).length>0;if(e.headers)for(const[r,d]of Object.entries(e.headers))o.set(r,d);const a=wt(e.status,t.status);return a===t.status&&!s?t:new Response(t.body,{status:a,headers:o})}function Tt(t,e){if(t instanceof Response)return t;if(t&&typeof t=="object"&&"res"in t){const o=t.res;if(o instanceof Response)return o}return e}function F(t,e){if(e instanceof Response)return e;if(typeof e>"u"){const o=t.body(null);return o.status===200?new Response(o.body,{status:204,headers:o.headers}):o}if(typeof e=="string")return t.text(e);if(e instanceof Uint8Array||e instanceof ArrayBuffer){t.res.headers.get("content-type")||t.header("content-type","application/octet-stream");const o=e instanceof ArrayBuffer?e:new Uint8Array(e);return t.body(o)}return t.json(e)}function _t(t){const{route:e,moduleCache:o,moduleBase:s,moduleMap:a}=t;return async r=>{if(e.response.type==="json")return typeof e.response.body>"u"?F(r,void 0):r.json(e.response.body);if(e.response.type==="text")return r.text(e.response.body);if(e.response.type==="binary"){const n=new Uint8Array(ht(e.response.body));return r.header("content-type","application/octet-stream"),r.body(n)}const d=await lt(e.response,o,s,a),u=await pt(d,r);return F(r,u)}}function bt(t){return async(e,o)=>{const s=await o(),a=Tt(s,e.res);t.delay&&t.delay>0&&await ft(t.delay);const r=xt(a,t);return e.res=r,r}}async function At(t){const{manifest:e,moduleCache:o,middlewareCache:s,moduleBase:a,moduleMap:r}=t,d=new at({router:new dt,strict:!1}),u=vt(e);for(const n of u){const p=[];for(const k of n.route.middleware??[]){const m=await mt(k,s,a,r);m&&p.push(m)}const l=_t({route:n.route,moduleCache:o,...typeof a<"u"?{moduleBase:a}:{},...typeof r<"u"?{moduleMap:r}:{}});d.on(n.method,gt(n.tokens),bt(n.route),...p,l)}return d}async function jt(t){const e=typeof t.manifest=="function"?await t.manifest():t.manifest;return await At({manifest:e,moduleCache:new Map,middlewareCache:new Map,...typeof t.moduleBase<"u"?{moduleBase:t.moduleBase}:{},...typeof t.moduleMap<"u"?{moduleMap:t.moduleMap}:{}})}const St=t=>{const e=t.req.param("id")??"ses_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},It=Object.freeze(Object.defineProperty({__proto__:null,default:St},Symbol.toStringTag,{value:"Module"})),Zt=t=>{const e=t.req.param("id")??"met_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Ot=Object.freeze(Object.defineProperty({__proto__:null,default:Zt},Symbol.toStringTag,{value:"Module"})),Pt=t=>{const e=t.req.param("id")??"bil_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Et=Object.freeze(Object.defineProperty({__proto__:null,default:Pt},Symbol.toStringTag,{value:"Module"})),$t=t=>{const e=t.req.param("id")??"crt_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Ut=Object.freeze(Object.defineProperty({__proto__:null,default:$t},Symbol.toStringTag,{value:"Module"})),Dt=t=>{const e=t.req.param("id")??"prd_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},zt=Object.freeze(Object.defineProperty({__proto__:null,default:Dt},Symbol.toStringTag,{value:"Module"})),Mt=t=>{const e=t.req.param("id")??"pst_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Rt=Object.freeze(Object.defineProperty({__proto__:null,default:Mt},Symbol.toStringTag,{value:"Module"})),Gt=t=>{const e=t.req.param("id")??"frd_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Ct=Object.freeze(Object.defineProperty({__proto__:null,default:Gt},Symbol.toStringTag,{value:"Module"})),qt=t=>{const e=t.req.param("id")??"grp_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Ht=Object.freeze(Object.defineProperty({__proto__:null,default:qt},Symbol.toStringTag,{value:"Module"})),Lt=t=>{const e=t.req.param("id")??"inv_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Vt=Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"})),Nt=t=>{const e=t.req.param("id")??"med_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Kt=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"})),Ft=t=>{const e=t.req.param("id")??"msg_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Bt=Object.freeze(Object.defineProperty({__proto__:null,default:Ft},Symbol.toStringTag,{value:"Module"})),Wt=t=>{const e=t.req.param("id")??"not_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Yt=Object.freeze(Object.defineProperty({__proto__:null,default:Wt},Symbol.toStringTag,{value:"Module"})),Jt=t=>{const e=t.req.param("id")??"ord_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},Qt=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"})),Xt=t=>{const e=t.req.param("id")??"org_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},eo=Object.freeze(Object.defineProperty({__proto__:null,default:Xt},Symbol.toStringTag,{value:"Module"})),to=t=>{const e=t.req.param("id")??"pay_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},oo=Object.freeze(Object.defineProperty({__proto__:null,default:to},Symbol.toStringTag,{value:"Module"})),so=t=>{const e=t.req.param("id")??"pro_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},ao=Object.freeze(Object.defineProperty({__proto__:null,default:so},Symbol.toStringTag,{value:"Module"})),ro=t=>{const e=t.req.param("id")??"prj_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},no=Object.freeze(Object.defineProperty({__proto__:null,default:ro},Symbol.toStringTag,{value:"Module"})),uo=t=>{const e=t.req.param("id")??"rev_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},po=Object.freeze(Object.defineProperty({__proto__:null,default:uo},Symbol.toStringTag,{value:"Module"})),io=t=>{const e=t.req.param("id")??"set_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},co=Object.freeze(Object.defineProperty({__proto__:null,default:io},Symbol.toStringTag,{value:"Module"})),lo=t=>{const e=t.req.param("id")??"shp_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},mo=Object.freeze(Object.defineProperty({__proto__:null,default:lo},Symbol.toStringTag,{value:"Module"})),ko=t=>{const e=t.req.param("id")??"usr_unknown";return{ok:!0,id:Array.isArray(e)?e.join("-"):e}},yo=Object.freeze(Object.defineProperty({__proto__:null,default:ko},Symbol.toStringTag,{value:"Module"})),fo=t=>{const e=t.req.param("id")??"met_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Metric ${o}`;return{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{period:"30d",value:1280,trend:"up"}}},ho=Object.freeze(Object.defineProperty({__proto__:null,default:fo},Symbol.toStringTag,{value:"Module"})),go=t=>{const e=t.req.param("id")??"bil_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Billing Account ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}},vo=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"})),wo=t=>{const e=t.req.param("id")??"crt_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Cart ${o}`;return{id:o,name:s,status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}},xo=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"})),To=t=>{const e=t.req.param("id")??"prd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Product ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}},_o=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"})),bo=t=>{const e=t.req.param("id")??"pst_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Post ${o}`;return{id:o,title:s,status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{authorId:"usr_1001",content:"Sample post content",likes:12}}},Ao=Object.freeze(Object.defineProperty({__proto__:null,default:bo},Symbol.toStringTag,{value:"Module"})),jo=t=>{const e=t.req.param("id")??"frd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Friend ${o}`;return{id:o,name:s,status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{since:"2025-12-20"}}},So=Object.freeze(Object.defineProperty({__proto__:null,default:jo},Symbol.toStringTag,{value:"Module"})),Io=t=>{const e=t.req.param("id")??"grp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Group ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{membersCount:12,privacy:"private"}}},Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"})),Oo=t=>{const e=t.req.param("id")??"inv_unknown",o=Array.isArray(e)?e.join("-"):e,s=`SKU ${o}`;return{id:o,sku:s,status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{quantity:120,location:"wh-1"}}},Po=Object.freeze(Object.defineProperty({__proto__:null,default:Oo},Symbol.toStringTag,{value:"Module"})),Eo=t=>{const e=t.req.param("id")??"med_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Media ${o}`;return{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{type:"image",url:"https://cdn.example.com/media.png",size:2048}}},$o=Object.freeze(Object.defineProperty({__proto__:null,default:Eo},Symbol.toStringTag,{value:"Module"})),Uo=t=>{const e=t.req.param("id")??"msg_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Message ${o}`;return{id:o,subject:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}},Do=Object.freeze(Object.defineProperty({__proto__:null,default:Uo},Symbol.toStringTag,{value:"Module"})),zo=t=>{const e=t.req.param("id")??"not_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Notification ${o}`;return{id:o,title:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{type:"system",read:!1,channel:"email"}}},Mo=Object.freeze(Object.defineProperty({__proto__:null,default:zo},Symbol.toStringTag,{value:"Module"})),Ro=t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=`ORD ${o}`;return{id:o,number:s,status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}},Go=Object.freeze(Object.defineProperty({__proto__:null,default:Ro},Symbol.toStringTag,{value:"Module"})),Co=t=>{const e=t.req.param("id")??"org_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Org ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{domain:"example.com",plan:"pro",membersCount:12}}},qo=Object.freeze(Object.defineProperty({__proto__:null,default:Co},Symbol.toStringTag,{value:"Module"})),Ho=t=>{const e=t.req.param("id")??"pay_unknown",o=Array.isArray(e)?e.join("-"):e,s=`PAY ${o}`;return{id:o,reference:s,status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{amount:{amount:120,currency:"USD"},provider:"stripe"}}},Lo=Object.freeze(Object.defineProperty({__proto__:null,default:Ho},Symbol.toStringTag,{value:"Module"})),Vo=t=>{const e=t.req.param("id")??"pro_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Profile ${o}`;return{id:o,displayName:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}},No=Object.freeze(Object.defineProperty({__proto__:null,default:Vo},Symbol.toStringTag,{value:"Module"})),Ko=t=>{const e=t.req.param("id")??"prj_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Project ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}},Fo=Object.freeze(Object.defineProperty({__proto__:null,default:Ko},Symbol.toStringTag,{value:"Module"})),Bo=t=>{const e=t.req.param("id")??"rev_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Review ${o}`;return{id:o,title:s,status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{rating:4,productId:"prd_1001",authorId:"usr_1002"}}},Wo=Object.freeze(Object.defineProperty({__proto__:null,default:Bo},Symbol.toStringTag,{value:"Module"})),Yo=t=>{const e=t.req.param("id")??"set_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Setting ${o}`;return{id:o,key:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{value:"enabled",scope:"org"}}},Jo=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"})),Qo=t=>{const e=t.req.param("id")??"shp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`TRK ${o}`;return{id:o,tracking:s,status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{carrier:"DHL",eta:"2026-01-22"}}},Xo=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"})),es=t=>{const e=t.req.param("id")??"usr_unknown",o=Array.isArray(e)?e.join("-"):e,s=`User ${o}`;return{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",...{email:"user@example.com",role:"member"}}},ts=Object.freeze(Object.defineProperty({__proto__:null,default:es},Symbol.toStringTag,{value:"Module"})),os=t=>{const e=t.req.param("id")??"met_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Metric ${o}`;return{ok:!0,data:{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{period:"30d",value:1280,trend:"up"}}}},ss=Object.freeze(Object.defineProperty({__proto__:null,default:os},Symbol.toStringTag,{value:"Module"})),as=t=>{const e=t.req.param("id")??"bil_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Billing Account ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}}},rs=Object.freeze(Object.defineProperty({__proto__:null,default:as},Symbol.toStringTag,{value:"Module"})),ds=t=>{const e=t.req.param("id")??"crt_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Cart ${o}`;return{ok:!0,data:{id:o,name:s,status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}}},ns=Object.freeze(Object.defineProperty({__proto__:null,default:ds},Symbol.toStringTag,{value:"Module"})),us=t=>{const e=t.req.param("id")??"prd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Product ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}}},ps=Object.freeze(Object.defineProperty({__proto__:null,default:us},Symbol.toStringTag,{value:"Module"})),is=t=>{const e=t.req.param("id")??"pst_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Post ${o}`;return{ok:!0,data:{id:o,title:s,status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{authorId:"usr_1001",content:"Sample post content",likes:12}}}},cs=Object.freeze(Object.defineProperty({__proto__:null,default:is},Symbol.toStringTag,{value:"Module"})),ls=t=>{const e=t.req.param("id")??"frd_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Friend ${o}`;return{ok:!0,data:{id:o,name:s,status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{since:"2025-12-20"}}}},ms=Object.freeze(Object.defineProperty({__proto__:null,default:ls},Symbol.toStringTag,{value:"Module"})),ks=t=>{const e=t.req.param("id")??"grp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Group ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{membersCount:12,privacy:"private"}}}},ys=Object.freeze(Object.defineProperty({__proto__:null,default:ks},Symbol.toStringTag,{value:"Module"})),fs=t=>{const e=t.req.param("id")??"inv_unknown",o=Array.isArray(e)?e.join("-"):e,s=`SKU ${o}`;return{ok:!0,data:{id:o,sku:s,status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{quantity:120,location:"wh-1"}}}},hs=Object.freeze(Object.defineProperty({__proto__:null,default:fs},Symbol.toStringTag,{value:"Module"})),gs=t=>{const e=t.req.param("id")??"med_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Media ${o}`;return{ok:!0,data:{id:o,name:s,status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{type:"image",url:"https://cdn.example.com/media.png",size:2048}}}},vs=Object.freeze(Object.defineProperty({__proto__:null,default:gs},Symbol.toStringTag,{value:"Module"})),ws=t=>{const e=t.req.param("id")??"msg_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Message ${o}`;return{ok:!0,data:{id:o,subject:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}}},xs=Object.freeze(Object.defineProperty({__proto__:null,default:ws},Symbol.toStringTag,{value:"Module"})),Ts=t=>{const e=t.req.param("id")??"not_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Notification ${o}`;return{ok:!0,data:{id:o,title:s,status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{type:"system",read:!1,channel:"email"}}}},_s=Object.freeze(Object.defineProperty({__proto__:null,default:Ts},Symbol.toStringTag,{value:"Module"})),bs=t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=`ORD ${o}`;return{ok:!0,data:{id:o,number:s,status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}}},As=Object.freeze(Object.defineProperty({__proto__:null,default:bs},Symbol.toStringTag,{value:"Module"})),js=t=>{const e=t.req.param("id")??"org_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Org ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{domain:"example.com",plan:"pro",membersCount:12}}}},Ss=Object.freeze(Object.defineProperty({__proto__:null,default:js},Symbol.toStringTag,{value:"Module"})),Is=t=>{const e=t.req.param("id")??"pay_unknown",o=Array.isArray(e)?e.join("-"):e,s=`PAY ${o}`;return{ok:!0,data:{id:o,reference:s,status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{amount:{amount:120,currency:"USD"},provider:"stripe"}}}},Zs=Object.freeze(Object.defineProperty({__proto__:null,default:Is},Symbol.toStringTag,{value:"Module"})),Os=t=>{const e=t.req.param("id")??"pro_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Profile ${o}`;return{ok:!0,data:{id:o,displayName:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}}},Ps=Object.freeze(Object.defineProperty({__proto__:null,default:Os},Symbol.toStringTag,{value:"Module"})),Es=t=>{const e=t.req.param("id")??"prj_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Project ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}}},$s=Object.freeze(Object.defineProperty({__proto__:null,default:Es},Symbol.toStringTag,{value:"Module"})),Us=t=>{const e=t.req.param("id")??"rev_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Review ${o}`;return{ok:!0,data:{id:o,title:s,status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{rating:4,productId:"prd_1001",authorId:"usr_1002"}}}},Ds=Object.freeze(Object.defineProperty({__proto__:null,default:Us},Symbol.toStringTag,{value:"Module"})),zs=t=>{const e=t.req.param("id")??"set_unknown",o=Array.isArray(e)?e.join("-"):e,s=`Setting ${o}`;return{ok:!0,data:{id:o,key:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{value:"enabled",scope:"org"}}}},Ms=Object.freeze(Object.defineProperty({__proto__:null,default:zs},Symbol.toStringTag,{value:"Module"})),Rs=t=>{const e=t.req.param("id")??"shp_unknown",o=Array.isArray(e)?e.join("-"):e,s=`TRK ${o}`;return{ok:!0,data:{id:o,tracking:s,status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{carrier:"DHL",eta:"2026-01-22"}}}},Gs=Object.freeze(Object.defineProperty({__proto__:null,default:Rs},Symbol.toStringTag,{value:"Module"})),Cs=t=>{const e=t.req.param("id")??"usr_unknown",o=Array.isArray(e)?e.join("-"):e,s=`User ${o}`;return{ok:!0,data:{id:o,name:s,status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",...{email:"user@example.com",role:"member"}}}},qs=Object.freeze(Object.defineProperty({__proto__:null,default:Cs},Symbol.toStringTag,{value:"Module"})),Hs=async t=>{const e=await t.req.json().catch(()=>({})),o=e&&typeof e=="object"?e:{},s=o.username,a=o.password;return s!=="demo"||a!=="mokup"?(t.status(401),{ok:!1,error:"invalid_credentials"}):{token:"mokup-demo-token",expiresIn:3600,user:{id:"usr_1001",name:"Demo User",email:"demo@example.com"}}},Ls=Object.freeze(Object.defineProperty({__proto__:null,default:Hs},Symbol.toStringTag,{value:"Module"})),Vs=async t=>{const e=await t.req.json().catch(()=>({})),o=e&&typeof e=="object"?e:{},s=t.req.query("fail")??o.fail,a=Array.isArray(s)?s[0]:s;return a==="1"||a==="true"||a===!0?(t.status(402),{ok:!1,error:"payment_required"}):{ok:!0,paymentId:"pay_2001",status:"authorized",amount:{amount:120,currency:"USD"}}},Ns=Object.freeze(Object.defineProperty({__proto__:null,default:Vs},Symbol.toStringTag,{value:"Module"})),Ks=async t=>{const e=t.req.param("id")??"ord_unknown",o=Array.isArray(e)?e.join("-"):e,s=await t.req.json().catch(()=>({})),a=s&&typeof s=="object"?s:{},r=t.req.query("status")??a.status;return(Array.isArray(r)?r[0]:r)==="shipped"?(t.status(409),{ok:!1,error:"order_already_shipped",id:o}):{ok:!0,id:o,status:"canceled"}},Fs=Object.freeze(Object.defineProperty({__proto__:null,default:Ks},Symbol.toStringTag,{value:"Module"})),Bs=t=>(t.status(201),{ok:!0,data:{id:"met_2001",name:"Metric 2001",status:"ready",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",period:"30d",value:1280,trend:"up"}}),Ws=Object.freeze(Object.defineProperty({__proto__:null,default:Bs},Symbol.toStringTag,{value:"Module"})),Ys=t=>(t.status(201),{ok:!0,data:{id:"bil_2001",name:"Billing Account 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}}),Js=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"})),Qs=t=>(t.status(201),{ok:!0,data:{id:"crt_2001",name:"Cart 2001",status:"open",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}}),Xs=Object.freeze(Object.defineProperty({__proto__:null,default:Qs},Symbol.toStringTag,{value:"Module"})),ea=t=>(t.status(201),{ok:!0,data:{id:"prd_2001",name:"Product 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}}),ta=Object.freeze(Object.defineProperty({__proto__:null,default:ea},Symbol.toStringTag,{value:"Module"})),oa=t=>(t.status(201),{ok:!0,data:{id:"pst_2001",title:"Post 2001",status:"published",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}}),sa=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"})),aa=t=>(t.status(201),{ok:!0,data:{id:"frd_2001",name:"Friend 2001",status:"accepted",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",since:"2025-12-20"}}),ra=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"})),da=t=>(t.status(201),{ok:!0,data:{id:"grp_2001",name:"Group 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",membersCount:12,privacy:"private"}}),na=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"})),ua=t=>(t.status(201),{ok:!0,data:{id:"inv_2001",sku:"SKU 2001",status:"available",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",quantity:120,location:"wh-1"}}),pa=Object.freeze(Object.defineProperty({__proto__:null,default:ua},Symbol.toStringTag,{value:"Module"})),ia=t=>(t.status(201),{ok:!0,data:{id:"med_2001",name:"Media 2001",status:"ready",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048}}),ca=Object.freeze(Object.defineProperty({__proto__:null,default:ia},Symbol.toStringTag,{value:"Module"})),la=t=>(t.status(201),{ok:!0,data:{id:"msg_2001",subject:"Message 2001",status:"unread",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}}),ma=Object.freeze(Object.defineProperty({__proto__:null,default:la},Symbol.toStringTag,{value:"Module"})),ka=t=>(t.status(201),{ok:!0,data:{id:"not_2001",title:"Notification 2001",status:"unread",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",type:"system",read:!1,channel:"email"}}),ya=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"})),fa=t=>(t.status(201),{ok:!0,data:{id:"ord_2001",number:"ORD 2001",status:"processing",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}}),ha=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),ga=t=>(t.status(201),{ok:!0,data:{id:"org_2001",name:"Org 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}}),va=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"})),wa=t=>(t.status(201),{ok:!0,data:{id:"pay_2001",reference:"PAY 2001",status:"authorized",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}}),xa=Object.freeze(Object.defineProperty({__proto__:null,default:wa},Symbol.toStringTag,{value:"Module"})),Ta=t=>(t.status(201),{ok:!0,data:{id:"pro_2001",displayName:"Profile 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}}),_a=Object.freeze(Object.defineProperty({__proto__:null,default:Ta},Symbol.toStringTag,{value:"Module"})),ba=t=>(t.status(201),{ok:!0,data:{id:"prj_2001",name:"Project 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}}),Aa=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"})),ja=t=>(t.status(201),{ok:!0,data:{id:"rev_2001",title:"Review 2001",status:"pending",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}}),Sa=Object.freeze(Object.defineProperty({__proto__:null,default:ja},Symbol.toStringTag,{value:"Module"})),Ia=t=>(t.status(201),{ok:!0,data:{id:"set_2001",key:"Setting 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",value:"enabled",scope:"org"}}),Za=Object.freeze(Object.defineProperty({__proto__:null,default:Ia},Symbol.toStringTag,{value:"Module"})),Oa=t=>(t.status(201),{ok:!0,data:{id:"shp_2001",tracking:"TRK 2001",status:"in_transit",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}}),Pa=Object.freeze(Object.defineProperty({__proto__:null,default:Oa},Symbol.toStringTag,{value:"Module"})),Ea=t=>(t.status(201),{ok:!0,data:{id:"usr_2001",name:"User 2001",status:"active",createdAt:"2026-01-19T12:00:00.000Z",updatedAt:"2026-01-19T12:00:00.000Z",email:"user@example.com",role:"member"}}),$a=Object.freeze(Object.defineProperty({__proto__:null,default:Ea},Symbol.toStringTag,{value:"Module"})),Ua=async(t,e)=>(t.header("x-mokup-middleware","enabled"),await e()),Da={headers:{"x-mokup-scope":"docs"},delay:120,middleware:[Ua]},za=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"})),i=t=>t?.default??t,B=t=>{if(typeof t>"u")return null;if(typeof t=="function")return{response:t};if(t===null)return{response:null};if(typeof t=="object"){if("response"in t)return t;if("handler"in t){const e=t;return{response:e.handler,...typeof e.status=="number"?{status:e.status}:{},...e.headers?{headers:e.headers}:{},...typeof e.delay=="number"?{delay:e.delay}:{}}}return{response:t}}return{response:t}},c=t=>{if(typeof t>"u")return[];if(Array.isArray(t))return t.map(B).filter(Boolean);const e=B(t);return e?[e]:[]},Ma={version:1,routes:[{method:"DELETE",url:"/api/auth/sessions/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"sessions"},{type:"param",name:"id"}],score:[4,4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/sessions/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].delete.ts",ruleIndex:0}},{method:"DELETE",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].delete.ts",ruleIndex:0}},{method:"GET",url:"/api/analytics/events",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"events"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"met_1001",name:"Metric 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"},{id:"met_1002",name:"Metric 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"},{id:"met_1003",name:"Metric 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up",type:"event"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/analytics/export",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/analytics-2026-01.csv"}}},{method:"GET",url:"/api/analytics/funnels",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"funnels"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"analytics",generatedAt:"2026-01-18T12:00:00.000Z",steps:4,conversion:.42}}},{method:"GET",url:"/api/analytics/series",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"series"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{period:"30d",points:[12,18,22,16,24,28,30]}}},{method:"GET",url:"/api/analytics/summary",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"static",value:"summary"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"analytics",generatedAt:"2026-01-18T12:00:00.000Z",period:"30d",total:12e3,change:4}}},{method:"GET",url:"/api/auth/me",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"me"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"usr_1001",name:"Demo User",email:"demo@example.com",role:"admin"}}},{method:"GET",url:"/api/auth/sessions",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"sessions"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ses_1001",device:"Chrome",ip:"203.0.113.10",createdAt:"2026-01-01T12:00:00.000Z"},{id:"ses_1002",device:"Safari",ip:"203.0.113.11",createdAt:"2026-01-01T12:00:00.000Z"}],page:1,pageSize:2,total:2}}},{method:"GET",url:"/api/billing/history",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"history"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"posted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/invoices",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"invoices"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"paid",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/plans",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"plans"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"starter",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing/usage",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"usage"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"billing",generatedAt:"2026-01-18T12:00:00.000Z",period:"30d",units:1200}}},{method:"GET",url:"/api/catalog/categories",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"categories"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,category:"general"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog/export",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/catalog-2026-01.csv"}}},{method:"GET",url:"/api/catalog/featured",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"featured"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120,featured:!0}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog/search",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/catalog/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:320,active:300,archived:20}}},{method:"GET",url:"/api/feed/following",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"static",value:"following"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"following",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/feed/trending",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"static",value:"trending"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"trending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends/requests",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"static",value:"requests"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends/suggestions",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"static",value:"suggestions"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"suggested",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/inventory/export",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/inventory-2026-01.csv"}}},{method:"GET",url:"/api/inventory/search",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"inv_1001",sku:"SKU 1001",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1002",sku:"SKU 1002",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1003",sku:"SKU 1003",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/inventory/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:420,available:380,reserved:40}}},{method:"GET",url:"/api/messages/search",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/messages/threads",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"static",value:"threads"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!",thread:!0}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications/read",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"read"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"read",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!0,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"settings"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"notifications",generatedAt:"2026-01-18T12:00:00.000Z",email:!0,sms:!1,push:!0}}},{method:"GET",url:"/api/notifications/unread",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"unread"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orders/export",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/orders-2026-01.csv"}}},{method:"GET",url:"/api/orders/search",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ord_1001",number:"ORD 1001",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1002",number:"ORD 1002",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1003",number:"ORD 1003",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/orders/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:210,processing:18,shipped:160,canceled:32}}},{method:"GET",url:"/api/orgs/export",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/orgs-2026-01.csv"}}},{method:"GET",url:"/api/orgs/search",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/orgs/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:42,active:38,archived:4}}},{method:"GET",url:"/api/payments/methods",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"methods"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe",method:"card"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/payments/search",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/payments/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:180,authorized:20,captured:140,failed:20}}},{method:"GET",url:"/api/profiles/search",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pro_1001",displayName:"Profile 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1002",displayName:"Profile 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1003",displayName:"Profile 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/profiles/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:60,active:58,suspended:2}}},{method:"GET",url:"/api/projects/export",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/projects-2026-01.csv"}}},{method:"GET",url:"/api/projects/search",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prj_1001",name:"Project 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1002",name:"Project 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1003",name:"Project 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/projects/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:18,active:16,archived:2}}},{method:"GET",url:"/api/reviews/export",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/reviews-2026-01.csv"}}},{method:"GET",url:"/api/reviews/search",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"rev_1001",title:"Review 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1002",title:"Review 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1003",title:"Review 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/reviews/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:56,pending:6,approved:45,rejected:5}}},{method:"GET",url:"/api/settings/branding",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"branding"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",logoUrl:"https://cdn.example.com/logo.svg",color:"#2B4C7E"}}},{method:"GET",url:"/api/settings/features",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"features"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",flags:{betaDashboard:!0,newBilling:!1}}}},{method:"GET",url:"/api/settings/locales",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"locales"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"set_1001",key:"Setting 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"},{id:"set_1002",key:"Setting 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"},{id:"set_1003",key:"Setting 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org",locale:"en-US"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/settings/security",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"security"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"settings",generatedAt:"2026-01-18T12:00:00.000Z",mfaRequired:!1,sessionTimeoutMinutes:60}}},{method:"GET",url:"/api/shipping/carriers",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"carriers"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/rates",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"rates"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22",service:"standard"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:140,in_transit:24,delivered:110,delayed:6}}},{method:"GET",url:"/api/users/export",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"export"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,url:"/api/exports/users-2026-01.csv"}}},{method:"GET",url:"/api/users/search",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"search"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"usr_1001",name:"User 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1002",name:"User 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1003",name:"User 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"}],page:1,pageSize:3,total:3,query:"demo"}}},{method:"GET",url:"/api/users/stats",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"stats"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{total:128,active:120,disabled:8}}},{method:"GET",url:"/api/cart/[id]/items",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"items"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"crt_1001",name:"Cart 1001",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"},{id:"crt_1002",name:"Cart 1002",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"},{id:"crt_1003",name:"Cart 1003",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD",lineItem:!0,cartId:"crt_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/groups/[id]/members",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"members"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"grp_1001",name:"Group 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"},{id:"grp_1002",name:"Group 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"},{id:"grp_1003",name:"Group 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private",role:"member",groupId:"grp_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orgs/[id]/members",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"},{type:"static",value:"members"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12,role:"member",orgId:"org_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping/[id]/track",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"},{type:"static",value:"track"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{module:"shipping",generatedAt:"2026-01-18T12:00:00.000Z",status:"in_transit",checkpoint:"Hub"}}},{method:"GET",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].get.ts",ruleIndex:0}},{method:"GET",url:"/api/analytics",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"met_1001",name:"Metric 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"},{id:"met_1002",name:"Metric 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"},{id:"met_1003",name:"Metric 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",period:"30d",value:1280,trend:"up"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/billing",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"bil_1001",name:"Billing Account 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1002",name:"Billing Account 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"},{id:"bil_1003",name:"Billing Account 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",plan:"pro",balance:{amount:120,currency:"USD"},currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/cart",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"crt_1001",name:"Cart 1001",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"},{id:"crt_1002",name:"Cart 1002",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"},{id:"crt_1003",name:"Cart 1003",status:"open",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",subtotal:{amount:120,currency:"USD"},itemCount:3,currency:"USD"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/catalog",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prd_1001",name:"Product 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1002",name:"Product 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120},{id:"prd_1003",name:"Product 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",sku:"SKU-1001",price:{amount:49,currency:"USD"},inventory:120}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/feed",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pst_1001",title:"Post 1001",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1002",title:"Post 1002",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12},{id:"pst_1003",title:"Post 1003",status:"published",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",authorId:"usr_1001",content:"Sample post content",likes:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/friends",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"frd_1001",name:"Friend 1001",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1002",name:"Friend 1002",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"},{id:"frd_1003",name:"Friend 1003",status:"accepted",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",since:"2025-12-20"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/groups",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"grp_1001",name:"Group 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"},{id:"grp_1002",name:"Group 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"},{id:"grp_1003",name:"Group 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",membersCount:12,privacy:"private"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/inventory",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"inv_1001",sku:"SKU 1001",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1002",sku:"SKU 1002",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"},{id:"inv_1003",sku:"SKU 1003",status:"available",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",quantity:120,location:"wh-1"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/media",tokens:[{type:"static",value:"api"},{type:"static",value:"media"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"med_1001",name:"Media 1001",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048},{id:"med_1002",name:"Media 1002",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048},{id:"med_1003",name:"Media 1003",status:"ready",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"image",url:"https://cdn.example.com/media.png",size:2048}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/messages",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"msg_1001",subject:"Message 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1002",subject:"Message 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"},{id:"msg_1003",subject:"Message 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",fromId:"usr_1001",toId:"usr_1002",body:"Hello!"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/notifications",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"not_1001",title:"Notification 1001",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1002",title:"Notification 1002",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"},{id:"not_1003",title:"Notification 1003",status:"unread",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",type:"system",read:!1,channel:"email"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orders",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"ord_1001",number:"ORD 1001",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1002",number:"ORD 1002",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"},{id:"ord_1003",number:"ORD 1003",status:"processing",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",total:{amount:240,currency:"USD"},currency:"USD",customerId:"usr_1001"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/orgs",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"org_1001",name:"Org 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1002",name:"Org 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12},{id:"org_1003",name:"Org 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",domain:"example.com",plan:"pro",membersCount:12}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/payments",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pay_1001",reference:"PAY 1001",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1002",reference:"PAY 1002",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"},{id:"pay_1003",reference:"PAY 1003",status:"authorized",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",amount:{amount:120,currency:"USD"},provider:"stripe"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/profiles",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"pro_1001",displayName:"Profile 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1002",displayName:"Profile 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"},{id:"pro_1003",displayName:"Profile 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",bio:"Hello there.",avatarUrl:"https://cdn.example.com/avatar.png"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/projects",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"prj_1001",name:"Project 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1002",name:"Project 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"},{id:"prj_1003",name:"Project 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",key:"PRJ",visibility:"private",repoUrl:"https://git.example.com/prj"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/reviews",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"rev_1001",title:"Review 1001",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1002",title:"Review 1002",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"},{id:"rev_1003",title:"Review 1003",status:"pending",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",rating:4,productId:"prd_1001",authorId:"usr_1002"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"set_1001",key:"Setting 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"},{id:"set_1002",key:"Setting 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"},{id:"set_1003",key:"Setting 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",value:"enabled",scope:"org"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/shipping",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"shp_1001",tracking:"TRK 1001",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1002",tracking:"TRK 1002",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"},{id:"shp_1003",tracking:"TRK 1003",status:"in_transit",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",carrier:"DHL",eta:"2026-01-22"}],page:1,pageSize:3,total:3}}},{method:"GET",url:"/api/users",tokens:[{type:"static",value:"api"},{type:"static",value:"users"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{items:[{id:"usr_1001",name:"User 1001",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1002",name:"User 1002",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"},{id:"usr_1003",name:"User 1003",status:"active",createdAt:"2026-01-01T12:00:00.000Z",updatedAt:"2026-01-18T12:00:00.000Z",email:"user@example.com",role:"member"}],page:1,pageSize:3,total:3}}},{method:"PATCH",url:"/api/analytics/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/billing/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/cart/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/catalog/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/feed/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/friends/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/groups/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/inventory/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/media/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/messages/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/notifications/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/orders/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/orgs/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/payments/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/profiles/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/projects/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/reviews/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/settings/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/shipping/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].patch.ts",ruleIndex:0}},{method:"PATCH",url:"/api/users/[id]",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"param",name:"id"}],score:[4,4,3],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].patch.ts",ruleIndex:0}},{method:"POST",url:"/api/auth/mfa/setup",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"mfa"},{type:"static",value:"setup"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"mfa_setup",qr:"otpauth://totp/mokup",secret:"ABC123"}}},{method:"POST",url:"/api/auth/mfa/verify",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"mfa"},{type:"static",value:"verify"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"mfa_verified"}}},{method:"POST",url:"/api/auth/password/reset",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"password"},{type:"static",value:"reset"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"reset_email_sent",delivery:"email"}}},{method:"POST",url:"/api/auth/password/update",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"password"},{type:"static",value:"update"}],score:[4,4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"password_updated"}}},{method:"POST",url:"/api/auth/login",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"login"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/login.post.ts",ruleIndex:0}},{method:"POST",url:"/api/auth/logout",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"logout"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"logged_out"}}},{method:"POST",url:"/api/auth/refresh",tokens:[{type:"static",value:"api"},{type:"static",value:"auth"},{type:"static",value:"refresh"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{token:"mokup-demo-token",expiresIn:3600}}},{method:"POST",url:"/api/billing/checkout",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"},{type:"static",value:"checkout"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"checkout",redirectUrl:"https://pay.example.com/checkout"}}},{method:"POST",url:"/api/media/presign",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"static",value:"presign"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"presigned",url:"https://cdn.example.com/presign"}}},{method:"POST",url:"/api/media/uploads",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"static",value:"uploads"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"upload_created",uploadUrl:"https://cdn.example.com/upload"}}},{method:"POST",url:"/api/notifications/mark-read",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"mark-read"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"marked_read",count:3}}},{method:"POST",url:"/api/notifications/subscribe",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"},{type:"static",value:"subscribe"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"subscribed",channel:"email"}}},{method:"POST",url:"/api/payments/charge",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"charge"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/charge.post.ts",ruleIndex:0}},{method:"POST",url:"/api/payments/refund",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"},{type:"static",value:"refund"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"refunded"}}},{method:"POST",url:"/api/settings/update",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"},{type:"static",value:"update"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,action:"updated"}}},{method:"POST",url:"/api/users/bulk",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"bulk"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,processed:3,failed:0}}},{method:"POST",url:"/api/users/import",tokens:[{type:"static",value:"api"},{type:"static",value:"users"},{type:"static",value:"import"}],score:[4,4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{ok:!0,imported:3}}},{method:"POST",url:"/api/cart/[id]/apply-coupon",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"apply-coupon"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"coupon_applied",code:"SAVE10",discount:{amount:10,currency:"USD"}}}},{method:"POST",url:"/api/cart/[id]/checkout",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"checkout"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"checkout_started",redirectUrl:"https://pay.example.com/checkout"}}},{method:"POST",url:"/api/cart/[id]/clear",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"clear"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"cleared"}}},{method:"POST",url:"/api/cart/[id]/items",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"},{type:"param",name:"id"},{type:"static",value:"items"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"crt_1001",ok:!0,action:"item_added",itemId:"prd_1001"}}},{method:"POST",url:"/api/feed/[id]/like",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"},{type:"param",name:"id"},{type:"static",value:"like"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pst_1001",ok:!0,action:"liked"}}},{method:"POST",url:"/api/friends/[id]/accept",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"},{type:"static",value:"accept"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"frd_1001",ok:!0,action:"accepted"}}},{method:"POST",url:"/api/friends/[id]/block",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"},{type:"param",name:"id"},{type:"static",value:"block"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"frd_1001",ok:!0,action:"blocked"}}},{method:"POST",url:"/api/groups/[id]/join",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"join"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"grp_1001",ok:!0,action:"joined"}}},{method:"POST",url:"/api/groups/[id]/leave",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"},{type:"param",name:"id"},{type:"static",value:"leave"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"grp_1001",ok:!0,action:"left"}}},{method:"POST",url:"/api/inventory/[id]/adjust",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"},{type:"static",value:"adjust"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"inv_1001",ok:!0,action:"adjusted",delta:5}}},{method:"POST",url:"/api/inventory/[id]/reserve",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"},{type:"param",name:"id"},{type:"static",value:"reserve"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"inv_1001",ok:!0,action:"reserved",reserved:5}}},{method:"POST",url:"/api/media/[id]/transcode",tokens:[{type:"static",value:"api"},{type:"static",value:"media"},{type:"param",name:"id"},{type:"static",value:"transcode"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"med_1001",ok:!0,action:"transcoding_started"}}},{method:"POST",url:"/api/messages/[id]/read",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"},{type:"param",name:"id"},{type:"static",value:"read"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"msg_1001",ok:!0,action:"read"}}},{method:"POST",url:"/api/orders/[id]/cancel",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"},{type:"static",value:"cancel"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id]/cancel.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orders/[id]/fulfill",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"},{type:"param",name:"id"},{type:"static",value:"fulfill"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"ord_1001",ok:!0,action:"fulfilled"}}},{method:"POST",url:"/api/orgs/[id]/invite",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"},{type:"param",name:"id"},{type:"static",value:"invite"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"org_1001",ok:!0,action:"invited",email:"invitee@example.com"}}},{method:"POST",url:"/api/profiles/[id]/follow",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"},{type:"static",value:"follow"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pro_1001",ok:!0,action:"followed"}}},{method:"POST",url:"/api/profiles/[id]/unfollow",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"},{type:"param",name:"id"},{type:"static",value:"unfollow"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"pro_1001",ok:!0,action:"unfollowed"}}},{method:"POST",url:"/api/projects/[id]/archive",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"},{type:"static",value:"archive"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"prj_1001",ok:!0,action:"archived"}}},{method:"POST",url:"/api/projects/[id]/restore",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"},{type:"param",name:"id"},{type:"static",value:"restore"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"prj_1001",ok:!0,action:"restored"}}},{method:"POST",url:"/api/reviews/[id]/approve",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"},{type:"static",value:"approve"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"rev_1001",ok:!0,action:"approved"}}},{method:"POST",url:"/api/reviews/[id]/reject",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"},{type:"param",name:"id"},{type:"static",value:"reject"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"rev_1001",ok:!0,action:"rejected"}}},{method:"POST",url:"/api/shipping/[id]/label",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"},{type:"param",name:"id"},{type:"static",value:"label"}],score:[4,4,3,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"json",body:{id:"shp_1001",ok:!0,action:"label_created"}}},{method:"POST",url:"/api/analytics",tokens:[{type:"static",value:"api"},{type:"static",value:"analytics"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics.post.ts",ruleIndex:0}},{method:"POST",url:"/api/billing",tokens:[{type:"static",value:"api"},{type:"static",value:"billing"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing.post.ts",ruleIndex:0}},{method:"POST",url:"/api/cart",tokens:[{type:"static",value:"api"},{type:"static",value:"cart"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart.post.ts",ruleIndex:0}},{method:"POST",url:"/api/catalog",tokens:[{type:"static",value:"api"},{type:"static",value:"catalog"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog.post.ts",ruleIndex:0}},{method:"POST",url:"/api/feed",tokens:[{type:"static",value:"api"},{type:"static",value:"feed"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed.post.ts",ruleIndex:0}},{method:"POST",url:"/api/friends",tokens:[{type:"static",value:"api"},{type:"static",value:"friends"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends.post.ts",ruleIndex:0}},{method:"POST",url:"/api/groups",tokens:[{type:"static",value:"api"},{type:"static",value:"groups"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups.post.ts",ruleIndex:0}},{method:"POST",url:"/api/inventory",tokens:[{type:"static",value:"api"},{type:"static",value:"inventory"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory.post.ts",ruleIndex:0}},{method:"POST",url:"/api/media",tokens:[{type:"static",value:"api"},{type:"static",value:"media"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media.post.ts",ruleIndex:0}},{method:"POST",url:"/api/messages",tokens:[{type:"static",value:"api"},{type:"static",value:"messages"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages.post.ts",ruleIndex:0}},{method:"POST",url:"/api/notifications",tokens:[{type:"static",value:"api"},{type:"static",value:"notifications"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orders",tokens:[{type:"static",value:"api"},{type:"static",value:"orders"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders.post.ts",ruleIndex:0}},{method:"POST",url:"/api/orgs",tokens:[{type:"static",value:"api"},{type:"static",value:"orgs"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs.post.ts",ruleIndex:0}},{method:"POST",url:"/api/payments",tokens:[{type:"static",value:"api"},{type:"static",value:"payments"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments.post.ts",ruleIndex:0}},{method:"POST",url:"/api/profiles",tokens:[{type:"static",value:"api"},{type:"static",value:"profiles"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles.post.ts",ruleIndex:0}},{method:"POST",url:"/api/projects",tokens:[{type:"static",value:"api"},{type:"static",value:"projects"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects.post.ts",ruleIndex:0}},{method:"POST",url:"/api/reviews",tokens:[{type:"static",value:"api"},{type:"static",value:"reviews"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews.post.ts",ruleIndex:0}},{method:"POST",url:"/api/settings",tokens:[{type:"static",value:"api"},{type:"static",value:"settings"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings.post.ts",ruleIndex:0}},{method:"POST",url:"/api/shipping",tokens:[{type:"static",value:"api"},{type:"static",value:"shipping"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping.post.ts",ruleIndex:0}},{method:"POST",url:"/api/users",tokens:[{type:"static",value:"api"},{type:"static",value:"users"}],score:[4,4],headers:{"x-mokup-scope":"docs"},delay:120,middleware:[{module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts",ruleIndex:0}],response:{type:"module",module:"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users.post.ts",ruleIndex:0}}]},Ra={"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/sessions/[id].delete.ts":{default:c(i(It))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].delete.ts":{default:c(i(Ot))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].delete.ts":{default:c(i(Et))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].delete.ts":{default:c(i(Ut))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].delete.ts":{default:c(i(zt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].delete.ts":{default:c(i(Rt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].delete.ts":{default:c(i(Ct))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].delete.ts":{default:c(i(Ht))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].delete.ts":{default:c(i(Vt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].delete.ts":{default:c(i(Kt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].delete.ts":{default:c(i(Bt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].delete.ts":{default:c(i(Yt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].delete.ts":{default:c(i(Qt))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].delete.ts":{default:c(i(eo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].delete.ts":{default:c(i(oo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].delete.ts":{default:c(i(ao))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].delete.ts":{default:c(i(no))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].delete.ts":{default:c(i(po))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].delete.ts":{default:c(i(co))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].delete.ts":{default:c(i(mo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].delete.ts":{default:c(i(yo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].get.ts":{default:c(i(ho))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].get.ts":{default:c(i(vo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].get.ts":{default:c(i(xo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].get.ts":{default:c(i(_o))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].get.ts":{default:c(i(Ao))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].get.ts":{default:c(i(So))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].get.ts":{default:c(i(Zo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].get.ts":{default:c(i(Po))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].get.ts":{default:c(i($o))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].get.ts":{default:c(i(Do))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].get.ts":{default:c(i(Mo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].get.ts":{default:c(i(Go))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].get.ts":{default:c(i(qo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].get.ts":{default:c(i(Lo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].get.ts":{default:c(i(No))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].get.ts":{default:c(i(Fo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].get.ts":{default:c(i(Wo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].get.ts":{default:c(i(Jo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].get.ts":{default:c(i(Xo))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].get.ts":{default:c(i(ts))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics/[id].patch.ts":{default:c(i(ss))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing/[id].patch.ts":{default:c(i(rs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart/[id].patch.ts":{default:c(i(ns))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog/[id].patch.ts":{default:c(i(ps))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed/[id].patch.ts":{default:c(i(cs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends/[id].patch.ts":{default:c(i(ms))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups/[id].patch.ts":{default:c(i(ys))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory/[id].patch.ts":{default:c(i(hs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media/[id].patch.ts":{default:c(i(vs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages/[id].patch.ts":{default:c(i(xs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications/[id].patch.ts":{default:c(i(_s))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id].patch.ts":{default:c(i(As))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs/[id].patch.ts":{default:c(i(Ss))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/[id].patch.ts":{default:c(i(Zs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles/[id].patch.ts":{default:c(i(Ps))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects/[id].patch.ts":{default:c(i($s))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews/[id].patch.ts":{default:c(i(Ds))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings/[id].patch.ts":{default:c(i(Ms))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping/[id].patch.ts":{default:c(i(Gs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users/[id].patch.ts":{default:c(i(qs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/auth/login.post.ts":{default:c(i(Ls))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments/charge.post.ts":{default:c(i(Ns))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders/[id]/cancel.post.ts":{default:c(i(Fs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/analytics.post.ts":{default:c(i(Ws))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/billing.post.ts":{default:c(i(Js))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/cart.post.ts":{default:c(i(Xs))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/catalog.post.ts":{default:c(i(ta))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/feed.post.ts":{default:c(i(sa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/friends.post.ts":{default:c(i(ra))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/groups.post.ts":{default:c(i(na))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/inventory.post.ts":{default:c(i(pa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/media.post.ts":{default:c(i(ca))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/messages.post.ts":{default:c(i(ma))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/notifications.post.ts":{default:c(i(ya))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orders.post.ts":{default:c(i(ha))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/orgs.post.ts":{default:c(i(va))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/payments.post.ts":{default:c(i(xa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/profiles.post.ts":{default:c(i(_a))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/projects.post.ts":{default:c(i(Aa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/reviews.post.ts":{default:c(i(Sa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/settings.post.ts":{default:c(i(Za))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/shipping.post.ts":{default:c(i(Pa))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/api/users.post.ts":{default:c(i($a))},"/@fs//home/runner/work/mokup/mokup/apps/docs/mock/index.config.ts":za},R=["/api"];self.addEventListener("install",()=>{self.skipWaiting()});self.addEventListener("activate",t=>{t.waitUntil(self.clients.claim())});const Ga=t=>{if(!R||R.length===0)return!0;const e=new URL(t.url).pathname;return R.some(o=>o==="/"?!0:e===o||e.startsWith(o+"/"))},Ca=async()=>{const t=await jt({manifest:Ma,moduleMap:Ra}),e=nt(t);self.addEventListener("fetch",o=>{Ga(o.request)&&e(o)})};Ca().catch(t=>{console.error("[mokup] Failed to build service worker app:",t)});
|