@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/index.js +373 -373
- package/dist/package.json +1 -1
- package/dist/src/bundle/compatibility.d.ts +15 -0
- package/dist/src/sdk.js +199 -199
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -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 {};
|