27 lines
606 B
TypeScript
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;
|
|
};
|