UNPKG

contentful-management

Version:
16 lines (15 loc) 796 B
import type { ReleaseActionProps, ReleaseActionTypes } from '../entities/release-action'; import type { PlainClientAPI } from '../plain/common-types'; import type { AsyncActionProcessingOptions } from './action'; type PlainOptions = { /** Used by the PlainClient to perform a poll for the BulkAction status */ plainClient: PlainClientAPI; spaceId: string; environmentId: string; releaseId: string; actionId: string; }; /** Waits for a ReleaseAction status to be either succeeded or failed. * Used by the Plain client */ export declare function waitForReleaseActionProcessing<T extends ReleaseActionTypes = any>({ plainClient, spaceId, environmentId, releaseId, actionId }: PlainOptions, options?: AsyncActionProcessingOptions): Promise<ReleaseActionProps<T>>; export {};