Etag
Convertions
Layers
Models
Signature
type Etag = Weak | Strong;Signature
interface Generator {
readonly [GeneratorTypeId]: typeof GeneratorTypeId;
readonly fromFileInfo: (info: Info) => Effect<Etag>;
readonly fromFileWeb: (file: FileLike) => Effect<Etag>;
}Signature
interface Strong {
readonly _tag: "Strong";
readonly value: string;
}Signature
interface Weak {
readonly _tag: "Weak";
readonly value: string;
}Type Ids
GeneratorTypeId
Added in v1.0.0
Source
Signature
declare const GeneratorTypeId: unique symbol;GeneratorTypeId type
Added in v1.0.0
Source
Signature
type GeneratorTypeId = typeof GeneratorTypeId;