Skip to main content

Interface: PreconditionSingleResolvableDetails<K>

Defined in: projects/framework/src/lib/utils/preconditions/PreconditionContainerSingle.ts:28

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]

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

The context to be set at PreconditionContainerSingle.context.

Since​

1.0.0


name​

name: K

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

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

Since​

1.0.0