mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
round out dns check, dns server check, port forward check, and gateway port forwards
This commit is contained in:
@@ -6,6 +6,7 @@ import { WebSocketSubject } from 'rxjs/webSocket'
|
||||
import { DataModel } from '../patch-db/data-model'
|
||||
import {
|
||||
ActionRes,
|
||||
CheckDnsRes,
|
||||
CifsBackupTarget,
|
||||
DiagnosticErrorRes,
|
||||
FollowPackageLogsReq,
|
||||
@@ -128,9 +129,9 @@ export abstract class ApiService {
|
||||
|
||||
abstract queryDns(params: T.QueryDnsParams): Promise<string | null>
|
||||
|
||||
abstract checkPort(
|
||||
params: T.CheckPortParams,
|
||||
): Promise<T.CheckPortRes>
|
||||
abstract checkPort(params: T.CheckPortParams): Promise<T.CheckPortRes>
|
||||
|
||||
abstract checkDns(params: T.CheckDnsParams): Promise<CheckDnsRes>
|
||||
|
||||
// smtp
|
||||
|
||||
@@ -191,9 +192,7 @@ export abstract class ApiService {
|
||||
|
||||
abstract setDefaultOutbound(params: { gateway: string | null }): Promise<null>
|
||||
|
||||
abstract setServiceOutbound(
|
||||
params: T.SetOutboundGatewayParams,
|
||||
): Promise<null>
|
||||
abstract setServiceOutbound(params: T.SetOutboundGatewayParams): Promise<null>
|
||||
|
||||
// ** domains **
|
||||
|
||||
|
||||
Reference in New Issue
Block a user