Complete shared message type migration
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { WrapperStatusMessage } from "server-manager-shared";
|
||||
|
||||
export interface WrapperInfo {
|
||||
|
||||
id:string;
|
||||
@@ -19,7 +21,7 @@ export interface WrapperInfo {
|
||||
lastHeartbeat:number;
|
||||
|
||||
|
||||
servers:string[];
|
||||
servers: WrapperStatusMessage["servers"];
|
||||
|
||||
}
|
||||
|
||||
@@ -152,7 +154,7 @@ export class WrapperRegistry {
|
||||
|
||||
}
|
||||
|
||||
updateStatus(data:any){
|
||||
updateStatus(data: WrapperStatusMessage){
|
||||
|
||||
|
||||
const wrapper =
|
||||
|
||||
Reference in New Issue
Block a user