Skip to content

provenance

const provenance: (...args: [directory: string, entry: string]) => Effect<
{
artifact: {
algorithm: "sha256"
digest: string
entry: string
version: 1
}
entry: string
operations: readonly {
artifact: {
algorithm: "sha256"
digest: string
version: 1
}
identity: string
package: {
name: string
version: string
}
}[]
package: {
name: string
version: string
}
},
PlatformError | SchemaError | ArtifactError | PublicationError,
FileSystem | Path
>

Defined in: Publication.ts:155

Records a built resolved directory, without capturing external runtime dependencies.

Parameter Type
…args [directory: string, entry: string]

Effect<{ artifact: { algorithm: "sha256"; digest: string; entry: string; version: 1; }; entry: string; operations: readonly { artifact: { algorithm: "sha256"; digest: string; version: 1; }; identity: string; package: { name: string; version: string; }; }[]; package: { name: string; version: string; }; }, | PlatformError | SchemaError | ArtifactError | PublicationError, FileSystem | Path>