Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+26
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user