UNPKG

@m-ld/gateway

Version:

m-ld gateway for services

22 lines (21 loc) 794 B
/// <reference types="node" /> import { BaseGatewayConfig } from '../lib/index.js'; import type { ListenOptions } from 'net'; import type { SmtpOptions } from './Notifier.js'; import { UserKeyConfig } from '../data/UserKey.js'; export interface GatewayConfig extends BaseGatewayConfig, UserKeyConfig { /** Server address bind options */ address?: ListenOptions; /** Activation code notifier options */ smtp?: SmtpOptions; /** * Initial max subdomains in the internal cache * @default 100 */ subdomainCacheSize?: number; } export { Gateway, Who } from './Gateway.js'; export { Authorization } from './Authorization.js'; export { Account } from './Account.js'; export { Notifier } from './Notifier.js'; export { SubdomainCache } from './SubdomainCache.js';