Files
Home_Buying_App/node_modules/@apollo/server/dist/esm/runHttpQuery.d.ts
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

15 lines
1.0 KiB
TypeScript

import type { BaseContext, HTTPGraphQLHead, HTTPGraphQLRequest, HTTPGraphQLResponse } from './externalTypes/index.js';
import { type ApolloServer, type ApolloServerInternals, type SchemaDerivedData } from './ApolloServer.js';
import { type FormattedExecutionResult } from 'graphql';
export declare function runHttpQuery<TContext extends BaseContext>({ server, httpRequest, contextValue, schemaDerivedData, internals, sharedResponseHTTPGraphQLHead, }: {
server: ApolloServer<TContext>;
httpRequest: HTTPGraphQLRequest;
contextValue: TContext;
schemaDerivedData: SchemaDerivedData;
internals: ApolloServerInternals<TContext>;
sharedResponseHTTPGraphQLHead: HTTPGraphQLHead | null;
}): Promise<HTTPGraphQLResponse>;
export declare function prettyJSONStringify(value: FormattedExecutionResult): string;
export declare function newHTTPGraphQLHead(status?: number): HTTPGraphQLHead;
export declare function mergeHTTPGraphQLHead(target: HTTPGraphQLHead, source: HTTPGraphQLHead): void;
//# sourceMappingURL=runHttpQuery.d.ts.map