@capgo/cli
Version:
A CLI to upload to capgo servers
42 lines (41 loc) • 1.53 kB
TypeScript
import type { ChannelAddOptions } from '../schemas/channel';
export declare function addChannelInternal(channelId: string, appId: string, options: ChannelAddOptions, silent?: boolean): Promise<{
allow_dev: boolean;
allow_device: boolean;
allow_device_self_set: boolean;
allow_emulator: boolean;
allow_prod: boolean;
android: boolean;
app_id: string;
created_at: string;
created_by: string;
disable_auto_update: import("../sdk").Database["public"]["Enums"]["disable_update"];
disable_auto_update_under_native: boolean;
electron: boolean;
id: number;
ios: boolean;
name: string;
owner_org: string;
public: boolean;
auto_pause_action: string;
auto_pause_confidence: number;
auto_pause_cooldown_minutes: number;
auto_pause_enabled: boolean;
auto_pause_failure_rate_bps: number | null;
auto_pause_last_checked_at: string | null;
auto_pause_last_triggered_at: string | null;
auto_pause_min_attempts: number | null;
auto_pause_min_failures: number | null;
auto_pause_window_minutes: number;
rollout_cache_ttl_seconds: number;
rollout_enabled: boolean;
rollout_id: string;
rollout_pause_reason: string | null;
rollout_paused_at: string | null;
rollout_percentage_bps: number;
rollout_version: number | null;
rbac_id: string;
updated_at: string;
version: number | null;
}>;
export declare function addChannel(channelId: string, appId: string, options: ChannelAddOptions): Promise<void>;