Types (common)
Types & Interfaces
AllowExternalOptions
import { AllowExternalOptions } from '@hexajs-dev/common';
interface AllowExternalOptions {
ids?: readonly string[];
origins?: readonly string[];
}
HexaMessageBoundaryPolicy
import { HexaMessageBoundaryPolicy } from '@hexajs-dev/common';
interface HexaMessageBoundaryPolicy {
mode: HexaMessageBoundaryMode;
ids?: readonly string[];
origins?: readonly string[];
}
HexaMessageBoundaryMode
import { HexaMessageBoundaryMode } from '@hexajs-dev/common';
type HexaMessageBoundaryMode = 'internal-only' | 'allow-external';