fix: recover and fence atomic activation
This commit is contained in:
@@ -3,11 +3,17 @@ export interface BuildReleaseInput {
|
||||
signedManifestPath: string;
|
||||
sbomPath: string;
|
||||
outputPath: string;
|
||||
verifierModulePath: string;
|
||||
trustPolicyPath: string;
|
||||
authorityRoot: string;
|
||||
protectedState: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface BuildReleaseTestInput extends Omit<
|
||||
BuildReleaseInput,
|
||||
"authorityRoot"
|
||||
> {
|
||||
trustPolicyPath: string;
|
||||
now: string;
|
||||
verifySignedReleaseEnvelope?: (input: any) => any;
|
||||
verifySignedReleaseEnvelope: (input: any) => unknown;
|
||||
}
|
||||
|
||||
export function buildReleasePackage(input: BuildReleaseInput): Promise<{
|
||||
@@ -15,3 +21,6 @@ export function buildReleasePackage(input: BuildReleaseInput): Promise<{
|
||||
manifestDigest: string;
|
||||
archivePath: string;
|
||||
}>;
|
||||
export function buildReleasePackageForTest(
|
||||
input: BuildReleaseTestInput,
|
||||
): ReturnType<typeof buildReleasePackage>;
|
||||
|
||||
Reference in New Issue
Block a user