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

NameType
Kextends PreconditionKeys = PreconditionKeys

Implemented by

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:36


name

โ€ข name: K

The name of the precondition to retrieve from {@link SapphireClient.preconditions}.

since 1.0.0

Defined in

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