MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / fetchSimulatorCreateOptions

Function fetchSimulatorCreateOptions

packages/client/src/api/simulators.ts:31–38  ·  view source on GitHub ↗
(
  options: RequestInit = {},
)

Source from the content-addressed store, hash-verified

29}
30
31export async function fetchSimulatorCreateOptions(
32 options: RequestInit = {},
33): Promise<SimulatorCreateOptionsResponse> {
34 return apiRequest<SimulatorCreateOptionsResponse>(
35 "/api/simulators/create-options",
36 options,
37 );
38}
39
40export async function createSimulator(
41 payload: CreateSimulatorRequest,

Callers 1

NewSimulatorModalFunction · 0.90

Calls 1

apiRequestFunction · 0.90

Tested by

no test coverage detected