Files
recap/node_modules/@start9labs/start-sdk/base/lib/osBindings/HostnameMetadata.d.ts
T

27 lines
606 B
TypeScript

import type { ActionId } from './ActionId';
import type { GatewayId } from './GatewayId';
import type { PackageId } from './PackageId';
export type HostnameMetadata = {
kind: 'ipv4';
gateway: GatewayId;
} | {
kind: 'ipv6';
gateway: GatewayId;
scopeId: number;
} | {
kind: 'mdns';
gateways: Array<GatewayId>;
} | {
kind: 'private-domain';
gateways: Array<GatewayId>;
} | {
kind: 'public-domain';
gateway: GatewayId;
} | {
kind: 'plugin';
packageId: PackageId;
removeAction: ActionId | null;
overflowActions: Array<ActionId>;
info: unknown;
};