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

Function GeneratedByDb

packages/effect/src/unstable/schema/Model.ts:226–232  ·  view source on GitHub ↗
(
  schema: S
)

Source from the content-addressed store, hash-verified

224 * @since 4.0.0
225 */
226export const GeneratedByDb = <S extends Schema.Top>(
227 schema: S
228): GeneratedByDb<S> =>
229 Field({
230 select: schema,
231 json: schema
232 })
233
234/**
235 * Variant field type for an application-generated value that is present in

Callers

nothing calls this directly

Calls 1

FieldFunction · 0.70

Tested by

no test coverage detected