import { DeviceId } from '../../../shared/domain/DeviceId.js';
/**
* Value object representing a request to shutdown a simulator
*
* Encapsulates the device identifier (can be UUID or name)
*/
export class ShutdownRequest {
private constructor(
public readonly deviceId: string
) {
Object.freeze(this);
}
/**
* Create a shutdown request from a DeviceId
*/
static create(deviceId: DeviceId): ShutdownRequest {
return new ShutdownRequest(deviceId.toString());
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stefan-Nitu/mcp-xcode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server