wgc
Version:
The official CLI tool to manage the GraphQL Federation Platform Cosmo
10 lines (9 loc) • 464 B
TypeScript
import { CreateProposalResponse, UpdateProposalResponse } from '@wundergraph/cosmo-connect/dist/platform/v1/platform_pb';
/**
* Shared handler for proposal command responses (both create and update).
* Displays schema changes, composition errors, and other issues.
*/
export declare const handleProposalResult: (resp: CreateProposalResponse | UpdateProposalResponse, proposalName: string, isCreate?: boolean) => {
success: boolean;
message?: string;
};