UNPKG

@pact-foundation/pact-node

Version:

Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.

24 lines (23 loc) 695 B
import q = require('q'); export declare class Publisher { static create: (options: PublisherOptions) => Publisher; readonly options: PublisherOptions; private readonly __argMapping; constructor(options: PublisherOptions); publish(): q.Promise<string[]>; } declare const _default: (options: PublisherOptions) => Publisher; export default _default; export interface PublisherOptions { pactFilesOrDirs: string[]; pactBroker: string; consumerVersion: string; pactBrokerUsername?: string; pactBrokerPassword?: string; pactBrokerToken?: string; tags?: string[]; verbose?: boolean; timeout?: number; buildUrl?: string; branch?: string; }