@absolutejs/absolute 0.20.0-beta.106 → 0.20.0-beta.107

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.
@@ -45,6 +45,7 @@ export * from './nativeReleaseReadiness';
45
45
  export * from './pageProtocol';
46
46
  export * from './producerContext';
47
47
  export * from './releaseArtifact';
48
+ export * from './releaseCertification';
48
49
  export * from './releasePublisher';
49
50
  export * from './routeMetadataTransform';
50
51
  export * from './routeMatcher';
@@ -0,0 +1,59 @@
1
+ import type { AbsoluteAndroidRelease } from './androidReleaseAcceptance';
2
+ import type { AbsoluteIosRelease } from './iosReleaseAcceptance';
3
+ export declare const ABSOLUTE_MOBILE_RELEASE_CERTIFICATION_FORMAT: 1;
4
+ export type AbsoluteMobileCertificationRequirement = 'device' | 'installed' | 'simulator' | 'store';
5
+ export type AbsoluteMobileCertificationStrength = 'installed' | 'simulator' | 'device' | 'store';
6
+ export type AbsoluteMobileCertificationRelease = {
7
+ appBuild: string;
8
+ appId: string;
9
+ artifactBytes: number;
10
+ artifactSha256: string;
11
+ buildNumber?: number;
12
+ engine: 'capacitor' | 'expo';
13
+ marketingVersion?: string;
14
+ platform: 'android' | 'ios';
15
+ releaseId: string;
16
+ runtime: string;
17
+ signed: true;
18
+ versionCode?: number;
19
+ };
20
+ export type AbsoluteMobileCertificationEvidence = {
21
+ artifactExactness?: 'archive-equivalent' | 'source-equivalent' | 'store-delivered';
22
+ distribution?: 'apple-processed' | 'registered-device' | 'simulator-release';
23
+ generatedAt: string;
24
+ networkUnavailable: 'not-proven' | 'proven';
25
+ remote: boolean;
26
+ reportSha256: string;
27
+ strength: AbsoluteMobileCertificationStrength;
28
+ };
29
+ export type AbsoluteMobileReleaseCertification = {
30
+ certificationId: string;
31
+ evidence: AbsoluteMobileCertificationEvidence[];
32
+ format: typeof ABSOLUTE_MOBILE_RELEASE_CERTIFICATION_FORMAT;
33
+ generatedAt: string;
34
+ release: AbsoluteMobileCertificationRelease;
35
+ requirement: AbsoluteMobileCertificationRequirement;
36
+ status: 'certified';
37
+ strength: AbsoluteMobileCertificationStrength;
38
+ };
39
+ export type AbsoluteMobileCertifiableRelease = AbsoluteAndroidRelease | AbsoluteIosRelease;
40
+ export type CreateAbsoluteMobileReleaseCertificationOptions = {
41
+ evidencePaths: string[];
42
+ generatedAt?: string;
43
+ projectRoot: string;
44
+ release: AbsoluteMobileCertifiableRelease;
45
+ requirement?: AbsoluteMobileCertificationRequirement;
46
+ };
47
+ export type AbsoluteMobileReleaseCertificationPaths = {
48
+ directory: string;
49
+ jsonPath: string;
50
+ markdownPath: string;
51
+ };
52
+ export declare const createAbsoluteMobileReleaseCertification: (options: CreateAbsoluteMobileReleaseCertificationOptions) => Promise<AbsoluteMobileReleaseCertification>;
53
+ export declare const readAbsoluteMobileReleaseCertification: (projectRoot: string, requested: string) => Promise<{
54
+ certification: AbsoluteMobileReleaseCertification;
55
+ path: string;
56
+ }>;
57
+ export declare const renderAbsoluteMobileReleaseCertification: (certification: AbsoluteMobileReleaseCertification) => string;
58
+ export declare const verifyAbsoluteMobileReleaseCertification: (certification: AbsoluteMobileReleaseCertification, release: AbsoluteMobileCertifiableRelease, requirement?: AbsoluteMobileCertificationRequirement) => AbsoluteMobileReleaseCertification;
59
+ export declare const writeAbsoluteMobileReleaseCertification: (projectRoot: string, certification: AbsoluteMobileReleaseCertification, outputDirectory?: string) => Promise<AbsoluteMobileReleaseCertificationPaths>;
package/package.json CHANGED
@@ -537,7 +537,7 @@
537
537
  ]
538
538
  }
539
539
  },
540
- "version": "0.20.0-beta.106",
540
+ "version": "0.20.0-beta.107",
541
541
  "workspaces": [
542
542
  "tests/fixtures/*",
543
543
  "tests/fixtures/_packages/*"