@absolutejs/absolute 0.20.0-beta.110 → 0.20.0-beta.111

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,103 @@
1
+ export declare const ABSOLUTE_MOBILE_CI_PROMOTION_AUDIT_FORMAT: 1;
2
+ export declare const ABSOLUTE_MOBILE_CI_PROMOTION_CONTEXT_FORMAT: 1;
3
+ export type AbsoluteMobileCiPlatform = 'android' | 'ios';
4
+ export type AbsoluteMobileCiCommandResult = {
5
+ exitCode: number;
6
+ stderr: string;
7
+ stdout: string;
8
+ };
9
+ export type AbsoluteMobileCiCommandRunner = (command: string[], options: {
10
+ cwd: string;
11
+ env?: Record<string, string | undefined>;
12
+ }) => Promise<AbsoluteMobileCiCommandResult>;
13
+ export type AbsoluteMobileCiRunStatus = {
14
+ conclusion: string | null;
15
+ createdAt: string;
16
+ headBranch: string;
17
+ headSha: string;
18
+ jobs: readonly {
19
+ conclusion: string | null;
20
+ name: string;
21
+ status: string;
22
+ }[];
23
+ runId: string;
24
+ startedAt: string | null;
25
+ status: string;
26
+ updatedAt: string;
27
+ url: string;
28
+ workflowName: string;
29
+ };
30
+ export type AbsoluteMobilePromotionContext = {
31
+ format: typeof ABSOLUTE_MOBILE_CI_PROMOTION_CONTEXT_FORMAT;
32
+ platform: AbsoluteMobileCiPlatform;
33
+ promotionRunId: string;
34
+ sourceArtifact: string;
35
+ sourceRunId: string;
36
+ };
37
+ export type AbsoluteMobilePromotionAudit = {
38
+ certification: {
39
+ certificationId: string;
40
+ requirement: string;
41
+ strength: string;
42
+ };
43
+ format: typeof ABSOLUTE_MOBILE_CI_PROMOTION_AUDIT_FORMAT;
44
+ github: {
45
+ conclusion: string;
46
+ promotionRunId: string;
47
+ repository: string | null;
48
+ sourceRunId: string;
49
+ url: string;
50
+ workflowName: string;
51
+ };
52
+ platform: AbsoluteMobileCiPlatform;
53
+ provenance: {
54
+ issuer: string;
55
+ ref: string;
56
+ repository: string;
57
+ sha: string;
58
+ workflowPath: string;
59
+ };
60
+ publication: {
61
+ channel: string | null;
62
+ provider: 'app-store-connect' | 'google-play' | 'registry';
63
+ reused: boolean;
64
+ stage: string | null;
65
+ };
66
+ release: {
67
+ appId: string;
68
+ bytes: number;
69
+ engine: 'capacitor' | 'expo';
70
+ releaseId: string;
71
+ runtime: string;
72
+ sha256: string;
73
+ };
74
+ status: 'verified';
75
+ verifiedAt: string;
76
+ };
77
+ type AuditOptions = {
78
+ outputDirectory?: string;
79
+ projectRoot: string;
80
+ repository?: string;
81
+ run?: AbsoluteMobileCiCommandRunner;
82
+ runId: string;
83
+ sourceRunId?: string;
84
+ };
85
+ export declare const inspectAbsoluteMobileCiRun: (options: {
86
+ projectRoot: string;
87
+ repository?: string;
88
+ run?: AbsoluteMobileCiCommandRunner;
89
+ runId: string;
90
+ }) => Promise<AbsoluteMobileCiRunStatus>;
91
+ export declare const parseAbsoluteMobileCiRunStatus: (value: unknown, requestedRunId: string) => AbsoluteMobileCiRunStatus;
92
+ export declare const parseAbsoluteMobilePromotionContext: (value: unknown) => AbsoluteMobilePromotionContext;
93
+ export declare const watchAbsoluteMobileCiRun: (options: {
94
+ projectRoot: string;
95
+ repository?: string;
96
+ run?: AbsoluteMobileCiCommandRunner;
97
+ runId: string;
98
+ }) => Promise<AbsoluteMobileCiRunStatus>;
99
+ export declare const auditAbsoluteMobileCiPromotion: (options: AuditOptions) => Promise<{
100
+ audit: AbsoluteMobilePromotionAudit;
101
+ directory: string;
102
+ }>;
103
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { NormalizedAbsoluteMobileConfig } from './config';
2
- export declare const ABSOLUTE_MOBILE_CI_WORKFLOW_FORMAT: 2;
2
+ export declare const ABSOLUTE_MOBILE_CI_WORKFLOW_FORMAT: 3;
3
3
  export type AbsoluteMobileGithubWorkflowOptions = {
4
4
  config: NormalizedAbsoluteMobileConfig;
5
5
  configPath?: string;
@@ -31,6 +31,7 @@ export * from './expoUpdate';
31
31
  export * from './capacitorProject';
32
32
  export * from './config';
33
33
  export * from './client';
34
+ export * from './ciPromotionAudit';
34
35
  export * from './ciWorkflow';
35
36
  export * from './compatibilityDispatcher';
36
37
  export * from './materializedBundle';
package/package.json CHANGED
@@ -537,7 +537,7 @@
537
537
  ]
538
538
  }
539
539
  },
540
- "version": "0.20.0-beta.110",
540
+ "version": "0.20.0-beta.111",
541
541
  "workspaces": [
542
542
  "tests/fixtures/*",
543
543
  "tests/fixtures/_packages/*"