MCPcopy Create free account
hub / github.com/Effect-TS/effect / UuidV4Insert

Function UuidV4Insert

packages/effect/src/unstable/schema/Model.ts:809–817  ·  view source on GitHub ↗
(
  schema: Schema.brand<Schema.String, B>
)

Source from the content-addressed store, hash-verified

807 * @since 4.0.0
808 */
809export const UuidV4Insert = <const B extends string>(
810 schema: Schema.brand<Schema.String, B>
811): UuidV4Insert<B> =>
812 Field({
813 select: schema,
814 insert: UuidV4WithGenerate(schema),
815 update: schema,
816 json: schema
817 })
818
819/**
820 * Variant field type for a branded string UUID v7 value whose insert variant

Callers

nothing calls this directly

Calls 2

UuidV4WithGenerateFunction · 0.85
FieldFunction · 0.70

Tested by

no test coverage detected