Skip to content

Function: defineConfig()

ts
function defineConfig(config: unknown): AdonisMaxmindConfig;

Validates, sanitizes, and returns the configuration object for working with the MaxMind databases.

Parameters

ParameterTypeDescription
configunknownThe potential configuration object for the MaxMind client.

Returns

AdonisMaxmindConfig

A configuration object for the MaxMind client.