@prismshadow/penguin-server · packages/server/src/plugin/views.ts:26

ProjectMachines

interface

No JSDoc comment in source yet.

API

@Interface()
export abstract class ProjectMachines {
  abstract projectApis(
      projectId: string,
    ): Promise<Array<{ machineId: string; alias: string; api: MachineApi | null }>>;
}

Members (1)

projectApis

projectApis(projectId: string): Promise<Array<{ machineId: string; alias: string; api: MachineApi | null }>>

The machines the Project uses that this server knows by id, each with its alias and a client to its own API while it is connected (null otherwise).

@paramprojectIdstring
@returnsPromise<Array<{ machineId: string; alias: string; api: MachineApi | null }>>