* @brief Input schema for fs.search. */
| 477 | * @brief Input schema for fs.search. |
| 478 | */ |
| 479 | static QJsonObject fsSearchInputSchema() |
| 480 | { |
| 481 | QJsonObject props; |
| 482 | props[QStringLiteral("query")] = |
| 483 | makeProperty(QStringLiteral("string"), |
| 484 | QStringLiteral("Text to find (case-insensitive) across the " |
| 485 | "workspace and dragged-in paths.")); |
| 486 | props[QStringLiteral("isRegex")] = makeProperty( |
| 487 | QStringLiteral("boolean"), |
| 488 | QStringLiteral("Treat query as a regular expression instead of a literal string.")); |
| 489 | return makeObjectSchema(props, QJsonArray{QStringLiteral("query")}); |
| 490 | } |
| 491 | |
| 492 | /** |
| 493 | * @brief Input schema for fs.write and fs.append. |
no test coverage detected