@absolutejs/absolute 0.20.0-beta.111 → 0.20.0-beta.113
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/CHANGELOG.md +14 -0
- package/changelog.json +46 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/{mobile-k7gpwfs8.js → mobile-v11nwcj9.js} +688 -137
- package/dist/mobile/index.js +516 -203
- package/dist/mobile/index.js.map +7 -6
- package/dist/src/mobile/ciPromotionAudit.d.ts +26 -2
- package/dist/src/mobile/ciPromotionLedger.d.ts +49 -0
- package/dist/src/mobile/ciWorkflow.d.ts +1 -1
- package/dist/src/mobile/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ABSOLUTE_MOBILE_CI_PROMOTION_AUDIT_FORMAT: 1;
|
|
2
|
-
export declare const ABSOLUTE_MOBILE_CI_PROMOTION_CONTEXT_FORMAT:
|
|
2
|
+
export declare const ABSOLUTE_MOBILE_CI_PROMOTION_CONTEXT_FORMAT: 2;
|
|
3
3
|
export type AbsoluteMobileCiPlatform = 'android' | 'ios';
|
|
4
4
|
export type AbsoluteMobileCiCommandResult = {
|
|
5
5
|
exitCode: number;
|
|
@@ -13,6 +13,7 @@ export type AbsoluteMobileCiCommandRunner = (command: string[], options: {
|
|
|
13
13
|
export type AbsoluteMobileCiRunStatus = {
|
|
14
14
|
conclusion: string | null;
|
|
15
15
|
createdAt: string;
|
|
16
|
+
displayTitle: string;
|
|
16
17
|
headBranch: string;
|
|
17
18
|
headSha: string;
|
|
18
19
|
jobs: readonly {
|
|
@@ -28,12 +29,18 @@ export type AbsoluteMobileCiRunStatus = {
|
|
|
28
29
|
workflowName: string;
|
|
29
30
|
};
|
|
30
31
|
export type AbsoluteMobilePromotionContext = {
|
|
31
|
-
|
|
32
|
+
dispatchId: string | null;
|
|
33
|
+
format: 1 | typeof ABSOLUTE_MOBILE_CI_PROMOTION_CONTEXT_FORMAT;
|
|
32
34
|
platform: AbsoluteMobileCiPlatform;
|
|
33
35
|
promotionRunId: string;
|
|
34
36
|
sourceArtifact: string;
|
|
35
37
|
sourceRunId: string;
|
|
36
38
|
};
|
|
39
|
+
export type AbsoluteMobilePromotionRun = {
|
|
40
|
+
dispatchId: string;
|
|
41
|
+
runId: string;
|
|
42
|
+
url: string;
|
|
43
|
+
};
|
|
37
44
|
export type AbsoluteMobilePromotionAudit = {
|
|
38
45
|
certification: {
|
|
39
46
|
certificationId: string;
|
|
@@ -43,6 +50,7 @@ export type AbsoluteMobilePromotionAudit = {
|
|
|
43
50
|
format: typeof ABSOLUTE_MOBILE_CI_PROMOTION_AUDIT_FORMAT;
|
|
44
51
|
github: {
|
|
45
52
|
conclusion: string;
|
|
53
|
+
dispatchId: string | null;
|
|
46
54
|
promotionRunId: string;
|
|
47
55
|
repository: string | null;
|
|
48
56
|
sourceRunId: string;
|
|
@@ -82,6 +90,17 @@ type AuditOptions = {
|
|
|
82
90
|
runId: string;
|
|
83
91
|
sourceRunId?: string;
|
|
84
92
|
};
|
|
93
|
+
type PromotionDiscoveryOptions = {
|
|
94
|
+
attempts?: number;
|
|
95
|
+
dispatchId: string;
|
|
96
|
+
pollIntervalMs?: number;
|
|
97
|
+
projectRoot: string;
|
|
98
|
+
repository?: string;
|
|
99
|
+
run?: AbsoluteMobileCiCommandRunner;
|
|
100
|
+
sleep?: (milliseconds: number) => Promise<void>;
|
|
101
|
+
workflow: string;
|
|
102
|
+
};
|
|
103
|
+
export declare const discoverAbsoluteMobilePromotionRun: (options: PromotionDiscoveryOptions) => Promise<AbsoluteMobilePromotionRun>;
|
|
85
104
|
export declare const inspectAbsoluteMobileCiRun: (options: {
|
|
86
105
|
projectRoot: string;
|
|
87
106
|
repository?: string;
|
|
@@ -90,6 +109,11 @@ export declare const inspectAbsoluteMobileCiRun: (options: {
|
|
|
90
109
|
}) => Promise<AbsoluteMobileCiRunStatus>;
|
|
91
110
|
export declare const parseAbsoluteMobileCiRunStatus: (value: unknown, requestedRunId: string) => AbsoluteMobileCiRunStatus;
|
|
92
111
|
export declare const parseAbsoluteMobilePromotionContext: (value: unknown) => AbsoluteMobilePromotionContext;
|
|
112
|
+
export declare const parseAbsoluteMobilePromotionRunList: (value: unknown, requestedDispatchId: string) => {
|
|
113
|
+
dispatchId: string;
|
|
114
|
+
runId: string;
|
|
115
|
+
url: string;
|
|
116
|
+
} | null;
|
|
93
117
|
export declare const watchAbsoluteMobileCiRun: (options: {
|
|
94
118
|
projectRoot: string;
|
|
95
119
|
repository?: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const ABSOLUTE_MOBILE_CI_PROMOTION_OPERATION_FORMAT: 1;
|
|
2
|
+
declare const PHASES: readonly ["dispatching", "dispatched", "discovered", "completed", "audited"];
|
|
3
|
+
export type AbsoluteMobilePromotionOperationPhase = (typeof PHASES)[number];
|
|
4
|
+
export type AbsoluteMobilePromotionOperation = {
|
|
5
|
+
auditDirectory: string | null;
|
|
6
|
+
auditOutputDirectory: string | null;
|
|
7
|
+
auditRequested: boolean;
|
|
8
|
+
certificationId: string;
|
|
9
|
+
certificationSha256: string;
|
|
10
|
+
channel: string | null;
|
|
11
|
+
conclusion: string | null;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
dispatchId: string;
|
|
14
|
+
format: typeof ABSOLUTE_MOBILE_CI_PROMOTION_OPERATION_FORMAT;
|
|
15
|
+
githubStatus: string | null;
|
|
16
|
+
phase: AbsoluteMobilePromotionOperationPhase;
|
|
17
|
+
platform: 'android' | 'ios';
|
|
18
|
+
playTrack: string | null;
|
|
19
|
+
ref: string | null;
|
|
20
|
+
releaseId: string;
|
|
21
|
+
repository: string | null;
|
|
22
|
+
runId: string | null;
|
|
23
|
+
sourceRunId: string;
|
|
24
|
+
testflightGroup: string | null;
|
|
25
|
+
testflightSubmitReview: boolean;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
url: string | null;
|
|
28
|
+
watchRequested: boolean;
|
|
29
|
+
workflow: string;
|
|
30
|
+
};
|
|
31
|
+
export type CreateAbsoluteMobilePromotionOperationOptions = Omit<AbsoluteMobilePromotionOperation, 'auditDirectory' | 'conclusion' | 'createdAt' | 'format' | 'githubStatus' | 'phase' | 'runId' | 'updatedAt' | 'url'> & {
|
|
32
|
+
now?: () => Date;
|
|
33
|
+
};
|
|
34
|
+
export type AdvanceAbsoluteMobilePromotionOperationOptions = {
|
|
35
|
+
auditDirectory?: string | null;
|
|
36
|
+
conclusion?: string | null;
|
|
37
|
+
githubStatus?: string | null;
|
|
38
|
+
phase: AbsoluteMobilePromotionOperationPhase;
|
|
39
|
+
runId?: string | null;
|
|
40
|
+
url?: string | null;
|
|
41
|
+
};
|
|
42
|
+
export declare const absoluteMobilePromotionOperationPath: (projectRoot: string, requestedDispatchId: string) => string;
|
|
43
|
+
export declare const parseAbsoluteMobilePromotionOperation: (value: unknown) => AbsoluteMobilePromotionOperation;
|
|
44
|
+
export declare const advanceAbsoluteMobilePromotionOperation: (projectRoot: string, requestedDispatchId: string, options: AdvanceAbsoluteMobilePromotionOperationOptions, now?: () => Date) => Promise<AbsoluteMobilePromotionOperation>;
|
|
45
|
+
export declare const createAbsoluteMobilePromotionOperation: (projectRoot: string, options: CreateAbsoluteMobilePromotionOperationOptions) => Promise<AbsoluteMobilePromotionOperation>;
|
|
46
|
+
export declare const listAbsoluteMobilePromotionOperations: (projectRoot: string) => Promise<AbsoluteMobilePromotionOperation[]>;
|
|
47
|
+
export declare const readAbsoluteMobilePromotionOperation: (projectRoot: string, requestedDispatchId: string) => Promise<AbsoluteMobilePromotionOperation>;
|
|
48
|
+
export declare const relativeAbsoluteMobilePromotionOperationPath: (projectRoot: string, dispatchIdValue: string) => string;
|
|
49
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
2
|
-
export declare const ABSOLUTE_MOBILE_CI_WORKFLOW_FORMAT:
|
|
2
|
+
export declare const ABSOLUTE_MOBILE_CI_WORKFLOW_FORMAT: 4;
|
|
3
3
|
export type AbsoluteMobileGithubWorkflowOptions = {
|
|
4
4
|
config: NormalizedAbsoluteMobileConfig;
|
|
5
5
|
configPath?: string;
|
|
@@ -32,6 +32,7 @@ export * from './capacitorProject';
|
|
|
32
32
|
export * from './config';
|
|
33
33
|
export * from './client';
|
|
34
34
|
export * from './ciPromotionAudit';
|
|
35
|
+
export * from './ciPromotionLedger';
|
|
35
36
|
export * from './ciWorkflow';
|
|
36
37
|
export * from './compatibilityDispatcher';
|
|
37
38
|
export * from './materializedBundle';
|