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