mirror of https://github.com/Chocobozzz/PeerTube
16 lines
272 B
TypeScript
16 lines
272 B
TypeScript
|
export type IPCReponse <T extends IPCReponseData = undefined> = {
|
||
|
success: boolean
|
||
|
error?: string
|
||
|
data?: T
|
||
|
}
|
||
|
|
||
|
export type IPCReponseData =
|
||
|
// list registered
|
||
|
{
|
||
|
servers: {
|
||
|
runnerName: string
|
||
|
runnerDescription: string
|
||
|
url: string
|
||
|
}[]
|
||
|
}
|