MCPcopy Index your code
hub / github.com/simstudioai/sim / createApplication

Function createApplication

apps/sim/app/api/tools/appconfig/utils.ts:87–105  ·  view source on GitHub ↗
(
  client: AppConfigClient,
  name: string,
  description?: string | null
)

Source from the content-addressed store, hash-verified

85}
86
87export async function createApplication(
88 client: AppConfigClient,
89 name: string,
90 description?: string | null
91) {
92 const response = await client.send(
93 new CreateApplicationCommand({
94 Name: name,
95 ...(description ? { Description: description } : {}),
96 })
97 )
98
99 return {
100 message: `Application "${response.Name ?? name}" created`,
101 id: response.Id ?? '',
102 name: response.Name ?? '',
103 description: response.Description ?? null,
104 }
105}
106
107export async function listEnvironments(
108 client: AppConfigClient,

Callers 1

route.tsFile · 0.90

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected