MCPcopy Index your code
hub / github.com/Effect-TS/effect / Sensitive

Function Sensitive

packages/sql/src/Model.ts:251–258  ·  view source on GitHub ↗
(
  schema: S
)

Source from the content-addressed store, hash-verified

249 * @category sensitive
250 */
251export const Sensitive = <S extends Schema.Schema.All | Schema.PropertySignature.All>(
252 schema: S
253): Sensitive<S> =>
254 Field({
255 select: schema,
256 insert: schema,
257 update: schema
258 })
259
260/**
261 * Convert a field to one that is optional for all variants.

Callers

nothing calls this directly

Calls 1

FieldInterface · 0.50

Tested by

no test coverage detected