function runQuery(query, action = "query", queryOptions = {}) {
    return dispatch => {
        const frame = {
            action,
            id: uuid(),
            timestamp: Date.now(),
            query,
            queryOptions: action === "query" ? queryOptions : {},
        };
        dispatch(receiveFrame(frame));
        dispatch(setActiveFrame(frame.id));
        dispatch(executeFrame(frame.id));
    };
}
/**
 * runQuery runs the query and displays the appropriate result in a frame
 *
 */
runQuery runs the query and displays the appropriate result in a frame
runQuery runs the query and displays the appropriate result in a frame
function runQuery(query, action = "query", queryOptions = {}) {
    return dispatch => {
        const frame = {
            action,
            id: uuid(),
            timestamp: Date.now(),
            query,
            queryOptions: action === "query" ? queryOptions : {},
        };
        dispatch(receiveFrame(frame));
        dispatch(setActiveFrame(frame.id));
        dispatch(executeFrame(frame.id));
    };
}
function runQuery ( query , action = "query" , queryOptions = { } ) { return dispatch => { const frame = { action , id : uuid ( ) , timestamp : Date . now ( ) , query , queryOptions : action === "query" ? queryOptions : { } , } ; dispatch ( receiveFrame ( frame ) ) ; dispatch ( setActiveFrame ( frame . id ) ) ; dispatch ( executeFrame ( frame . id ) ) ; } ; }
runQuery runs the query and displays the appropriate result in a frame
runQuery runs the query and displays the appropriate result in a frame