effect-io-ai

Package: effect
Module: Schema

Schema.TemplateLiteral.SchemaPart

Constraint for schema parts that can appear inside a TemplateLiteral.

Details

The schema’s encoded value must be a string, number, or bigint so it can be converted into a template literal string segment.

Signature

export interface SchemaPart extends Constraint {
    readonly Encoded: string | number | bigint
  }

Source

Since v4.0.0