@theguild/federation-composition
Version:
Open Source Composition library for Apollo Federation
27 lines • 852 B
TypeScript
import type { Selection } from './selection.js';
export interface Move {
toString(): string;
}
export declare class FieldMove implements Move {
typeName: string;
fieldName: string;
requires: Selection | null;
provides: Selection | null;
provided: boolean;
private _toString;
constructor(typeName: string, fieldName: string, requires?: Selection | null, provides?: Selection | null, provided?: boolean);
toString(): string;
}
export declare class AbstractMove implements Move {
keyFields?: Selection | undefined;
private _toString;
constructor(keyFields?: Selection | undefined);
toString(): string;
}
export declare class EntityMove implements Move {
keyFields: Selection;
private _toString;
constructor(keyFields: Selection);
toString(): string;
}
//# sourceMappingURL=moves.d.ts.map