GHHG10's picture
download
raw
356 Bytes
import { DateTime, Schema, SchemaGetter } from "effect"
export const DateTimeUtcFromMillis = Schema.Finite.pipe(
Schema.decodeTo(Schema.DateTimeUtc, {
decode: SchemaGetter.transform((value) => DateTime.makeUnsafe(value)),
encode: SchemaGetter.transform((value) => DateTime.toEpochMillis(value)),
}),
)
export * as V2Schema from "./v2-schema"

Xet Storage Details

Size:
356 Bytes
·
Xet hash:
e61d7d5543b169c5b24fac68810b181d8da8e628b9ea0eeb71847e29f0c94592

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.