@absolutejs/absolute 0.20.0-beta.37 → 0.20.0-beta.38

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.
@@ -0,0 +1,55 @@
1
+ import type { NormalizedAbsoluteMobileConfig } from './config';
2
+ export type MobileBundleInspection = {
3
+ appBuild?: string;
4
+ auth?: boolean;
5
+ capabilities?: string[];
6
+ entryResolved?: boolean;
7
+ frameworks?: string[];
8
+ issue?: string;
9
+ manifest: string;
10
+ pageCount?: number;
11
+ routeCount?: number;
12
+ runtime?: string;
13
+ status: 'invalid' | 'missing' | 'valid';
14
+ sync?: boolean;
15
+ };
16
+ export declare const inspectAbsoluteMobileBundle: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<{
17
+ manifest: string;
18
+ status: "missing";
19
+ appBuild?: undefined;
20
+ auth?: undefined;
21
+ capabilities?: undefined;
22
+ entryResolved?: undefined;
23
+ frameworks?: undefined;
24
+ pageCount?: undefined;
25
+ routeCount?: undefined;
26
+ runtime?: undefined;
27
+ sync?: undefined;
28
+ issue?: undefined;
29
+ } | {
30
+ appBuild: string;
31
+ auth: boolean;
32
+ capabilities: string[];
33
+ entryResolved: true;
34
+ frameworks: string[];
35
+ manifest: string;
36
+ pageCount: number;
37
+ routeCount: number;
38
+ runtime: string;
39
+ status: "valid";
40
+ sync: boolean;
41
+ issue?: undefined;
42
+ } | {
43
+ issue: string;
44
+ manifest: string;
45
+ status: "invalid";
46
+ appBuild?: undefined;
47
+ auth?: undefined;
48
+ capabilities?: undefined;
49
+ entryResolved?: undefined;
50
+ frameworks?: undefined;
51
+ pageCount?: undefined;
52
+ routeCount?: undefined;
53
+ runtime?: undefined;
54
+ sync?: undefined;
55
+ }>;
@@ -98,7 +98,7 @@ export declare const inspectAbsoluteMobileProject: (config: NormalizedAbsoluteMo
98
98
  release: {
99
99
  checks: {
100
100
  id: string;
101
- status: "pass" | "fail";
101
+ status: "pass" | "warn" | "fail";
102
102
  }[];
103
103
  ready: boolean;
104
104
  };
@@ -4,10 +4,32 @@ export type AbsoluteMobileReleaseCheck = {
4
4
  id: string;
5
5
  path?: string;
6
6
  remediation?: string;
7
- status: 'fail' | 'pass';
7
+ status: 'fail' | 'pass' | 'warn';
8
8
  };
9
9
  export type AbsoluteMobileReleaseDoctorResult = {
10
10
  checks: AbsoluteMobileReleaseCheck[];
11
11
  ready: boolean;
12
12
  };
13
+ export declare const ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT: 1;
14
+ export type AbsoluteMobileComplianceReport = {
15
+ app: {
16
+ appId: string;
17
+ engine: 'capacitor';
18
+ platforms: string[];
19
+ productionOrigin: string;
20
+ };
21
+ checks: Array<{
22
+ id: string;
23
+ status: AbsoluteMobileReleaseCheck['status'];
24
+ }>;
25
+ format: typeof ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT;
26
+ manualReview: string[];
27
+ ready: boolean;
28
+ summary: {
29
+ failed: number;
30
+ passed: number;
31
+ warnings: number;
32
+ };
33
+ };
34
+ export declare const createAbsoluteMobileComplianceReport: (config: NormalizedAbsoluteMobileConfig, result: AbsoluteMobileReleaseDoctorResult) => AbsoluteMobileComplianceReport;
13
35
  export declare const inspectAbsoluteMobileRelease: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<AbsoluteMobileReleaseDoctorResult>;
package/package.json CHANGED
@@ -506,7 +506,7 @@
506
506
  ]
507
507
  }
508
508
  },
509
- "version": "0.20.0-beta.37",
509
+ "version": "0.20.0-beta.38",
510
510
  "workspaces": [
511
511
  "tests/fixtures/*",
512
512
  "tests/fixtures/_packages/*"