UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

12 lines 890 B
import type { addBadge } from './badge/add.js'; import type { removeBadge } from './badge/remove.js'; import type { createClaim } from './claim/create.js'; import type { moveClaims } from './claim/move.js'; import type { updateClaim } from './claim/update.js'; import type { moveQualifier } from './qualifier/move.js'; import type { updateQualifier } from './qualifier/update.js'; import type { GeneralConfig, RequestConfig } from './types/config.js'; type ActionFunction = typeof createClaim | typeof updateClaim | typeof moveClaims | typeof updateQualifier | typeof moveQualifier | typeof addBadge | typeof removeBadge; export declare function bundleWrapper<Params extends object, Response extends object>(fn: ActionFunction, generalConfig: GeneralConfig, API: any): (params: Params, reqConfig?: RequestConfig) => Promise<Response>; export {}; //# sourceMappingURL=bundle_wrapper.d.ts.map