| 682 | } |
| 683 | |
| 684 | std::vector<std::string> DataProcessorService::transformIdsForPlugin(std::string_view plugin_id) const { |
| 685 | std::vector<std::string> ids; |
| 686 | for (const auto& [key, recipe] : transform_recipes_) { |
| 687 | (void)key; |
| 688 | if (recipe.owner_plugin == plugin_id) { |
| 689 | ids.push_back(recipe.user_id); |
| 690 | } |
| 691 | } |
| 692 | return ids; |
| 693 | } |
| 694 | |
| 695 | std::optional<std::string> DataProcessorService::transformRecipeJson(std::string_view namespaced_key) const { |
| 696 | const auto it = transform_recipes_.find(std::string(namespaced_key)); |