bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
13 lines (12 loc) • 757 B
TypeScript
import { BitIds, BitId } from '../../bit-id';
import { BitIdStr } from '../../bit-id/bit-id';
import { Scope } from '..';
import Remotes from '../../remotes/remotes';
export declare type DeprecationResult = {
bitIds: BitIdStr[];
missingComponents: BitIdStr[];
};
export declare function deprecateMany(scope: Scope, bitIds: BitIds): Promise<DeprecationResult>;
export declare function undeprecateMany(scope: Scope, bitIds: BitIds): Promise<DeprecationResult>;
export declare function deprecateRemote(remotes: Remotes, scope: Scope | null | undefined, bitIds: Array<BitId>): Promise<DeprecationResult[]>;
export declare function undeprecateRemote(remotes: Remotes, scope: Scope | null | undefined, bitIds: Array<BitId>): Promise<DeprecationResult[]>;