Home > @uniformdev/mesh-sdk > DynamicInput

DynamicInput type

Dynamic inputs come from project map and represent path or query based dynamic values These can be connected to from within a Mesh location by setting a data resource variable to contain ex: $} expression(s).

Dynamic inputs only work at runtime when using the route endpoint to fetch data.

Signature:

type DynamicInput = {
    value: string;
    defaultValue: string;
    source: ProjectMapNode;
    type: 'query' | 'path';
};

References: ProjectMapNode