Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: blog

authored by

Maximilian Kaske and committed by
Maximilian Kaske
1e522b40 f9932393

+3 -2
+3 -2
apps/web/src/content/posts/openstatus-light-viewer.mdx
··· 32 32 ```json 33 33 /src/app/light 34 34 ├── api 35 - │ └── route.tsx 35 + │ └── route.ts 36 36 ├── client.tsx 37 37 ├── columns.tsx 38 38 ├── constants.tsx ··· 42 42 └── search-params.ts 43 43 ``` 44 44 45 - - **`client.tsx`**: Client component that queries the API and performs minor data transformations. 45 + - **`route.ts`**: API endpoint to fetch Tinybird values. 46 + - **`client.tsx`**: Tanstack query client to fetch data from `route.ts`. 46 47 - **`columns.tsx`**: TanStack column array configuration. 47 48 - **`constants.tsx`**: Filter and sheet fields configuration. 48 49 - **`layout.tsx`**: Simple layout component.