@capgo/cli 7.116.1 → 7.117.0

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/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.116.1",
4
+ "version": "7.117.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -8,4 +8,19 @@ interface CompatibilityResult {
8
8
  }
9
9
  export declare function checkCompatibilityInternal(appId: string, options: BundleCompatibilityOptions, silent?: boolean): Promise<CompatibilityResult>;
10
10
  export declare function checkCompatibility(appId: string, options: BundleCompatibilityOptions): Promise<void>;
11
+ export type UploadCompatibilityResult = 'compatible' | 'incompatible' | 'skipped';
12
+ export interface UploadCompatibilitySummary {
13
+ result: UploadCompatibilityResult;
14
+ incompatibleCount: number;
15
+ reasons: string[];
16
+ }
17
+ /**
18
+ * Summarize an upload's compatibility outcome for analytics.
19
+ *
20
+ * `finalCompatibility` is `undefined` when the comparison did not run (new
21
+ * channel / no remote native metadata / `--ignore-metadata-check`), which is
22
+ * reported as `skipped` so the funnel never silently counts a skip as
23
+ * `compatible`.
24
+ */
25
+ export declare function summarizeUploadCompatibility(finalCompatibility: Compatibility[] | undefined): UploadCompatibilitySummary;
11
26
  export {};