Skip to content

WorkflowInterfaceEntry.turn docs point at isKnownTurn, which core does not export #48

Open

Description

@d34dman

The docblock on WorkflowInterfaceEntry.turn (lib/types/index.ts:1545) says "Narrow with isKnownTurn before indexing by it". isKnownTurn (and validateWorkflowInterface) are not exported from @flowdrop/flowdrop/core, so a consumer cannot follow that advice.

Fix: either export isKnownTurn from core next to WORKFLOW_INTERFACE_INPUT_TURNS / WORKFLOW_INTERFACE_OUTPUT_TURNS, or change the docblock to point at those exported constants.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions