Type Alias ArtifactBase
type ArtifactBase = {
deps: string[];
id: string;
projections?: ProjectionEntry[];
protocol: typeof PROTOCOL_VERSION;
records?: RecordEntry[];
scope: Scope;
vector: number;
}
deps: string[];
id: string;
projections?: ProjectionEntry[];
protocol: typeof PROTOCOL_VERSION;
records?: RecordEntry[];
scope: Scope;
vector: number;
}
Properties
deps
deps: string[]
tags the artifact was built from; a change to any of them invalidates it
id
id: string
the request path the artifact answers
Optionalprojections
projections this artifact references that the worker did not already hold
protocol
Optionalrecords
records this artifact references that the worker did not already hold
scope
vector
vector: number
the version vector cursor read before the artifact was built
the fields every artifact carries, whatever its body