UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

22 lines 663 B
import type { PropertiesDatatypes } from '../properties/fetch_properties_datatypes.js'; import type { AbsoluteUrl } from '../types/common.js'; import type { Claim, Guid, PropertyId, SimplifiedClaim } from 'wikibase-sdk'; export interface SetClaimParams { guid: Guid; property: PropertyId; value: SimplifiedClaim; } export declare function setClaim(params: SetClaimParams, properties: PropertiesDatatypes, instance: AbsoluteUrl): { action: string; data: { claim: string; }; }; export interface SetClaimResponse { pageinfo: { lastrevid: number; }; success: 1; claim: Claim; } //# sourceMappingURL=set.d.ts.map