MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / getItem

Function getItem

packages/server/test/guiStore.e2e.test.ts:79–81  ·  view source on GitHub ↗
(api: ReturnType<typeof appOf>, key: string)

Source from the content-addressed store, hash-verified

77}
78
79function getItem(api: ReturnType<typeof appOf>, key: string) {
80 return api.inject({ method: 'GET', url: `/api/v1/gui/store/getItem?key=${key}` });
81}
82
83function setItem(api: ReturnType<typeof appOf>, key: string, value: string) {
84 return api.inject({

Callers 1

Calls 1

injectMethod · 0.80

Tested by

no test coverage detected