*Have the DnsProvider be passed the domain so we don't need to read it from the config
This commit is contained in:
parent
cd8e8c6489
commit
54ef04d959
|
@ -29,7 +29,7 @@ export interface StreamFileResponse {
|
||||||
done: boolean;
|
done: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type DnsProvider = (ipAddress: string) => Promise<void>;
|
export type DnsProvider = (ipAddress: string, domain: string) => Promise<void>;
|
||||||
|
|
||||||
export type PluginFunction = (api: PluginAPI) => Promise<void>;
|
export type PluginFunction = (api: PluginAPI) => Promise<void>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue