effect-schema-viz
    Preparing search index...

    Variable schemasConst

    schemas: (
        schemas: Array.NonEmptyReadonlyArray<Schema.Annotable.All>,
    ) => Effect.Effect<Results> = ...

    Compile a non-empty array of mixed classes and named structs into diagram nodes and/or a list of errors. Schemas that are not classes or structs are returned as errors.

    Type declaration

      • (
            schemas: Array.NonEmptyReadonlyArray<Schema.Annotable.All>,
        ): Effect.Effect<Results>
      • Parameters

        • schemas: Array.NonEmptyReadonlyArray<Schema.Annotable.All>

          Non-empty mixed array of schema structs and/or schema classes.

        Returns Effect.Effect<Results>

        A list of compiled nodes and a list of errors. For every schema given there should appear in the results either a node or an error.