UNPKG

850 BTypeScriptView Raw
1import { ApolloConfig, ClientConfig, ClientServiceConfig, LocalServiceConfig, ServiceConfig, ApolloConfigFormat } from "./config";
2import { ServiceSpecifier, ServiceIDAndTag } from "../engine";
3export declare function isClientConfig(config: ApolloConfig): config is ClientConfig;
4export declare function isLocalServiceConfig(config: ClientServiceConfig): config is LocalServiceConfig;
5export declare function isServiceConfig(config: ApolloConfig): config is ServiceConfig;
6export declare function isServiceKey(key?: string): boolean | "" | undefined;
7export declare function getServiceFromKey(key?: string): string | undefined;
8export declare function getGraphIdFromConfig(config: ApolloConfigFormat): string | undefined;
9export declare function parseServiceSpecifier(specifier: ServiceSpecifier): ServiceIDAndTag;
10//# sourceMappingURL=utils.d.ts.map
\No newline at end of file