@capgo/cli
Version:
A CLI to upload to capgo servers
13 lines (12 loc) • 660 B
TypeScript
import type { ChannelPromoteOptions } from '../schemas/channel';
export interface PromoteChannelResult {
bundle: string;
fromChannel: string;
toChannel: string;
}
/**
* Link the bundle currently served by `fromChannel` to `toChannel`.
* Reuses `channel set --bundle` so compatibility checks and RBAC stay identical.
*/
export declare function promoteChannelInternal(fromChannel: string, toChannel: string, appId: string, options: ChannelPromoteOptions, silent?: boolean): Promise<PromoteChannelResult>;
export declare function promoteChannel(fromChannel: string, toChannel: string, appId: string, options: ChannelPromoteOptions): Promise<void>;