harn-modules 0.7.41

Cross-file module graph and import resolution utilities for Harn
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * std/postgres — Postgres persistence helpers.
 *
 * The pg_* functions are VM builtins registered by the Rust stdlib. This
 * module carries the public handle shapes for import-aware tools.
 */
type PgPool = {_type: "pg_pool", id: string}

type PgTx = {_type: "pg_tx", id: string}

type PgMockPool = {_type: "pg_mock_pool", id: string}

type PgHandle = PgPool | PgTx | PgMockPool

type PgExecuteResult = {rows_affected: int}