Skip to content

Structure Index

File Design Pattern In-Degree Out-Degree Methods Summary
AddItem — 1 7 4 Defines a Zod schema formSchema with required title (min length 1) and optio
AddUser — 1 8 5 Defines a Zod schema formSchema that validates email, optional full_name, pass
ApiError — 2 2 1 Defines class ApiError extending Error
ApiRequestOptions — 3 0 0 Defines a type alias ApiRequestOptions with a generic parameter T defaulting
ApiResult — 2 0 0 Defines a type alias ApiResult with a generic parameter TData defaulting to
AppSidebar — 1 6 2 Defines a constant array baseItems containing two navigation items: Dashboard
Appearance — 2 4 6 Defines a type alias LucideIcon for React SVG icon components.
AuthLayout — 4 3 2 Defines a React functional component AuthLayout that accepts a children prop
CancelablePromise — 3 0 16 Defines class CancelError extending Error with a name property set to 'Can
ChangePassword — 1 5 4 Defines a Zod schema formSchema that validates current_password (min 8 chars),
DataTable — 2 3 4 Defines a generic DataTable component that accepts columns and data props
DeleteAccount — 1 1 1 Imports DeleteConfirmation from a local module
DeleteConfirmation — 1 6 5 Defines the DeleteConfirmation component as the default export
DeleteItem — 1 6 4 Defines a React component DeleteItem that accepts id and onSuccess props
DeleteUser — 1 6 5 Defines a React component DeleteUser that accepts id and onSuccess props
EditItem — 1 8 4 Defines a React component EditItem that accepts item and onSuccess props
EditUser — 1 9 5 Defines a Zod schema formSchema that validates email as required, password as
ErrorComponent — 1 1 1 Defines a React functional component ErrorComponent that returns JSX for an er
Footer — 2 0 1 Defines a constant array socialLinks containing three objects with icon, href,
ItemActionsMenu — 1 4 1 Defines a React functional component ItemActionsMenu that accepts an item pr
Logo — 2 2 2 Defines a React functional component Logo that accepts props variant, `class
NotFound — 1 1 1 Defines a React functional component NotFound that renders a 404 error page
OpenAPI — 3 1 3 Defines a generic class Interceptors<T> that stores an array of middleware fun
PendingItems — 1 2 0 Defines a React functional component PendingItems that renders a table with sk
PendingUsers — 1 2 0 Defines a React functional component PendingUsers that returns a table with sk
UserActionsMenu — 1 5 1 Defines the UserActionsMenu component that accepts a user prop of type `User
UserInformation — 1 8 7 Defines a React functional component UserInformation that is exported as defau
init — 0 0 0 —
__root — 1 2 0 Defines the root route using createRootRoute from @tanstack/react-router
_layout — 1 4 2 Defines a route at path '/_layout' using createFileRoute with a component and be
admin — 1 5 10 Defines a route at '/_layout/admin' with a component 'Admin' and a 'beforeLoad'
admin.spec — 0 3 14 Imports test utilities from Playwright, config, private API, random generators,
alert — 0 1 5 Defines the alertVariants object using cva from class-variance-authority, sp
auth.setup — 0 0 1 Imports the test object from @playwright/test and aliases it as setup
avatar — 1 1 6 Defines the Avatar component wrapping AvatarPrimitive.Root with a default cl
backend_pre_start — 0 0 2 Defines a function init decorated with @retry that attempts to create a data
badge — 1 1 2 Defines a constant badgeVariants using cva from class-variance-authority wit
button — 18 1 2 Imports React, Slot from @radix-ui/react-slot, cva and VariantProps from class-v
button-group — 0 2 5 Defines a CVA variant configuration buttonGroupVariants with an orientation va
card — 0 1 9 Defines a Card component that renders a div with data-slot='card' and applies ba
checkbox — 2 1 2 Defines a Checkbox component that wraps @radix-ui/react-checkbox Root and Indica
columns — 1 4 2 Defines a local component CopyId that renders an item ID with a copy button us
config — 0 0 2 Imports path from node:path and fileURLToPath from node:url
crud — 0 0 5 Defines function create_user that creates a new User from a UserCreate object,
db — 0 0 1 Creates a SQLAlchemy engine using the database URI from settings
deps — 0 0 3 Defines a generator function get_db that yields a SQLModel Session using the e
dialog — 7 1 15 Defines Dialog component that renders DialogPrimitive.Root with a `data-slot
dropdown-menu — 8 1 16 Defines DropdownMenu component that renders DropdownMenuPrimitive.Root with
form — 10 2 11 Defines a type alias Form that is set to FormProvider from react-hook-form
index — 1 1 3 Imports createFileRoute from @tanstack/react-router
initial_data — 0 0 2 Imports logging, Session from sqlmodel, and engine and init_db from app.core.db
input — 9 1 2 Defines a React functional component Input that renders an <input> element
item — 0 0 1 Defines function create_random_item that accepts a Session object and return
items — 1 4 7 Defines a function getItemsQueryOptions that returns query options for fetchin
items.spec — 0 3 15 Defines a test that verifies the items page is accessible and displays the corre
label — 1 1 2 Imports React, LabelPrimitive from @radix-ui/react-label, and cn from @/lib/util
loading-button — 13 1 2 Defines a buttonVariants constant using cva from class-variance-authority wi
login — 1 6 4 Defines a Zod schema formSchema that validates an object with username (emai
login.spec — 0 0 12 Defines a helper function fillForm that fills email and password inputs by tes
mailcatcher — 1 0 8 Defines an async function findEmail that fetches messages from MailCatcher and
main — 0 4 2 Sets OpenAPI.BASE to the value of the VITE_API_URL environment variable
models — 0 0 1 Defines a function get_datetime_utc that returns the current UTC datetime.
openapi-ts.config — 0 0 1 Imports defineConfig from @hey-api/openapi-ts
pagination — 0 2 12 Defines a Pagination component that renders a
password-input — 4 2 0 Defines a React component PasswordInput using React.forwardRef to forward a
playwright.config — 0 0 0 Imports defineConfig and devices from @playwright/test and loads environme
post_gen_project — 0 0 0 Iterates over all files matching the glob pattern '*/.sh' relative to the curr
private — 0 0 1 Defines a Pydantic model PrivateUserCreate with fields email, password, full_n
privateApi — 2 1 1 Imports OpenAPI and PrivateService from ../../src/client
random — 5 0 6 Exports a function randomEmail that generates a random email address with a `t
recover-password — 1 7 6 Defines a Zod schema formSchema that validates an email field as a required em
request — 1 5 32 Defines exported function isString that checks if a value is a string.
reset-password — 1 7 7 Defines a Zod schema searchSchema that extracts a token string from URL sear
reset-password.spec — 0 3 8 Imports Playwright test utilities and helper functions from local modules.
routeTree.gen — 1 10 9 Imports route definitions from 10 route files under ./routes/
schemas.gen — 0 0 0 Defines a constant Body_login_login_access_tokenSchema describing the login ac
sdk.gen — 1 4 23 Defines class ItemsService with static methods for CRUD operations on items.
security — 0 0 3 Defines a global password_hash instance using PasswordHash with `Argon2Hashe
select — 1 1 20 Defines a Select component that renders SelectPrimitive.Root with a `data-sl
separator — 2 1 2 Defines a React functional component Separator that renders a `SeparatorPrimit
settings — 1 5 3 Defines a route at '/_layout/settings' using createFileRoute from @tanstack/reac
sheet — 1 1 20 Defines a Sheet component that renders a SheetPrimitive.Root with data-slot="she
sidebar — 5 8 46 Defines constants SIDEBAR_COOKIE_NAME, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_WIDTH, SI
sign-up.spec — 0 1 13 Defines a helper function fillForm that fills the full name, email, password,
signup — 1 6 5 Defines a Zod schema formSchema that validates email, full_name, password (min
skeleton — 3 1 2 Defines a React functional component Skeleton that accepts div props and rende
sonner — 1 0 0 Defines a Toaster component that accepts all props of the Sonner Toaster compone
table — 3 1 11 Defines a Table component that renders a <div> wrapper with `data-slot="tabl
tabs — 1 1 7 Defines a React component Tabs that renders a Radix UI TabsPrimitive.Root el
theme-provider — 3 0 12 Defines a type Theme as a union of string literals "dark", "light", and "syste
tooltip — 1 1 5 Defines TooltipProvider component that wraps Radix UI's Tooltip.Provider with a
types.gen — 2 0 0 Defines type Body_login_login_access_token for login form data with optional g
useAuth — 13 2 8 Defines a function isLoggedIn that returns true if localStorage has an 'access
useCopyToClipboard — 1 0 4 Defines a custom React hook useCopyToClipboard that returns a tuple of type `[
useCustomToast — 12 0 3 Defines a custom hook useCustomToast as a default export
useMobile — 1 0 5 Defines a constant MOBILE_BREAKPOINT with value 768
user — 4 0 6 Defines an async function signUpNewUser that accepts a Playwright Page, name,
user-settings.spec — 0 2 27 Defines a test that verifies the 'My profile' tab is active by default on the se
users — 0 0 10 Defines a FastAPI router with prefix '/users' and tag 'users'
utils — 0 1 5 Defines function extractErrorMessage that takes an ApiError and returns a st
vite.config — 0 0 0 Defines a Vite configuration object exported as default, using defineConfig from