Member Junction
    Preparing search index...

    Command to refresh data in the UI.

    This command tells the UI to refresh cached data or reload specific entities. Use after modifying system configuration or entity data.

    {
    "type": "refresh:data",
    "scope": "entity",
    "entityNames": ["Customers", "Contacts"]
    }
    {
    "type": "refresh:data",
    "scope": "cache",
    "cacheName": "AI"
    }
    interface RefreshDataCommand {
        cacheName?: CacheName;
        entityNames?: string[];
        scope: "entity" | "cache";
        type: "refresh:data";
    }
    Index

    Properties

    cacheName?: CacheName

    Name of cache to refresh. Only used when scope is 'cache'.

    entityNames?: string[]

    Array of entity names to refresh. Only used when scope is 'entity'. Example: ["Customers", "Contacts", "Orders"]

    scope: "entity" | "cache"

    Scope of data to refresh:

    • 'entity': Refresh specific entity data
    • 'cache': Refresh a named cache
    type: "refresh:data"

    Command type identifier