MCPcopy
hub / github.com/tldraw/tldraw / schema

Function schema

packages/store/src/lib/Store.test.ts:72–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70type LibraryType = Book | Author | Visit | Cursor
71
72const schema = () =>
73 StoreSchema.create<LibraryType>({
74 book: Book,
75 author: Author,
76 visit: Visit,
77 cursor: Cursor,
78 })
79
80describe('Store: reading and writing (S)', () => {
81 let store: Store<LibraryType>

Callers 1

Store.test.tsFile · 0.85

Calls 1

createMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…