@capgo/cli 8.0.0-alpha.5 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +733 -84
- package/dist/index.js +1132 -317
- package/dist/keychain-export.swift +351 -0
- package/dist/package.json +120 -30
- package/dist/src/ai/analyze.d.ts +48 -0
- package/dist/src/ai/log-capture.d.ts +14 -0
- package/dist/src/ai/prompt.d.ts +1 -0
- package/dist/src/ai/render-markdown.d.ts +12 -0
- package/dist/src/ai/sse.d.ts +5 -0
- package/dist/src/ai/stream-markdown.d.ts +22 -0
- package/dist/src/ai/telemetry.d.ts +39 -0
- package/dist/src/analytics/error-category.d.ts +11 -0
- package/dist/src/analytics/org-resolver.d.ts +11 -0
- package/dist/src/analytics/supabase-perf.d.ts +48 -0
- package/dist/src/analytics/track.d.ts +70 -0
- package/dist/src/api/app.d.ts +17 -8
- package/dist/src/api/channels.d.ts +2442 -2729
- package/dist/src/api/crypto.d.ts +26 -0
- package/dist/src/api/update.d.ts +7 -1
- package/dist/src/api/versions.d.ts +9 -2
- package/dist/src/app/add.d.ts +6 -4
- package/dist/src/app/debug.d.ts +3 -7
- package/dist/src/app/delete.d.ts +1 -2
- package/dist/src/app/info.d.ts +5 -1
- package/dist/src/app/list.d.ts +23 -2
- package/dist/src/app/set.d.ts +0 -1
- package/dist/src/app/setting.d.ts +3 -9
- package/dist/src/app/updateProbe.d.ts +43 -0
- package/dist/src/build/credentials-command.d.ts +89 -0
- package/dist/src/build/credentials-manage.d.ts +7 -0
- package/dist/src/build/credentials.d.ts +78 -0
- package/dist/src/build/env-render.d.ts +8 -0
- package/dist/src/build/last-output-command.d.ts +6 -0
- package/dist/src/build/mobileprovision-parser.d.ts +35 -0
- package/dist/src/build/needed.d.ts +28 -0
- package/dist/src/build/onboarding/ai-fit.d.ts +110 -0
- package/dist/src/build/onboarding/analytics.d.ts +23 -0
- package/dist/src/build/onboarding/android/gcp-api.d.ts +128 -0
- package/dist/src/build/onboarding/android/gradle-parser.d.ts +19 -0
- package/dist/src/build/onboarding/android/keystore.d.ts +77 -0
- package/dist/src/build/onboarding/android/oauth-config.d.ts +24 -0
- package/dist/src/build/onboarding/android/oauth-google.d.ts +134 -0
- package/dist/src/build/onboarding/android/play-api.d.ts +91 -0
- package/dist/src/build/onboarding/android/progress.d.ts +22 -0
- package/dist/src/build/onboarding/android/service-account-validation.d.ts +58 -0
- package/dist/src/build/onboarding/android/types.d.ts +72 -0
- package/dist/src/build/onboarding/android/ui/app.d.ts +17 -0
- package/dist/src/build/onboarding/app-verification.d.ts +86 -0
- package/dist/src/build/onboarding/apple-api.d.ts +234 -0
- package/dist/src/build/onboarding/build-log.d.ts +10 -0
- package/dist/src/build/onboarding/bundle-id-detector.d.ts +117 -0
- package/dist/src/build/onboarding/ci-secrets.d.ts +87 -0
- package/dist/src/build/onboarding/command.d.ts +6 -0
- package/dist/src/build/onboarding/csr.d.ts +33 -0
- package/dist/src/build/onboarding/diff-utils.d.ts +24 -0
- package/dist/src/build/onboarding/env-export.d.ts +46 -0
- package/dist/src/build/onboarding/error-categories.d.ts +13 -0
- package/dist/src/build/onboarding/file-picker.d.ts +47 -0
- package/dist/src/build/onboarding/macos-signing.d.ts +190 -0
- package/dist/src/build/onboarding/min-terminal-size.d.ts +16 -0
- package/dist/src/build/onboarding/progress.d.ts +51 -0
- package/dist/src/build/onboarding/recovery.d.ts +7 -0
- package/dist/src/build/onboarding/telemetry.d.ts +28 -0
- package/dist/src/build/onboarding/types.d.ts +140 -0
- package/dist/src/build/onboarding/ui/app.d.ts +36 -0
- package/dist/src/build/onboarding/ui/completed-steps-log.d.ts +9 -0
- package/dist/src/build/onboarding/ui/components.d.ts +178 -0
- package/dist/src/build/onboarding/ui/frame-fit.d.ts +10 -0
- package/dist/src/build/onboarding/ui/min-size-gate.d.ts +20 -0
- package/dist/src/build/onboarding/ui/platform-picker.d.ts +19 -0
- package/dist/src/build/onboarding/ui/shell.d.ts +33 -0
- package/dist/src/build/onboarding/ui/steps/android-ci.d.ts +45 -0
- package/dist/src/build/onboarding/ui/steps/android-keystore.d.ts +75 -0
- package/dist/src/build/onboarding/ui/steps/android-sa-gcp.d.ts +85 -0
- package/dist/src/build/onboarding/ui/steps/android-shared.d.ts +67 -0
- package/dist/src/build/onboarding/ui/steps/ios-ci.d.ts +44 -0
- package/dist/src/build/onboarding/ui/steps/ios-credentials.d.ts +66 -0
- package/dist/src/build/onboarding/ui/steps/ios-import.d.ts +79 -0
- package/dist/src/build/onboarding/ui/steps/ios-shared.d.ts +93 -0
- package/dist/src/build/onboarding/workflow-generator.d.ts +48 -0
- package/dist/src/build/onboarding/workflow-ui-helpers.d.ts +18 -0
- package/dist/src/build/onboarding/workflow-writer.d.ts +36 -0
- package/dist/src/build/output-record.d.ts +30 -0
- package/dist/src/build/pbxproj-parser.d.ts +48 -0
- package/dist/src/build/platform-paths.d.ts +20 -0
- package/dist/src/build/qr.d.ts +5 -0
- package/dist/src/build/request.d.ts +102 -43
- package/dist/src/build/telemetry.d.ts +17 -0
- package/dist/src/bundle/builder-cta.d.ts +67 -0
- package/dist/src/bundle/check.d.ts +0 -1
- package/dist/src/bundle/cleanup.d.ts +3 -12
- package/dist/src/bundle/compatibility.d.ts +23 -12
- package/dist/src/bundle/decrypt.d.ts +4 -0
- package/dist/src/bundle/delete.d.ts +3 -8
- package/dist/src/bundle/encrypt.d.ts +4 -0
- package/dist/src/bundle/list.d.ts +5 -2
- package/dist/src/bundle/partial.d.ts +5 -3
- package/dist/src/bundle/releaseType.d.ts +15 -0
- package/dist/src/bundle/unlink.d.ts +6 -5
- package/dist/src/bundle/upload-command.d.ts +8 -0
- package/dist/src/bundle/upload.d.ts +21 -14
- package/dist/src/bundle/upload_interface.d.ts +2 -50
- package/dist/src/bundle/zip.d.ts +4 -19
- package/dist/src/capacitor-cli.d.ts +13 -0
- package/dist/src/channel/add.d.ts +8 -10
- package/dist/src/channel/currentBundle.d.ts +3 -9
- package/dist/src/channel/delete.d.ts +3 -9
- package/dist/src/channel/list.d.ts +31 -4
- package/dist/src/channel/set.d.ts +2 -17
- package/dist/src/checksum.d.ts +1 -2
- package/dist/src/config/index.d.ts +2 -13
- package/dist/src/docs.d.ts +0 -1
- package/dist/src/github-command.d.ts +9 -0
- package/dist/src/github.d.ts +40 -0
- package/dist/src/index.d.ts +0 -1
- package/dist/src/init/app-conflict.d.ts +2 -0
- package/dist/src/init/command.d.ts +57 -0
- package/dist/src/init/index.d.ts +1 -0
- package/dist/src/init/prompts.d.ts +41 -0
- package/dist/src/init/runtime.d.ts +111 -0
- package/dist/src/init/ui/app.d.ts +9 -0
- package/dist/src/init/ui/components.d.ts +31 -0
- package/dist/src/init/ui.d.ts +12 -0
- package/dist/src/init/updater.d.ts +13 -0
- package/dist/src/key.d.ts +16 -0
- package/dist/src/login.d.ts +0 -1
- package/dist/src/mcp/server.d.ts +5 -0
- package/dist/src/onboarding-support.d.ts +18 -0
- package/dist/src/organization/add.d.ts +26 -0
- package/dist/src/organization/delete.d.ts +3 -0
- package/dist/src/{organisation → organization}/index.d.ts +1 -1
- package/dist/src/{organisation → organization}/list.d.ts +14 -2
- package/dist/src/organization/members.d.ts +12 -0
- package/dist/src/organization/set.d.ts +21 -0
- package/dist/src/posthog.d.ts +13 -0
- package/dist/src/probe.d.ts +20 -0
- package/dist/src/promptPreferences.d.ts +13 -0
- package/dist/src/replicationProgress.d.ts +8 -0
- package/dist/src/run/device.d.ts +5 -0
- package/dist/src/runner-command.d.ts +5 -0
- package/dist/src/schemas/app.d.ts +26 -0
- package/dist/src/schemas/base.d.ts +7 -0
- package/dist/src/schemas/build.d.ts +196 -0
- package/dist/src/schemas/bundle.d.ts +157 -0
- package/dist/src/schemas/channel.d.ts +62 -0
- package/dist/src/schemas/common.d.ts +46 -0
- package/dist/src/schemas/config.d.ts +20 -0
- package/dist/src/schemas/index.d.ts +19 -0
- package/dist/src/schemas/organization.d.ts +41 -0
- package/dist/src/schemas/sdk.d.ts +335 -0
- package/dist/src/schemas/validate.d.ts +12 -0
- package/dist/src/sdk.d.ts +69 -337
- package/dist/src/sdk.js +542 -301
- package/dist/src/terminal-table.d.ts +7 -0
- package/dist/src/types/supabase.types.d.ts +2770 -296
- package/dist/src/updaterConfig.d.ts +8 -0
- package/dist/src/user/account.d.ts +0 -1
- package/dist/src/utils/latest-version.d.ts +0 -1
- package/dist/src/utils/safeWrites.d.ts +21 -0
- package/dist/src/utils/security_policy_errors.d.ts +47 -0
- package/dist/src/utils.d.ts +2869 -341
- package/dist/src/versionHelpers.d.ts +19 -0
- package/package.json +120 -30
- package/skills/native-builds/SKILL.md +255 -0
- package/skills/organization-management/SKILL.md +93 -0
- package/skills/release-management/SKILL.md +225 -0
- package/skills/usage/SKILL.md +92 -0
- package/dist/src/api/app.d.ts.map +0 -1
- package/dist/src/api/channels.d.ts.map +0 -1
- package/dist/src/api/cryptoV2.d.ts +0 -16
- package/dist/src/api/cryptoV2.d.ts.map +0 -1
- package/dist/src/api/update.d.ts.map +0 -1
- package/dist/src/api/versions.d.ts.map +0 -1
- package/dist/src/app/add.d.ts.map +0 -1
- package/dist/src/app/debug.d.ts.map +0 -1
- package/dist/src/app/delete.d.ts.map +0 -1
- package/dist/src/app/info.d.ts.map +0 -1
- package/dist/src/app/list.d.ts.map +0 -1
- package/dist/src/app/set.d.ts.map +0 -1
- package/dist/src/app/setting.d.ts.map +0 -1
- package/dist/src/build/request.d.ts.map +0 -1
- package/dist/src/bundle/check.d.ts.map +0 -1
- package/dist/src/bundle/cleanup.d.ts.map +0 -1
- package/dist/src/bundle/compatibility.d.ts.map +0 -1
- package/dist/src/bundle/decryptV2.d.ts +0 -13
- package/dist/src/bundle/decryptV2.d.ts.map +0 -1
- package/dist/src/bundle/delete.d.ts.map +0 -1
- package/dist/src/bundle/encryptV2.d.ts +0 -14
- package/dist/src/bundle/encryptV2.d.ts.map +0 -1
- package/dist/src/bundle/list.d.ts.map +0 -1
- package/dist/src/bundle/partial.d.ts.map +0 -1
- package/dist/src/bundle/unlink.d.ts.map +0 -1
- package/dist/src/bundle/upload.d.ts.map +0 -1
- package/dist/src/bundle/upload_interface.d.ts.map +0 -1
- package/dist/src/bundle/zip.d.ts.map +0 -1
- package/dist/src/channel/add.d.ts.map +0 -1
- package/dist/src/channel/currentBundle.d.ts.map +0 -1
- package/dist/src/channel/delete.d.ts.map +0 -1
- package/dist/src/channel/list.d.ts.map +0 -1
- package/dist/src/channel/set.d.ts.map +0 -1
- package/dist/src/checksum.d.ts.map +0 -1
- package/dist/src/config/index.d.ts.map +0 -1
- package/dist/src/docs.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/init.d.ts +0 -7
- package/dist/src/init.d.ts.map +0 -1
- package/dist/src/keyV2.d.ts +0 -19
- package/dist/src/keyV2.d.ts.map +0 -1
- package/dist/src/login.d.ts.map +0 -1
- package/dist/src/organisation/add.d.ts +0 -19
- package/dist/src/organisation/add.d.ts.map +0 -1
- package/dist/src/organisation/delete.d.ts +0 -8
- package/dist/src/organisation/delete.d.ts.map +0 -1
- package/dist/src/organisation/index.d.ts.map +0 -1
- package/dist/src/organisation/list.d.ts.map +0 -1
- package/dist/src/organisation/set.d.ts +0 -13
- package/dist/src/organisation/set.d.ts.map +0 -1
- package/dist/src/sdk.d.ts.map +0 -1
- package/dist/src/types/supabase.types.d.ts.map +0 -1
- package/dist/src/user/account.d.ts.map +0 -1
- package/dist/src/utils/latest-version.d.ts.map +0 -1
- package/dist/src/utils.d.ts.map +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export declare const INIT_CANCEL: unique symbol;
|
|
2
|
+
export type InitLogTone = 'cyan' | 'yellow' | 'green' | 'red';
|
|
3
|
+
export type InitScreenTone = 'cyan' | 'blue' | 'green' | 'yellow';
|
|
4
|
+
export interface InitScreen {
|
|
5
|
+
headerTitle?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
introLines?: string[];
|
|
8
|
+
phaseLabel?: string;
|
|
9
|
+
progress?: number;
|
|
10
|
+
stepLabel?: string;
|
|
11
|
+
stepSummary?: string;
|
|
12
|
+
roadmapLine?: string;
|
|
13
|
+
statusLine?: string;
|
|
14
|
+
resumeLine?: string;
|
|
15
|
+
completionLines?: string[];
|
|
16
|
+
tone?: InitScreenTone;
|
|
17
|
+
}
|
|
18
|
+
export interface ConfirmPrompt {
|
|
19
|
+
kind: 'confirm';
|
|
20
|
+
message: string;
|
|
21
|
+
initialValue?: boolean;
|
|
22
|
+
resolve: (value: boolean | symbol) => void;
|
|
23
|
+
}
|
|
24
|
+
export interface TextPrompt {
|
|
25
|
+
kind: 'text';
|
|
26
|
+
message: string;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
validate?: (value: string | undefined) => string | undefined;
|
|
29
|
+
error?: string;
|
|
30
|
+
resolve: (value: string | symbol) => void;
|
|
31
|
+
}
|
|
32
|
+
export interface SelectPromptOption {
|
|
33
|
+
label: string;
|
|
34
|
+
hint?: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
37
|
+
export interface SelectPrompt {
|
|
38
|
+
kind: 'select';
|
|
39
|
+
message: string;
|
|
40
|
+
options: SelectPromptOption[];
|
|
41
|
+
resolve: (value: string | symbol) => void;
|
|
42
|
+
}
|
|
43
|
+
export type PromptRequest = ConfirmPrompt | TextPrompt | SelectPrompt;
|
|
44
|
+
export interface InitLogEntry {
|
|
45
|
+
message: string;
|
|
46
|
+
tone: InitLogTone;
|
|
47
|
+
}
|
|
48
|
+
export interface InitVersionWarning {
|
|
49
|
+
currentVersion: string;
|
|
50
|
+
latestVersion: string;
|
|
51
|
+
majorVersion: string;
|
|
52
|
+
}
|
|
53
|
+
export interface InitCodeDiffLine {
|
|
54
|
+
lineNumber: number;
|
|
55
|
+
text: string;
|
|
56
|
+
kind: 'context' | 'add';
|
|
57
|
+
}
|
|
58
|
+
export interface InitCodeDiff {
|
|
59
|
+
filePath: string;
|
|
60
|
+
created: boolean;
|
|
61
|
+
lines: InitCodeDiffLine[];
|
|
62
|
+
note?: string;
|
|
63
|
+
}
|
|
64
|
+
export type InitEncryptionPhase = 'enabled' | 'pending-sync' | 'skipped' | 'failed';
|
|
65
|
+
export interface InitEncryptionSummary {
|
|
66
|
+
phase: InitEncryptionPhase;
|
|
67
|
+
title: string;
|
|
68
|
+
lines: string[];
|
|
69
|
+
}
|
|
70
|
+
export type InitStreamingOutputStatus = 'running' | 'success' | 'error';
|
|
71
|
+
export interface InitStreamingOutput {
|
|
72
|
+
title: string;
|
|
73
|
+
command: string;
|
|
74
|
+
lines: string[];
|
|
75
|
+
status: InitStreamingOutputStatus;
|
|
76
|
+
statusMessage?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface InitRuntimeState {
|
|
79
|
+
screen?: InitScreen;
|
|
80
|
+
logs: InitLogEntry[];
|
|
81
|
+
spinner?: string;
|
|
82
|
+
prompt?: PromptRequest;
|
|
83
|
+
versionWarning?: InitVersionWarning;
|
|
84
|
+
codeDiff?: InitCodeDiff;
|
|
85
|
+
encryptionSummary?: InitEncryptionSummary;
|
|
86
|
+
streamingOutput?: InitStreamingOutput;
|
|
87
|
+
}
|
|
88
|
+
export declare function subscribe(listener: () => void): () => boolean;
|
|
89
|
+
export declare function getInitSnapshot(): InitRuntimeState;
|
|
90
|
+
export declare function ensureInitInkSession(): void;
|
|
91
|
+
export declare function stopInitInkSession(finalMessage?: {
|
|
92
|
+
text: string;
|
|
93
|
+
tone: 'green' | 'yellow';
|
|
94
|
+
}): void;
|
|
95
|
+
export declare function setInitScreen(screen: InitScreen): void;
|
|
96
|
+
export declare function pushInitLog(message: string, tone: InitLogTone): void;
|
|
97
|
+
export declare function clearInitLogs(): void;
|
|
98
|
+
export declare function setInitSpinner(message?: string): void;
|
|
99
|
+
export declare function requestInitConfirm(message: string, initialValue?: boolean): Promise<boolean | symbol>;
|
|
100
|
+
export declare function requestInitText(message: string, placeholder?: string, validate?: (value: string | undefined) => string | undefined): Promise<string | symbol>;
|
|
101
|
+
export declare function requestInitSelect(message: string, options: SelectPromptOption[]): Promise<string | symbol>;
|
|
102
|
+
export declare function setInitCodeDiff(diff?: InitCodeDiff): void;
|
|
103
|
+
export declare function setInitEncryptionSummary(summary?: InitEncryptionSummary): void;
|
|
104
|
+
export declare function startInitStreamingOutput(params: {
|
|
105
|
+
title: string;
|
|
106
|
+
command: string;
|
|
107
|
+
}): void;
|
|
108
|
+
export declare function appendInitStreamingLine(line: string): void;
|
|
109
|
+
export declare function updateInitStreamingStatus(status: InitStreamingOutputStatus, statusMessage?: string): void;
|
|
110
|
+
export declare function clearInitStreamingOutput(): void;
|
|
111
|
+
export declare function setInitVersionWarning(currentVersion: string, latestVersion: string, majorVersion: string): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InitRuntimeState } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface InitInkAppProps {
|
|
4
|
+
getSnapshot: () => InitRuntimeState;
|
|
5
|
+
subscribe: (listener: () => void) => () => void;
|
|
6
|
+
updatePromptError: (error?: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export default function InitInkApp({ getSnapshot, subscribe, updatePromptError }: Readonly<InitInkAppProps>): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ConfirmPrompt, InitScreen, PromptRequest, SelectPrompt, TextPrompt } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare function InitHeader({ title }: Readonly<{
|
|
4
|
+
title?: string;
|
|
5
|
+
}>): React.JSX.Element;
|
|
6
|
+
export declare function ScreenIntro({ screen }: Readonly<{
|
|
7
|
+
screen: InitScreen;
|
|
8
|
+
}>): React.JSX.Element;
|
|
9
|
+
export declare function ProgressSection({ screen }: Readonly<{
|
|
10
|
+
screen: InitScreen;
|
|
11
|
+
}>): React.JSX.Element | null;
|
|
12
|
+
export declare function CurrentStepSection({ screen }: Readonly<{
|
|
13
|
+
screen: InitScreen;
|
|
14
|
+
}>): React.JSX.Element | null;
|
|
15
|
+
export declare function ConfirmPromptView({ prompt }: Readonly<{
|
|
16
|
+
prompt: ConfirmPrompt;
|
|
17
|
+
}>): React.JSX.Element;
|
|
18
|
+
export declare function TextPromptView({ prompt, onError }: Readonly<{
|
|
19
|
+
prompt: TextPrompt;
|
|
20
|
+
onError: (error?: string) => void;
|
|
21
|
+
}>): React.JSX.Element;
|
|
22
|
+
export declare function SelectPromptView({ prompt }: Readonly<{
|
|
23
|
+
prompt: SelectPrompt;
|
|
24
|
+
}>): React.JSX.Element;
|
|
25
|
+
export declare function PromptArea({ prompt, onTextError }: Readonly<{
|
|
26
|
+
prompt?: PromptRequest;
|
|
27
|
+
onTextError: (error?: string) => void;
|
|
28
|
+
}>): React.JSX.Element | null;
|
|
29
|
+
export declare function SpinnerArea({ text }: Readonly<{
|
|
30
|
+
text?: string;
|
|
31
|
+
}>): React.JSX.Element | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface InitOnboardingStepDefinition {
|
|
2
|
+
title: string;
|
|
3
|
+
summary: string;
|
|
4
|
+
phase: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const initOnboardingSteps: InitOnboardingStepDefinition[];
|
|
7
|
+
export declare function renderInitOnboardingWelcome(totalSteps: number): void;
|
|
8
|
+
export declare function renderInitOnboardingFrame(currentStepNumber: number, totalSteps: number, options?: {
|
|
9
|
+
resumed?: boolean;
|
|
10
|
+
}): void;
|
|
11
|
+
export declare function renderInitOnboardingComplete(appId: string, nextUploadCommand: string, debugCommand: string): void;
|
|
12
|
+
export declare function formatInitResumeMessage(stepDone: number, totalSteps: number): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const CAPGO_UPDATER_PACKAGE = "@capgo/capacitor-updater";
|
|
2
|
+
type DependencySection = 'dependencies' | 'devDependencies' | 'optionalDependencies';
|
|
3
|
+
export interface UpdaterInstallState {
|
|
4
|
+
packageJsonPath: string;
|
|
5
|
+
projectDir: string;
|
|
6
|
+
declaredVersion: string | null;
|
|
7
|
+
declaredIn: DependencySection | null;
|
|
8
|
+
installedVersion: string | null;
|
|
9
|
+
ready: boolean;
|
|
10
|
+
details: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare function getUpdaterInstallState(packageJsonPath: string): UpdaterInstallState;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface SaveOptions {
|
|
2
|
+
key?: string;
|
|
3
|
+
keyData?: string;
|
|
4
|
+
setupChannel?: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface Options {
|
|
7
|
+
force?: boolean;
|
|
8
|
+
setupChannel?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function saveKeyInternal(options: SaveOptions, silent?: boolean): Promise<boolean>;
|
|
11
|
+
export declare function deleteOldPrivateKeyInternal(options: Options, silent?: boolean): Promise<boolean>;
|
|
12
|
+
export declare function saveKeyCommand(options: SaveOptions): Promise<void>;
|
|
13
|
+
export declare function createKeyInternal(options: Options, silent?: boolean): Promise<boolean>;
|
|
14
|
+
export declare function createKey(options: Options): Promise<void>;
|
|
15
|
+
export declare function deleteOldKey(options: Options): Promise<void>;
|
|
16
|
+
export {};
|
package/dist/src/login.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export declare function doLoginExists(): boolean;
|
|
|
7
7
|
export declare function loginInternal(apikey: string, options: Options, silent?: boolean): Promise<void>;
|
|
8
8
|
export declare function login(apikey: string, options: Options): Promise<void>;
|
|
9
9
|
export {};
|
|
10
|
-
//# sourceMappingURL=login.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface OnboardingSupportSection {
|
|
2
|
+
title: string;
|
|
3
|
+
lines: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface OnboardingSupportBundleInput {
|
|
6
|
+
kind: 'init' | 'build-init';
|
|
7
|
+
error: string;
|
|
8
|
+
appId?: string;
|
|
9
|
+
currentStep?: string;
|
|
10
|
+
packageManager?: string;
|
|
11
|
+
cwd?: string;
|
|
12
|
+
commands?: string[];
|
|
13
|
+
docs?: string[];
|
|
14
|
+
logs?: string[];
|
|
15
|
+
sections?: OnboardingSupportSection[];
|
|
16
|
+
}
|
|
17
|
+
export declare function renderOnboardingSupportBundle(input: OnboardingSupportBundleInput): string;
|
|
18
|
+
export declare function writeOnboardingSupportBundle(input: OnboardingSupportBundleInput, supportDir?: string): string | null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { OrganizationAddOptions } from '../schemas/organization';
|
|
2
|
+
export declare function addOrganizationInternal(options: OrganizationAddOptions, silent?: boolean): Promise<{
|
|
3
|
+
created_at: string | null;
|
|
4
|
+
created_by: string;
|
|
5
|
+
customer_id: string | null;
|
|
6
|
+
email_preferences: import("../types/supabase.types").Json;
|
|
7
|
+
enforce_encrypted_bundles: boolean;
|
|
8
|
+
enforce_hashed_api_keys: boolean;
|
|
9
|
+
enforcing_2fa: boolean;
|
|
10
|
+
has_usage_credits: boolean;
|
|
11
|
+
id: string;
|
|
12
|
+
last_stats_updated_at: string | null;
|
|
13
|
+
logo: string | null;
|
|
14
|
+
management_email: string;
|
|
15
|
+
max_apikey_expiration_days: number | null;
|
|
16
|
+
name: string;
|
|
17
|
+
password_policy_config: import("../types/supabase.types").Json | null;
|
|
18
|
+
require_apikey_expiration: boolean;
|
|
19
|
+
required_encryption_key: string | null;
|
|
20
|
+
stats_refresh_requested_at: string | null;
|
|
21
|
+
stats_updated_at: string | null;
|
|
22
|
+
updated_at: string | null;
|
|
23
|
+
use_new_rbac: boolean;
|
|
24
|
+
website: string | null;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function addOrganization(options: OrganizationAddOptions): Promise<void>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { OrganizationDeleteOptions } from '../schemas/organization';
|
|
2
|
+
export declare function deleteOrganizationInternal(orgId: string, options: OrganizationDeleteOptions, silent?: boolean): Promise<boolean>;
|
|
3
|
+
export declare function deleteOrganization(orgId: string, options: OrganizationDeleteOptions): Promise<void>;
|
|
@@ -1,24 +1,36 @@
|
|
|
1
|
-
import type { OptionsBase } from '../
|
|
1
|
+
import type { OptionsBase } from '../schemas/base';
|
|
2
2
|
export declare function listOrganizationsInternal(options: OptionsBase, silent?: boolean): Promise<{
|
|
3
|
+
"2fa_has_access": boolean;
|
|
3
4
|
app_count: number;
|
|
4
5
|
can_use_more: boolean;
|
|
6
|
+
created_at: string;
|
|
5
7
|
created_by: string;
|
|
6
8
|
credit_available: number;
|
|
7
9
|
credit_next_expiration: string;
|
|
8
10
|
credit_total: number;
|
|
11
|
+
enforce_encrypted_bundles: boolean;
|
|
12
|
+
enforce_hashed_api_keys: boolean;
|
|
13
|
+
enforcing_2fa: boolean;
|
|
9
14
|
gid: string;
|
|
10
15
|
is_canceled: boolean;
|
|
11
16
|
is_yearly: boolean;
|
|
12
17
|
logo: string;
|
|
13
18
|
management_email: string;
|
|
19
|
+
max_apikey_expiration_days: number;
|
|
14
20
|
name: string;
|
|
15
21
|
next_stats_update_at: string;
|
|
22
|
+
password_has_access: boolean;
|
|
23
|
+
password_policy_config: import("../types/supabase.types").Json;
|
|
16
24
|
paying: boolean;
|
|
25
|
+
require_apikey_expiration: boolean;
|
|
26
|
+
required_encryption_key: string;
|
|
17
27
|
role: string;
|
|
28
|
+
stats_refresh_requested_at: string;
|
|
18
29
|
stats_updated_at: string;
|
|
19
30
|
subscription_end: string;
|
|
20
31
|
subscription_start: string;
|
|
21
32
|
trial_left: number;
|
|
33
|
+
use_new_rbac: boolean;
|
|
34
|
+
website: string;
|
|
22
35
|
}[]>;
|
|
23
36
|
export declare function listOrganizations(options: OptionsBase): Promise<void>;
|
|
24
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { OptionsBase } from '../schemas/base';
|
|
2
|
+
interface MemberInfo {
|
|
3
|
+
uid: string;
|
|
4
|
+
email: string;
|
|
5
|
+
role: string;
|
|
6
|
+
is_tmp: boolean;
|
|
7
|
+
has_2fa: boolean;
|
|
8
|
+
password_policy_compliant: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function listMembersInternal(orgId: string, options: OptionsBase, silent?: boolean): Promise<MemberInfo[]>;
|
|
11
|
+
export declare function listMembers(orgId: string, options: OptionsBase): Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { OrganizationSetOptions } from '../schemas/organization';
|
|
2
|
+
export declare function setOrganizationInternal(orgId: string, options: OrganizationSetOptions, silent?: boolean): Promise<{
|
|
3
|
+
orgId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
enforce2fa: boolean;
|
|
7
|
+
passwordPolicy?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
orgId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
email: string;
|
|
12
|
+
passwordPolicy: boolean;
|
|
13
|
+
enforce2fa?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
orgId: string;
|
|
16
|
+
name: string;
|
|
17
|
+
email: string;
|
|
18
|
+
enforce2fa?: undefined;
|
|
19
|
+
passwordPolicy?: undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export declare function setOrganization(orgId: string, options: OrganizationSetOptions): Promise<void>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Command } from 'commander';
|
|
2
|
+
type CliPosthogExceptionKind = 'unhandled_error';
|
|
3
|
+
interface CapturePosthogExceptionPayload {
|
|
4
|
+
error: unknown;
|
|
5
|
+
functionName: string;
|
|
6
|
+
kind: CliPosthogExceptionKind;
|
|
7
|
+
status?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function isTruthyEnvValue(value: string | undefined): boolean;
|
|
10
|
+
export declare function shouldCapturePosthogException(error: unknown): boolean;
|
|
11
|
+
export declare function getCommandPath(command: Command): string;
|
|
12
|
+
export declare function capturePosthogException(payload: CapturePosthogExceptionPayload): Promise<boolean>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UpdateProbeResult } from './app/updateProbe';
|
|
2
|
+
interface ProbeOptions {
|
|
3
|
+
platform?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ProbeInternalResult {
|
|
6
|
+
success: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
probeResult?: UpdateProbeResult;
|
|
9
|
+
endpoint?: string;
|
|
10
|
+
platform?: 'ios' | 'android';
|
|
11
|
+
versionBuild?: string;
|
|
12
|
+
versionBuildSource?: string;
|
|
13
|
+
appId?: string;
|
|
14
|
+
appIdSource?: string;
|
|
15
|
+
nativeSource?: string;
|
|
16
|
+
hints?: string[];
|
|
17
|
+
}
|
|
18
|
+
export declare function probeInternal(options: ProbeOptions): Promise<ProbeInternalResult>;
|
|
19
|
+
export declare function probe(options: ProbeOptions): Promise<void>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type PromptPreferenceKey = 'uploadShowReplicationProgress' | 'uploadStarCapgoRepo';
|
|
2
|
+
export declare const promptPreferencesPath: string;
|
|
3
|
+
interface RememberedConfirmOptions {
|
|
4
|
+
preferenceKey: PromptPreferenceKey;
|
|
5
|
+
message: string;
|
|
6
|
+
initialValue?: boolean;
|
|
7
|
+
rememberMessage?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function getRememberedPromptPreference(preferenceKey: PromptPreferenceKey, filePath?: string): Promise<boolean | undefined>;
|
|
10
|
+
export declare function rememberPromptPreference(preferenceKey: PromptPreferenceKey, value: boolean, filePath?: string): Promise<void>;
|
|
11
|
+
export declare function rememberPromptPreferenceSafely(preferenceKey: PromptPreferenceKey, value: boolean, filePath?: string): Promise<void>;
|
|
12
|
+
export declare function confirmWithRememberedChoice({ preferenceKey, message, initialValue, rememberMessage, }: RememberedConfirmOptions): Promise<boolean>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ReplicationProgressOptions {
|
|
2
|
+
interactive?: boolean;
|
|
3
|
+
totalMs?: number;
|
|
4
|
+
updateIntervalMs?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
completeMessage?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function showReplicationProgress({ interactive, totalMs, updateIntervalMs, title, completeMessage, }?: ReplicationProgressOptions): Promise<void>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const appOptionsSchema: z.ZodObject<{
|
|
3
|
+
apikey: z.ZodString;
|
|
4
|
+
supaHost: z.ZodOptional<z.ZodString>;
|
|
5
|
+
supaAnon: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
8
|
+
retention: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
exposeMetadata: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type AppOptions = z.infer<typeof appOptionsSchema>;
|
|
12
|
+
export declare const appDebugOptionsSchema: z.ZodObject<{
|
|
13
|
+
apikey: z.ZodString;
|
|
14
|
+
supaHost: z.ZodOptional<z.ZodString>;
|
|
15
|
+
supaAnon: z.ZodOptional<z.ZodString>;
|
|
16
|
+
device: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type AppDebugOptions = z.infer<typeof appDebugOptionsSchema>;
|
|
19
|
+
export declare const appSettingOptionsSchema: z.ZodObject<{
|
|
20
|
+
apikey: z.ZodString;
|
|
21
|
+
supaHost: z.ZodOptional<z.ZodString>;
|
|
22
|
+
supaAnon: z.ZodOptional<z.ZodString>;
|
|
23
|
+
bool: z.ZodOptional<z.ZodString>;
|
|
24
|
+
string: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type AppSettingOptions = z.infer<typeof appSettingOptionsSchema>;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const buildCredentialsSchema: z.ZodObject<{
|
|
3
|
+
BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodString>;
|
|
4
|
+
BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodString>;
|
|
5
|
+
P12_PASSWORD: z.ZodOptional<z.ZodString>;
|
|
6
|
+
APPLE_KEY_ID: z.ZodOptional<z.ZodString>;
|
|
7
|
+
APPLE_ISSUER_ID: z.ZodOptional<z.ZodString>;
|
|
8
|
+
APPLE_KEY_CONTENT: z.ZodOptional<z.ZodString>;
|
|
9
|
+
APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodString>;
|
|
10
|
+
CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodString>;
|
|
11
|
+
ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodString>;
|
|
12
|
+
KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodString>;
|
|
13
|
+
KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodString>;
|
|
14
|
+
KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodString>;
|
|
15
|
+
PLAY_CONFIG_JSON: z.ZodOptional<z.ZodString>;
|
|
16
|
+
PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$catchall<z.ZodOptional<z.ZodString>>>;
|
|
18
|
+
export type BuildCredentials = z.infer<typeof buildCredentialsSchema>;
|
|
19
|
+
export declare const buildRequestOptionsSchema: z.ZodObject<{
|
|
20
|
+
apikey: z.ZodString;
|
|
21
|
+
supaHost: z.ZodOptional<z.ZodString>;
|
|
22
|
+
supaAnon: z.ZodOptional<z.ZodString>;
|
|
23
|
+
path: z.ZodOptional<z.ZodString>;
|
|
24
|
+
nodeModules: z.ZodOptional<z.ZodString>;
|
|
25
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
android: "android";
|
|
27
|
+
ios: "ios";
|
|
28
|
+
}>>;
|
|
29
|
+
buildMode: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
debug: "debug";
|
|
31
|
+
release: "release";
|
|
32
|
+
}>>;
|
|
33
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
buildCertificateBase64: z.ZodOptional<z.ZodString>;
|
|
35
|
+
p12Password: z.ZodOptional<z.ZodString>;
|
|
36
|
+
appleKeyId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
appleIssuerId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
appleKeyContent: z.ZodOptional<z.ZodString>;
|
|
39
|
+
appStoreConnectTeamId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
iosScheme: z.ZodOptional<z.ZodString>;
|
|
41
|
+
iosTarget: z.ZodOptional<z.ZodString>;
|
|
42
|
+
iosDistribution: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
app_store: "app_store";
|
|
44
|
+
ad_hoc: "ad_hoc";
|
|
45
|
+
}>>;
|
|
46
|
+
iosProvisioningProfile: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
|
+
iosProvisioningMap: z.ZodOptional<z.ZodString>;
|
|
48
|
+
androidKeystoreFile: z.ZodOptional<z.ZodString>;
|
|
49
|
+
keystoreKeyAlias: z.ZodOptional<z.ZodString>;
|
|
50
|
+
keystoreKeyPassword: z.ZodOptional<z.ZodString>;
|
|
51
|
+
keystoreStorePassword: z.ZodOptional<z.ZodString>;
|
|
52
|
+
playConfigJson: z.ZodOptional<z.ZodString>;
|
|
53
|
+
androidFlavor: z.ZodOptional<z.ZodString>;
|
|
54
|
+
inAppUpdatePriority: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
55
|
+
outputUpload: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
outputRetention: z.ZodOptional<z.ZodString>;
|
|
57
|
+
outputRecord: z.ZodOptional<z.ZodString>;
|
|
58
|
+
skipBuildNumberBump: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
playstoreUpload: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
aiAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
aiAnalysisMode: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
skip: "skip";
|
|
64
|
+
"auto-prompt": "auto-prompt";
|
|
65
|
+
"caller-handled": "caller-handled";
|
|
66
|
+
}>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export type BuildRequestOptions = z.infer<typeof buildRequestOptionsSchema>;
|
|
69
|
+
export declare const buildNeededOptionsSchema: z.ZodObject<{
|
|
70
|
+
apikey: z.ZodString;
|
|
71
|
+
supaHost: z.ZodOptional<z.ZodString>;
|
|
72
|
+
supaAnon: z.ZodOptional<z.ZodString>;
|
|
73
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
74
|
+
packageJson: z.ZodOptional<z.ZodString>;
|
|
75
|
+
nodeModules: z.ZodOptional<z.ZodString>;
|
|
76
|
+
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type BuildNeededOptions = z.infer<typeof buildNeededOptionsSchema>;
|
|
79
|
+
export declare const buildRequestResultSchema: z.ZodObject<{
|
|
80
|
+
success: z.ZodBoolean;
|
|
81
|
+
jobId: z.ZodOptional<z.ZodString>;
|
|
82
|
+
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
83
|
+
status: z.ZodOptional<z.ZodString>;
|
|
84
|
+
error: z.ZodOptional<z.ZodString>;
|
|
85
|
+
aiAnalysis: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
jobId: z.ZodString;
|
|
87
|
+
capturedLogPath: z.ZodString;
|
|
88
|
+
ready: z.ZodBoolean;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export type BuildRequestResult = z.infer<typeof buildRequestResultSchema>;
|
|
92
|
+
export declare const buildOptionsPayloadSchema: z.ZodObject<{
|
|
93
|
+
platform: z.ZodEnum<{
|
|
94
|
+
android: "android";
|
|
95
|
+
ios: "ios";
|
|
96
|
+
}>;
|
|
97
|
+
buildMode: z.ZodEnum<{
|
|
98
|
+
debug: "debug";
|
|
99
|
+
release: "release";
|
|
100
|
+
}>;
|
|
101
|
+
cliVersion: z.ZodString;
|
|
102
|
+
iosScheme: z.ZodOptional<z.ZodString>;
|
|
103
|
+
iosTarget: z.ZodOptional<z.ZodString>;
|
|
104
|
+
iosDistribution: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
app_store: "app_store";
|
|
106
|
+
ad_hoc: "ad_hoc";
|
|
107
|
+
}>>;
|
|
108
|
+
iosSourceDir: z.ZodOptional<z.ZodString>;
|
|
109
|
+
iosAppDir: z.ZodOptional<z.ZodString>;
|
|
110
|
+
iosProjectDir: z.ZodOptional<z.ZodString>;
|
|
111
|
+
androidSourceDir: z.ZodOptional<z.ZodString>;
|
|
112
|
+
androidAppDir: z.ZodOptional<z.ZodString>;
|
|
113
|
+
androidProjectDir: z.ZodOptional<z.ZodString>;
|
|
114
|
+
androidFlavor: z.ZodOptional<z.ZodString>;
|
|
115
|
+
outputUploadEnabled: z.ZodBoolean;
|
|
116
|
+
outputRetentionSeconds: z.ZodNumber;
|
|
117
|
+
skipBuildNumberBump: z.ZodBoolean;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export type BuildOptionsPayload = z.infer<typeof buildOptionsPayloadSchema>;
|
|
120
|
+
export declare const credentialFileSchema: z.ZodObject<{
|
|
121
|
+
BUILD_CERTIFICATE_FILE: z.ZodOptional<z.ZodString>;
|
|
122
|
+
APPLE_KEY_FILE: z.ZodOptional<z.ZodString>;
|
|
123
|
+
ANDROID_KEYSTORE_PATH: z.ZodOptional<z.ZodString>;
|
|
124
|
+
PLAY_CONFIG_JSON_PATH: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
export type CredentialFile = z.infer<typeof credentialFileSchema>;
|
|
127
|
+
export declare const savedCredentialsSchema: z.ZodObject<{
|
|
128
|
+
ios: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
130
|
+
BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
131
|
+
P12_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
132
|
+
APPLE_KEY_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
APPLE_ISSUER_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
134
|
+
APPLE_KEY_CONTENT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
135
|
+
APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
136
|
+
CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
137
|
+
ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
138
|
+
KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
139
|
+
KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
140
|
+
KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
141
|
+
PLAY_CONFIG_JSON: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
142
|
+
PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
143
|
+
}, z.core.$catchall<z.ZodOptional<z.ZodString>>>>;
|
|
144
|
+
android: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
146
|
+
BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
147
|
+
P12_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
148
|
+
APPLE_KEY_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
149
|
+
APPLE_ISSUER_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
APPLE_KEY_CONTENT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
152
|
+
CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
153
|
+
ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
154
|
+
KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
155
|
+
KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
156
|
+
KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
157
|
+
PLAY_CONFIG_JSON: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
158
|
+
PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
159
|
+
}, z.core.$catchall<z.ZodOptional<z.ZodString>>>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export type SavedCredentials = z.infer<typeof savedCredentialsSchema>;
|
|
162
|
+
export declare const allCredentialsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
163
|
+
ios: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
165
|
+
BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
166
|
+
P12_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
167
|
+
APPLE_KEY_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
168
|
+
APPLE_ISSUER_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
169
|
+
APPLE_KEY_CONTENT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
170
|
+
APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
171
|
+
CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
172
|
+
ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
173
|
+
KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
174
|
+
KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
175
|
+
KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
176
|
+
PLAY_CONFIG_JSON: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
177
|
+
PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
178
|
+
}, z.core.$catchall<z.ZodOptional<z.ZodString>>>>;
|
|
179
|
+
android: z.ZodOptional<z.ZodObject<{
|
|
180
|
+
BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
181
|
+
BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
182
|
+
P12_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
183
|
+
APPLE_KEY_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
184
|
+
APPLE_ISSUER_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
185
|
+
APPLE_KEY_CONTENT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
186
|
+
APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
187
|
+
CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
188
|
+
ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
189
|
+
KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
190
|
+
KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
191
|
+
KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
192
|
+
PLAY_CONFIG_JSON: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
193
|
+
PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
194
|
+
}, z.core.$catchall<z.ZodOptional<z.ZodString>>>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
export type AllCredentials = z.infer<typeof allCredentialsSchema>;
|