internal.ts overview

Plumbing every store and schema module shares, so the AuthError contract and the table-name defaults cannot drift. Not re-exported.


Exports Grouped by Category


utils

PresentKeys (type alias)

A with every key that may hold null or undefined made optional and non-nullable.

Signature

type PresentKeys<A> = {
  [K in keyof A as null extends A[K] ? never : undefined extends A[K] ? never : K]: A[K]
} & {
  [K in keyof A as null extends A[K] ? K : undefined extends A[K] ? K : never]?: NonNullable<A[K]>
} extends infer B
  ? { [K in keyof B]: B[K] }
  : never

Source

Query (type alias)

The per-query runner queryRunner produces. @internal

Signature

type Query = ReturnType<typeof queryRunner>

Source


This site uses Just the Docs, a documentation theme for Jekyll.