wikibase-edit
Version:
Edit Wikibase from NodeJS
23 lines • 466 B
TypeScript
import { type EntityId } from 'wikibase-sdk';
export interface MergeEntityParams {
from: EntityId;
to: EntityId;
}
export declare function mergeEntity(params: any): {
action: string;
data: {
fromid: `Q${number}`;
toid: `Q${number}`;
};
};
export interface MergeEntityResponse {
success: 1;
redirected: 1;
from: {
id: EntityId;
};
to: {
id: EntityId;
};
}
//# sourceMappingURL=merge.d.ts.map