feat: install plugins from approved source commits
This commit is contained in:
@@ -24,6 +24,9 @@ interface SourceAdapter
|
||||
/** @param array<string,mixed> $repository @return list<array<string,mixed>> */
|
||||
public function listReleases(array $repository): array;
|
||||
|
||||
/** @param array<string,mixed> $repository */
|
||||
public function sourceArchiveUrl(array $repository, string $commitSha): ?string;
|
||||
|
||||
/** @return array{sha256:string,artifactSize:int} */
|
||||
public function hashArtifact(string $url, string $expectedSha256 = ''): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user