MCPcopy Create free account
hub / github.com/aptabase/aptabase / createApp

Function createApp

src/webapp/features/apps/apps.ts:22–27  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

20}
21
22export async function createApp(name: string): Promise<Application> {
23 const app = await api.post<Application>("/_apps", { name });
24 trackEvent("app_created", { name });
25
26 return app;
27}
28
29export async function updateApp(appId: string, name: string, icon: string): Promise<Application> {
30 return await api.put<Application>(`/_apps/${appId}`, { name, icon });

Callers 3

createAppAndRefreshFunction · 0.90
handleSubmitFunction · 0.85
handleSubmitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected