Remote / foldkit-remote-drizzle

ServerOnlyRules

interface · packages/remote-drizzle/src/diagnostics.ts:26

interface ServerOnlyRules extends Diagnostic {
  readonly _tag: 'ServerOnlyRules'
  readonly entity: string
  readonly table: string
  readonly rules: ReadonlyArray<string>
}

Rules of the bound Entity no CHECK can hold (checkConstraints(...).serverOnly), reported on the binding's first write: the server's declared writes hold them, and a write past the server (raw SQL, another service) is not refused.

In the guides

Members

ServerOnlyRules._tag

property · packages/remote-drizzle/src/diagnostics.ts:27

readonly _tag: 'ServerOnlyRules'

ServerOnlyRules.entity

property · packages/remote-drizzle/src/diagnostics.ts:28

readonly entity: string

ServerOnlyRules.table

property · packages/remote-drizzle/src/diagnostics.ts:29

readonly table: string

ServerOnlyRules.rules

property · packages/remote-drizzle/src/diagnostics.ts:31

readonly rules: ReadonlyArray<string>

One sentence per rule, naming its field or invariant.