MCPcopy Create free account
hub / github.com/TanStack/db / collection-schema.test.ts

File collection-schema.test.ts

packages/db/tests/collection-schema.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { type } from 'arktype'
2import { describe, expect, expectTypeOf, it } from 'vitest'
3import { z } from 'zod'
4import { createCollection } from '../src/collection/index.js'

Callers

nothing calls this directly

Calls 13

expectFunction · 0.90
createTransactionFunction · 0.90
createCollectionFunction · 0.85
fromMethod · 0.80
stateWhenReadyMethod · 0.80
validateDataMethod · 0.45
setMethod · 0.45
mutateMethod · 0.45
insertMethod · 0.45
updateMethod · 0.45
toStringMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected