This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/graphql-config/extensions/endpoints.d.ts

19 lines
523 B
TypeScript

import { GraphQLExtensionDeclaration } from '../extension';
export interface Endpoint {
url: string;
headers?: {
[name: string]: string | string[];
};
introspect?: boolean;
subscription?: {
url: string;
connectionParams?: {
[name: string]: string | undefined;
};
};
}
export interface Endpoints {
[key: string]: Endpoint;
}
export declare const EndpointsExtension: GraphQLExtensionDeclaration;
//# sourceMappingURL=endpoints.d.ts.map