// (C) 2026 GoodData Corporation
/**
 * Creates the {@link IChangeParameterValues} command.
 *
 * @remarks
 * Dispatching this command sets the provided parameter values as runtime overrides on the
 * currently active tab. Only parameters already present on the active tab are affected; values
 * for unknown parameter refs are ignored.
 *
 * Mirrors {@link changeFilterContextSelectionByParams} for parameters, so drill targets can
 * inherit the source dashboard's active parameter overrides.
 *
 * @param params - params for the command creator
 * @internal
 */
export function changeParameterValues({ parameters, tabLocalIdentifier, correlationId, }) {
    return {
        type: "GDC.DASH/CMD.PARAMETERS.CHANGE_VALUES",
        correlationId,
        payload: {
            parameters,
            tabLocalIdentifier,
        },
    };
}
