Fix
Some checks failed
Lint / lint (push) Failing after 10s

This commit is contained in:
Julien Valverdé
2025-01-15 21:04:06 +01:00
parent 8e6adc6b85
commit b46ba311ae

View File

@@ -1,5 +1,5 @@
import { ThSchema } from "@thilawyn/thilaschema"
import { CuidState, DateTimes, GetRandomValues, makeCuid } from "@typed/id"
import { GetRandomValues, makeUuid4 } from "@typed/id"
import { Effect, Schema } from "effect"
@@ -21,8 +21,6 @@ export const TodoFromJsonStruct = Schema.Struct({
export const TodoFromJson = TodoFromJsonStruct.pipe(Schema.compose(Todo))
export const generateUniqueID = makeCuid.pipe(
Effect.provide(CuidState.layer("@reffuse/example")),
Effect.provide(GetRandomValues.CryptoRandom),
Effect.provide(DateTimes.Default),
export const generateUniqueID = makeUuid4.pipe(
Effect.provide(GetRandomValues.CryptoRandom)
)