MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / deletePrompt

Function deletePrompt

webapp/_webapp/src/query/api.ts:191–194  ·  view source on GitHub ↗
(data: PlainMessage<DeletePromptRequest>)

Source from the content-addressed store, hash-verified

189};
190
191export const deletePrompt = async (data: PlainMessage<DeletePromptRequest>) => {
192 const response = await apiclient.delete(`/users/@self/prompts/${data.promptId}`);
193 return fromJson(DeletePromptResponseSchema, response);
194};
195
196export const getUserInstructions = async (data: PlainMessage<GetUserInstructionsRequest>) => {
197 if (!apiclient.hasToken()) {

Callers 1

PromptModalFunction · 0.85

Calls 2

fromJsonFunction · 0.90
deleteMethod · 0.80

Tested by

no test coverage detected