Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ up
Function
up
packages/sync-core/src/test/upgradeDowngrade.test.ts:89–94 ·
view source on GitHub ↗
({ age: _age, ...user }: any)
Source
from the content-addressed store, hash-verified
87
{
88
id: UserVersions.ReplaceAgeWithBirthdate,
89
up({ age: _age, ...user }: any) {
90
return
{
91
...user,
92
birthdate: null,
93
}
94
},
95
down({ birthdate: _birthdate, ...user }: any) {
96
return
{
97
...user,
Callers
nothing calls this directly
Calls
4
filter
Method · 0.80
createId
Method · 0.80
entries
Method · 0.65
create
Method · 0.65
Tested by
no test coverage detected