effx
API reference@effx/compiler

http-api-inventory

API reference for @effx/compiler/http-api-inventory

http-api-inventory.ts overview


Exports Grouped by Category


utils

externalHttpApiGroups

Matches the handler-factory admission rule; contracts and locally owned groups need no proof.

Signature

declare const externalHttpApiGroups: (ir: ApplicationIR) => Array<HttpGroup>

findHttpApiGroupInventory

Exactly one canonical root/group inventory is required; absence is never completeness.

Signature

declare const findHttpApiGroupInventory: (
  root: SymbolRef,
  group: string,
  inventories: ReadonlyArray<HttpApiGroupInventory> | undefined
) => HttpApiGroupInventory | undefined

httpApiInventoryDiagnostics

Validates concrete roots without adding inventory to semantic IR or evaluating source modules.

Signature

declare const httpApiInventoryDiagnostics: (
  ir: ApplicationIR,
  context: GenerationContext,
  failedRoots?: ReadonlySet<string>
) => ReadonlyArray<Diagnostic>

httpApiRootKey

Signature

declare const httpApiRootKey: (root: SymbolRef) => string

On this page