@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
14 lines • 375 B
TypeScript
import * as GraphQLSchema from '../gql/graphql';
type ParseError = {
type: 'error';
};
type ParseOk = {
type: 'ok';
data: GraphQLSchema.TargetReferenceInput;
};
/**
* Parse a target slug into its parts. Returns an error if slug is invalid
*/
export declare function parse(str: string): ParseError | ParseOk;
export {};
//# sourceMappingURL=target-input.d.ts.map