18 lines
535 B
TypeScript
18 lines
535 B
TypeScript
import type { Bindings } from './Bindings';
|
|
import type { GatewayId } from './GatewayId';
|
|
import type { PortForward } from './PortForward';
|
|
import type { PublicDomainConfig } from './PublicDomainConfig';
|
|
export type Host = {
|
|
bindings: Bindings;
|
|
publicDomains: {
|
|
[key: string]: PublicDomainConfig;
|
|
};
|
|
privateDomains: {
|
|
[key: string]: Array<GatewayId>;
|
|
};
|
|
/**
|
|
* COMPUTED: port forwarding rules needed on gateways for public addresses to work.
|
|
*/
|
|
portForwards: Array<PortForward>;
|
|
};
|