Genkit JS API reference
    Preparing search index...

    Type Alias DynamicResourceAction

    DynamicResourceAction: ResourceAction & {
        __action: { metadata: { type: "resource" } };
        attach(registry: Registry): ResourceAction;
        matches(input: { uri: string }): boolean;
    }

    A dynamic action with a resource type. Dynamic resources are detached actions -- not associated with any registry.

    Type Declaration

    • __action: { metadata: { type: "resource" } }
    • attach: function
    • matches: function
      • Parameters

        • input: { uri: string }

        Returns boolean