@dxos/echo
    Preparing search index...

    Type Alias ToSchema<Input>

    ToSchema: Input extends Schema.Top
        ? Input
        : Input extends Schema.Struct.Fields ? Schema.Struct<Input> : never

    Schema for the input of MakeObject / MakeRelation: a schema as is, or struct fields wrapped in Schema.Struct.

    Type Parameters

    • Input