@penguinharness/sandbox-dsh · plugins/sandbox-dsh/src/status.ts:15

DshSandboxView

interface

What this page reads of the sandbox: the mounted backends (rung, limits) and the refused.

API

@Interface()
export abstract class DshSandboxView {
  abstract backends(): Array<{
      name: string;
      mechanism?: string;
      limits?: ReadonlyArray<{ text: string; textZh?: string }>;
    }>;
  abstract failures(): Array<{ name: string; reason: string }>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Useconsumed by (1)

Members (2)

backends

backends(): Array<{ name: string; mechanism?: string; limits?: ReadonlyArray<{ text: string; textZh?: string }>; }>
@returnsArray<{ name: string; mechanism?: string; limits?: ReadonlyArray<{ text: string; textZh?: string }>; }>

failures

failures(): Array<{ name: string; reason: string }>
@returnsArray<{ name: string; reason: string }>