Fix StartOS 0.4 TypeScript packaging to match SDK API

This commit is contained in:
MacPro
2026-04-09 15:10:44 -05:00
parent d5046a0daf
commit 0b70cbb2bf
3436 changed files with 867051 additions and 92 deletions
@@ -0,0 +1,26 @@
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;
};