MCPcopy Create free account
hub / github.com/TanStack/db / validateUpdateConfig

Function validateUpdateConfig

examples/solid/todo/src/db/validation.ts:59–61  ·  view source on GitHub ↗
(data: unknown)

Source from the content-addressed store, hash-verified

57}
58
59export const validateUpdateConfig = (data: unknown): UpdateConfig => {
60 return updateConfigSchema.parse(data)
61}
62
63// Safe parsing functions that return Result type instead of throwing
64export const safeParseInsertTodo = (data: unknown) => {

Callers 2

config.$id.tsFile · 0.90
server.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected