UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

17 lines 785 B
import { type Guid, type PropertyId } from 'wikibase-sdk'; import type { WikibaseEditAPI } from '../index.js'; import type { SetQualifierResponse } from './set.js'; import type { BaseRevId } from '../types/common.js'; import type { SerializedConfig } from '../types/config.js'; import type { EditableSnakValue } from '../types/snaks.js'; export interface UpdateQualifierParams { guid: Guid; property: PropertyId; oldValue: EditableSnakValue; newValue: EditableSnakValue; summary?: string; baserevid?: BaseRevId; } export declare function updateQualifier(params: UpdateQualifierParams, config: SerializedConfig, API: WikibaseEditAPI): Promise<SetQualifierResponse>; export type UpdateQualifierResponse = SetQualifierResponse; //# sourceMappingURL=update.d.ts.map