()
| 108 | ); |
| 109 | |
| 110 | const 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 | |
| 122 | const post = ( |
| 123 | web: { handler: (request: Request) => Promise<Response> }, |