MCPcopy
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

filterMethod · 0.80
createIdMethod · 0.80
entriesMethod · 0.65
createMethod · 0.65

Tested by

no test coverage detected