@drupflare/workforce - v0.3.0
    Preparing search index...

    Class DispatchPlane

    The operations every executor has.

    Anything a particular executor cannot do is absent from here and reached through a capability instead, so this interface stays the set of things that work everywhere.

    Implements

    Index
    accountId: string
    capabilities: PlaneCapabilities = DISPATCH_CAPABILITIES
    credentialKey: string

    the credential this plane spends against, so a hub can share one budget across planes

    kind: "dispatch" = ...
    namespace: string
    • the deployed modules, where the plane can return them

      Parameters

      • name: string

      Returns Promise<Response>

    • Parameters

      • name: string
      • secret: { name: string; text: string }

      Returns Promise<void>

    • Refuses past the cap rather than letting the API drop the overflow quietly.

      Parameters

      • name: string
      • tags: string[]

      Returns Promise<string[]>