Dominevo
ReferenceHTTP API

toast

The toast router: 1 method of the toast capability, with tier, scope, input and output.

Capability toast · scope system · mode singleton · source packages/types/src/capabilities/toast.cap.ts:35.

Every method is called at /trpc/toast.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
onToastsubscriptionprotectedviewno

toast.onToast

  • Kind: subscription — WebSocket /trpc/toast.onToast
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability toast, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=toast.onToast on your hub

Input

void

Output

ToastSchema

Shapes: ToastSchema

On this page