import{j as o}from"./vendor-tanstack-CvGXetsl.js";import{s}from"./index-D51s66kn.js";import{R as n}from"./route-error-state-KcjaCTjJ.js";import{o as p,e as l,a as m,n as e,s as a}from"./vendor-forms-BVeRYtt6.js";import"./vendor-react-HBv6Kpyp.js";import"./vendor-radix-y_Ik_hIG.js";import"./vendor-recharts-heKD2IVO.js";import"./vendor-date-GSGg4LXF.js";p({name:a().optional(),page:e().int().positive().optional().default(1).catch(1),limit:e().int().positive().max(100).optional().default(10).catch(10),tags:m(a()).optional(),sort:l(["CREATED_DESC","UPDATED_DESC","NAME_ASC","NAME_DESC"]).optional().default("NAME_ASC")}).optional().default({});const j=function({error:t,reset:i}){const r=s(t,"Failed to load flows");if(r.type!=="server-error"&&r.type!=="client-error")throw t;return o.jsxs("div",{className:"flex flex-col gap-4",children:[o.jsx("div",{children:o.jsx("h1",{className:"text-2xl font-semibold",children:"Flows"})}),o.jsx(n,{error:r,onRetry:i})]})};export{j as errorComponent};
//# sourceMappingURL=index-BTpeaqJJ.js.map
