Interface ResolverProviderSchemaProps

An interface representing the input object passed to ResolverProvider.schema function when the resolver provider schema is constructed.

interface ResolverProviderSchemaProps {
    base: ObjectSchema<any>;
    ctx: CommandContext;
    joi: Root;
}

Properties

Properties

base: ObjectSchema<any>

A pre-initialized Joi object schema for the resolver provider.

Context object providing access to the project configuration.

joi: Root

A Joi object that can be used to create validation rules.

Generated using TypeDoc