MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / seededStore

Function seededStore

packages/plugins/graphql/src/api/handlers.test.ts:110–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 );
109
110const seededStore = (): Map<string, GraphqlIntegrationConfig> => {
111 const store = new Map<string, GraphqlIntegrationConfig>();
112 store.set("gql", {
113 endpoint: "https://x.example/graphql",
114 name: "GraphQL",
115 authenticationTemplate: [
116 { slug: "seed", kind: "apikey", placements: [{ carrier: "header", name: "X-Seed" }] },
117 ],
118 });
119 return store;
120};
121
122const post = (
123 web: { handler: (request: Request) => Promise<Response> },

Callers 1

handlers.test.tsFile · 0.85

Calls 1

setMethod · 0.80

Tested by

no test coverage detected