Skip to main content

Interface: PreconditionSingleResolvableDetails<K>

Defines the detailed options for the PreconditionContainerSingle, where both the PreconditionContext and the name of the precondition can be defined.

Since

1.0.0

Type Parameters

Type ParameterDefault type
K extends PreconditionKeysPreconditionKeys

Properties

context

context: Preconditions[K]

The context to be set at PreconditionContainerSingle.context.

Since

1.0.0

Defined in

projects/framework/src/lib/utils/preconditions/PreconditionContainerSingle.ts:39


name

name: K

The name of the precondition to retrieve from SapphireClient.preconditions.

Since

1.0.0

Defined in

projects/framework/src/lib/utils/preconditions/PreconditionContainerSingle.ts:33