@capgo/cli
Version:
A CLI to upload to capgo servers
83 lines (82 loc) • 3.08 kB
TypeScript
import type { FC } from 'react';
export interface SelectOption {
label: string;
value: string;
}
export interface CredentialsExistStepProps {
appId: string;
dense?: boolean;
onChange: (value: string) => void;
}
export declare const CredentialsExistStep: FC<CredentialsExistStepProps>;
export declare const BackingUpStep: FC;
export interface SetupMethodSelectStepProps {
dense?: boolean;
onChange: (value: string) => void | Promise<void>;
}
export declare const SetupMethodSelectStep: FC<SetupMethodSelectStepProps>;
export interface P8SourceSelectStepProps {
dense?: boolean;
/** True when the guided macOS helper is available (macOS + binary present). */
canAutomate: boolean;
onChange: (value: string) => void | Promise<void>;
}
export declare const P8SourceSelectStep: FC<P8SourceSelectStepProps>;
export declare const AscKeyGeneratingStep: FC;
export interface AscKeyCreatedStepProps {
keyId: string;
onContinue: () => void;
}
export declare const AscKeyCreatedStep: FC<AscKeyCreatedStepProps>;
export interface ApiKeyInstructionsStepProps {
canUseFilePicker: boolean;
/** macOS + helper available: also offer "✨ Create one for me (guided)" as an
* alternative to providing the .p8 by hand. Defaults to false. */
canCreateGuided?: boolean;
dense?: boolean;
onMethodChange: (value: string) => void | Promise<void>;
onPathSubmit: (value: string) => void | Promise<void>;
}
export declare const ApiKeyInstructionsStep: FC<ApiKeyInstructionsStepProps>;
export declare const P8MethodSelectStep: FC;
export interface InputP8PathStepProps {
onSubmit: (value: string) => void | Promise<void>;
}
export declare const InputP8PathStep: FC<InputP8PathStepProps>;
export interface InputKeyIdStepProps {
keyId: string;
dense?: boolean;
onSubmit: (value: string) => void;
}
export declare const InputKeyIdStep: FC<InputKeyIdStepProps>;
export interface InputIssuerIdStepProps {
dense?: boolean;
onSubmit: (value: string) => void;
}
export declare const InputIssuerIdStep: FC<InputIssuerIdStepProps>;
export declare const VerifyingKeyStep: FC;
export declare const CreatingCertificateStep: FC;
export interface CertLimitPromptStepProps {
existingCount: number;
options: SelectOption[];
dense?: boolean;
onChange: (value: string) => void;
}
export declare const CertLimitPromptStep: FC<CertLimitPromptStepProps>;
export declare const RevokingCertificateStep: FC;
export interface CreatingProfileStepProps {
appId: string;
dense?: boolean;
}
export declare const CreatingProfileStep: FC<CreatingProfileStepProps>;
export interface DuplicateProfilePromptStepProps {
duplicateCount: number;
dense?: boolean;
onChange: (value: string) => void;
}
export declare const DuplicateProfilePromptStep: FC<DuplicateProfilePromptStepProps>;
export interface DeletingDuplicateProfilesStepProps {
duplicateCount: number;
}
export declare const DeletingDuplicateProfilesStep: FC<DeletingDuplicateProfilesStepProps>;
export declare const SavingCredentialsStep: FC;