Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ api.ts
File
api.ts
examples/solid/todo/src/lib/api.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ SelectConfig, SelectTodo } from
'../db/validation'
2
3
// API helper for todos and config
4
const
API_BASE_URL = `/api`
Callers
nothing calls this directly
Calls
1
fetch
Function · 0.50
Tested by
no test coverage detected