@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
16 lines • 579 B
TypeScript
import type { ToolResult } from "./index.js";
export type ChangeOutcome<T> = {
kind: "proposed";
reference: string;
expiresAt: string | null;
} | {
kind: "applied";
record: T;
};
export declare function readChangeOutcome<T>(answer: unknown): ChangeOutcome<T>;
/** The answer for a change sent to the client as a proposal. */
export declare function formatProposedChange(entity: "work" | "recording", id: string, fields: string[], outcome: {
reference: string;
expiresAt: string | null;
}): ToolResult;
//# sourceMappingURL=relationship-change.d.ts.map