testing/schema_introspect.ts view source
value + type
{ data_type: string; udt_name: string; is_nullable: boolean; column_default: string | null; is_identity: boolean; } import {ColumnSnapshot} from '@fuzdev/fuz_app/testing/schema_introspect.js'; Per-column structural metadata. The schema is the canonical source
for the column shape — SchemaSnapshot reuses it as the cross-impl
_testing_schema_snapshot RPC action's wire validator, so the
introspection type and the wire contract can't drift apart.
data_type
SQL standard type name from information_schema.columns.data_type.
type string
udt_name
Postgres-native type name from information_schema.columns.udt_name.
type string
is_nullable
true when the column accepts NULL.
type boolean
column_default
Default-value expression as Postgres reports it, or null if none.
type string | null
is_identity
true when the column was declared GENERATED ... AS IDENTITY.
type boolean