Skip to content

Conversation

@jba
Copy link
Contributor

@jba jba commented Jul 2, 2024

Define a single, general newAction function.

Define a single fully general method for defining an action
in a registry. All other Define functions call it.
Export it so the genkit package can use it to define flows.
It's unfortunate that we have to export it, but code outside the
module can't call it anyway because it takes a registry, which
has an internal type.

@jba jba force-pushed the jba/flowstater branch from af5c6b8 to f342e16 Compare July 2, 2024 21:52
Base automatically changed from jba/flowstater to main July 2, 2024 23:05
Define a single, general newAction function.

Define a single fully general method for defining an action
in a registry. All other Define functions call it.
Export it so the genkit package can use it to define flows.
It's unfortunate that we have to export it, but code outside the
module can't call it anyway because it takes a registry, which
has an internal type.
@jba jba force-pushed the jba/define-action branch from d9e432d to 74e26de Compare July 2, 2024 23:06
@jba jba merged commit 620a6dd into main Jul 2, 2024
@jba jba deleted the jba/define-action branch July 2, 2024 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants