[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-encore-encore-frontend":3,"mdc--wal7jn-key":37,"related-repo-encore-encore-frontend":5301,"related-org-encore-encore-frontend":5405},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":32,"sourceUrl":35,"mdContent":36},"encore-frontend","connect frontend to Encore backend","Connect a frontend application (React, Next.js, Vue, Svelte, etc.) to an Encore.ts backend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"encore","Encore","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fencore.png","encoredev",[13,17,20,21],{"name":14,"slug":15,"type":16},"React","react","tag",{"name":18,"slug":19,"type":16},"Next.js","next-js",{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},"Frontend","frontend",26,"https:\u002F\u002Fgithub.com\u002Fencoredev\u002Fskills","2026-04-06T18:09:56.091006",null,5,[30,31],"claude-code","skills",{"repoUrl":25,"stars":24,"forks":28,"topics":33,"description":34},[30,31],"Agent Skills for development with Encore.","https:\u002F\u002Fgithub.com\u002Fencoredev\u002Fskills\u002Ftree\u002FHEAD\u002Fencore\u002Ffrontend","---\nname: encore-frontend\ndescription: Connect a frontend application (React, Next.js, Vue, Svelte, etc.) to an Encore.ts backend.\nwhen_to_use: >-\n  User wants to generate a TypeScript API client for the browser (`encore gen client`), call Encore endpoints from React\u002FNext.js\u002FVue\u002FSvelte\u002FSvelteKit\u002FRemix\u002FAstro, configure CORS in `encore.app`, or wire authentication tokens through a generated client. Trigger phrases: \"TypeScript client\", \"API client\", \"Next.js frontend\", \"React frontend\", \"encore gen client\", \"CORS\", \"browser fetch\", \"SPA\", \"frontend can call this backend\".\n---\n\n# Frontend Integration with Encore\n\n## Instructions\n\nEncore provides tools to connect your frontend applications to your backend APIs.\n\n### Generate a TypeScript Client\n\n```bash\n# Generate client for local development\nencore gen client --output=.\u002Ffrontend\u002Fsrc\u002Fclient.ts --env=local\n\n# Generate client for a deployed environment\nencore gen client --output=.\u002Ffrontend\u002Fsrc\u002Fclient.ts --env=staging\n```\n\nThis generates a fully typed client based on your API definitions.\n\n### Using the Generated Client\n\n```typescript\n\u002F\u002F frontend\u002Fsrc\u002Fclient.ts is auto-generated\nimport Client from \".\u002Fclient\";\n\nconst client = new Client(\"http:\u002F\u002Flocalhost:4000\");\n\n\u002F\u002F Fully typed API calls\nconst user = await client.user.getUser({ id: \"123\" });\nconsole.log(user.email);\n\nconst newUser = await client.user.createUser({\n  email: \"new@example.com\",\n  name: \"New User\",\n});\n```\n\n### React Example\n\n```tsx\n\u002F\u002F frontend\u002Fsrc\u002Fcomponents\u002FUserProfile.tsx\nimport { useState, useEffect } from \"react\";\nimport Client from \"..\u002Fclient\";\n\nconst client = new Client(import.meta.env.VITE_API_URL);\n\nexport function UserProfile({ userId }: { userId: string }) {\n  const [user, setUser] = useState(null);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    client.user.getUser({ id: userId })\n      .then(setUser)\n      .catch(setError)\n      .finally(() => setLoading(false));\n  }, [userId]);\n\n  if (loading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  \n  return (\n    \u003Cdiv>\n      \u003Ch1>{user.name}\u003C\u002Fh1>\n      \u003Cp>{user.email}\u003C\u002Fp>\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n### React with TanStack Query\n\n```tsx\nimport { useQuery, useMutation, useQueryClient } from \"@tanstack\u002Freact-query\";\nimport Client from \"..\u002Fclient\";\n\nconst client = new Client(import.meta.env.VITE_API_URL);\n\nexport function UserProfile({ userId }: { userId: string }) {\n  const { data: user, isLoading, error } = useQuery({\n    queryKey: [\"user\", userId],\n    queryFn: () => client.user.getUser({ id: userId }),\n  });\n\n  if (isLoading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  \n  return \u003Cdiv>{user.name}\u003C\u002Fdiv>;\n}\n\nexport function CreateUserForm() {\n  const queryClient = useQueryClient();\n  \n  const mutation = useMutation({\n    mutationFn: (data: { email: string; name: string }) => \n      client.user.createUser(data),\n    onSuccess: () => {\n      queryClient.invalidateQueries({ queryKey: [\"users\"] });\n    },\n  });\n\n  const handleSubmit = (e: React.FormEvent\u003CHTMLFormElement>) => {\n    e.preventDefault();\n    const formData = new FormData(e.currentTarget);\n    mutation.mutate({\n      email: formData.get(\"email\") as string,\n      name: formData.get(\"name\") as string,\n    });\n  };\n\n  return (\n    \u003Cform onSubmit={handleSubmit}>\n      \u003Cinput name=\"email\" type=\"email\" required \u002F>\n      \u003Cinput name=\"name\" required \u002F>\n      \u003Cbutton type=\"submit\" disabled={mutation.isPending}>\n        {mutation.isPending ? \"Creating...\" : \"Create User\"}\n      \u003C\u002Fbutton>\n    \u003C\u002Fform>\n  );\n}\n```\n\n### Next.js Server Components\n\n```tsx\n\u002F\u002F app\u002Fusers\u002F[id]\u002Fpage.tsx\nimport Client from \"@\u002Flib\u002Fclient\";\n\nconst client = new Client(process.env.API_URL);\n\nexport default async function UserPage({ params }: { params: { id: string } }) {\n  const user = await client.user.getUser({ id: params.id });\n  \n  return (\n    \u003Cdiv>\n      \u003Ch1>{user.name}\u003C\u002Fh1>\n      \u003Cp>{user.email}\u003C\u002Fp>\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n### CORS Configuration\n\nConfigure CORS in your `encore.app` file:\n\n```json\n{\n    \"id\": \"my-app\",\n    \"global_cors\": {\n        \"allow_origins_with_credentials\": [\n            \"http:\u002F\u002Flocalhost:3000\",\n            \"https:\u002F\u002Fmyapp.com\",\n            \"https:\u002F\u002F*.myapp.com\"\n        ]\n    }\n}\n```\n\n### CORS Options\n\n| Option | Description |\n|--------|-------------|\n| `allow_origins_without_credentials` | Origins allowed for non-credentialed requests (default: `[\"*\"]`) |\n| `allow_origins_with_credentials` | Origins allowed for credentialed requests (cookies, auth headers) |\n| `allow_headers` | Additional request headers to allow |\n| `expose_headers` | Additional response headers to expose |\n| `debug` | Enable CORS debug logging |\n\n### Authentication from Frontend\n\nFor authenticated requests, pass the Authorization header:\n\n```typescript\n\u002F\u002F Using fetch\nconst response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fprofile\", {\n  headers: {\n    \"Authorization\": `Bearer ${token}`,\n  },\n});\n\n\u002F\u002F Or include credentials for cookie-based auth\nconst response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fprofile\", {\n  credentials: \"include\",\n});\n```\n\nWith TanStack Query, configure a default fetcher:\n\n```typescript\nconst queryClient = new QueryClient({\n  defaultOptions: {\n    queries: {\n      queryFn: async ({ queryKey }) => {\n        const response = await fetch(queryKey[0] as string, {\n          headers: { Authorization: `Bearer ${getToken()}` },\n        });\n        if (!response.ok) throw new Error(\"Request failed\");\n        return response.json();\n      },\n    },\n  },\n});\n```\n\n### Using Plain Fetch\n\nIf you prefer not to use the generated client:\n\n```typescript\nasync function getUser(id: string) {\n  const response = await fetch(`http:\u002F\u002Flocalhost:4000\u002Fusers\u002F${id}`);\n  if (!response.ok) {\n    throw new Error(`HTTP error: ${response.status}`);\n  }\n  return response.json();\n}\n\nasync function createUser(email: string, name: string) {\n  const response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fusers\", {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({ email, name }),\n  });\n  if (!response.ok) {\n    throw new Error(`HTTP error: ${response.status}`);\n  }\n  return response.json();\n}\n```\n\n### Environment Variables\n\n```bash\n# .env.local (Next.js)\nNEXT_PUBLIC_API_URL=http:\u002F\u002Flocalhost:4000\n\n# .env (Vite)\nVITE_API_URL=http:\u002F\u002Flocalhost:4000\n```\n\n### Guidelines\n\n- Use `encore gen client` to generate typed API clients\n- Regenerate the client when your API changes\n- Configure CORS in `encore.app` for production domains\n- Use `allow_origins_with_credentials` for authenticated requests\n- Include `Authorization` header for token-based auth\n- Use `credentials: \"include\"` for cookie-based auth\n- Use environment variables for API URLs (different per environment)\n- The generated client handles errors and types automatically\n",{"data":38,"body":40},{"name":4,"description":6,"when_to_use":39},"User wants to generate a TypeScript API client for the browser (`encore gen client`), call Encore endpoints from React\u002FNext.js\u002FVue\u002FSvelte\u002FSvelteKit\u002FRemix\u002FAstro, configure CORS in `encore.app`, or wire authentication tokens through a generated client. Trigger phrases: \"TypeScript client\", \"API client\", \"Next.js frontend\", \"React frontend\", \"encore gen client\", \"CORS\", \"browser fetch\", \"SPA\", \"frontend can call this backend\".",{"type":41,"children":42},"root",[43,52,59,65,72,169,174,180,582,588,1508,1514,3089,3095,3508,3514,3527,3711,3717,3836,3842,3847,4106,4111,4495,4501,4506,5140,5146,5209,5215,5295],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"frontend-integration-with-encore",[49],{"type":50,"value":51},"text","Frontend Integration with Encore",{"type":44,"tag":53,"props":54,"children":56},"h2",{"id":55},"instructions",[57],{"type":50,"value":58},"Instructions",{"type":44,"tag":60,"props":61,"children":62},"p",{},[63],{"type":50,"value":64},"Encore provides tools to connect your frontend applications to your backend APIs.",{"type":44,"tag":66,"props":67,"children":69},"h3",{"id":68},"generate-a-typescript-client",[70],{"type":50,"value":71},"Generate a TypeScript Client",{"type":44,"tag":73,"props":74,"children":79},"pre",{"className":75,"code":76,"language":77,"meta":78,"style":78},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Generate client for local development\nencore gen client --output=.\u002Ffrontend\u002Fsrc\u002Fclient.ts --env=local\n\n# Generate client for a deployed environment\nencore gen client --output=.\u002Ffrontend\u002Fsrc\u002Fclient.ts --env=staging\n","bash","",[80],{"type":44,"tag":81,"props":82,"children":83},"code",{"__ignoreMap":78},[84,96,126,136,145],{"type":44,"tag":85,"props":86,"children":89},"span",{"class":87,"line":88},"line",1,[90],{"type":44,"tag":85,"props":91,"children":93},{"style":92},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[94],{"type":50,"value":95},"# Generate client for local development\n",{"type":44,"tag":85,"props":97,"children":99},{"class":87,"line":98},2,[100,105,111,116,121],{"type":44,"tag":85,"props":101,"children":103},{"style":102},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[104],{"type":50,"value":8},{"type":44,"tag":85,"props":106,"children":108},{"style":107},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[109],{"type":50,"value":110}," gen",{"type":44,"tag":85,"props":112,"children":113},{"style":107},[114],{"type":50,"value":115}," client",{"type":44,"tag":85,"props":117,"children":118},{"style":107},[119],{"type":50,"value":120}," --output=.\u002Ffrontend\u002Fsrc\u002Fclient.ts",{"type":44,"tag":85,"props":122,"children":123},{"style":107},[124],{"type":50,"value":125}," --env=local\n",{"type":44,"tag":85,"props":127,"children":129},{"class":87,"line":128},3,[130],{"type":44,"tag":85,"props":131,"children":133},{"emptyLinePlaceholder":132},true,[134],{"type":50,"value":135},"\n",{"type":44,"tag":85,"props":137,"children":139},{"class":87,"line":138},4,[140],{"type":44,"tag":85,"props":141,"children":142},{"style":92},[143],{"type":50,"value":144},"# Generate client for a deployed environment\n",{"type":44,"tag":85,"props":146,"children":147},{"class":87,"line":28},[148,152,156,160,164],{"type":44,"tag":85,"props":149,"children":150},{"style":102},[151],{"type":50,"value":8},{"type":44,"tag":85,"props":153,"children":154},{"style":107},[155],{"type":50,"value":110},{"type":44,"tag":85,"props":157,"children":158},{"style":107},[159],{"type":50,"value":115},{"type":44,"tag":85,"props":161,"children":162},{"style":107},[163],{"type":50,"value":120},{"type":44,"tag":85,"props":165,"children":166},{"style":107},[167],{"type":50,"value":168}," --env=staging\n",{"type":44,"tag":60,"props":170,"children":171},{},[172],{"type":50,"value":173},"This generates a fully typed client based on your API definitions.",{"type":44,"tag":66,"props":175,"children":177},{"id":176},"using-the-generated-client",[178],{"type":50,"value":179},"Using the Generated Client",{"type":44,"tag":73,"props":181,"children":185},{"className":182,"code":183,"language":184,"meta":78,"style":78},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F frontend\u002Fsrc\u002Fclient.ts is auto-generated\nimport Client from \".\u002Fclient\";\n\nconst client = new Client(\"http:\u002F\u002Flocalhost:4000\");\n\n\u002F\u002F Fully typed API calls\nconst user = await client.user.getUser({ id: \"123\" });\nconsole.log(user.email);\n\nconst newUser = await client.user.createUser({\n  email: \"new@example.com\",\n  name: \"New User\",\n});\n","typescript",[186],{"type":44,"tag":81,"props":187,"children":188},{"__ignoreMap":78},[189,197,238,245,302,309,318,409,445,453,504,535,565],{"type":44,"tag":85,"props":190,"children":191},{"class":87,"line":88},[192],{"type":44,"tag":85,"props":193,"children":194},{"style":92},[195],{"type":50,"value":196},"\u002F\u002F frontend\u002Fsrc\u002Fclient.ts is auto-generated\n",{"type":44,"tag":85,"props":198,"children":199},{"class":87,"line":98},[200,206,212,217,223,228,233],{"type":44,"tag":85,"props":201,"children":203},{"style":202},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[204],{"type":50,"value":205},"import",{"type":44,"tag":85,"props":207,"children":209},{"style":208},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[210],{"type":50,"value":211}," Client ",{"type":44,"tag":85,"props":213,"children":214},{"style":202},[215],{"type":50,"value":216},"from",{"type":44,"tag":85,"props":218,"children":220},{"style":219},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[221],{"type":50,"value":222}," \"",{"type":44,"tag":85,"props":224,"children":225},{"style":107},[226],{"type":50,"value":227},".\u002Fclient",{"type":44,"tag":85,"props":229,"children":230},{"style":219},[231],{"type":50,"value":232},"\"",{"type":44,"tag":85,"props":234,"children":235},{"style":219},[236],{"type":50,"value":237},";\n",{"type":44,"tag":85,"props":239,"children":240},{"class":87,"line":128},[241],{"type":44,"tag":85,"props":242,"children":243},{"emptyLinePlaceholder":132},[244],{"type":50,"value":135},{"type":44,"tag":85,"props":246,"children":247},{"class":87,"line":138},[248,254,259,264,269,275,280,284,289,293,298],{"type":44,"tag":85,"props":249,"children":251},{"style":250},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[252],{"type":50,"value":253},"const",{"type":44,"tag":85,"props":255,"children":256},{"style":208},[257],{"type":50,"value":258}," client ",{"type":44,"tag":85,"props":260,"children":261},{"style":219},[262],{"type":50,"value":263},"=",{"type":44,"tag":85,"props":265,"children":266},{"style":219},[267],{"type":50,"value":268}," new",{"type":44,"tag":85,"props":270,"children":272},{"style":271},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[273],{"type":50,"value":274}," Client",{"type":44,"tag":85,"props":276,"children":277},{"style":208},[278],{"type":50,"value":279},"(",{"type":44,"tag":85,"props":281,"children":282},{"style":219},[283],{"type":50,"value":232},{"type":44,"tag":85,"props":285,"children":286},{"style":107},[287],{"type":50,"value":288},"http:\u002F\u002Flocalhost:4000",{"type":44,"tag":85,"props":290,"children":291},{"style":219},[292],{"type":50,"value":232},{"type":44,"tag":85,"props":294,"children":295},{"style":208},[296],{"type":50,"value":297},")",{"type":44,"tag":85,"props":299,"children":300},{"style":219},[301],{"type":50,"value":237},{"type":44,"tag":85,"props":303,"children":304},{"class":87,"line":28},[305],{"type":44,"tag":85,"props":306,"children":307},{"emptyLinePlaceholder":132},[308],{"type":50,"value":135},{"type":44,"tag":85,"props":310,"children":312},{"class":87,"line":311},6,[313],{"type":44,"tag":85,"props":314,"children":315},{"style":92},[316],{"type":50,"value":317},"\u002F\u002F Fully typed API calls\n",{"type":44,"tag":85,"props":319,"children":321},{"class":87,"line":320},7,[322,326,331,335,340,344,349,354,358,363,367,372,378,383,387,392,396,401,405],{"type":44,"tag":85,"props":323,"children":324},{"style":250},[325],{"type":50,"value":253},{"type":44,"tag":85,"props":327,"children":328},{"style":208},[329],{"type":50,"value":330}," user ",{"type":44,"tag":85,"props":332,"children":333},{"style":219},[334],{"type":50,"value":263},{"type":44,"tag":85,"props":336,"children":337},{"style":202},[338],{"type":50,"value":339}," await",{"type":44,"tag":85,"props":341,"children":342},{"style":208},[343],{"type":50,"value":115},{"type":44,"tag":85,"props":345,"children":346},{"style":219},[347],{"type":50,"value":348},".",{"type":44,"tag":85,"props":350,"children":351},{"style":208},[352],{"type":50,"value":353},"user",{"type":44,"tag":85,"props":355,"children":356},{"style":219},[357],{"type":50,"value":348},{"type":44,"tag":85,"props":359,"children":360},{"style":271},[361],{"type":50,"value":362},"getUser",{"type":44,"tag":85,"props":364,"children":365},{"style":208},[366],{"type":50,"value":279},{"type":44,"tag":85,"props":368,"children":369},{"style":219},[370],{"type":50,"value":371},"{",{"type":44,"tag":85,"props":373,"children":375},{"style":374},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[376],{"type":50,"value":377}," id",{"type":44,"tag":85,"props":379,"children":380},{"style":219},[381],{"type":50,"value":382},":",{"type":44,"tag":85,"props":384,"children":385},{"style":219},[386],{"type":50,"value":222},{"type":44,"tag":85,"props":388,"children":389},{"style":107},[390],{"type":50,"value":391},"123",{"type":44,"tag":85,"props":393,"children":394},{"style":219},[395],{"type":50,"value":232},{"type":44,"tag":85,"props":397,"children":398},{"style":219},[399],{"type":50,"value":400}," }",{"type":44,"tag":85,"props":402,"children":403},{"style":208},[404],{"type":50,"value":297},{"type":44,"tag":85,"props":406,"children":407},{"style":219},[408],{"type":50,"value":237},{"type":44,"tag":85,"props":410,"children":412},{"class":87,"line":411},8,[413,418,422,427,432,436,441],{"type":44,"tag":85,"props":414,"children":415},{"style":208},[416],{"type":50,"value":417},"console",{"type":44,"tag":85,"props":419,"children":420},{"style":219},[421],{"type":50,"value":348},{"type":44,"tag":85,"props":423,"children":424},{"style":271},[425],{"type":50,"value":426},"log",{"type":44,"tag":85,"props":428,"children":429},{"style":208},[430],{"type":50,"value":431},"(user",{"type":44,"tag":85,"props":433,"children":434},{"style":219},[435],{"type":50,"value":348},{"type":44,"tag":85,"props":437,"children":438},{"style":208},[439],{"type":50,"value":440},"email)",{"type":44,"tag":85,"props":442,"children":443},{"style":219},[444],{"type":50,"value":237},{"type":44,"tag":85,"props":446,"children":448},{"class":87,"line":447},9,[449],{"type":44,"tag":85,"props":450,"children":451},{"emptyLinePlaceholder":132},[452],{"type":50,"value":135},{"type":44,"tag":85,"props":454,"children":456},{"class":87,"line":455},10,[457,461,466,470,474,478,482,486,490,495,499],{"type":44,"tag":85,"props":458,"children":459},{"style":250},[460],{"type":50,"value":253},{"type":44,"tag":85,"props":462,"children":463},{"style":208},[464],{"type":50,"value":465}," newUser ",{"type":44,"tag":85,"props":467,"children":468},{"style":219},[469],{"type":50,"value":263},{"type":44,"tag":85,"props":471,"children":472},{"style":202},[473],{"type":50,"value":339},{"type":44,"tag":85,"props":475,"children":476},{"style":208},[477],{"type":50,"value":115},{"type":44,"tag":85,"props":479,"children":480},{"style":219},[481],{"type":50,"value":348},{"type":44,"tag":85,"props":483,"children":484},{"style":208},[485],{"type":50,"value":353},{"type":44,"tag":85,"props":487,"children":488},{"style":219},[489],{"type":50,"value":348},{"type":44,"tag":85,"props":491,"children":492},{"style":271},[493],{"type":50,"value":494},"createUser",{"type":44,"tag":85,"props":496,"children":497},{"style":208},[498],{"type":50,"value":279},{"type":44,"tag":85,"props":500,"children":501},{"style":219},[502],{"type":50,"value":503},"{\n",{"type":44,"tag":85,"props":505,"children":507},{"class":87,"line":506},11,[508,513,517,521,526,530],{"type":44,"tag":85,"props":509,"children":510},{"style":374},[511],{"type":50,"value":512},"  email",{"type":44,"tag":85,"props":514,"children":515},{"style":219},[516],{"type":50,"value":382},{"type":44,"tag":85,"props":518,"children":519},{"style":219},[520],{"type":50,"value":222},{"type":44,"tag":85,"props":522,"children":523},{"style":107},[524],{"type":50,"value":525},"new@example.com",{"type":44,"tag":85,"props":527,"children":528},{"style":219},[529],{"type":50,"value":232},{"type":44,"tag":85,"props":531,"children":532},{"style":219},[533],{"type":50,"value":534},",\n",{"type":44,"tag":85,"props":536,"children":538},{"class":87,"line":537},12,[539,544,548,552,557,561],{"type":44,"tag":85,"props":540,"children":541},{"style":374},[542],{"type":50,"value":543},"  name",{"type":44,"tag":85,"props":545,"children":546},{"style":219},[547],{"type":50,"value":382},{"type":44,"tag":85,"props":549,"children":550},{"style":219},[551],{"type":50,"value":222},{"type":44,"tag":85,"props":553,"children":554},{"style":107},[555],{"type":50,"value":556},"New User",{"type":44,"tag":85,"props":558,"children":559},{"style":219},[560],{"type":50,"value":232},{"type":44,"tag":85,"props":562,"children":563},{"style":219},[564],{"type":50,"value":534},{"type":44,"tag":85,"props":566,"children":568},{"class":87,"line":567},13,[569,574,578],{"type":44,"tag":85,"props":570,"children":571},{"style":219},[572],{"type":50,"value":573},"}",{"type":44,"tag":85,"props":575,"children":576},{"style":208},[577],{"type":50,"value":297},{"type":44,"tag":85,"props":579,"children":580},{"style":219},[581],{"type":50,"value":237},{"type":44,"tag":66,"props":583,"children":585},{"id":584},"react-example",[586],{"type":50,"value":587},"React Example",{"type":44,"tag":73,"props":589,"children":593},{"className":590,"code":591,"language":592,"meta":78,"style":78},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F frontend\u002Fsrc\u002Fcomponents\u002FUserProfile.tsx\nimport { useState, useEffect } from \"react\";\nimport Client from \"..\u002Fclient\";\n\nconst client = new Client(import.meta.env.VITE_API_URL);\n\nexport function UserProfile({ userId }: { userId: string }) {\n  const [user, setUser] = useState(null);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    client.user.getUser({ id: userId })\n      .then(setUser)\n      .catch(setError)\n      .finally(() => setLoading(false));\n  }, [userId]);\n\n  if (loading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  \n  return (\n    \u003Cdiv>\n      \u003Ch1>{user.name}\u003C\u002Fh1>\n      \u003Cp>{user.email}\u003C\u002Fp>\n    \u003C\u002Fdiv>\n  );\n}\n","tsx",[594],{"type":44,"tag":81,"props":595,"children":596},{"__ignoreMap":78},[597,605,657,689,696,758,765,826,883,938,991,998,1024,1077,1104,1130,1177,1204,1212,1274,1345,1354,1368,1386,1429,1470,1486,1499],{"type":44,"tag":85,"props":598,"children":599},{"class":87,"line":88},[600],{"type":44,"tag":85,"props":601,"children":602},{"style":92},[603],{"type":50,"value":604},"\u002F\u002F frontend\u002Fsrc\u002Fcomponents\u002FUserProfile.tsx\n",{"type":44,"tag":85,"props":606,"children":607},{"class":87,"line":98},[608,612,617,622,627,632,636,641,645,649,653],{"type":44,"tag":85,"props":609,"children":610},{"style":202},[611],{"type":50,"value":205},{"type":44,"tag":85,"props":613,"children":614},{"style":219},[615],{"type":50,"value":616}," {",{"type":44,"tag":85,"props":618,"children":619},{"style":208},[620],{"type":50,"value":621}," useState",{"type":44,"tag":85,"props":623,"children":624},{"style":219},[625],{"type":50,"value":626},",",{"type":44,"tag":85,"props":628,"children":629},{"style":208},[630],{"type":50,"value":631}," useEffect",{"type":44,"tag":85,"props":633,"children":634},{"style":219},[635],{"type":50,"value":400},{"type":44,"tag":85,"props":637,"children":638},{"style":202},[639],{"type":50,"value":640}," from",{"type":44,"tag":85,"props":642,"children":643},{"style":219},[644],{"type":50,"value":222},{"type":44,"tag":85,"props":646,"children":647},{"style":107},[648],{"type":50,"value":15},{"type":44,"tag":85,"props":650,"children":651},{"style":219},[652],{"type":50,"value":232},{"type":44,"tag":85,"props":654,"children":655},{"style":219},[656],{"type":50,"value":237},{"type":44,"tag":85,"props":658,"children":659},{"class":87,"line":128},[660,664,668,672,676,681,685],{"type":44,"tag":85,"props":661,"children":662},{"style":202},[663],{"type":50,"value":205},{"type":44,"tag":85,"props":665,"children":666},{"style":208},[667],{"type":50,"value":211},{"type":44,"tag":85,"props":669,"children":670},{"style":202},[671],{"type":50,"value":216},{"type":44,"tag":85,"props":673,"children":674},{"style":219},[675],{"type":50,"value":222},{"type":44,"tag":85,"props":677,"children":678},{"style":107},[679],{"type":50,"value":680},"..\u002Fclient",{"type":44,"tag":85,"props":682,"children":683},{"style":219},[684],{"type":50,"value":232},{"type":44,"tag":85,"props":686,"children":687},{"style":219},[688],{"type":50,"value":237},{"type":44,"tag":85,"props":690,"children":691},{"class":87,"line":138},[692],{"type":44,"tag":85,"props":693,"children":694},{"emptyLinePlaceholder":132},[695],{"type":50,"value":135},{"type":44,"tag":85,"props":697,"children":698},{"class":87,"line":28},[699,703,707,711,715,719,723,727,731,736,740,745,749,754],{"type":44,"tag":85,"props":700,"children":701},{"style":250},[702],{"type":50,"value":253},{"type":44,"tag":85,"props":704,"children":705},{"style":208},[706],{"type":50,"value":258},{"type":44,"tag":85,"props":708,"children":709},{"style":219},[710],{"type":50,"value":263},{"type":44,"tag":85,"props":712,"children":713},{"style":219},[714],{"type":50,"value":268},{"type":44,"tag":85,"props":716,"children":717},{"style":271},[718],{"type":50,"value":274},{"type":44,"tag":85,"props":720,"children":721},{"style":208},[722],{"type":50,"value":279},{"type":44,"tag":85,"props":724,"children":725},{"style":202},[726],{"type":50,"value":205},{"type":44,"tag":85,"props":728,"children":729},{"style":219},[730],{"type":50,"value":348},{"type":44,"tag":85,"props":732,"children":733},{"style":208},[734],{"type":50,"value":735},"meta",{"type":44,"tag":85,"props":737,"children":738},{"style":219},[739],{"type":50,"value":348},{"type":44,"tag":85,"props":741,"children":742},{"style":208},[743],{"type":50,"value":744},"env",{"type":44,"tag":85,"props":746,"children":747},{"style":219},[748],{"type":50,"value":348},{"type":44,"tag":85,"props":750,"children":751},{"style":208},[752],{"type":50,"value":753},"VITE_API_URL)",{"type":44,"tag":85,"props":755,"children":756},{"style":219},[757],{"type":50,"value":237},{"type":44,"tag":85,"props":759,"children":760},{"class":87,"line":311},[761],{"type":44,"tag":85,"props":762,"children":763},{"emptyLinePlaceholder":132},[764],{"type":50,"value":135},{"type":44,"tag":85,"props":766,"children":767},{"class":87,"line":320},[768,773,778,783,788,794,799,803,807,811,816,821],{"type":44,"tag":85,"props":769,"children":770},{"style":202},[771],{"type":50,"value":772},"export",{"type":44,"tag":85,"props":774,"children":775},{"style":250},[776],{"type":50,"value":777}," function",{"type":44,"tag":85,"props":779,"children":780},{"style":271},[781],{"type":50,"value":782}," UserProfile",{"type":44,"tag":85,"props":784,"children":785},{"style":219},[786],{"type":50,"value":787},"({",{"type":44,"tag":85,"props":789,"children":791},{"style":790},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[792],{"type":50,"value":793}," userId",{"type":44,"tag":85,"props":795,"children":796},{"style":219},[797],{"type":50,"value":798}," }:",{"type":44,"tag":85,"props":800,"children":801},{"style":219},[802],{"type":50,"value":616},{"type":44,"tag":85,"props":804,"children":805},{"style":374},[806],{"type":50,"value":793},{"type":44,"tag":85,"props":808,"children":809},{"style":219},[810],{"type":50,"value":382},{"type":44,"tag":85,"props":812,"children":813},{"style":102},[814],{"type":50,"value":815}," string",{"type":44,"tag":85,"props":817,"children":818},{"style":219},[819],{"type":50,"value":820}," })",{"type":44,"tag":85,"props":822,"children":823},{"style":219},[824],{"type":50,"value":825}," {\n",{"type":44,"tag":85,"props":827,"children":828},{"class":87,"line":411},[829,834,839,843,847,852,857,862,866,870,875,879],{"type":44,"tag":85,"props":830,"children":831},{"style":250},[832],{"type":50,"value":833},"  const",{"type":44,"tag":85,"props":835,"children":836},{"style":219},[837],{"type":50,"value":838}," [",{"type":44,"tag":85,"props":840,"children":841},{"style":208},[842],{"type":50,"value":353},{"type":44,"tag":85,"props":844,"children":845},{"style":219},[846],{"type":50,"value":626},{"type":44,"tag":85,"props":848,"children":849},{"style":208},[850],{"type":50,"value":851}," setUser",{"type":44,"tag":85,"props":853,"children":854},{"style":219},[855],{"type":50,"value":856},"]",{"type":44,"tag":85,"props":858,"children":859},{"style":219},[860],{"type":50,"value":861}," =",{"type":44,"tag":85,"props":863,"children":864},{"style":271},[865],{"type":50,"value":621},{"type":44,"tag":85,"props":867,"children":868},{"style":374},[869],{"type":50,"value":279},{"type":44,"tag":85,"props":871,"children":872},{"style":219},[873],{"type":50,"value":874},"null",{"type":44,"tag":85,"props":876,"children":877},{"style":374},[878],{"type":50,"value":297},{"type":44,"tag":85,"props":880,"children":881},{"style":219},[882],{"type":50,"value":237},{"type":44,"tag":85,"props":884,"children":885},{"class":87,"line":447},[886,890,894,899,903,908,912,916,920,924,930,934],{"type":44,"tag":85,"props":887,"children":888},{"style":250},[889],{"type":50,"value":833},{"type":44,"tag":85,"props":891,"children":892},{"style":219},[893],{"type":50,"value":838},{"type":44,"tag":85,"props":895,"children":896},{"style":208},[897],{"type":50,"value":898},"loading",{"type":44,"tag":85,"props":900,"children":901},{"style":219},[902],{"type":50,"value":626},{"type":44,"tag":85,"props":904,"children":905},{"style":208},[906],{"type":50,"value":907}," setLoading",{"type":44,"tag":85,"props":909,"children":910},{"style":219},[911],{"type":50,"value":856},{"type":44,"tag":85,"props":913,"children":914},{"style":219},[915],{"type":50,"value":861},{"type":44,"tag":85,"props":917,"children":918},{"style":271},[919],{"type":50,"value":621},{"type":44,"tag":85,"props":921,"children":922},{"style":374},[923],{"type":50,"value":279},{"type":44,"tag":85,"props":925,"children":927},{"style":926},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[928],{"type":50,"value":929},"true",{"type":44,"tag":85,"props":931,"children":932},{"style":374},[933],{"type":50,"value":297},{"type":44,"tag":85,"props":935,"children":936},{"style":219},[937],{"type":50,"value":237},{"type":44,"tag":85,"props":939,"children":940},{"class":87,"line":455},[941,945,949,954,958,963,967,971,975,979,983,987],{"type":44,"tag":85,"props":942,"children":943},{"style":250},[944],{"type":50,"value":833},{"type":44,"tag":85,"props":946,"children":947},{"style":219},[948],{"type":50,"value":838},{"type":44,"tag":85,"props":950,"children":951},{"style":208},[952],{"type":50,"value":953},"error",{"type":44,"tag":85,"props":955,"children":956},{"style":219},[957],{"type":50,"value":626},{"type":44,"tag":85,"props":959,"children":960},{"style":208},[961],{"type":50,"value":962}," setError",{"type":44,"tag":85,"props":964,"children":965},{"style":219},[966],{"type":50,"value":856},{"type":44,"tag":85,"props":968,"children":969},{"style":219},[970],{"type":50,"value":861},{"type":44,"tag":85,"props":972,"children":973},{"style":271},[974],{"type":50,"value":621},{"type":44,"tag":85,"props":976,"children":977},{"style":374},[978],{"type":50,"value":279},{"type":44,"tag":85,"props":980,"children":981},{"style":219},[982],{"type":50,"value":874},{"type":44,"tag":85,"props":984,"children":985},{"style":374},[986],{"type":50,"value":297},{"type":44,"tag":85,"props":988,"children":989},{"style":219},[990],{"type":50,"value":237},{"type":44,"tag":85,"props":992,"children":993},{"class":87,"line":506},[994],{"type":44,"tag":85,"props":995,"children":996},{"emptyLinePlaceholder":132},[997],{"type":50,"value":135},{"type":44,"tag":85,"props":999,"children":1000},{"class":87,"line":537},[1001,1006,1010,1015,1020],{"type":44,"tag":85,"props":1002,"children":1003},{"style":271},[1004],{"type":50,"value":1005},"  useEffect",{"type":44,"tag":85,"props":1007,"children":1008},{"style":374},[1009],{"type":50,"value":279},{"type":44,"tag":85,"props":1011,"children":1012},{"style":219},[1013],{"type":50,"value":1014},"()",{"type":44,"tag":85,"props":1016,"children":1017},{"style":250},[1018],{"type":50,"value":1019}," =>",{"type":44,"tag":85,"props":1021,"children":1022},{"style":219},[1023],{"type":50,"value":825},{"type":44,"tag":85,"props":1025,"children":1026},{"class":87,"line":567},[1027,1032,1036,1040,1044,1048,1052,1056,1060,1064,1068,1072],{"type":44,"tag":85,"props":1028,"children":1029},{"style":208},[1030],{"type":50,"value":1031},"    client",{"type":44,"tag":85,"props":1033,"children":1034},{"style":219},[1035],{"type":50,"value":348},{"type":44,"tag":85,"props":1037,"children":1038},{"style":208},[1039],{"type":50,"value":353},{"type":44,"tag":85,"props":1041,"children":1042},{"style":219},[1043],{"type":50,"value":348},{"type":44,"tag":85,"props":1045,"children":1046},{"style":271},[1047],{"type":50,"value":362},{"type":44,"tag":85,"props":1049,"children":1050},{"style":374},[1051],{"type":50,"value":279},{"type":44,"tag":85,"props":1053,"children":1054},{"style":219},[1055],{"type":50,"value":371},{"type":44,"tag":85,"props":1057,"children":1058},{"style":374},[1059],{"type":50,"value":377},{"type":44,"tag":85,"props":1061,"children":1062},{"style":219},[1063],{"type":50,"value":382},{"type":44,"tag":85,"props":1065,"children":1066},{"style":208},[1067],{"type":50,"value":793},{"type":44,"tag":85,"props":1069,"children":1070},{"style":219},[1071],{"type":50,"value":400},{"type":44,"tag":85,"props":1073,"children":1074},{"style":374},[1075],{"type":50,"value":1076},")\n",{"type":44,"tag":85,"props":1078,"children":1080},{"class":87,"line":1079},14,[1081,1086,1091,1095,1100],{"type":44,"tag":85,"props":1082,"children":1083},{"style":219},[1084],{"type":50,"value":1085},"      .",{"type":44,"tag":85,"props":1087,"children":1088},{"style":271},[1089],{"type":50,"value":1090},"then",{"type":44,"tag":85,"props":1092,"children":1093},{"style":374},[1094],{"type":50,"value":279},{"type":44,"tag":85,"props":1096,"children":1097},{"style":208},[1098],{"type":50,"value":1099},"setUser",{"type":44,"tag":85,"props":1101,"children":1102},{"style":374},[1103],{"type":50,"value":1076},{"type":44,"tag":85,"props":1105,"children":1107},{"class":87,"line":1106},15,[1108,1112,1117,1121,1126],{"type":44,"tag":85,"props":1109,"children":1110},{"style":219},[1111],{"type":50,"value":1085},{"type":44,"tag":85,"props":1113,"children":1114},{"style":271},[1115],{"type":50,"value":1116},"catch",{"type":44,"tag":85,"props":1118,"children":1119},{"style":374},[1120],{"type":50,"value":279},{"type":44,"tag":85,"props":1122,"children":1123},{"style":208},[1124],{"type":50,"value":1125},"setError",{"type":44,"tag":85,"props":1127,"children":1128},{"style":374},[1129],{"type":50,"value":1076},{"type":44,"tag":85,"props":1131,"children":1133},{"class":87,"line":1132},16,[1134,1138,1143,1147,1151,1155,1159,1163,1168,1173],{"type":44,"tag":85,"props":1135,"children":1136},{"style":219},[1137],{"type":50,"value":1085},{"type":44,"tag":85,"props":1139,"children":1140},{"style":271},[1141],{"type":50,"value":1142},"finally",{"type":44,"tag":85,"props":1144,"children":1145},{"style":374},[1146],{"type":50,"value":279},{"type":44,"tag":85,"props":1148,"children":1149},{"style":219},[1150],{"type":50,"value":1014},{"type":44,"tag":85,"props":1152,"children":1153},{"style":250},[1154],{"type":50,"value":1019},{"type":44,"tag":85,"props":1156,"children":1157},{"style":271},[1158],{"type":50,"value":907},{"type":44,"tag":85,"props":1160,"children":1161},{"style":374},[1162],{"type":50,"value":279},{"type":44,"tag":85,"props":1164,"children":1165},{"style":926},[1166],{"type":50,"value":1167},"false",{"type":44,"tag":85,"props":1169,"children":1170},{"style":374},[1171],{"type":50,"value":1172},"))",{"type":44,"tag":85,"props":1174,"children":1175},{"style":219},[1176],{"type":50,"value":237},{"type":44,"tag":85,"props":1178,"children":1180},{"class":87,"line":1179},17,[1181,1186,1190,1195,1200],{"type":44,"tag":85,"props":1182,"children":1183},{"style":219},[1184],{"type":50,"value":1185},"  },",{"type":44,"tag":85,"props":1187,"children":1188},{"style":374},[1189],{"type":50,"value":838},{"type":44,"tag":85,"props":1191,"children":1192},{"style":208},[1193],{"type":50,"value":1194},"userId",{"type":44,"tag":85,"props":1196,"children":1197},{"style":374},[1198],{"type":50,"value":1199},"])",{"type":44,"tag":85,"props":1201,"children":1202},{"style":219},[1203],{"type":50,"value":237},{"type":44,"tag":85,"props":1205,"children":1207},{"class":87,"line":1206},18,[1208],{"type":44,"tag":85,"props":1209,"children":1210},{"emptyLinePlaceholder":132},[1211],{"type":50,"value":135},{"type":44,"tag":85,"props":1213,"children":1215},{"class":87,"line":1214},19,[1216,1221,1226,1230,1235,1240,1245,1250,1255,1260,1265,1269],{"type":44,"tag":85,"props":1217,"children":1218},{"style":202},[1219],{"type":50,"value":1220},"  if",{"type":44,"tag":85,"props":1222,"children":1223},{"style":374},[1224],{"type":50,"value":1225}," (",{"type":44,"tag":85,"props":1227,"children":1228},{"style":208},[1229],{"type":50,"value":898},{"type":44,"tag":85,"props":1231,"children":1232},{"style":374},[1233],{"type":50,"value":1234},") ",{"type":44,"tag":85,"props":1236,"children":1237},{"style":202},[1238],{"type":50,"value":1239},"return",{"type":44,"tag":85,"props":1241,"children":1242},{"style":219},[1243],{"type":50,"value":1244}," \u003C",{"type":44,"tag":85,"props":1246,"children":1247},{"style":374},[1248],{"type":50,"value":1249},"div",{"type":44,"tag":85,"props":1251,"children":1252},{"style":219},[1253],{"type":50,"value":1254},">",{"type":44,"tag":85,"props":1256,"children":1257},{"style":208},[1258],{"type":50,"value":1259},"Loading...",{"type":44,"tag":85,"props":1261,"children":1262},{"style":219},[1263],{"type":50,"value":1264},"\u003C\u002F",{"type":44,"tag":85,"props":1266,"children":1267},{"style":374},[1268],{"type":50,"value":1249},{"type":44,"tag":85,"props":1270,"children":1271},{"style":219},[1272],{"type":50,"value":1273},">;\n",{"type":44,"tag":85,"props":1275,"children":1277},{"class":87,"line":1276},20,[1278,1282,1286,1290,1294,1298,1302,1306,1310,1315,1319,1323,1327,1332,1337,1341],{"type":44,"tag":85,"props":1279,"children":1280},{"style":202},[1281],{"type":50,"value":1220},{"type":44,"tag":85,"props":1283,"children":1284},{"style":374},[1285],{"type":50,"value":1225},{"type":44,"tag":85,"props":1287,"children":1288},{"style":208},[1289],{"type":50,"value":953},{"type":44,"tag":85,"props":1291,"children":1292},{"style":374},[1293],{"type":50,"value":1234},{"type":44,"tag":85,"props":1295,"children":1296},{"style":202},[1297],{"type":50,"value":1239},{"type":44,"tag":85,"props":1299,"children":1300},{"style":219},[1301],{"type":50,"value":1244},{"type":44,"tag":85,"props":1303,"children":1304},{"style":374},[1305],{"type":50,"value":1249},{"type":44,"tag":85,"props":1307,"children":1308},{"style":219},[1309],{"type":50,"value":1254},{"type":44,"tag":85,"props":1311,"children":1312},{"style":208},[1313],{"type":50,"value":1314},"Error: ",{"type":44,"tag":85,"props":1316,"children":1317},{"style":219},[1318],{"type":50,"value":371},{"type":44,"tag":85,"props":1320,"children":1321},{"style":208},[1322],{"type":50,"value":953},{"type":44,"tag":85,"props":1324,"children":1325},{"style":219},[1326],{"type":50,"value":348},{"type":44,"tag":85,"props":1328,"children":1329},{"style":208},[1330],{"type":50,"value":1331},"message",{"type":44,"tag":85,"props":1333,"children":1334},{"style":219},[1335],{"type":50,"value":1336},"}\u003C\u002F",{"type":44,"tag":85,"props":1338,"children":1339},{"style":374},[1340],{"type":50,"value":1249},{"type":44,"tag":85,"props":1342,"children":1343},{"style":219},[1344],{"type":50,"value":1273},{"type":44,"tag":85,"props":1346,"children":1348},{"class":87,"line":1347},21,[1349],{"type":44,"tag":85,"props":1350,"children":1351},{"style":374},[1352],{"type":50,"value":1353},"  \n",{"type":44,"tag":85,"props":1355,"children":1357},{"class":87,"line":1356},22,[1358,1363],{"type":44,"tag":85,"props":1359,"children":1360},{"style":202},[1361],{"type":50,"value":1362},"  return",{"type":44,"tag":85,"props":1364,"children":1365},{"style":374},[1366],{"type":50,"value":1367}," (\n",{"type":44,"tag":85,"props":1369,"children":1371},{"class":87,"line":1370},23,[1372,1377,1381],{"type":44,"tag":85,"props":1373,"children":1374},{"style":219},[1375],{"type":50,"value":1376},"    \u003C",{"type":44,"tag":85,"props":1378,"children":1379},{"style":374},[1380],{"type":50,"value":1249},{"type":44,"tag":85,"props":1382,"children":1383},{"style":219},[1384],{"type":50,"value":1385},">\n",{"type":44,"tag":85,"props":1387,"children":1389},{"class":87,"line":1388},24,[1390,1395,1399,1404,1408,1412,1417,1421,1425],{"type":44,"tag":85,"props":1391,"children":1392},{"style":219},[1393],{"type":50,"value":1394},"      \u003C",{"type":44,"tag":85,"props":1396,"children":1397},{"style":374},[1398],{"type":50,"value":45},{"type":44,"tag":85,"props":1400,"children":1401},{"style":219},[1402],{"type":50,"value":1403},">{",{"type":44,"tag":85,"props":1405,"children":1406},{"style":208},[1407],{"type":50,"value":353},{"type":44,"tag":85,"props":1409,"children":1410},{"style":219},[1411],{"type":50,"value":348},{"type":44,"tag":85,"props":1413,"children":1414},{"style":208},[1415],{"type":50,"value":1416},"name",{"type":44,"tag":85,"props":1418,"children":1419},{"style":219},[1420],{"type":50,"value":1336},{"type":44,"tag":85,"props":1422,"children":1423},{"style":374},[1424],{"type":50,"value":45},{"type":44,"tag":85,"props":1426,"children":1427},{"style":219},[1428],{"type":50,"value":1385},{"type":44,"tag":85,"props":1430,"children":1432},{"class":87,"line":1431},25,[1433,1437,1441,1445,1449,1453,1458,1462,1466],{"type":44,"tag":85,"props":1434,"children":1435},{"style":219},[1436],{"type":50,"value":1394},{"type":44,"tag":85,"props":1438,"children":1439},{"style":374},[1440],{"type":50,"value":60},{"type":44,"tag":85,"props":1442,"children":1443},{"style":219},[1444],{"type":50,"value":1403},{"type":44,"tag":85,"props":1446,"children":1447},{"style":208},[1448],{"type":50,"value":353},{"type":44,"tag":85,"props":1450,"children":1451},{"style":219},[1452],{"type":50,"value":348},{"type":44,"tag":85,"props":1454,"children":1455},{"style":208},[1456],{"type":50,"value":1457},"email",{"type":44,"tag":85,"props":1459,"children":1460},{"style":219},[1461],{"type":50,"value":1336},{"type":44,"tag":85,"props":1463,"children":1464},{"style":374},[1465],{"type":50,"value":60},{"type":44,"tag":85,"props":1467,"children":1468},{"style":219},[1469],{"type":50,"value":1385},{"type":44,"tag":85,"props":1471,"children":1472},{"class":87,"line":24},[1473,1478,1482],{"type":44,"tag":85,"props":1474,"children":1475},{"style":219},[1476],{"type":50,"value":1477},"    \u003C\u002F",{"type":44,"tag":85,"props":1479,"children":1480},{"style":374},[1481],{"type":50,"value":1249},{"type":44,"tag":85,"props":1483,"children":1484},{"style":219},[1485],{"type":50,"value":1385},{"type":44,"tag":85,"props":1487,"children":1489},{"class":87,"line":1488},27,[1490,1495],{"type":44,"tag":85,"props":1491,"children":1492},{"style":374},[1493],{"type":50,"value":1494},"  )",{"type":44,"tag":85,"props":1496,"children":1497},{"style":219},[1498],{"type":50,"value":237},{"type":44,"tag":85,"props":1500,"children":1502},{"class":87,"line":1501},28,[1503],{"type":44,"tag":85,"props":1504,"children":1505},{"style":219},[1506],{"type":50,"value":1507},"}\n",{"type":44,"tag":66,"props":1509,"children":1511},{"id":1510},"react-with-tanstack-query",[1512],{"type":50,"value":1513},"React with TanStack Query",{"type":44,"tag":73,"props":1515,"children":1517},{"className":590,"code":1516,"language":592,"meta":78,"style":78},"import { useQuery, useMutation, useQueryClient } from \"@tanstack\u002Freact-query\";\nimport Client from \"..\u002Fclient\";\n\nconst client = new Client(import.meta.env.VITE_API_URL);\n\nexport function UserProfile({ userId }: { userId: string }) {\n  const { data: user, isLoading, error } = useQuery({\n    queryKey: [\"user\", userId],\n    queryFn: () => client.user.getUser({ id: userId }),\n  });\n\n  if (isLoading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  \n  return \u003Cdiv>{user.name}\u003C\u002Fdiv>;\n}\n\nexport function CreateUserForm() {\n  const queryClient = useQueryClient();\n  \n  const mutation = useMutation({\n    mutationFn: (data: { email: string; name: string }) => \n      client.user.createUser(data),\n    onSuccess: () => {\n      queryClient.invalidateQueries({ queryKey: [\"users\"] });\n    },\n  });\n\n  const handleSubmit = (e: React.FormEvent\u003CHTMLFormElement>) => {\n    e.preventDefault();\n    const formData = new FormData(e.currentTarget);\n    mutation.mutate({\n      email: formData.get(\"email\") as string,\n      name: formData.get(\"name\") as string,\n    });\n  };\n\n  return (\n    \u003Cform onSubmit={handleSubmit}>\n      \u003Cinput name=\"email\" type=\"email\" required \u002F>\n      \u003Cinput name=\"name\" required \u002F>\n      \u003Cbutton type=\"submit\" disabled={mutation.isPending}>\n        {mutation.isPending ? \"Creating...\" : \"Create User\"}\n      \u003C\u002Fbutton>\n    \u003C\u002Fform>\n  );\n}\n",[1518],{"type":44,"tag":81,"props":1519,"children":1520},{"__ignoreMap":78},[1521,1580,1611,1618,1677,1684,1735,1798,1842,1915,1931,1938,1990,2057,2064,2107,2114,2121,2145,2173,2180,2208,2281,2321,2345,2413,2421,2436,2443,2510,2536,2588,2614,2673,2730,2747,2756,2764,2776,2809,2873,2913,2974,3036,3053,3069,3081],{"type":44,"tag":85,"props":1522,"children":1523},{"class":87,"line":88},[1524,1528,1532,1537,1541,1546,1550,1555,1559,1563,1567,1572,1576],{"type":44,"tag":85,"props":1525,"children":1526},{"style":202},[1527],{"type":50,"value":205},{"type":44,"tag":85,"props":1529,"children":1530},{"style":219},[1531],{"type":50,"value":616},{"type":44,"tag":85,"props":1533,"children":1534},{"style":208},[1535],{"type":50,"value":1536}," useQuery",{"type":44,"tag":85,"props":1538,"children":1539},{"style":219},[1540],{"type":50,"value":626},{"type":44,"tag":85,"props":1542,"children":1543},{"style":208},[1544],{"type":50,"value":1545}," useMutation",{"type":44,"tag":85,"props":1547,"children":1548},{"style":219},[1549],{"type":50,"value":626},{"type":44,"tag":85,"props":1551,"children":1552},{"style":208},[1553],{"type":50,"value":1554}," useQueryClient",{"type":44,"tag":85,"props":1556,"children":1557},{"style":219},[1558],{"type":50,"value":400},{"type":44,"tag":85,"props":1560,"children":1561},{"style":202},[1562],{"type":50,"value":640},{"type":44,"tag":85,"props":1564,"children":1565},{"style":219},[1566],{"type":50,"value":222},{"type":44,"tag":85,"props":1568,"children":1569},{"style":107},[1570],{"type":50,"value":1571},"@tanstack\u002Freact-query",{"type":44,"tag":85,"props":1573,"children":1574},{"style":219},[1575],{"type":50,"value":232},{"type":44,"tag":85,"props":1577,"children":1578},{"style":219},[1579],{"type":50,"value":237},{"type":44,"tag":85,"props":1581,"children":1582},{"class":87,"line":98},[1583,1587,1591,1595,1599,1603,1607],{"type":44,"tag":85,"props":1584,"children":1585},{"style":202},[1586],{"type":50,"value":205},{"type":44,"tag":85,"props":1588,"children":1589},{"style":208},[1590],{"type":50,"value":211},{"type":44,"tag":85,"props":1592,"children":1593},{"style":202},[1594],{"type":50,"value":216},{"type":44,"tag":85,"props":1596,"children":1597},{"style":219},[1598],{"type":50,"value":222},{"type":44,"tag":85,"props":1600,"children":1601},{"style":107},[1602],{"type":50,"value":680},{"type":44,"tag":85,"props":1604,"children":1605},{"style":219},[1606],{"type":50,"value":232},{"type":44,"tag":85,"props":1608,"children":1609},{"style":219},[1610],{"type":50,"value":237},{"type":44,"tag":85,"props":1612,"children":1613},{"class":87,"line":128},[1614],{"type":44,"tag":85,"props":1615,"children":1616},{"emptyLinePlaceholder":132},[1617],{"type":50,"value":135},{"type":44,"tag":85,"props":1619,"children":1620},{"class":87,"line":138},[1621,1625,1629,1633,1637,1641,1645,1649,1653,1657,1661,1665,1669,1673],{"type":44,"tag":85,"props":1622,"children":1623},{"style":250},[1624],{"type":50,"value":253},{"type":44,"tag":85,"props":1626,"children":1627},{"style":208},[1628],{"type":50,"value":258},{"type":44,"tag":85,"props":1630,"children":1631},{"style":219},[1632],{"type":50,"value":263},{"type":44,"tag":85,"props":1634,"children":1635},{"style":219},[1636],{"type":50,"value":268},{"type":44,"tag":85,"props":1638,"children":1639},{"style":271},[1640],{"type":50,"value":274},{"type":44,"tag":85,"props":1642,"children":1643},{"style":208},[1644],{"type":50,"value":279},{"type":44,"tag":85,"props":1646,"children":1647},{"style":202},[1648],{"type":50,"value":205},{"type":44,"tag":85,"props":1650,"children":1651},{"style":219},[1652],{"type":50,"value":348},{"type":44,"tag":85,"props":1654,"children":1655},{"style":208},[1656],{"type":50,"value":735},{"type":44,"tag":85,"props":1658,"children":1659},{"style":219},[1660],{"type":50,"value":348},{"type":44,"tag":85,"props":1662,"children":1663},{"style":208},[1664],{"type":50,"value":744},{"type":44,"tag":85,"props":1666,"children":1667},{"style":219},[1668],{"type":50,"value":348},{"type":44,"tag":85,"props":1670,"children":1671},{"style":208},[1672],{"type":50,"value":753},{"type":44,"tag":85,"props":1674,"children":1675},{"style":219},[1676],{"type":50,"value":237},{"type":44,"tag":85,"props":1678,"children":1679},{"class":87,"line":28},[1680],{"type":44,"tag":85,"props":1681,"children":1682},{"emptyLinePlaceholder":132},[1683],{"type":50,"value":135},{"type":44,"tag":85,"props":1685,"children":1686},{"class":87,"line":311},[1687,1691,1695,1699,1703,1707,1711,1715,1719,1723,1727,1731],{"type":44,"tag":85,"props":1688,"children":1689},{"style":202},[1690],{"type":50,"value":772},{"type":44,"tag":85,"props":1692,"children":1693},{"style":250},[1694],{"type":50,"value":777},{"type":44,"tag":85,"props":1696,"children":1697},{"style":271},[1698],{"type":50,"value":782},{"type":44,"tag":85,"props":1700,"children":1701},{"style":219},[1702],{"type":50,"value":787},{"type":44,"tag":85,"props":1704,"children":1705},{"style":790},[1706],{"type":50,"value":793},{"type":44,"tag":85,"props":1708,"children":1709},{"style":219},[1710],{"type":50,"value":798},{"type":44,"tag":85,"props":1712,"children":1713},{"style":219},[1714],{"type":50,"value":616},{"type":44,"tag":85,"props":1716,"children":1717},{"style":374},[1718],{"type":50,"value":793},{"type":44,"tag":85,"props":1720,"children":1721},{"style":219},[1722],{"type":50,"value":382},{"type":44,"tag":85,"props":1724,"children":1725},{"style":102},[1726],{"type":50,"value":815},{"type":44,"tag":85,"props":1728,"children":1729},{"style":219},[1730],{"type":50,"value":820},{"type":44,"tag":85,"props":1732,"children":1733},{"style":219},[1734],{"type":50,"value":825},{"type":44,"tag":85,"props":1736,"children":1737},{"class":87,"line":320},[1738,1742,1746,1751,1755,1760,1764,1769,1773,1778,1782,1786,1790,1794],{"type":44,"tag":85,"props":1739,"children":1740},{"style":250},[1741],{"type":50,"value":833},{"type":44,"tag":85,"props":1743,"children":1744},{"style":219},[1745],{"type":50,"value":616},{"type":44,"tag":85,"props":1747,"children":1748},{"style":374},[1749],{"type":50,"value":1750}," data",{"type":44,"tag":85,"props":1752,"children":1753},{"style":219},[1754],{"type":50,"value":382},{"type":44,"tag":85,"props":1756,"children":1757},{"style":208},[1758],{"type":50,"value":1759}," user",{"type":44,"tag":85,"props":1761,"children":1762},{"style":219},[1763],{"type":50,"value":626},{"type":44,"tag":85,"props":1765,"children":1766},{"style":208},[1767],{"type":50,"value":1768}," isLoading",{"type":44,"tag":85,"props":1770,"children":1771},{"style":219},[1772],{"type":50,"value":626},{"type":44,"tag":85,"props":1774,"children":1775},{"style":208},[1776],{"type":50,"value":1777}," error",{"type":44,"tag":85,"props":1779,"children":1780},{"style":219},[1781],{"type":50,"value":400},{"type":44,"tag":85,"props":1783,"children":1784},{"style":219},[1785],{"type":50,"value":861},{"type":44,"tag":85,"props":1787,"children":1788},{"style":271},[1789],{"type":50,"value":1536},{"type":44,"tag":85,"props":1791,"children":1792},{"style":374},[1793],{"type":50,"value":279},{"type":44,"tag":85,"props":1795,"children":1796},{"style":219},[1797],{"type":50,"value":503},{"type":44,"tag":85,"props":1799,"children":1800},{"class":87,"line":411},[1801,1806,1810,1814,1818,1822,1826,1830,1834,1838],{"type":44,"tag":85,"props":1802,"children":1803},{"style":374},[1804],{"type":50,"value":1805},"    queryKey",{"type":44,"tag":85,"props":1807,"children":1808},{"style":219},[1809],{"type":50,"value":382},{"type":44,"tag":85,"props":1811,"children":1812},{"style":374},[1813],{"type":50,"value":838},{"type":44,"tag":85,"props":1815,"children":1816},{"style":219},[1817],{"type":50,"value":232},{"type":44,"tag":85,"props":1819,"children":1820},{"style":107},[1821],{"type":50,"value":353},{"type":44,"tag":85,"props":1823,"children":1824},{"style":219},[1825],{"type":50,"value":232},{"type":44,"tag":85,"props":1827,"children":1828},{"style":219},[1829],{"type":50,"value":626},{"type":44,"tag":85,"props":1831,"children":1832},{"style":208},[1833],{"type":50,"value":793},{"type":44,"tag":85,"props":1835,"children":1836},{"style":374},[1837],{"type":50,"value":856},{"type":44,"tag":85,"props":1839,"children":1840},{"style":219},[1841],{"type":50,"value":534},{"type":44,"tag":85,"props":1843,"children":1844},{"class":87,"line":447},[1845,1850,1854,1859,1863,1867,1871,1875,1879,1883,1887,1891,1895,1899,1903,1907,1911],{"type":44,"tag":85,"props":1846,"children":1847},{"style":271},[1848],{"type":50,"value":1849},"    queryFn",{"type":44,"tag":85,"props":1851,"children":1852},{"style":219},[1853],{"type":50,"value":382},{"type":44,"tag":85,"props":1855,"children":1856},{"style":219},[1857],{"type":50,"value":1858}," ()",{"type":44,"tag":85,"props":1860,"children":1861},{"style":250},[1862],{"type":50,"value":1019},{"type":44,"tag":85,"props":1864,"children":1865},{"style":208},[1866],{"type":50,"value":115},{"type":44,"tag":85,"props":1868,"children":1869},{"style":219},[1870],{"type":50,"value":348},{"type":44,"tag":85,"props":1872,"children":1873},{"style":208},[1874],{"type":50,"value":353},{"type":44,"tag":85,"props":1876,"children":1877},{"style":219},[1878],{"type":50,"value":348},{"type":44,"tag":85,"props":1880,"children":1881},{"style":271},[1882],{"type":50,"value":362},{"type":44,"tag":85,"props":1884,"children":1885},{"style":374},[1886],{"type":50,"value":279},{"type":44,"tag":85,"props":1888,"children":1889},{"style":219},[1890],{"type":50,"value":371},{"type":44,"tag":85,"props":1892,"children":1893},{"style":374},[1894],{"type":50,"value":377},{"type":44,"tag":85,"props":1896,"children":1897},{"style":219},[1898],{"type":50,"value":382},{"type":44,"tag":85,"props":1900,"children":1901},{"style":208},[1902],{"type":50,"value":793},{"type":44,"tag":85,"props":1904,"children":1905},{"style":219},[1906],{"type":50,"value":400},{"type":44,"tag":85,"props":1908,"children":1909},{"style":374},[1910],{"type":50,"value":297},{"type":44,"tag":85,"props":1912,"children":1913},{"style":219},[1914],{"type":50,"value":534},{"type":44,"tag":85,"props":1916,"children":1917},{"class":87,"line":455},[1918,1923,1927],{"type":44,"tag":85,"props":1919,"children":1920},{"style":219},[1921],{"type":50,"value":1922},"  }",{"type":44,"tag":85,"props":1924,"children":1925},{"style":374},[1926],{"type":50,"value":297},{"type":44,"tag":85,"props":1928,"children":1929},{"style":219},[1930],{"type":50,"value":237},{"type":44,"tag":85,"props":1932,"children":1933},{"class":87,"line":506},[1934],{"type":44,"tag":85,"props":1935,"children":1936},{"emptyLinePlaceholder":132},[1937],{"type":50,"value":135},{"type":44,"tag":85,"props":1939,"children":1940},{"class":87,"line":537},[1941,1945,1949,1954,1958,1962,1966,1970,1974,1978,1982,1986],{"type":44,"tag":85,"props":1942,"children":1943},{"style":202},[1944],{"type":50,"value":1220},{"type":44,"tag":85,"props":1946,"children":1947},{"style":374},[1948],{"type":50,"value":1225},{"type":44,"tag":85,"props":1950,"children":1951},{"style":208},[1952],{"type":50,"value":1953},"isLoading",{"type":44,"tag":85,"props":1955,"children":1956},{"style":374},[1957],{"type":50,"value":1234},{"type":44,"tag":85,"props":1959,"children":1960},{"style":202},[1961],{"type":50,"value":1239},{"type":44,"tag":85,"props":1963,"children":1964},{"style":219},[1965],{"type":50,"value":1244},{"type":44,"tag":85,"props":1967,"children":1968},{"style":374},[1969],{"type":50,"value":1249},{"type":44,"tag":85,"props":1971,"children":1972},{"style":219},[1973],{"type":50,"value":1254},{"type":44,"tag":85,"props":1975,"children":1976},{"style":208},[1977],{"type":50,"value":1259},{"type":44,"tag":85,"props":1979,"children":1980},{"style":219},[1981],{"type":50,"value":1264},{"type":44,"tag":85,"props":1983,"children":1984},{"style":374},[1985],{"type":50,"value":1249},{"type":44,"tag":85,"props":1987,"children":1988},{"style":219},[1989],{"type":50,"value":1273},{"type":44,"tag":85,"props":1991,"children":1992},{"class":87,"line":567},[1993,1997,2001,2005,2009,2013,2017,2021,2025,2029,2033,2037,2041,2045,2049,2053],{"type":44,"tag":85,"props":1994,"children":1995},{"style":202},[1996],{"type":50,"value":1220},{"type":44,"tag":85,"props":1998,"children":1999},{"style":374},[2000],{"type":50,"value":1225},{"type":44,"tag":85,"props":2002,"children":2003},{"style":208},[2004],{"type":50,"value":953},{"type":44,"tag":85,"props":2006,"children":2007},{"style":374},[2008],{"type":50,"value":1234},{"type":44,"tag":85,"props":2010,"children":2011},{"style":202},[2012],{"type":50,"value":1239},{"type":44,"tag":85,"props":2014,"children":2015},{"style":219},[2016],{"type":50,"value":1244},{"type":44,"tag":85,"props":2018,"children":2019},{"style":374},[2020],{"type":50,"value":1249},{"type":44,"tag":85,"props":2022,"children":2023},{"style":219},[2024],{"type":50,"value":1254},{"type":44,"tag":85,"props":2026,"children":2027},{"style":208},[2028],{"type":50,"value":1314},{"type":44,"tag":85,"props":2030,"children":2031},{"style":219},[2032],{"type":50,"value":371},{"type":44,"tag":85,"props":2034,"children":2035},{"style":208},[2036],{"type":50,"value":953},{"type":44,"tag":85,"props":2038,"children":2039},{"style":219},[2040],{"type":50,"value":348},{"type":44,"tag":85,"props":2042,"children":2043},{"style":208},[2044],{"type":50,"value":1331},{"type":44,"tag":85,"props":2046,"children":2047},{"style":219},[2048],{"type":50,"value":1336},{"type":44,"tag":85,"props":2050,"children":2051},{"style":374},[2052],{"type":50,"value":1249},{"type":44,"tag":85,"props":2054,"children":2055},{"style":219},[2056],{"type":50,"value":1273},{"type":44,"tag":85,"props":2058,"children":2059},{"class":87,"line":1079},[2060],{"type":44,"tag":85,"props":2061,"children":2062},{"style":374},[2063],{"type":50,"value":1353},{"type":44,"tag":85,"props":2065,"children":2066},{"class":87,"line":1106},[2067,2071,2075,2079,2083,2087,2091,2095,2099,2103],{"type":44,"tag":85,"props":2068,"children":2069},{"style":202},[2070],{"type":50,"value":1362},{"type":44,"tag":85,"props":2072,"children":2073},{"style":219},[2074],{"type":50,"value":1244},{"type":44,"tag":85,"props":2076,"children":2077},{"style":374},[2078],{"type":50,"value":1249},{"type":44,"tag":85,"props":2080,"children":2081},{"style":219},[2082],{"type":50,"value":1403},{"type":44,"tag":85,"props":2084,"children":2085},{"style":208},[2086],{"type":50,"value":353},{"type":44,"tag":85,"props":2088,"children":2089},{"style":219},[2090],{"type":50,"value":348},{"type":44,"tag":85,"props":2092,"children":2093},{"style":208},[2094],{"type":50,"value":1416},{"type":44,"tag":85,"props":2096,"children":2097},{"style":219},[2098],{"type":50,"value":1336},{"type":44,"tag":85,"props":2100,"children":2101},{"style":374},[2102],{"type":50,"value":1249},{"type":44,"tag":85,"props":2104,"children":2105},{"style":219},[2106],{"type":50,"value":1273},{"type":44,"tag":85,"props":2108,"children":2109},{"class":87,"line":1132},[2110],{"type":44,"tag":85,"props":2111,"children":2112},{"style":219},[2113],{"type":50,"value":1507},{"type":44,"tag":85,"props":2115,"children":2116},{"class":87,"line":1179},[2117],{"type":44,"tag":85,"props":2118,"children":2119},{"emptyLinePlaceholder":132},[2120],{"type":50,"value":135},{"type":44,"tag":85,"props":2122,"children":2123},{"class":87,"line":1206},[2124,2128,2132,2137,2141],{"type":44,"tag":85,"props":2125,"children":2126},{"style":202},[2127],{"type":50,"value":772},{"type":44,"tag":85,"props":2129,"children":2130},{"style":250},[2131],{"type":50,"value":777},{"type":44,"tag":85,"props":2133,"children":2134},{"style":271},[2135],{"type":50,"value":2136}," CreateUserForm",{"type":44,"tag":85,"props":2138,"children":2139},{"style":219},[2140],{"type":50,"value":1014},{"type":44,"tag":85,"props":2142,"children":2143},{"style":219},[2144],{"type":50,"value":825},{"type":44,"tag":85,"props":2146,"children":2147},{"class":87,"line":1214},[2148,2152,2157,2161,2165,2169],{"type":44,"tag":85,"props":2149,"children":2150},{"style":250},[2151],{"type":50,"value":833},{"type":44,"tag":85,"props":2153,"children":2154},{"style":208},[2155],{"type":50,"value":2156}," queryClient",{"type":44,"tag":85,"props":2158,"children":2159},{"style":219},[2160],{"type":50,"value":861},{"type":44,"tag":85,"props":2162,"children":2163},{"style":271},[2164],{"type":50,"value":1554},{"type":44,"tag":85,"props":2166,"children":2167},{"style":374},[2168],{"type":50,"value":1014},{"type":44,"tag":85,"props":2170,"children":2171},{"style":219},[2172],{"type":50,"value":237},{"type":44,"tag":85,"props":2174,"children":2175},{"class":87,"line":1276},[2176],{"type":44,"tag":85,"props":2177,"children":2178},{"style":374},[2179],{"type":50,"value":1353},{"type":44,"tag":85,"props":2181,"children":2182},{"class":87,"line":1347},[2183,2187,2192,2196,2200,2204],{"type":44,"tag":85,"props":2184,"children":2185},{"style":250},[2186],{"type":50,"value":833},{"type":44,"tag":85,"props":2188,"children":2189},{"style":208},[2190],{"type":50,"value":2191}," mutation",{"type":44,"tag":85,"props":2193,"children":2194},{"style":219},[2195],{"type":50,"value":861},{"type":44,"tag":85,"props":2197,"children":2198},{"style":271},[2199],{"type":50,"value":1545},{"type":44,"tag":85,"props":2201,"children":2202},{"style":374},[2203],{"type":50,"value":279},{"type":44,"tag":85,"props":2205,"children":2206},{"style":219},[2207],{"type":50,"value":503},{"type":44,"tag":85,"props":2209,"children":2210},{"class":87,"line":1356},[2211,2216,2220,2224,2229,2233,2237,2242,2246,2250,2255,2260,2264,2268,2272,2276],{"type":44,"tag":85,"props":2212,"children":2213},{"style":271},[2214],{"type":50,"value":2215},"    mutationFn",{"type":44,"tag":85,"props":2217,"children":2218},{"style":219},[2219],{"type":50,"value":382},{"type":44,"tag":85,"props":2221,"children":2222},{"style":219},[2223],{"type":50,"value":1225},{"type":44,"tag":85,"props":2225,"children":2226},{"style":790},[2227],{"type":50,"value":2228},"data",{"type":44,"tag":85,"props":2230,"children":2231},{"style":219},[2232],{"type":50,"value":382},{"type":44,"tag":85,"props":2234,"children":2235},{"style":219},[2236],{"type":50,"value":616},{"type":44,"tag":85,"props":2238,"children":2239},{"style":374},[2240],{"type":50,"value":2241}," email",{"type":44,"tag":85,"props":2243,"children":2244},{"style":219},[2245],{"type":50,"value":382},{"type":44,"tag":85,"props":2247,"children":2248},{"style":102},[2249],{"type":50,"value":815},{"type":44,"tag":85,"props":2251,"children":2252},{"style":219},[2253],{"type":50,"value":2254},";",{"type":44,"tag":85,"props":2256,"children":2257},{"style":374},[2258],{"type":50,"value":2259}," name",{"type":44,"tag":85,"props":2261,"children":2262},{"style":219},[2263],{"type":50,"value":382},{"type":44,"tag":85,"props":2265,"children":2266},{"style":102},[2267],{"type":50,"value":815},{"type":44,"tag":85,"props":2269,"children":2270},{"style":219},[2271],{"type":50,"value":820},{"type":44,"tag":85,"props":2273,"children":2274},{"style":250},[2275],{"type":50,"value":1019},{"type":44,"tag":85,"props":2277,"children":2278},{"style":374},[2279],{"type":50,"value":2280}," \n",{"type":44,"tag":85,"props":2282,"children":2283},{"class":87,"line":1370},[2284,2289,2293,2297,2301,2305,2309,2313,2317],{"type":44,"tag":85,"props":2285,"children":2286},{"style":208},[2287],{"type":50,"value":2288},"      client",{"type":44,"tag":85,"props":2290,"children":2291},{"style":219},[2292],{"type":50,"value":348},{"type":44,"tag":85,"props":2294,"children":2295},{"style":208},[2296],{"type":50,"value":353},{"type":44,"tag":85,"props":2298,"children":2299},{"style":219},[2300],{"type":50,"value":348},{"type":44,"tag":85,"props":2302,"children":2303},{"style":271},[2304],{"type":50,"value":494},{"type":44,"tag":85,"props":2306,"children":2307},{"style":374},[2308],{"type":50,"value":279},{"type":44,"tag":85,"props":2310,"children":2311},{"style":208},[2312],{"type":50,"value":2228},{"type":44,"tag":85,"props":2314,"children":2315},{"style":374},[2316],{"type":50,"value":297},{"type":44,"tag":85,"props":2318,"children":2319},{"style":219},[2320],{"type":50,"value":534},{"type":44,"tag":85,"props":2322,"children":2323},{"class":87,"line":1388},[2324,2329,2333,2337,2341],{"type":44,"tag":85,"props":2325,"children":2326},{"style":271},[2327],{"type":50,"value":2328},"    onSuccess",{"type":44,"tag":85,"props":2330,"children":2331},{"style":219},[2332],{"type":50,"value":382},{"type":44,"tag":85,"props":2334,"children":2335},{"style":219},[2336],{"type":50,"value":1858},{"type":44,"tag":85,"props":2338,"children":2339},{"style":250},[2340],{"type":50,"value":1019},{"type":44,"tag":85,"props":2342,"children":2343},{"style":219},[2344],{"type":50,"value":825},{"type":44,"tag":85,"props":2346,"children":2347},{"class":87,"line":1431},[2348,2353,2357,2362,2366,2370,2375,2379,2383,2387,2392,2396,2401,2405,2409],{"type":44,"tag":85,"props":2349,"children":2350},{"style":208},[2351],{"type":50,"value":2352},"      queryClient",{"type":44,"tag":85,"props":2354,"children":2355},{"style":219},[2356],{"type":50,"value":348},{"type":44,"tag":85,"props":2358,"children":2359},{"style":271},[2360],{"type":50,"value":2361},"invalidateQueries",{"type":44,"tag":85,"props":2363,"children":2364},{"style":374},[2365],{"type":50,"value":279},{"type":44,"tag":85,"props":2367,"children":2368},{"style":219},[2369],{"type":50,"value":371},{"type":44,"tag":85,"props":2371,"children":2372},{"style":374},[2373],{"type":50,"value":2374}," queryKey",{"type":44,"tag":85,"props":2376,"children":2377},{"style":219},[2378],{"type":50,"value":382},{"type":44,"tag":85,"props":2380,"children":2381},{"style":374},[2382],{"type":50,"value":838},{"type":44,"tag":85,"props":2384,"children":2385},{"style":219},[2386],{"type":50,"value":232},{"type":44,"tag":85,"props":2388,"children":2389},{"style":107},[2390],{"type":50,"value":2391},"users",{"type":44,"tag":85,"props":2393,"children":2394},{"style":219},[2395],{"type":50,"value":232},{"type":44,"tag":85,"props":2397,"children":2398},{"style":374},[2399],{"type":50,"value":2400},"] ",{"type":44,"tag":85,"props":2402,"children":2403},{"style":219},[2404],{"type":50,"value":573},{"type":44,"tag":85,"props":2406,"children":2407},{"style":374},[2408],{"type":50,"value":297},{"type":44,"tag":85,"props":2410,"children":2411},{"style":219},[2412],{"type":50,"value":237},{"type":44,"tag":85,"props":2414,"children":2415},{"class":87,"line":24},[2416],{"type":44,"tag":85,"props":2417,"children":2418},{"style":219},[2419],{"type":50,"value":2420},"    },\n",{"type":44,"tag":85,"props":2422,"children":2423},{"class":87,"line":1488},[2424,2428,2432],{"type":44,"tag":85,"props":2425,"children":2426},{"style":219},[2427],{"type":50,"value":1922},{"type":44,"tag":85,"props":2429,"children":2430},{"style":374},[2431],{"type":50,"value":297},{"type":44,"tag":85,"props":2433,"children":2434},{"style":219},[2435],{"type":50,"value":237},{"type":44,"tag":85,"props":2437,"children":2438},{"class":87,"line":1501},[2439],{"type":44,"tag":85,"props":2440,"children":2441},{"emptyLinePlaceholder":132},[2442],{"type":50,"value":135},{"type":44,"tag":85,"props":2444,"children":2446},{"class":87,"line":2445},29,[2447,2451,2456,2460,2464,2469,2473,2478,2482,2487,2492,2497,2502,2506],{"type":44,"tag":85,"props":2448,"children":2449},{"style":250},[2450],{"type":50,"value":833},{"type":44,"tag":85,"props":2452,"children":2453},{"style":208},[2454],{"type":50,"value":2455}," handleSubmit",{"type":44,"tag":85,"props":2457,"children":2458},{"style":219},[2459],{"type":50,"value":861},{"type":44,"tag":85,"props":2461,"children":2462},{"style":219},[2463],{"type":50,"value":1225},{"type":44,"tag":85,"props":2465,"children":2466},{"style":790},[2467],{"type":50,"value":2468},"e",{"type":44,"tag":85,"props":2470,"children":2471},{"style":219},[2472],{"type":50,"value":382},{"type":44,"tag":85,"props":2474,"children":2475},{"style":102},[2476],{"type":50,"value":2477}," React",{"type":44,"tag":85,"props":2479,"children":2480},{"style":219},[2481],{"type":50,"value":348},{"type":44,"tag":85,"props":2483,"children":2484},{"style":102},[2485],{"type":50,"value":2486},"FormEvent",{"type":44,"tag":85,"props":2488,"children":2489},{"style":219},[2490],{"type":50,"value":2491},"\u003C",{"type":44,"tag":85,"props":2493,"children":2494},{"style":102},[2495],{"type":50,"value":2496},"HTMLFormElement",{"type":44,"tag":85,"props":2498,"children":2499},{"style":219},[2500],{"type":50,"value":2501},">)",{"type":44,"tag":85,"props":2503,"children":2504},{"style":250},[2505],{"type":50,"value":1019},{"type":44,"tag":85,"props":2507,"children":2508},{"style":219},[2509],{"type":50,"value":825},{"type":44,"tag":85,"props":2511,"children":2513},{"class":87,"line":2512},30,[2514,2519,2523,2528,2532],{"type":44,"tag":85,"props":2515,"children":2516},{"style":208},[2517],{"type":50,"value":2518},"    e",{"type":44,"tag":85,"props":2520,"children":2521},{"style":219},[2522],{"type":50,"value":348},{"type":44,"tag":85,"props":2524,"children":2525},{"style":271},[2526],{"type":50,"value":2527},"preventDefault",{"type":44,"tag":85,"props":2529,"children":2530},{"style":374},[2531],{"type":50,"value":1014},{"type":44,"tag":85,"props":2533,"children":2534},{"style":219},[2535],{"type":50,"value":237},{"type":44,"tag":85,"props":2537,"children":2539},{"class":87,"line":2538},31,[2540,2545,2550,2554,2558,2563,2567,2571,2575,2580,2584],{"type":44,"tag":85,"props":2541,"children":2542},{"style":250},[2543],{"type":50,"value":2544},"    const",{"type":44,"tag":85,"props":2546,"children":2547},{"style":208},[2548],{"type":50,"value":2549}," formData",{"type":44,"tag":85,"props":2551,"children":2552},{"style":219},[2553],{"type":50,"value":861},{"type":44,"tag":85,"props":2555,"children":2556},{"style":219},[2557],{"type":50,"value":268},{"type":44,"tag":85,"props":2559,"children":2560},{"style":271},[2561],{"type":50,"value":2562}," FormData",{"type":44,"tag":85,"props":2564,"children":2565},{"style":374},[2566],{"type":50,"value":279},{"type":44,"tag":85,"props":2568,"children":2569},{"style":208},[2570],{"type":50,"value":2468},{"type":44,"tag":85,"props":2572,"children":2573},{"style":219},[2574],{"type":50,"value":348},{"type":44,"tag":85,"props":2576,"children":2577},{"style":208},[2578],{"type":50,"value":2579},"currentTarget",{"type":44,"tag":85,"props":2581,"children":2582},{"style":374},[2583],{"type":50,"value":297},{"type":44,"tag":85,"props":2585,"children":2586},{"style":219},[2587],{"type":50,"value":237},{"type":44,"tag":85,"props":2589,"children":2591},{"class":87,"line":2590},32,[2592,2597,2601,2606,2610],{"type":44,"tag":85,"props":2593,"children":2594},{"style":208},[2595],{"type":50,"value":2596},"    mutation",{"type":44,"tag":85,"props":2598,"children":2599},{"style":219},[2600],{"type":50,"value":348},{"type":44,"tag":85,"props":2602,"children":2603},{"style":271},[2604],{"type":50,"value":2605},"mutate",{"type":44,"tag":85,"props":2607,"children":2608},{"style":374},[2609],{"type":50,"value":279},{"type":44,"tag":85,"props":2611,"children":2612},{"style":219},[2613],{"type":50,"value":503},{"type":44,"tag":85,"props":2615,"children":2617},{"class":87,"line":2616},33,[2618,2623,2627,2631,2635,2640,2644,2648,2652,2656,2660,2665,2669],{"type":44,"tag":85,"props":2619,"children":2620},{"style":374},[2621],{"type":50,"value":2622},"      email",{"type":44,"tag":85,"props":2624,"children":2625},{"style":219},[2626],{"type":50,"value":382},{"type":44,"tag":85,"props":2628,"children":2629},{"style":208},[2630],{"type":50,"value":2549},{"type":44,"tag":85,"props":2632,"children":2633},{"style":219},[2634],{"type":50,"value":348},{"type":44,"tag":85,"props":2636,"children":2637},{"style":271},[2638],{"type":50,"value":2639},"get",{"type":44,"tag":85,"props":2641,"children":2642},{"style":374},[2643],{"type":50,"value":279},{"type":44,"tag":85,"props":2645,"children":2646},{"style":219},[2647],{"type":50,"value":232},{"type":44,"tag":85,"props":2649,"children":2650},{"style":107},[2651],{"type":50,"value":1457},{"type":44,"tag":85,"props":2653,"children":2654},{"style":219},[2655],{"type":50,"value":232},{"type":44,"tag":85,"props":2657,"children":2658},{"style":374},[2659],{"type":50,"value":1234},{"type":44,"tag":85,"props":2661,"children":2662},{"style":202},[2663],{"type":50,"value":2664},"as",{"type":44,"tag":85,"props":2666,"children":2667},{"style":102},[2668],{"type":50,"value":815},{"type":44,"tag":85,"props":2670,"children":2671},{"style":219},[2672],{"type":50,"value":534},{"type":44,"tag":85,"props":2674,"children":2676},{"class":87,"line":2675},34,[2677,2682,2686,2690,2694,2698,2702,2706,2710,2714,2718,2722,2726],{"type":44,"tag":85,"props":2678,"children":2679},{"style":374},[2680],{"type":50,"value":2681},"      name",{"type":44,"tag":85,"props":2683,"children":2684},{"style":219},[2685],{"type":50,"value":382},{"type":44,"tag":85,"props":2687,"children":2688},{"style":208},[2689],{"type":50,"value":2549},{"type":44,"tag":85,"props":2691,"children":2692},{"style":219},[2693],{"type":50,"value":348},{"type":44,"tag":85,"props":2695,"children":2696},{"style":271},[2697],{"type":50,"value":2639},{"type":44,"tag":85,"props":2699,"children":2700},{"style":374},[2701],{"type":50,"value":279},{"type":44,"tag":85,"props":2703,"children":2704},{"style":219},[2705],{"type":50,"value":232},{"type":44,"tag":85,"props":2707,"children":2708},{"style":107},[2709],{"type":50,"value":1416},{"type":44,"tag":85,"props":2711,"children":2712},{"style":219},[2713],{"type":50,"value":232},{"type":44,"tag":85,"props":2715,"children":2716},{"style":374},[2717],{"type":50,"value":1234},{"type":44,"tag":85,"props":2719,"children":2720},{"style":202},[2721],{"type":50,"value":2664},{"type":44,"tag":85,"props":2723,"children":2724},{"style":102},[2725],{"type":50,"value":815},{"type":44,"tag":85,"props":2727,"children":2728},{"style":219},[2729],{"type":50,"value":534},{"type":44,"tag":85,"props":2731,"children":2733},{"class":87,"line":2732},35,[2734,2739,2743],{"type":44,"tag":85,"props":2735,"children":2736},{"style":219},[2737],{"type":50,"value":2738},"    }",{"type":44,"tag":85,"props":2740,"children":2741},{"style":374},[2742],{"type":50,"value":297},{"type":44,"tag":85,"props":2744,"children":2745},{"style":219},[2746],{"type":50,"value":237},{"type":44,"tag":85,"props":2748,"children":2750},{"class":87,"line":2749},36,[2751],{"type":44,"tag":85,"props":2752,"children":2753},{"style":219},[2754],{"type":50,"value":2755},"  };\n",{"type":44,"tag":85,"props":2757,"children":2759},{"class":87,"line":2758},37,[2760],{"type":44,"tag":85,"props":2761,"children":2762},{"emptyLinePlaceholder":132},[2763],{"type":50,"value":135},{"type":44,"tag":85,"props":2765,"children":2767},{"class":87,"line":2766},38,[2768,2772],{"type":44,"tag":85,"props":2769,"children":2770},{"style":202},[2771],{"type":50,"value":1362},{"type":44,"tag":85,"props":2773,"children":2774},{"style":374},[2775],{"type":50,"value":1367},{"type":44,"tag":85,"props":2777,"children":2779},{"class":87,"line":2778},39,[2780,2784,2789,2794,2799,2804],{"type":44,"tag":85,"props":2781,"children":2782},{"style":219},[2783],{"type":50,"value":1376},{"type":44,"tag":85,"props":2785,"children":2786},{"style":374},[2787],{"type":50,"value":2788},"form",{"type":44,"tag":85,"props":2790,"children":2791},{"style":250},[2792],{"type":50,"value":2793}," onSubmit",{"type":44,"tag":85,"props":2795,"children":2796},{"style":219},[2797],{"type":50,"value":2798},"={",{"type":44,"tag":85,"props":2800,"children":2801},{"style":208},[2802],{"type":50,"value":2803},"handleSubmit",{"type":44,"tag":85,"props":2805,"children":2806},{"style":219},[2807],{"type":50,"value":2808},"}>\n",{"type":44,"tag":85,"props":2810,"children":2812},{"class":87,"line":2811},40,[2813,2817,2822,2826,2830,2834,2838,2842,2847,2851,2855,2859,2863,2868],{"type":44,"tag":85,"props":2814,"children":2815},{"style":219},[2816],{"type":50,"value":1394},{"type":44,"tag":85,"props":2818,"children":2819},{"style":374},[2820],{"type":50,"value":2821},"input",{"type":44,"tag":85,"props":2823,"children":2824},{"style":250},[2825],{"type":50,"value":2259},{"type":44,"tag":85,"props":2827,"children":2828},{"style":219},[2829],{"type":50,"value":263},{"type":44,"tag":85,"props":2831,"children":2832},{"style":219},[2833],{"type":50,"value":232},{"type":44,"tag":85,"props":2835,"children":2836},{"style":107},[2837],{"type":50,"value":1457},{"type":44,"tag":85,"props":2839,"children":2840},{"style":219},[2841],{"type":50,"value":232},{"type":44,"tag":85,"props":2843,"children":2844},{"style":250},[2845],{"type":50,"value":2846}," type",{"type":44,"tag":85,"props":2848,"children":2849},{"style":219},[2850],{"type":50,"value":263},{"type":44,"tag":85,"props":2852,"children":2853},{"style":219},[2854],{"type":50,"value":232},{"type":44,"tag":85,"props":2856,"children":2857},{"style":107},[2858],{"type":50,"value":1457},{"type":44,"tag":85,"props":2860,"children":2861},{"style":219},[2862],{"type":50,"value":232},{"type":44,"tag":85,"props":2864,"children":2865},{"style":250},[2866],{"type":50,"value":2867}," required",{"type":44,"tag":85,"props":2869,"children":2870},{"style":219},[2871],{"type":50,"value":2872}," \u002F>\n",{"type":44,"tag":85,"props":2874,"children":2876},{"class":87,"line":2875},41,[2877,2881,2885,2889,2893,2897,2901,2905,2909],{"type":44,"tag":85,"props":2878,"children":2879},{"style":219},[2880],{"type":50,"value":1394},{"type":44,"tag":85,"props":2882,"children":2883},{"style":374},[2884],{"type":50,"value":2821},{"type":44,"tag":85,"props":2886,"children":2887},{"style":250},[2888],{"type":50,"value":2259},{"type":44,"tag":85,"props":2890,"children":2891},{"style":219},[2892],{"type":50,"value":263},{"type":44,"tag":85,"props":2894,"children":2895},{"style":219},[2896],{"type":50,"value":232},{"type":44,"tag":85,"props":2898,"children":2899},{"style":107},[2900],{"type":50,"value":1416},{"type":44,"tag":85,"props":2902,"children":2903},{"style":219},[2904],{"type":50,"value":232},{"type":44,"tag":85,"props":2906,"children":2907},{"style":250},[2908],{"type":50,"value":2867},{"type":44,"tag":85,"props":2910,"children":2911},{"style":219},[2912],{"type":50,"value":2872},{"type":44,"tag":85,"props":2914,"children":2916},{"class":87,"line":2915},42,[2917,2921,2926,2930,2934,2938,2943,2947,2952,2956,2961,2965,2970],{"type":44,"tag":85,"props":2918,"children":2919},{"style":219},[2920],{"type":50,"value":1394},{"type":44,"tag":85,"props":2922,"children":2923},{"style":374},[2924],{"type":50,"value":2925},"button",{"type":44,"tag":85,"props":2927,"children":2928},{"style":250},[2929],{"type":50,"value":2846},{"type":44,"tag":85,"props":2931,"children":2932},{"style":219},[2933],{"type":50,"value":263},{"type":44,"tag":85,"props":2935,"children":2936},{"style":219},[2937],{"type":50,"value":232},{"type":44,"tag":85,"props":2939,"children":2940},{"style":107},[2941],{"type":50,"value":2942},"submit",{"type":44,"tag":85,"props":2944,"children":2945},{"style":219},[2946],{"type":50,"value":232},{"type":44,"tag":85,"props":2948,"children":2949},{"style":250},[2950],{"type":50,"value":2951}," disabled",{"type":44,"tag":85,"props":2953,"children":2954},{"style":219},[2955],{"type":50,"value":2798},{"type":44,"tag":85,"props":2957,"children":2958},{"style":208},[2959],{"type":50,"value":2960},"mutation",{"type":44,"tag":85,"props":2962,"children":2963},{"style":219},[2964],{"type":50,"value":348},{"type":44,"tag":85,"props":2966,"children":2967},{"style":208},[2968],{"type":50,"value":2969},"isPending",{"type":44,"tag":85,"props":2971,"children":2972},{"style":219},[2973],{"type":50,"value":2808},{"type":44,"tag":85,"props":2975,"children":2977},{"class":87,"line":2976},43,[2978,2983,2987,2991,2996,3001,3005,3010,3014,3019,3023,3028,3032],{"type":44,"tag":85,"props":2979,"children":2980},{"style":219},[2981],{"type":50,"value":2982},"        {",{"type":44,"tag":85,"props":2984,"children":2985},{"style":208},[2986],{"type":50,"value":2960},{"type":44,"tag":85,"props":2988,"children":2989},{"style":219},[2990],{"type":50,"value":348},{"type":44,"tag":85,"props":2992,"children":2993},{"style":208},[2994],{"type":50,"value":2995},"isPending ",{"type":44,"tag":85,"props":2997,"children":2998},{"style":219},[2999],{"type":50,"value":3000},"?",{"type":44,"tag":85,"props":3002,"children":3003},{"style":219},[3004],{"type":50,"value":222},{"type":44,"tag":85,"props":3006,"children":3007},{"style":107},[3008],{"type":50,"value":3009},"Creating...",{"type":44,"tag":85,"props":3011,"children":3012},{"style":219},[3013],{"type":50,"value":232},{"type":44,"tag":85,"props":3015,"children":3016},{"style":219},[3017],{"type":50,"value":3018}," :",{"type":44,"tag":85,"props":3020,"children":3021},{"style":219},[3022],{"type":50,"value":222},{"type":44,"tag":85,"props":3024,"children":3025},{"style":107},[3026],{"type":50,"value":3027},"Create User",{"type":44,"tag":85,"props":3029,"children":3030},{"style":219},[3031],{"type":50,"value":232},{"type":44,"tag":85,"props":3033,"children":3034},{"style":219},[3035],{"type":50,"value":1507},{"type":44,"tag":85,"props":3037,"children":3039},{"class":87,"line":3038},44,[3040,3045,3049],{"type":44,"tag":85,"props":3041,"children":3042},{"style":219},[3043],{"type":50,"value":3044},"      \u003C\u002F",{"type":44,"tag":85,"props":3046,"children":3047},{"style":374},[3048],{"type":50,"value":2925},{"type":44,"tag":85,"props":3050,"children":3051},{"style":219},[3052],{"type":50,"value":1385},{"type":44,"tag":85,"props":3054,"children":3056},{"class":87,"line":3055},45,[3057,3061,3065],{"type":44,"tag":85,"props":3058,"children":3059},{"style":219},[3060],{"type":50,"value":1477},{"type":44,"tag":85,"props":3062,"children":3063},{"style":374},[3064],{"type":50,"value":2788},{"type":44,"tag":85,"props":3066,"children":3067},{"style":219},[3068],{"type":50,"value":1385},{"type":44,"tag":85,"props":3070,"children":3072},{"class":87,"line":3071},46,[3073,3077],{"type":44,"tag":85,"props":3074,"children":3075},{"style":374},[3076],{"type":50,"value":1494},{"type":44,"tag":85,"props":3078,"children":3079},{"style":219},[3080],{"type":50,"value":237},{"type":44,"tag":85,"props":3082,"children":3084},{"class":87,"line":3083},47,[3085],{"type":44,"tag":85,"props":3086,"children":3087},{"style":219},[3088],{"type":50,"value":1507},{"type":44,"tag":66,"props":3090,"children":3092},{"id":3091},"nextjs-server-components",[3093],{"type":50,"value":3094},"Next.js Server Components",{"type":44,"tag":73,"props":3096,"children":3098},{"className":590,"code":3097,"language":592,"meta":78,"style":78},"\u002F\u002F app\u002Fusers\u002F[id]\u002Fpage.tsx\nimport Client from \"@\u002Flib\u002Fclient\";\n\nconst client = new Client(process.env.API_URL);\n\nexport default async function UserPage({ params }: { params: { id: string } }) {\n  const user = await client.user.getUser({ id: params.id });\n  \n  return (\n    \u003Cdiv>\n      \u003Ch1>{user.name}\u003C\u002Fh1>\n      \u003Cp>{user.email}\u003C\u002Fp>\n    \u003C\u002Fdiv>\n  );\n}\n",[3099],{"type":44,"tag":81,"props":3100,"children":3101},{"__ignoreMap":78},[3102,3110,3142,3149,3198,3205,3284,3364,3371,3382,3397,3436,3475,3490,3501],{"type":44,"tag":85,"props":3103,"children":3104},{"class":87,"line":88},[3105],{"type":44,"tag":85,"props":3106,"children":3107},{"style":92},[3108],{"type":50,"value":3109},"\u002F\u002F app\u002Fusers\u002F[id]\u002Fpage.tsx\n",{"type":44,"tag":85,"props":3111,"children":3112},{"class":87,"line":98},[3113,3117,3121,3125,3129,3134,3138],{"type":44,"tag":85,"props":3114,"children":3115},{"style":202},[3116],{"type":50,"value":205},{"type":44,"tag":85,"props":3118,"children":3119},{"style":208},[3120],{"type":50,"value":211},{"type":44,"tag":85,"props":3122,"children":3123},{"style":202},[3124],{"type":50,"value":216},{"type":44,"tag":85,"props":3126,"children":3127},{"style":219},[3128],{"type":50,"value":222},{"type":44,"tag":85,"props":3130,"children":3131},{"style":107},[3132],{"type":50,"value":3133},"@\u002Flib\u002Fclient",{"type":44,"tag":85,"props":3135,"children":3136},{"style":219},[3137],{"type":50,"value":232},{"type":44,"tag":85,"props":3139,"children":3140},{"style":219},[3141],{"type":50,"value":237},{"type":44,"tag":85,"props":3143,"children":3144},{"class":87,"line":128},[3145],{"type":44,"tag":85,"props":3146,"children":3147},{"emptyLinePlaceholder":132},[3148],{"type":50,"value":135},{"type":44,"tag":85,"props":3150,"children":3151},{"class":87,"line":138},[3152,3156,3160,3164,3168,3172,3177,3181,3185,3189,3194],{"type":44,"tag":85,"props":3153,"children":3154},{"style":250},[3155],{"type":50,"value":253},{"type":44,"tag":85,"props":3157,"children":3158},{"style":208},[3159],{"type":50,"value":258},{"type":44,"tag":85,"props":3161,"children":3162},{"style":219},[3163],{"type":50,"value":263},{"type":44,"tag":85,"props":3165,"children":3166},{"style":219},[3167],{"type":50,"value":268},{"type":44,"tag":85,"props":3169,"children":3170},{"style":271},[3171],{"type":50,"value":274},{"type":44,"tag":85,"props":3173,"children":3174},{"style":208},[3175],{"type":50,"value":3176},"(process",{"type":44,"tag":85,"props":3178,"children":3179},{"style":219},[3180],{"type":50,"value":348},{"type":44,"tag":85,"props":3182,"children":3183},{"style":208},[3184],{"type":50,"value":744},{"type":44,"tag":85,"props":3186,"children":3187},{"style":219},[3188],{"type":50,"value":348},{"type":44,"tag":85,"props":3190,"children":3191},{"style":208},[3192],{"type":50,"value":3193},"API_URL)",{"type":44,"tag":85,"props":3195,"children":3196},{"style":219},[3197],{"type":50,"value":237},{"type":44,"tag":85,"props":3199,"children":3200},{"class":87,"line":28},[3201],{"type":44,"tag":85,"props":3202,"children":3203},{"emptyLinePlaceholder":132},[3204],{"type":50,"value":135},{"type":44,"tag":85,"props":3206,"children":3207},{"class":87,"line":311},[3208,3212,3217,3222,3226,3231,3235,3240,3244,3248,3252,3256,3260,3264,3268,3272,3276,3280],{"type":44,"tag":85,"props":3209,"children":3210},{"style":202},[3211],{"type":50,"value":772},{"type":44,"tag":85,"props":3213,"children":3214},{"style":202},[3215],{"type":50,"value":3216}," default",{"type":44,"tag":85,"props":3218,"children":3219},{"style":250},[3220],{"type":50,"value":3221}," async",{"type":44,"tag":85,"props":3223,"children":3224},{"style":250},[3225],{"type":50,"value":777},{"type":44,"tag":85,"props":3227,"children":3228},{"style":271},[3229],{"type":50,"value":3230}," UserPage",{"type":44,"tag":85,"props":3232,"children":3233},{"style":219},[3234],{"type":50,"value":787},{"type":44,"tag":85,"props":3236,"children":3237},{"style":790},[3238],{"type":50,"value":3239}," params",{"type":44,"tag":85,"props":3241,"children":3242},{"style":219},[3243],{"type":50,"value":798},{"type":44,"tag":85,"props":3245,"children":3246},{"style":219},[3247],{"type":50,"value":616},{"type":44,"tag":85,"props":3249,"children":3250},{"style":374},[3251],{"type":50,"value":3239},{"type":44,"tag":85,"props":3253,"children":3254},{"style":219},[3255],{"type":50,"value":382},{"type":44,"tag":85,"props":3257,"children":3258},{"style":219},[3259],{"type":50,"value":616},{"type":44,"tag":85,"props":3261,"children":3262},{"style":374},[3263],{"type":50,"value":377},{"type":44,"tag":85,"props":3265,"children":3266},{"style":219},[3267],{"type":50,"value":382},{"type":44,"tag":85,"props":3269,"children":3270},{"style":102},[3271],{"type":50,"value":815},{"type":44,"tag":85,"props":3273,"children":3274},{"style":219},[3275],{"type":50,"value":400},{"type":44,"tag":85,"props":3277,"children":3278},{"style":219},[3279],{"type":50,"value":820},{"type":44,"tag":85,"props":3281,"children":3282},{"style":219},[3283],{"type":50,"value":825},{"type":44,"tag":85,"props":3285,"children":3286},{"class":87,"line":320},[3287,3291,3295,3299,3303,3307,3311,3315,3319,3323,3327,3331,3335,3339,3343,3347,3352,3356,3360],{"type":44,"tag":85,"props":3288,"children":3289},{"style":250},[3290],{"type":50,"value":833},{"type":44,"tag":85,"props":3292,"children":3293},{"style":208},[3294],{"type":50,"value":1759},{"type":44,"tag":85,"props":3296,"children":3297},{"style":219},[3298],{"type":50,"value":861},{"type":44,"tag":85,"props":3300,"children":3301},{"style":202},[3302],{"type":50,"value":339},{"type":44,"tag":85,"props":3304,"children":3305},{"style":208},[3306],{"type":50,"value":115},{"type":44,"tag":85,"props":3308,"children":3309},{"style":219},[3310],{"type":50,"value":348},{"type":44,"tag":85,"props":3312,"children":3313},{"style":208},[3314],{"type":50,"value":353},{"type":44,"tag":85,"props":3316,"children":3317},{"style":219},[3318],{"type":50,"value":348},{"type":44,"tag":85,"props":3320,"children":3321},{"style":271},[3322],{"type":50,"value":362},{"type":44,"tag":85,"props":3324,"children":3325},{"style":374},[3326],{"type":50,"value":279},{"type":44,"tag":85,"props":3328,"children":3329},{"style":219},[3330],{"type":50,"value":371},{"type":44,"tag":85,"props":3332,"children":3333},{"style":374},[3334],{"type":50,"value":377},{"type":44,"tag":85,"props":3336,"children":3337},{"style":219},[3338],{"type":50,"value":382},{"type":44,"tag":85,"props":3340,"children":3341},{"style":208},[3342],{"type":50,"value":3239},{"type":44,"tag":85,"props":3344,"children":3345},{"style":219},[3346],{"type":50,"value":348},{"type":44,"tag":85,"props":3348,"children":3349},{"style":208},[3350],{"type":50,"value":3351},"id",{"type":44,"tag":85,"props":3353,"children":3354},{"style":219},[3355],{"type":50,"value":400},{"type":44,"tag":85,"props":3357,"children":3358},{"style":374},[3359],{"type":50,"value":297},{"type":44,"tag":85,"props":3361,"children":3362},{"style":219},[3363],{"type":50,"value":237},{"type":44,"tag":85,"props":3365,"children":3366},{"class":87,"line":411},[3367],{"type":44,"tag":85,"props":3368,"children":3369},{"style":374},[3370],{"type":50,"value":1353},{"type":44,"tag":85,"props":3372,"children":3373},{"class":87,"line":447},[3374,3378],{"type":44,"tag":85,"props":3375,"children":3376},{"style":202},[3377],{"type":50,"value":1362},{"type":44,"tag":85,"props":3379,"children":3380},{"style":374},[3381],{"type":50,"value":1367},{"type":44,"tag":85,"props":3383,"children":3384},{"class":87,"line":455},[3385,3389,3393],{"type":44,"tag":85,"props":3386,"children":3387},{"style":219},[3388],{"type":50,"value":1376},{"type":44,"tag":85,"props":3390,"children":3391},{"style":374},[3392],{"type":50,"value":1249},{"type":44,"tag":85,"props":3394,"children":3395},{"style":219},[3396],{"type":50,"value":1385},{"type":44,"tag":85,"props":3398,"children":3399},{"class":87,"line":506},[3400,3404,3408,3412,3416,3420,3424,3428,3432],{"type":44,"tag":85,"props":3401,"children":3402},{"style":219},[3403],{"type":50,"value":1394},{"type":44,"tag":85,"props":3405,"children":3406},{"style":374},[3407],{"type":50,"value":45},{"type":44,"tag":85,"props":3409,"children":3410},{"style":219},[3411],{"type":50,"value":1403},{"type":44,"tag":85,"props":3413,"children":3414},{"style":208},[3415],{"type":50,"value":353},{"type":44,"tag":85,"props":3417,"children":3418},{"style":219},[3419],{"type":50,"value":348},{"type":44,"tag":85,"props":3421,"children":3422},{"style":208},[3423],{"type":50,"value":1416},{"type":44,"tag":85,"props":3425,"children":3426},{"style":219},[3427],{"type":50,"value":1336},{"type":44,"tag":85,"props":3429,"children":3430},{"style":374},[3431],{"type":50,"value":45},{"type":44,"tag":85,"props":3433,"children":3434},{"style":219},[3435],{"type":50,"value":1385},{"type":44,"tag":85,"props":3437,"children":3438},{"class":87,"line":537},[3439,3443,3447,3451,3455,3459,3463,3467,3471],{"type":44,"tag":85,"props":3440,"children":3441},{"style":219},[3442],{"type":50,"value":1394},{"type":44,"tag":85,"props":3444,"children":3445},{"style":374},[3446],{"type":50,"value":60},{"type":44,"tag":85,"props":3448,"children":3449},{"style":219},[3450],{"type":50,"value":1403},{"type":44,"tag":85,"props":3452,"children":3453},{"style":208},[3454],{"type":50,"value":353},{"type":44,"tag":85,"props":3456,"children":3457},{"style":219},[3458],{"type":50,"value":348},{"type":44,"tag":85,"props":3460,"children":3461},{"style":208},[3462],{"type":50,"value":1457},{"type":44,"tag":85,"props":3464,"children":3465},{"style":219},[3466],{"type":50,"value":1336},{"type":44,"tag":85,"props":3468,"children":3469},{"style":374},[3470],{"type":50,"value":60},{"type":44,"tag":85,"props":3472,"children":3473},{"style":219},[3474],{"type":50,"value":1385},{"type":44,"tag":85,"props":3476,"children":3477},{"class":87,"line":567},[3478,3482,3486],{"type":44,"tag":85,"props":3479,"children":3480},{"style":219},[3481],{"type":50,"value":1477},{"type":44,"tag":85,"props":3483,"children":3484},{"style":374},[3485],{"type":50,"value":1249},{"type":44,"tag":85,"props":3487,"children":3488},{"style":219},[3489],{"type":50,"value":1385},{"type":44,"tag":85,"props":3491,"children":3492},{"class":87,"line":1079},[3493,3497],{"type":44,"tag":85,"props":3494,"children":3495},{"style":374},[3496],{"type":50,"value":1494},{"type":44,"tag":85,"props":3498,"children":3499},{"style":219},[3500],{"type":50,"value":237},{"type":44,"tag":85,"props":3502,"children":3503},{"class":87,"line":1106},[3504],{"type":44,"tag":85,"props":3505,"children":3506},{"style":219},[3507],{"type":50,"value":1507},{"type":44,"tag":66,"props":3509,"children":3511},{"id":3510},"cors-configuration",[3512],{"type":50,"value":3513},"CORS Configuration",{"type":44,"tag":60,"props":3515,"children":3516},{},[3517,3519,3525],{"type":50,"value":3518},"Configure CORS in your ",{"type":44,"tag":81,"props":3520,"children":3522},{"className":3521},[],[3523],{"type":50,"value":3524},"encore.app",{"type":50,"value":3526}," file:",{"type":44,"tag":73,"props":3528,"children":3532},{"className":3529,"code":3530,"language":3531,"meta":78,"style":78},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n    \"id\": \"my-app\",\n    \"global_cors\": {\n        \"allow_origins_with_credentials\": [\n            \"http:\u002F\u002Flocalhost:3000\",\n            \"https:\u002F\u002Fmyapp.com\",\n            \"https:\u002F\u002F*.myapp.com\"\n        ]\n    }\n}\n","json",[3533],{"type":44,"tag":81,"props":3534,"children":3535},{"__ignoreMap":78},[3536,3543,3580,3604,3630,3651,3671,3688,3696,3704],{"type":44,"tag":85,"props":3537,"children":3538},{"class":87,"line":88},[3539],{"type":44,"tag":85,"props":3540,"children":3541},{"style":219},[3542],{"type":50,"value":503},{"type":44,"tag":85,"props":3544,"children":3545},{"class":87,"line":98},[3546,3551,3555,3559,3563,3567,3572,3576],{"type":44,"tag":85,"props":3547,"children":3548},{"style":219},[3549],{"type":50,"value":3550},"    \"",{"type":44,"tag":85,"props":3552,"children":3553},{"style":250},[3554],{"type":50,"value":3351},{"type":44,"tag":85,"props":3556,"children":3557},{"style":219},[3558],{"type":50,"value":232},{"type":44,"tag":85,"props":3560,"children":3561},{"style":219},[3562],{"type":50,"value":382},{"type":44,"tag":85,"props":3564,"children":3565},{"style":219},[3566],{"type":50,"value":222},{"type":44,"tag":85,"props":3568,"children":3569},{"style":107},[3570],{"type":50,"value":3571},"my-app",{"type":44,"tag":85,"props":3573,"children":3574},{"style":219},[3575],{"type":50,"value":232},{"type":44,"tag":85,"props":3577,"children":3578},{"style":219},[3579],{"type":50,"value":534},{"type":44,"tag":85,"props":3581,"children":3582},{"class":87,"line":128},[3583,3587,3592,3596,3600],{"type":44,"tag":85,"props":3584,"children":3585},{"style":219},[3586],{"type":50,"value":3550},{"type":44,"tag":85,"props":3588,"children":3589},{"style":250},[3590],{"type":50,"value":3591},"global_cors",{"type":44,"tag":85,"props":3593,"children":3594},{"style":219},[3595],{"type":50,"value":232},{"type":44,"tag":85,"props":3597,"children":3598},{"style":219},[3599],{"type":50,"value":382},{"type":44,"tag":85,"props":3601,"children":3602},{"style":219},[3603],{"type":50,"value":825},{"type":44,"tag":85,"props":3605,"children":3606},{"class":87,"line":138},[3607,3612,3617,3621,3625],{"type":44,"tag":85,"props":3608,"children":3609},{"style":219},[3610],{"type":50,"value":3611},"        \"",{"type":44,"tag":85,"props":3613,"children":3614},{"style":102},[3615],{"type":50,"value":3616},"allow_origins_with_credentials",{"type":44,"tag":85,"props":3618,"children":3619},{"style":219},[3620],{"type":50,"value":232},{"type":44,"tag":85,"props":3622,"children":3623},{"style":219},[3624],{"type":50,"value":382},{"type":44,"tag":85,"props":3626,"children":3627},{"style":219},[3628],{"type":50,"value":3629}," [\n",{"type":44,"tag":85,"props":3631,"children":3632},{"class":87,"line":28},[3633,3638,3643,3647],{"type":44,"tag":85,"props":3634,"children":3635},{"style":219},[3636],{"type":50,"value":3637},"            \"",{"type":44,"tag":85,"props":3639,"children":3640},{"style":107},[3641],{"type":50,"value":3642},"http:\u002F\u002Flocalhost:3000",{"type":44,"tag":85,"props":3644,"children":3645},{"style":219},[3646],{"type":50,"value":232},{"type":44,"tag":85,"props":3648,"children":3649},{"style":219},[3650],{"type":50,"value":534},{"type":44,"tag":85,"props":3652,"children":3653},{"class":87,"line":311},[3654,3658,3663,3667],{"type":44,"tag":85,"props":3655,"children":3656},{"style":219},[3657],{"type":50,"value":3637},{"type":44,"tag":85,"props":3659,"children":3660},{"style":107},[3661],{"type":50,"value":3662},"https:\u002F\u002Fmyapp.com",{"type":44,"tag":85,"props":3664,"children":3665},{"style":219},[3666],{"type":50,"value":232},{"type":44,"tag":85,"props":3668,"children":3669},{"style":219},[3670],{"type":50,"value":534},{"type":44,"tag":85,"props":3672,"children":3673},{"class":87,"line":320},[3674,3678,3683],{"type":44,"tag":85,"props":3675,"children":3676},{"style":219},[3677],{"type":50,"value":3637},{"type":44,"tag":85,"props":3679,"children":3680},{"style":107},[3681],{"type":50,"value":3682},"https:\u002F\u002F*.myapp.com",{"type":44,"tag":85,"props":3684,"children":3685},{"style":219},[3686],{"type":50,"value":3687},"\"\n",{"type":44,"tag":85,"props":3689,"children":3690},{"class":87,"line":411},[3691],{"type":44,"tag":85,"props":3692,"children":3693},{"style":219},[3694],{"type":50,"value":3695},"        ]\n",{"type":44,"tag":85,"props":3697,"children":3698},{"class":87,"line":447},[3699],{"type":44,"tag":85,"props":3700,"children":3701},{"style":219},[3702],{"type":50,"value":3703},"    }\n",{"type":44,"tag":85,"props":3705,"children":3706},{"class":87,"line":455},[3707],{"type":44,"tag":85,"props":3708,"children":3709},{"style":219},[3710],{"type":50,"value":1507},{"type":44,"tag":66,"props":3712,"children":3714},{"id":3713},"cors-options",[3715],{"type":50,"value":3716},"CORS Options",{"type":44,"tag":3718,"props":3719,"children":3720},"table",{},[3721,3740],{"type":44,"tag":3722,"props":3723,"children":3724},"thead",{},[3725],{"type":44,"tag":3726,"props":3727,"children":3728},"tr",{},[3729,3735],{"type":44,"tag":3730,"props":3731,"children":3732},"th",{},[3733],{"type":50,"value":3734},"Option",{"type":44,"tag":3730,"props":3736,"children":3737},{},[3738],{"type":50,"value":3739},"Description",{"type":44,"tag":3741,"props":3742,"children":3743},"tbody",{},[3744,3769,3785,3802,3819],{"type":44,"tag":3726,"props":3745,"children":3746},{},[3747,3757],{"type":44,"tag":3748,"props":3749,"children":3750},"td",{},[3751],{"type":44,"tag":81,"props":3752,"children":3754},{"className":3753},[],[3755],{"type":50,"value":3756},"allow_origins_without_credentials",{"type":44,"tag":3748,"props":3758,"children":3759},{},[3760,3762,3768],{"type":50,"value":3761},"Origins allowed for non-credentialed requests (default: ",{"type":44,"tag":81,"props":3763,"children":3765},{"className":3764},[],[3766],{"type":50,"value":3767},"[\"*\"]",{"type":50,"value":297},{"type":44,"tag":3726,"props":3770,"children":3771},{},[3772,3780],{"type":44,"tag":3748,"props":3773,"children":3774},{},[3775],{"type":44,"tag":81,"props":3776,"children":3778},{"className":3777},[],[3779],{"type":50,"value":3616},{"type":44,"tag":3748,"props":3781,"children":3782},{},[3783],{"type":50,"value":3784},"Origins allowed for credentialed requests (cookies, auth headers)",{"type":44,"tag":3726,"props":3786,"children":3787},{},[3788,3797],{"type":44,"tag":3748,"props":3789,"children":3790},{},[3791],{"type":44,"tag":81,"props":3792,"children":3794},{"className":3793},[],[3795],{"type":50,"value":3796},"allow_headers",{"type":44,"tag":3748,"props":3798,"children":3799},{},[3800],{"type":50,"value":3801},"Additional request headers to allow",{"type":44,"tag":3726,"props":3803,"children":3804},{},[3805,3814],{"type":44,"tag":3748,"props":3806,"children":3807},{},[3808],{"type":44,"tag":81,"props":3809,"children":3811},{"className":3810},[],[3812],{"type":50,"value":3813},"expose_headers",{"type":44,"tag":3748,"props":3815,"children":3816},{},[3817],{"type":50,"value":3818},"Additional response headers to expose",{"type":44,"tag":3726,"props":3820,"children":3821},{},[3822,3831],{"type":44,"tag":3748,"props":3823,"children":3824},{},[3825],{"type":44,"tag":81,"props":3826,"children":3828},{"className":3827},[],[3829],{"type":50,"value":3830},"debug",{"type":44,"tag":3748,"props":3832,"children":3833},{},[3834],{"type":50,"value":3835},"Enable CORS debug logging",{"type":44,"tag":66,"props":3837,"children":3839},{"id":3838},"authentication-from-frontend",[3840],{"type":50,"value":3841},"Authentication from Frontend",{"type":44,"tag":60,"props":3843,"children":3844},{},[3845],{"type":50,"value":3846},"For authenticated requests, pass the Authorization header:",{"type":44,"tag":73,"props":3848,"children":3850},{"className":182,"code":3849,"language":184,"meta":78,"style":78},"\u002F\u002F Using fetch\nconst response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fprofile\", {\n  headers: {\n    \"Authorization\": `Bearer ${token}`,\n  },\n});\n\n\u002F\u002F Or include credentials for cookie-based auth\nconst response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fprofile\", {\n  credentials: \"include\",\n});\n",[3851],{"type":44,"tag":81,"props":3852,"children":3853},{"__ignoreMap":78},[3854,3862,3912,3928,3977,3985,4000,4007,4015,4062,4091],{"type":44,"tag":85,"props":3855,"children":3856},{"class":87,"line":88},[3857],{"type":44,"tag":85,"props":3858,"children":3859},{"style":92},[3860],{"type":50,"value":3861},"\u002F\u002F Using fetch\n",{"type":44,"tag":85,"props":3863,"children":3864},{"class":87,"line":98},[3865,3869,3874,3878,3882,3887,3891,3895,3900,3904,3908],{"type":44,"tag":85,"props":3866,"children":3867},{"style":250},[3868],{"type":50,"value":253},{"type":44,"tag":85,"props":3870,"children":3871},{"style":208},[3872],{"type":50,"value":3873}," response ",{"type":44,"tag":85,"props":3875,"children":3876},{"style":219},[3877],{"type":50,"value":263},{"type":44,"tag":85,"props":3879,"children":3880},{"style":202},[3881],{"type":50,"value":339},{"type":44,"tag":85,"props":3883,"children":3884},{"style":271},[3885],{"type":50,"value":3886}," fetch",{"type":44,"tag":85,"props":3888,"children":3889},{"style":208},[3890],{"type":50,"value":279},{"type":44,"tag":85,"props":3892,"children":3893},{"style":219},[3894],{"type":50,"value":232},{"type":44,"tag":85,"props":3896,"children":3897},{"style":107},[3898],{"type":50,"value":3899},"http:\u002F\u002Flocalhost:4000\u002Fprofile",{"type":44,"tag":85,"props":3901,"children":3902},{"style":219},[3903],{"type":50,"value":232},{"type":44,"tag":85,"props":3905,"children":3906},{"style":219},[3907],{"type":50,"value":626},{"type":44,"tag":85,"props":3909,"children":3910},{"style":219},[3911],{"type":50,"value":825},{"type":44,"tag":85,"props":3913,"children":3914},{"class":87,"line":128},[3915,3920,3924],{"type":44,"tag":85,"props":3916,"children":3917},{"style":374},[3918],{"type":50,"value":3919},"  headers",{"type":44,"tag":85,"props":3921,"children":3922},{"style":219},[3923],{"type":50,"value":382},{"type":44,"tag":85,"props":3925,"children":3926},{"style":219},[3927],{"type":50,"value":825},{"type":44,"tag":85,"props":3929,"children":3930},{"class":87,"line":138},[3931,3935,3940,3944,3948,3953,3958,3963,3968,3973],{"type":44,"tag":85,"props":3932,"children":3933},{"style":219},[3934],{"type":50,"value":3550},{"type":44,"tag":85,"props":3936,"children":3937},{"style":374},[3938],{"type":50,"value":3939},"Authorization",{"type":44,"tag":85,"props":3941,"children":3942},{"style":219},[3943],{"type":50,"value":232},{"type":44,"tag":85,"props":3945,"children":3946},{"style":219},[3947],{"type":50,"value":382},{"type":44,"tag":85,"props":3949,"children":3950},{"style":219},[3951],{"type":50,"value":3952}," `",{"type":44,"tag":85,"props":3954,"children":3955},{"style":107},[3956],{"type":50,"value":3957},"Bearer ",{"type":44,"tag":85,"props":3959,"children":3960},{"style":219},[3961],{"type":50,"value":3962},"${",{"type":44,"tag":85,"props":3964,"children":3965},{"style":208},[3966],{"type":50,"value":3967},"token",{"type":44,"tag":85,"props":3969,"children":3970},{"style":219},[3971],{"type":50,"value":3972},"}`",{"type":44,"tag":85,"props":3974,"children":3975},{"style":219},[3976],{"type":50,"value":534},{"type":44,"tag":85,"props":3978,"children":3979},{"class":87,"line":28},[3980],{"type":44,"tag":85,"props":3981,"children":3982},{"style":219},[3983],{"type":50,"value":3984},"  },\n",{"type":44,"tag":85,"props":3986,"children":3987},{"class":87,"line":311},[3988,3992,3996],{"type":44,"tag":85,"props":3989,"children":3990},{"style":219},[3991],{"type":50,"value":573},{"type":44,"tag":85,"props":3993,"children":3994},{"style":208},[3995],{"type":50,"value":297},{"type":44,"tag":85,"props":3997,"children":3998},{"style":219},[3999],{"type":50,"value":237},{"type":44,"tag":85,"props":4001,"children":4002},{"class":87,"line":320},[4003],{"type":44,"tag":85,"props":4004,"children":4005},{"emptyLinePlaceholder":132},[4006],{"type":50,"value":135},{"type":44,"tag":85,"props":4008,"children":4009},{"class":87,"line":411},[4010],{"type":44,"tag":85,"props":4011,"children":4012},{"style":92},[4013],{"type":50,"value":4014},"\u002F\u002F Or include credentials for cookie-based auth\n",{"type":44,"tag":85,"props":4016,"children":4017},{"class":87,"line":447},[4018,4022,4026,4030,4034,4038,4042,4046,4050,4054,4058],{"type":44,"tag":85,"props":4019,"children":4020},{"style":250},[4021],{"type":50,"value":253},{"type":44,"tag":85,"props":4023,"children":4024},{"style":208},[4025],{"type":50,"value":3873},{"type":44,"tag":85,"props":4027,"children":4028},{"style":219},[4029],{"type":50,"value":263},{"type":44,"tag":85,"props":4031,"children":4032},{"style":202},[4033],{"type":50,"value":339},{"type":44,"tag":85,"props":4035,"children":4036},{"style":271},[4037],{"type":50,"value":3886},{"type":44,"tag":85,"props":4039,"children":4040},{"style":208},[4041],{"type":50,"value":279},{"type":44,"tag":85,"props":4043,"children":4044},{"style":219},[4045],{"type":50,"value":232},{"type":44,"tag":85,"props":4047,"children":4048},{"style":107},[4049],{"type":50,"value":3899},{"type":44,"tag":85,"props":4051,"children":4052},{"style":219},[4053],{"type":50,"value":232},{"type":44,"tag":85,"props":4055,"children":4056},{"style":219},[4057],{"type":50,"value":626},{"type":44,"tag":85,"props":4059,"children":4060},{"style":219},[4061],{"type":50,"value":825},{"type":44,"tag":85,"props":4063,"children":4064},{"class":87,"line":455},[4065,4070,4074,4078,4083,4087],{"type":44,"tag":85,"props":4066,"children":4067},{"style":374},[4068],{"type":50,"value":4069},"  credentials",{"type":44,"tag":85,"props":4071,"children":4072},{"style":219},[4073],{"type":50,"value":382},{"type":44,"tag":85,"props":4075,"children":4076},{"style":219},[4077],{"type":50,"value":222},{"type":44,"tag":85,"props":4079,"children":4080},{"style":107},[4081],{"type":50,"value":4082},"include",{"type":44,"tag":85,"props":4084,"children":4085},{"style":219},[4086],{"type":50,"value":232},{"type":44,"tag":85,"props":4088,"children":4089},{"style":219},[4090],{"type":50,"value":534},{"type":44,"tag":85,"props":4092,"children":4093},{"class":87,"line":506},[4094,4098,4102],{"type":44,"tag":85,"props":4095,"children":4096},{"style":219},[4097],{"type":50,"value":573},{"type":44,"tag":85,"props":4099,"children":4100},{"style":208},[4101],{"type":50,"value":297},{"type":44,"tag":85,"props":4103,"children":4104},{"style":219},[4105],{"type":50,"value":237},{"type":44,"tag":60,"props":4107,"children":4108},{},[4109],{"type":50,"value":4110},"With TanStack Query, configure a default fetcher:",{"type":44,"tag":73,"props":4112,"children":4114},{"className":182,"code":4113,"language":184,"meta":78,"style":78},"const queryClient = new QueryClient({\n  defaultOptions: {\n    queries: {\n      queryFn: async ({ queryKey }) => {\n        const response = await fetch(queryKey[0] as string, {\n          headers: { Authorization: `Bearer ${getToken()}` },\n        });\n        if (!response.ok) throw new Error(\"Request failed\");\n        return response.json();\n      },\n    },\n  },\n});\n",[4115],{"type":44,"tag":81,"props":4116,"children":4117},{"__ignoreMap":78},[4118,4151,4167,4183,4220,4285,4340,4356,4430,4458,4466,4473,4480],{"type":44,"tag":85,"props":4119,"children":4120},{"class":87,"line":88},[4121,4125,4130,4134,4138,4143,4147],{"type":44,"tag":85,"props":4122,"children":4123},{"style":250},[4124],{"type":50,"value":253},{"type":44,"tag":85,"props":4126,"children":4127},{"style":208},[4128],{"type":50,"value":4129}," queryClient ",{"type":44,"tag":85,"props":4131,"children":4132},{"style":219},[4133],{"type":50,"value":263},{"type":44,"tag":85,"props":4135,"children":4136},{"style":219},[4137],{"type":50,"value":268},{"type":44,"tag":85,"props":4139,"children":4140},{"style":271},[4141],{"type":50,"value":4142}," QueryClient",{"type":44,"tag":85,"props":4144,"children":4145},{"style":208},[4146],{"type":50,"value":279},{"type":44,"tag":85,"props":4148,"children":4149},{"style":219},[4150],{"type":50,"value":503},{"type":44,"tag":85,"props":4152,"children":4153},{"class":87,"line":98},[4154,4159,4163],{"type":44,"tag":85,"props":4155,"children":4156},{"style":374},[4157],{"type":50,"value":4158},"  defaultOptions",{"type":44,"tag":85,"props":4160,"children":4161},{"style":219},[4162],{"type":50,"value":382},{"type":44,"tag":85,"props":4164,"children":4165},{"style":219},[4166],{"type":50,"value":825},{"type":44,"tag":85,"props":4168,"children":4169},{"class":87,"line":128},[4170,4175,4179],{"type":44,"tag":85,"props":4171,"children":4172},{"style":374},[4173],{"type":50,"value":4174},"    queries",{"type":44,"tag":85,"props":4176,"children":4177},{"style":219},[4178],{"type":50,"value":382},{"type":44,"tag":85,"props":4180,"children":4181},{"style":219},[4182],{"type":50,"value":825},{"type":44,"tag":85,"props":4184,"children":4185},{"class":87,"line":138},[4186,4191,4195,4199,4204,4208,4212,4216],{"type":44,"tag":85,"props":4187,"children":4188},{"style":271},[4189],{"type":50,"value":4190},"      queryFn",{"type":44,"tag":85,"props":4192,"children":4193},{"style":219},[4194],{"type":50,"value":382},{"type":44,"tag":85,"props":4196,"children":4197},{"style":250},[4198],{"type":50,"value":3221},{"type":44,"tag":85,"props":4200,"children":4201},{"style":219},[4202],{"type":50,"value":4203}," ({",{"type":44,"tag":85,"props":4205,"children":4206},{"style":790},[4207],{"type":50,"value":2374},{"type":44,"tag":85,"props":4209,"children":4210},{"style":219},[4211],{"type":50,"value":820},{"type":44,"tag":85,"props":4213,"children":4214},{"style":250},[4215],{"type":50,"value":1019},{"type":44,"tag":85,"props":4217,"children":4218},{"style":219},[4219],{"type":50,"value":825},{"type":44,"tag":85,"props":4221,"children":4222},{"class":87,"line":28},[4223,4228,4233,4237,4241,4245,4249,4254,4259,4265,4269,4273,4277,4281],{"type":44,"tag":85,"props":4224,"children":4225},{"style":250},[4226],{"type":50,"value":4227},"        const",{"type":44,"tag":85,"props":4229,"children":4230},{"style":208},[4231],{"type":50,"value":4232}," response",{"type":44,"tag":85,"props":4234,"children":4235},{"style":219},[4236],{"type":50,"value":861},{"type":44,"tag":85,"props":4238,"children":4239},{"style":202},[4240],{"type":50,"value":339},{"type":44,"tag":85,"props":4242,"children":4243},{"style":271},[4244],{"type":50,"value":3886},{"type":44,"tag":85,"props":4246,"children":4247},{"style":374},[4248],{"type":50,"value":279},{"type":44,"tag":85,"props":4250,"children":4251},{"style":208},[4252],{"type":50,"value":4253},"queryKey",{"type":44,"tag":85,"props":4255,"children":4256},{"style":374},[4257],{"type":50,"value":4258},"[",{"type":44,"tag":85,"props":4260,"children":4262},{"style":4261},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[4263],{"type":50,"value":4264},"0",{"type":44,"tag":85,"props":4266,"children":4267},{"style":374},[4268],{"type":50,"value":2400},{"type":44,"tag":85,"props":4270,"children":4271},{"style":202},[4272],{"type":50,"value":2664},{"type":44,"tag":85,"props":4274,"children":4275},{"style":102},[4276],{"type":50,"value":815},{"type":44,"tag":85,"props":4278,"children":4279},{"style":219},[4280],{"type":50,"value":626},{"type":44,"tag":85,"props":4282,"children":4283},{"style":219},[4284],{"type":50,"value":825},{"type":44,"tag":85,"props":4286,"children":4287},{"class":87,"line":311},[4288,4293,4297,4301,4306,4310,4314,4318,4322,4327,4331,4335],{"type":44,"tag":85,"props":4289,"children":4290},{"style":374},[4291],{"type":50,"value":4292},"          headers",{"type":44,"tag":85,"props":4294,"children":4295},{"style":219},[4296],{"type":50,"value":382},{"type":44,"tag":85,"props":4298,"children":4299},{"style":219},[4300],{"type":50,"value":616},{"type":44,"tag":85,"props":4302,"children":4303},{"style":374},[4304],{"type":50,"value":4305}," Authorization",{"type":44,"tag":85,"props":4307,"children":4308},{"style":219},[4309],{"type":50,"value":382},{"type":44,"tag":85,"props":4311,"children":4312},{"style":219},[4313],{"type":50,"value":3952},{"type":44,"tag":85,"props":4315,"children":4316},{"style":107},[4317],{"type":50,"value":3957},{"type":44,"tag":85,"props":4319,"children":4320},{"style":219},[4321],{"type":50,"value":3962},{"type":44,"tag":85,"props":4323,"children":4324},{"style":271},[4325],{"type":50,"value":4326},"getToken",{"type":44,"tag":85,"props":4328,"children":4329},{"style":208},[4330],{"type":50,"value":1014},{"type":44,"tag":85,"props":4332,"children":4333},{"style":219},[4334],{"type":50,"value":3972},{"type":44,"tag":85,"props":4336,"children":4337},{"style":219},[4338],{"type":50,"value":4339}," },\n",{"type":44,"tag":85,"props":4341,"children":4342},{"class":87,"line":320},[4343,4348,4352],{"type":44,"tag":85,"props":4344,"children":4345},{"style":219},[4346],{"type":50,"value":4347},"        }",{"type":44,"tag":85,"props":4349,"children":4350},{"style":374},[4351],{"type":50,"value":297},{"type":44,"tag":85,"props":4353,"children":4354},{"style":219},[4355],{"type":50,"value":237},{"type":44,"tag":85,"props":4357,"children":4358},{"class":87,"line":411},[4359,4364,4368,4373,4378,4382,4387,4391,4396,4400,4405,4409,4413,4418,4422,4426],{"type":44,"tag":85,"props":4360,"children":4361},{"style":202},[4362],{"type":50,"value":4363},"        if",{"type":44,"tag":85,"props":4365,"children":4366},{"style":374},[4367],{"type":50,"value":1225},{"type":44,"tag":85,"props":4369,"children":4370},{"style":219},[4371],{"type":50,"value":4372},"!",{"type":44,"tag":85,"props":4374,"children":4375},{"style":208},[4376],{"type":50,"value":4377},"response",{"type":44,"tag":85,"props":4379,"children":4380},{"style":219},[4381],{"type":50,"value":348},{"type":44,"tag":85,"props":4383,"children":4384},{"style":208},[4385],{"type":50,"value":4386},"ok",{"type":44,"tag":85,"props":4388,"children":4389},{"style":374},[4390],{"type":50,"value":1234},{"type":44,"tag":85,"props":4392,"children":4393},{"style":202},[4394],{"type":50,"value":4395},"throw",{"type":44,"tag":85,"props":4397,"children":4398},{"style":219},[4399],{"type":50,"value":268},{"type":44,"tag":85,"props":4401,"children":4402},{"style":271},[4403],{"type":50,"value":4404}," Error",{"type":44,"tag":85,"props":4406,"children":4407},{"style":374},[4408],{"type":50,"value":279},{"type":44,"tag":85,"props":4410,"children":4411},{"style":219},[4412],{"type":50,"value":232},{"type":44,"tag":85,"props":4414,"children":4415},{"style":107},[4416],{"type":50,"value":4417},"Request failed",{"type":44,"tag":85,"props":4419,"children":4420},{"style":219},[4421],{"type":50,"value":232},{"type":44,"tag":85,"props":4423,"children":4424},{"style":374},[4425],{"type":50,"value":297},{"type":44,"tag":85,"props":4427,"children":4428},{"style":219},[4429],{"type":50,"value":237},{"type":44,"tag":85,"props":4431,"children":4432},{"class":87,"line":447},[4433,4438,4442,4446,4450,4454],{"type":44,"tag":85,"props":4434,"children":4435},{"style":202},[4436],{"type":50,"value":4437},"        return",{"type":44,"tag":85,"props":4439,"children":4440},{"style":208},[4441],{"type":50,"value":4232},{"type":44,"tag":85,"props":4443,"children":4444},{"style":219},[4445],{"type":50,"value":348},{"type":44,"tag":85,"props":4447,"children":4448},{"style":271},[4449],{"type":50,"value":3531},{"type":44,"tag":85,"props":4451,"children":4452},{"style":374},[4453],{"type":50,"value":1014},{"type":44,"tag":85,"props":4455,"children":4456},{"style":219},[4457],{"type":50,"value":237},{"type":44,"tag":85,"props":4459,"children":4460},{"class":87,"line":455},[4461],{"type":44,"tag":85,"props":4462,"children":4463},{"style":219},[4464],{"type":50,"value":4465},"      },\n",{"type":44,"tag":85,"props":4467,"children":4468},{"class":87,"line":506},[4469],{"type":44,"tag":85,"props":4470,"children":4471},{"style":219},[4472],{"type":50,"value":2420},{"type":44,"tag":85,"props":4474,"children":4475},{"class":87,"line":537},[4476],{"type":44,"tag":85,"props":4477,"children":4478},{"style":219},[4479],{"type":50,"value":3984},{"type":44,"tag":85,"props":4481,"children":4482},{"class":87,"line":567},[4483,4487,4491],{"type":44,"tag":85,"props":4484,"children":4485},{"style":219},[4486],{"type":50,"value":573},{"type":44,"tag":85,"props":4488,"children":4489},{"style":208},[4490],{"type":50,"value":297},{"type":44,"tag":85,"props":4492,"children":4493},{"style":219},[4494],{"type":50,"value":237},{"type":44,"tag":66,"props":4496,"children":4498},{"id":4497},"using-plain-fetch",[4499],{"type":50,"value":4500},"Using Plain Fetch",{"type":44,"tag":60,"props":4502,"children":4503},{},[4504],{"type":50,"value":4505},"If you prefer not to use the generated client:",{"type":44,"tag":73,"props":4507,"children":4509},{"className":182,"code":4508,"language":184,"meta":78,"style":78},"async function getUser(id: string) {\n  const response = await fetch(`http:\u002F\u002Flocalhost:4000\u002Fusers\u002F${id}`);\n  if (!response.ok) {\n    throw new Error(`HTTP error: ${response.status}`);\n  }\n  return response.json();\n}\n\nasync function createUser(email: string, name: string) {\n  const response = await fetch(\"http:\u002F\u002Flocalhost:4000\u002Fusers\", {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    body: JSON.stringify({ email, name }),\n  });\n  if (!response.ok) {\n    throw new Error(`HTTP error: ${response.status}`);\n  }\n  return response.json();\n}\n",[4510],{"type":44,"tag":81,"props":4511,"children":4512},{"__ignoreMap":78},[4513,4554,4611,4646,4704,4712,4739,4746,4753,4809,4857,4886,4936,4994,5009,5044,5099,5106,5133],{"type":44,"tag":85,"props":4514,"children":4515},{"class":87,"line":88},[4516,4521,4525,4530,4534,4538,4542,4546,4550],{"type":44,"tag":85,"props":4517,"children":4518},{"style":250},[4519],{"type":50,"value":4520},"async",{"type":44,"tag":85,"props":4522,"children":4523},{"style":250},[4524],{"type":50,"value":777},{"type":44,"tag":85,"props":4526,"children":4527},{"style":271},[4528],{"type":50,"value":4529}," getUser",{"type":44,"tag":85,"props":4531,"children":4532},{"style":219},[4533],{"type":50,"value":279},{"type":44,"tag":85,"props":4535,"children":4536},{"style":790},[4537],{"type":50,"value":3351},{"type":44,"tag":85,"props":4539,"children":4540},{"style":219},[4541],{"type":50,"value":382},{"type":44,"tag":85,"props":4543,"children":4544},{"style":102},[4545],{"type":50,"value":815},{"type":44,"tag":85,"props":4547,"children":4548},{"style":219},[4549],{"type":50,"value":297},{"type":44,"tag":85,"props":4551,"children":4552},{"style":219},[4553],{"type":50,"value":825},{"type":44,"tag":85,"props":4555,"children":4556},{"class":87,"line":98},[4557,4561,4565,4569,4573,4577,4581,4586,4591,4595,4599,4603,4607],{"type":44,"tag":85,"props":4558,"children":4559},{"style":250},[4560],{"type":50,"value":833},{"type":44,"tag":85,"props":4562,"children":4563},{"style":208},[4564],{"type":50,"value":4232},{"type":44,"tag":85,"props":4566,"children":4567},{"style":219},[4568],{"type":50,"value":861},{"type":44,"tag":85,"props":4570,"children":4571},{"style":202},[4572],{"type":50,"value":339},{"type":44,"tag":85,"props":4574,"children":4575},{"style":271},[4576],{"type":50,"value":3886},{"type":44,"tag":85,"props":4578,"children":4579},{"style":374},[4580],{"type":50,"value":279},{"type":44,"tag":85,"props":4582,"children":4583},{"style":219},[4584],{"type":50,"value":4585},"`",{"type":44,"tag":85,"props":4587,"children":4588},{"style":107},[4589],{"type":50,"value":4590},"http:\u002F\u002Flocalhost:4000\u002Fusers\u002F",{"type":44,"tag":85,"props":4592,"children":4593},{"style":219},[4594],{"type":50,"value":3962},{"type":44,"tag":85,"props":4596,"children":4597},{"style":208},[4598],{"type":50,"value":3351},{"type":44,"tag":85,"props":4600,"children":4601},{"style":219},[4602],{"type":50,"value":3972},{"type":44,"tag":85,"props":4604,"children":4605},{"style":374},[4606],{"type":50,"value":297},{"type":44,"tag":85,"props":4608,"children":4609},{"style":219},[4610],{"type":50,"value":237},{"type":44,"tag":85,"props":4612,"children":4613},{"class":87,"line":128},[4614,4618,4622,4626,4630,4634,4638,4642],{"type":44,"tag":85,"props":4615,"children":4616},{"style":202},[4617],{"type":50,"value":1220},{"type":44,"tag":85,"props":4619,"children":4620},{"style":374},[4621],{"type":50,"value":1225},{"type":44,"tag":85,"props":4623,"children":4624},{"style":219},[4625],{"type":50,"value":4372},{"type":44,"tag":85,"props":4627,"children":4628},{"style":208},[4629],{"type":50,"value":4377},{"type":44,"tag":85,"props":4631,"children":4632},{"style":219},[4633],{"type":50,"value":348},{"type":44,"tag":85,"props":4635,"children":4636},{"style":208},[4637],{"type":50,"value":4386},{"type":44,"tag":85,"props":4639,"children":4640},{"style":374},[4641],{"type":50,"value":1234},{"type":44,"tag":85,"props":4643,"children":4644},{"style":219},[4645],{"type":50,"value":503},{"type":44,"tag":85,"props":4647,"children":4648},{"class":87,"line":138},[4649,4654,4658,4662,4666,4670,4675,4679,4683,4687,4692,4696,4700],{"type":44,"tag":85,"props":4650,"children":4651},{"style":202},[4652],{"type":50,"value":4653},"    throw",{"type":44,"tag":85,"props":4655,"children":4656},{"style":219},[4657],{"type":50,"value":268},{"type":44,"tag":85,"props":4659,"children":4660},{"style":271},[4661],{"type":50,"value":4404},{"type":44,"tag":85,"props":4663,"children":4664},{"style":374},[4665],{"type":50,"value":279},{"type":44,"tag":85,"props":4667,"children":4668},{"style":219},[4669],{"type":50,"value":4585},{"type":44,"tag":85,"props":4671,"children":4672},{"style":107},[4673],{"type":50,"value":4674},"HTTP error: ",{"type":44,"tag":85,"props":4676,"children":4677},{"style":219},[4678],{"type":50,"value":3962},{"type":44,"tag":85,"props":4680,"children":4681},{"style":208},[4682],{"type":50,"value":4377},{"type":44,"tag":85,"props":4684,"children":4685},{"style":219},[4686],{"type":50,"value":348},{"type":44,"tag":85,"props":4688,"children":4689},{"style":208},[4690],{"type":50,"value":4691},"status",{"type":44,"tag":85,"props":4693,"children":4694},{"style":219},[4695],{"type":50,"value":3972},{"type":44,"tag":85,"props":4697,"children":4698},{"style":374},[4699],{"type":50,"value":297},{"type":44,"tag":85,"props":4701,"children":4702},{"style":219},[4703],{"type":50,"value":237},{"type":44,"tag":85,"props":4705,"children":4706},{"class":87,"line":28},[4707],{"type":44,"tag":85,"props":4708,"children":4709},{"style":219},[4710],{"type":50,"value":4711},"  }\n",{"type":44,"tag":85,"props":4713,"children":4714},{"class":87,"line":311},[4715,4719,4723,4727,4731,4735],{"type":44,"tag":85,"props":4716,"children":4717},{"style":202},[4718],{"type":50,"value":1362},{"type":44,"tag":85,"props":4720,"children":4721},{"style":208},[4722],{"type":50,"value":4232},{"type":44,"tag":85,"props":4724,"children":4725},{"style":219},[4726],{"type":50,"value":348},{"type":44,"tag":85,"props":4728,"children":4729},{"style":271},[4730],{"type":50,"value":3531},{"type":44,"tag":85,"props":4732,"children":4733},{"style":374},[4734],{"type":50,"value":1014},{"type":44,"tag":85,"props":4736,"children":4737},{"style":219},[4738],{"type":50,"value":237},{"type":44,"tag":85,"props":4740,"children":4741},{"class":87,"line":320},[4742],{"type":44,"tag":85,"props":4743,"children":4744},{"style":219},[4745],{"type":50,"value":1507},{"type":44,"tag":85,"props":4747,"children":4748},{"class":87,"line":411},[4749],{"type":44,"tag":85,"props":4750,"children":4751},{"emptyLinePlaceholder":132},[4752],{"type":50,"value":135},{"type":44,"tag":85,"props":4754,"children":4755},{"class":87,"line":447},[4756,4760,4764,4769,4773,4777,4781,4785,4789,4793,4797,4801,4805],{"type":44,"tag":85,"props":4757,"children":4758},{"style":250},[4759],{"type":50,"value":4520},{"type":44,"tag":85,"props":4761,"children":4762},{"style":250},[4763],{"type":50,"value":777},{"type":44,"tag":85,"props":4765,"children":4766},{"style":271},[4767],{"type":50,"value":4768}," createUser",{"type":44,"tag":85,"props":4770,"children":4771},{"style":219},[4772],{"type":50,"value":279},{"type":44,"tag":85,"props":4774,"children":4775},{"style":790},[4776],{"type":50,"value":1457},{"type":44,"tag":85,"props":4778,"children":4779},{"style":219},[4780],{"type":50,"value":382},{"type":44,"tag":85,"props":4782,"children":4783},{"style":102},[4784],{"type":50,"value":815},{"type":44,"tag":85,"props":4786,"children":4787},{"style":219},[4788],{"type":50,"value":626},{"type":44,"tag":85,"props":4790,"children":4791},{"style":790},[4792],{"type":50,"value":2259},{"type":44,"tag":85,"props":4794,"children":4795},{"style":219},[4796],{"type":50,"value":382},{"type":44,"tag":85,"props":4798,"children":4799},{"style":102},[4800],{"type":50,"value":815},{"type":44,"tag":85,"props":4802,"children":4803},{"style":219},[4804],{"type":50,"value":297},{"type":44,"tag":85,"props":4806,"children":4807},{"style":219},[4808],{"type":50,"value":825},{"type":44,"tag":85,"props":4810,"children":4811},{"class":87,"line":455},[4812,4816,4820,4824,4828,4832,4836,4840,4845,4849,4853],{"type":44,"tag":85,"props":4813,"children":4814},{"style":250},[4815],{"type":50,"value":833},{"type":44,"tag":85,"props":4817,"children":4818},{"style":208},[4819],{"type":50,"value":4232},{"type":44,"tag":85,"props":4821,"children":4822},{"style":219},[4823],{"type":50,"value":861},{"type":44,"tag":85,"props":4825,"children":4826},{"style":202},[4827],{"type":50,"value":339},{"type":44,"tag":85,"props":4829,"children":4830},{"style":271},[4831],{"type":50,"value":3886},{"type":44,"tag":85,"props":4833,"children":4834},{"style":374},[4835],{"type":50,"value":279},{"type":44,"tag":85,"props":4837,"children":4838},{"style":219},[4839],{"type":50,"value":232},{"type":44,"tag":85,"props":4841,"children":4842},{"style":107},[4843],{"type":50,"value":4844},"http:\u002F\u002Flocalhost:4000\u002Fusers",{"type":44,"tag":85,"props":4846,"children":4847},{"style":219},[4848],{"type":50,"value":232},{"type":44,"tag":85,"props":4850,"children":4851},{"style":219},[4852],{"type":50,"value":626},{"type":44,"tag":85,"props":4854,"children":4855},{"style":219},[4856],{"type":50,"value":825},{"type":44,"tag":85,"props":4858,"children":4859},{"class":87,"line":506},[4860,4865,4869,4873,4878,4882],{"type":44,"tag":85,"props":4861,"children":4862},{"style":374},[4863],{"type":50,"value":4864},"    method",{"type":44,"tag":85,"props":4866,"children":4867},{"style":219},[4868],{"type":50,"value":382},{"type":44,"tag":85,"props":4870,"children":4871},{"style":219},[4872],{"type":50,"value":222},{"type":44,"tag":85,"props":4874,"children":4875},{"style":107},[4876],{"type":50,"value":4877},"POST",{"type":44,"tag":85,"props":4879,"children":4880},{"style":219},[4881],{"type":50,"value":232},{"type":44,"tag":85,"props":4883,"children":4884},{"style":219},[4885],{"type":50,"value":534},{"type":44,"tag":85,"props":4887,"children":4888},{"class":87,"line":537},[4889,4894,4898,4902,4906,4911,4915,4919,4923,4928,4932],{"type":44,"tag":85,"props":4890,"children":4891},{"style":374},[4892],{"type":50,"value":4893},"    headers",{"type":44,"tag":85,"props":4895,"children":4896},{"style":219},[4897],{"type":50,"value":382},{"type":44,"tag":85,"props":4899,"children":4900},{"style":219},[4901],{"type":50,"value":616},{"type":44,"tag":85,"props":4903,"children":4904},{"style":219},[4905],{"type":50,"value":222},{"type":44,"tag":85,"props":4907,"children":4908},{"style":374},[4909],{"type":50,"value":4910},"Content-Type",{"type":44,"tag":85,"props":4912,"children":4913},{"style":219},[4914],{"type":50,"value":232},{"type":44,"tag":85,"props":4916,"children":4917},{"style":219},[4918],{"type":50,"value":382},{"type":44,"tag":85,"props":4920,"children":4921},{"style":219},[4922],{"type":50,"value":222},{"type":44,"tag":85,"props":4924,"children":4925},{"style":107},[4926],{"type":50,"value":4927},"application\u002Fjson",{"type":44,"tag":85,"props":4929,"children":4930},{"style":219},[4931],{"type":50,"value":232},{"type":44,"tag":85,"props":4933,"children":4934},{"style":219},[4935],{"type":50,"value":4339},{"type":44,"tag":85,"props":4937,"children":4938},{"class":87,"line":567},[4939,4944,4948,4953,4957,4962,4966,4970,4974,4978,4982,4986,4990],{"type":44,"tag":85,"props":4940,"children":4941},{"style":374},[4942],{"type":50,"value":4943},"    body",{"type":44,"tag":85,"props":4945,"children":4946},{"style":219},[4947],{"type":50,"value":382},{"type":44,"tag":85,"props":4949,"children":4950},{"style":208},[4951],{"type":50,"value":4952}," JSON",{"type":44,"tag":85,"props":4954,"children":4955},{"style":219},[4956],{"type":50,"value":348},{"type":44,"tag":85,"props":4958,"children":4959},{"style":271},[4960],{"type":50,"value":4961},"stringify",{"type":44,"tag":85,"props":4963,"children":4964},{"style":374},[4965],{"type":50,"value":279},{"type":44,"tag":85,"props":4967,"children":4968},{"style":219},[4969],{"type":50,"value":371},{"type":44,"tag":85,"props":4971,"children":4972},{"style":208},[4973],{"type":50,"value":2241},{"type":44,"tag":85,"props":4975,"children":4976},{"style":219},[4977],{"type":50,"value":626},{"type":44,"tag":85,"props":4979,"children":4980},{"style":208},[4981],{"type":50,"value":2259},{"type":44,"tag":85,"props":4983,"children":4984},{"style":219},[4985],{"type":50,"value":400},{"type":44,"tag":85,"props":4987,"children":4988},{"style":374},[4989],{"type":50,"value":297},{"type":44,"tag":85,"props":4991,"children":4992},{"style":219},[4993],{"type":50,"value":534},{"type":44,"tag":85,"props":4995,"children":4996},{"class":87,"line":1079},[4997,5001,5005],{"type":44,"tag":85,"props":4998,"children":4999},{"style":219},[5000],{"type":50,"value":1922},{"type":44,"tag":85,"props":5002,"children":5003},{"style":374},[5004],{"type":50,"value":297},{"type":44,"tag":85,"props":5006,"children":5007},{"style":219},[5008],{"type":50,"value":237},{"type":44,"tag":85,"props":5010,"children":5011},{"class":87,"line":1106},[5012,5016,5020,5024,5028,5032,5036,5040],{"type":44,"tag":85,"props":5013,"children":5014},{"style":202},[5015],{"type":50,"value":1220},{"type":44,"tag":85,"props":5017,"children":5018},{"style":374},[5019],{"type":50,"value":1225},{"type":44,"tag":85,"props":5021,"children":5022},{"style":219},[5023],{"type":50,"value":4372},{"type":44,"tag":85,"props":5025,"children":5026},{"style":208},[5027],{"type":50,"value":4377},{"type":44,"tag":85,"props":5029,"children":5030},{"style":219},[5031],{"type":50,"value":348},{"type":44,"tag":85,"props":5033,"children":5034},{"style":208},[5035],{"type":50,"value":4386},{"type":44,"tag":85,"props":5037,"children":5038},{"style":374},[5039],{"type":50,"value":1234},{"type":44,"tag":85,"props":5041,"children":5042},{"style":219},[5043],{"type":50,"value":503},{"type":44,"tag":85,"props":5045,"children":5046},{"class":87,"line":1132},[5047,5051,5055,5059,5063,5067,5071,5075,5079,5083,5087,5091,5095],{"type":44,"tag":85,"props":5048,"children":5049},{"style":202},[5050],{"type":50,"value":4653},{"type":44,"tag":85,"props":5052,"children":5053},{"style":219},[5054],{"type":50,"value":268},{"type":44,"tag":85,"props":5056,"children":5057},{"style":271},[5058],{"type":50,"value":4404},{"type":44,"tag":85,"props":5060,"children":5061},{"style":374},[5062],{"type":50,"value":279},{"type":44,"tag":85,"props":5064,"children":5065},{"style":219},[5066],{"type":50,"value":4585},{"type":44,"tag":85,"props":5068,"children":5069},{"style":107},[5070],{"type":50,"value":4674},{"type":44,"tag":85,"props":5072,"children":5073},{"style":219},[5074],{"type":50,"value":3962},{"type":44,"tag":85,"props":5076,"children":5077},{"style":208},[5078],{"type":50,"value":4377},{"type":44,"tag":85,"props":5080,"children":5081},{"style":219},[5082],{"type":50,"value":348},{"type":44,"tag":85,"props":5084,"children":5085},{"style":208},[5086],{"type":50,"value":4691},{"type":44,"tag":85,"props":5088,"children":5089},{"style":219},[5090],{"type":50,"value":3972},{"type":44,"tag":85,"props":5092,"children":5093},{"style":374},[5094],{"type":50,"value":297},{"type":44,"tag":85,"props":5096,"children":5097},{"style":219},[5098],{"type":50,"value":237},{"type":44,"tag":85,"props":5100,"children":5101},{"class":87,"line":1179},[5102],{"type":44,"tag":85,"props":5103,"children":5104},{"style":219},[5105],{"type":50,"value":4711},{"type":44,"tag":85,"props":5107,"children":5108},{"class":87,"line":1206},[5109,5113,5117,5121,5125,5129],{"type":44,"tag":85,"props":5110,"children":5111},{"style":202},[5112],{"type":50,"value":1362},{"type":44,"tag":85,"props":5114,"children":5115},{"style":208},[5116],{"type":50,"value":4232},{"type":44,"tag":85,"props":5118,"children":5119},{"style":219},[5120],{"type":50,"value":348},{"type":44,"tag":85,"props":5122,"children":5123},{"style":271},[5124],{"type":50,"value":3531},{"type":44,"tag":85,"props":5126,"children":5127},{"style":374},[5128],{"type":50,"value":1014},{"type":44,"tag":85,"props":5130,"children":5131},{"style":219},[5132],{"type":50,"value":237},{"type":44,"tag":85,"props":5134,"children":5135},{"class":87,"line":1214},[5136],{"type":44,"tag":85,"props":5137,"children":5138},{"style":219},[5139],{"type":50,"value":1507},{"type":44,"tag":66,"props":5141,"children":5143},{"id":5142},"environment-variables",[5144],{"type":50,"value":5145},"Environment Variables",{"type":44,"tag":73,"props":5147,"children":5149},{"className":75,"code":5148,"language":77,"meta":78,"style":78},"# .env.local (Next.js)\nNEXT_PUBLIC_API_URL=http:\u002F\u002Flocalhost:4000\n\n# .env (Vite)\nVITE_API_URL=http:\u002F\u002Flocalhost:4000\n",[5150],{"type":44,"tag":81,"props":5151,"children":5152},{"__ignoreMap":78},[5153,5161,5178,5185,5193],{"type":44,"tag":85,"props":5154,"children":5155},{"class":87,"line":88},[5156],{"type":44,"tag":85,"props":5157,"children":5158},{"style":92},[5159],{"type":50,"value":5160},"# .env.local (Next.js)\n",{"type":44,"tag":85,"props":5162,"children":5163},{"class":87,"line":98},[5164,5169,5173],{"type":44,"tag":85,"props":5165,"children":5166},{"style":208},[5167],{"type":50,"value":5168},"NEXT_PUBLIC_API_URL",{"type":44,"tag":85,"props":5170,"children":5171},{"style":219},[5172],{"type":50,"value":263},{"type":44,"tag":85,"props":5174,"children":5175},{"style":107},[5176],{"type":50,"value":5177},"http:\u002F\u002Flocalhost:4000\n",{"type":44,"tag":85,"props":5179,"children":5180},{"class":87,"line":128},[5181],{"type":44,"tag":85,"props":5182,"children":5183},{"emptyLinePlaceholder":132},[5184],{"type":50,"value":135},{"type":44,"tag":85,"props":5186,"children":5187},{"class":87,"line":138},[5188],{"type":44,"tag":85,"props":5189,"children":5190},{"style":92},[5191],{"type":50,"value":5192},"# .env (Vite)\n",{"type":44,"tag":85,"props":5194,"children":5195},{"class":87,"line":28},[5196,5201,5205],{"type":44,"tag":85,"props":5197,"children":5198},{"style":208},[5199],{"type":50,"value":5200},"VITE_API_URL",{"type":44,"tag":85,"props":5202,"children":5203},{"style":219},[5204],{"type":50,"value":263},{"type":44,"tag":85,"props":5206,"children":5207},{"style":107},[5208],{"type":50,"value":5177},{"type":44,"tag":66,"props":5210,"children":5212},{"id":5211},"guidelines",[5213],{"type":50,"value":5214},"Guidelines",{"type":44,"tag":5216,"props":5217,"children":5218},"ul",{},[5219,5233,5238,5250,5261,5273,5285,5290],{"type":44,"tag":5220,"props":5221,"children":5222},"li",{},[5223,5225,5231],{"type":50,"value":5224},"Use ",{"type":44,"tag":81,"props":5226,"children":5228},{"className":5227},[],[5229],{"type":50,"value":5230},"encore gen client",{"type":50,"value":5232}," to generate typed API clients",{"type":44,"tag":5220,"props":5234,"children":5235},{},[5236],{"type":50,"value":5237},"Regenerate the client when your API changes",{"type":44,"tag":5220,"props":5239,"children":5240},{},[5241,5243,5248],{"type":50,"value":5242},"Configure CORS in ",{"type":44,"tag":81,"props":5244,"children":5246},{"className":5245},[],[5247],{"type":50,"value":3524},{"type":50,"value":5249}," for production domains",{"type":44,"tag":5220,"props":5251,"children":5252},{},[5253,5254,5259],{"type":50,"value":5224},{"type":44,"tag":81,"props":5255,"children":5257},{"className":5256},[],[5258],{"type":50,"value":3616},{"type":50,"value":5260}," for authenticated requests",{"type":44,"tag":5220,"props":5262,"children":5263},{},[5264,5266,5271],{"type":50,"value":5265},"Include ",{"type":44,"tag":81,"props":5267,"children":5269},{"className":5268},[],[5270],{"type":50,"value":3939},{"type":50,"value":5272}," header for token-based auth",{"type":44,"tag":5220,"props":5274,"children":5275},{},[5276,5277,5283],{"type":50,"value":5224},{"type":44,"tag":81,"props":5278,"children":5280},{"className":5279},[],[5281],{"type":50,"value":5282},"credentials: \"include\"",{"type":50,"value":5284}," for cookie-based auth",{"type":44,"tag":5220,"props":5286,"children":5287},{},[5288],{"type":50,"value":5289},"Use environment variables for API URLs (different per environment)",{"type":44,"tag":5220,"props":5291,"children":5292},{},[5293],{"type":50,"value":5294},"The generated client handles errors and types automatically",{"type":44,"tag":5296,"props":5297,"children":5298},"style",{},[5299],{"type":50,"value":5300},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":5302,"total":1501},[5303,5316,5328,5346,5362,5374,5390],{"slug":5304,"name":5304,"fn":5305,"description":5306,"org":5307,"tags":5308,"stars":24,"repoUrl":25,"updatedAt":5315},"encore-api","build type-safe APIs with Encore","Define typed API endpoints in Encore.ts using `api(...)` from `encore.dev\u002Fapi`. Covers typed request\u002Fresponse interfaces, path\u002Fquery\u002Fheader\u002Fcookie params, request validation, and `APIError`. For raw endpoints (`api.raw()`) and inbound webhooks, use `encore-webhook` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5309,5312,5313],{"name":5310,"slug":5311,"type":16},"API Development","api-development",{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},"TypeScript","2026-04-06T18:09:46.044101",{"slug":5317,"name":5317,"fn":5318,"description":5319,"org":5320,"tags":5321,"stars":24,"repoUrl":25,"updatedAt":5327},"encore-auth","implement Encore.ts authentication","Protect Encore.ts endpoints with authentication and authorize callers. Covers `authHandler`, `Gateway`, `getAuthData`, and `auth: true`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5322,5325,5326],{"name":5323,"slug":5324,"type":16},"Auth","auth",{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},"2026-04-06T18:09:47.336322",{"slug":5329,"name":5329,"fn":5330,"description":5331,"org":5332,"tags":5333,"stars":24,"repoUrl":25,"updatedAt":5345},"encore-bucket","store files in Encore.ts buckets","Store unstructured files in Encore.ts using `Bucket` from `encore.dev\u002Fstorage\u002Fobjects` — uploads, images, documents, blobs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5334,5337,5338,5341,5344],{"name":5335,"slug":5336,"type":16},"Backend","backend",{"name":9,"slug":8,"type":16},{"name":5339,"slug":5340,"type":16},"File Storage","file-storage",{"name":5342,"slug":5343,"type":16},"File Uploads","file-uploads",{"name":5314,"slug":184,"type":16},"2026-05-16T05:59:52.813772",{"slug":5347,"name":5347,"fn":5348,"description":5349,"org":5350,"tags":5351,"stars":24,"repoUrl":25,"updatedAt":5361},"encore-cache","cache data in Redis with Encore.ts","Cache data in Redis from Encore.ts using `CacheCluster` and typed keyspaces from `encore.dev\u002Fstorage\u002Fcache`. Type-safe key\u002Fvalue access with TTLs, atomic increments, and per-keyspace data shapes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5352,5353,5356,5357,5360],{"name":5335,"slug":5336,"type":16},{"name":5354,"slug":5355,"type":16},"Caching","caching",{"name":9,"slug":8,"type":16},{"name":5358,"slug":5359,"type":16},"Redis","redis",{"name":5314,"slug":184,"type":16},"2026-05-16T05:59:56.808328",{"slug":5363,"name":5363,"fn":5364,"description":5365,"org":5366,"tags":5367,"stars":24,"repoUrl":25,"updatedAt":5373},"encore-code-review","review Encore.ts code","Review existing Encore.ts code for best practices and common anti-patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5368,5371,5372],{"name":5369,"slug":5370,"type":16},"Code Review","code-review",{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},"2026-04-06T18:10:01.123999",{"slug":5375,"name":5375,"fn":5376,"description":5377,"org":5378,"tags":5379,"stars":24,"repoUrl":25,"updatedAt":5389},"encore-cron","schedule recurring jobs in Encore.ts","Schedule periodic \u002F recurring work in Encore.ts using `CronJob` from `encore.dev\u002Fcron`. Covers `every: \"1h\"` interval syntax and `schedule: \"0 9 * * 1\"` cron expressions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5380,5383,5384,5385,5388],{"name":5381,"slug":5382,"type":16},"Automation","automation",{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5386,"slug":5387,"type":16},"Scheduling","scheduling",{"name":5314,"slug":184,"type":16},"2026-05-16T05:59:54.146651",{"slug":5391,"name":5391,"fn":5392,"description":5393,"org":5394,"tags":5395,"stars":24,"repoUrl":25,"updatedAt":5404},"encore-database","build Encore databases","Work with PostgreSQL in Encore.ts using `SQLDatabase` from `encore.dev\u002Fstorage\u002Fsqldb` — schema migrations and SQL queries.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5396,5399,5400,5403],{"name":5397,"slug":5398,"type":16},"Database","database",{"name":9,"slug":8,"type":16},{"name":5401,"slug":5402,"type":16},"ORM","orm",{"name":5314,"slug":184,"type":16},"2026-04-06T18:09:54.823017",{"items":5406,"total":1501},[5407,5413,5419,5427,5435,5441,5449,5456,5463,5480,5492,5503],{"slug":5304,"name":5304,"fn":5305,"description":5306,"org":5408,"tags":5409,"stars":24,"repoUrl":25,"updatedAt":5315},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5410,5411,5412],{"name":5310,"slug":5311,"type":16},{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5317,"name":5317,"fn":5318,"description":5319,"org":5414,"tags":5415,"stars":24,"repoUrl":25,"updatedAt":5327},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5416,5417,5418],{"name":5323,"slug":5324,"type":16},{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5329,"name":5329,"fn":5330,"description":5331,"org":5420,"tags":5421,"stars":24,"repoUrl":25,"updatedAt":5345},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5422,5423,5424,5425,5426],{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5339,"slug":5340,"type":16},{"name":5342,"slug":5343,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5347,"name":5347,"fn":5348,"description":5349,"org":5428,"tags":5429,"stars":24,"repoUrl":25,"updatedAt":5361},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5430,5431,5432,5433,5434],{"name":5335,"slug":5336,"type":16},{"name":5354,"slug":5355,"type":16},{"name":9,"slug":8,"type":16},{"name":5358,"slug":5359,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5363,"name":5363,"fn":5364,"description":5365,"org":5436,"tags":5437,"stars":24,"repoUrl":25,"updatedAt":5373},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5438,5439,5440],{"name":5369,"slug":5370,"type":16},{"name":9,"slug":8,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5375,"name":5375,"fn":5376,"description":5377,"org":5442,"tags":5443,"stars":24,"repoUrl":25,"updatedAt":5389},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5444,5445,5446,5447,5448],{"name":5381,"slug":5382,"type":16},{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5386,"slug":5387,"type":16},{"name":5314,"slug":184,"type":16},{"slug":5391,"name":5391,"fn":5392,"description":5393,"org":5450,"tags":5451,"stars":24,"repoUrl":25,"updatedAt":5404},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5452,5453,5454,5455],{"name":5397,"slug":5398,"type":16},{"name":9,"slug":8,"type":16},{"name":5401,"slug":5402,"type":16},{"name":5314,"slug":184,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":5457,"tags":5458,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5459,5460,5461,5462],{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":5464,"name":5464,"fn":5465,"description":5466,"org":5467,"tags":5468,"stars":24,"repoUrl":25,"updatedAt":5479},"encore-getting-started","build and run applications with Encore.ts","Bootstrap a brand-new Encore.ts project from zero. Only for first-time CLI install and `encore app create` — not for architecture or feature questions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5469,5470,5471,5472,5475,5476],{"name":5310,"slug":5311,"type":16},{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5473,"slug":5474,"type":16},"Local Development","local-development",{"name":5314,"slug":184,"type":16},{"name":5477,"slug":5478,"type":16},"Web Development","web-development","2026-04-06T18:10:04.885446",{"slug":5481,"name":5481,"fn":5482,"description":5483,"org":5484,"tags":5485,"stars":24,"repoUrl":25,"updatedAt":5491},"encore-go-api","build APIs with Encore Go","Define typed API endpoints in Encore Go using `\u002F\u002Fencore:api` annotations. Covers typed request\u002Fresponse structs, path\u002Fquery\u002Fheader\u002Fcookie params, and error returns. For raw endpoints (`\u002F\u002Fencore:api raw`) and inbound webhooks, use `encore-go-webhook` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5486,5487,5488],{"name":5310,"slug":5311,"type":16},{"name":9,"slug":8,"type":16},{"name":5489,"slug":5490,"type":16},"Go","go","2026-04-06T18:09:48.578781",{"slug":5493,"name":5493,"fn":5494,"description":5495,"org":5496,"tags":5497,"stars":24,"repoUrl":25,"updatedAt":5502},"encore-go-auth","implement authentication with Encore Go","Protect Encore Go endpoints with authentication and authorize callers. Covers `auth.AuthHandler`, `auth.UserID`, the `Authorization` header, and `\u002F\u002Fencore:api auth`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5498,5499,5500,5501],{"name":5323,"slug":5324,"type":16},{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5489,"slug":5490,"type":16},"2026-04-06T18:09:51.065102",{"slug":5504,"name":5504,"fn":5505,"description":5506,"org":5507,"tags":5508,"stars":24,"repoUrl":25,"updatedAt":5516},"encore-go-bucket","store files in Encore Go buckets","Store unstructured files in Encore Go using `objects.NewBucket` from `encore.dev\u002Fstorage\u002Fobjects` — uploads, images, documents, blobs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5509,5510,5511,5512,5513],{"name":5335,"slug":5336,"type":16},{"name":9,"slug":8,"type":16},{"name":5339,"slug":5340,"type":16},{"name":5489,"slug":5490,"type":16},{"name":5514,"slug":5515,"type":16},"Storage","storage","2026-05-16T06:00:03.633918"]