@dxos/echo
    Preparing search index...

    Variable toEffectSchemaConst

    toEffectSchema: (
        root: JsonSchemaType,
        _defs?: { readonly [key: string]: JsonSchemaType },
    ) => Codec<any, any> = jsonSchemaInternal.toEffectSchema

    Decode JSON Schema to Effect Schema.

    Type declaration

      • (
            root: JsonSchemaType,
            _defs?: { readonly [key: string]: JsonSchemaType },
        ): Codec<any, any>
      • Parameters

        • root: JsonSchemaType
        • Optional_defs: { readonly [key: string]: JsonSchemaType }

        Returns Codec<any, any>

    O(schema size) rebuild on every call; cache the result rather than calling per use.