Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ user.ts
File
user.ts
apps/sim/lib/api/contracts/user.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ z } from
'zod'
2
import
{
type
ContractJsonResponse, defineRouteContract } from
'@/lib/api/contracts/types'
3
import
{ isSameOrigin } from
'@/lib/core/utils/validation'
4
Callers
nothing calls this directly
Calls
2
defineRouteContract
Function · 0.90
isSameOrigin
Function · 0.90
Tested by
no test coverage detected