Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore(web): enforce query options lint (#41754)
yyhd9ff45022ba9
diff --git a/lint.config.ts b/lint.config.tsindex e0cd7283be0..7a47e29a00d 100644--- a/lint.config.ts+++ b/lint.config.ts@@ -771,6 +771,7 @@ export const lintConfig = {'@tanstack/query/infinite-query-property-order': 'error','@tanstack/query/no-void-query-fn': 'error','@tanstack/query/mutation-property-order': 'error',+ '@tanstack/query/prefer-query-options': 'error','react/exhaustive-deps': 'warn','react/no-array-index-key': 'warn','react/no-clone-element': 'warn',diff --git a/oxlint-suppressions.json b/oxlint-suppressions.jsonindex d85da0688e3..ffa19591de1 100644--- a/oxlint-suppressions.json+++ b/oxlint-suppressions.json@@ -414,6 +414,16 @@"count": 1}},+ "web/app/components/app/deploy/shared/deployment-configuration/use-deployment-configuration-queries.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },+ "web/app/components/app/in-site-message/__tests__/notification.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },"web/app/components/app/log/filter.tsx": {"react/only-export-components": {"count": 1@@ -2135,6 +2145,11 @@"count": 1}},+ "web/app/components/datasets/documents/detail/embedding/hooks/use-embedding-status.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },"web/app/components/datasets/documents/detail/metadata/index.tsx": {"no-barrel-files/no-barrel-files": {"count": 1@@ -2362,6 +2377,11 @@"count": 4}},+ "web/app/components/header/account-setting/model-provider-page/hooks.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/app/components/header/account-setting/model-provider-page/model-auth/add-custom-model.tsx": {"jsx-a11y/click-events-have-key-events": {"count": 2@@ -2464,6 +2484,11 @@"count": 3}},+ "web/app/components/header/account-setting/model-provider-page/provider-added-card/provider-card-actions.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/app/components/header/account-setting/model-provider-page/utils.ts": {"no-barrel-files/no-barrel-files": {"count": 2@@ -2477,6 +2502,11 @@"count": 1}},+ "web/app/components/header/github-star/index.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },"web/app/components/main-nav/components/workspace-switcher.tsx": {"jsx-a11y/no-autofocus": {"count": 1@@ -2542,6 +2572,9 @@}},"web/app/components/plugins/marketplace/hooks.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 4+ },"no-restricted-imports": {"count": 1}@@ -2554,6 +2587,11 @@"count": 1}},+ "web/app/components/plugins/marketplace/query.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/app/components/plugins/plugin-auth/authorized/index.tsx": {"no-restricted-imports": {"count": 1@@ -2995,6 +3033,11 @@"count": 1}},+ "web/app/components/snippet-list/__tests__/reflow.browser.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/app/components/snippets/components/snippet-run-panel.tsx": {"jsx-a11y/click-events-have-key-events": {"count": 5@@ -3595,6 +3638,11 @@"count": 1}},+ "web/app/components/workflow/nodes/agent-v2/__tests__/hooks.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 6+ }+ },"web/app/components/workflow/nodes/agent/default.ts": {"typescript/no-explicit-any": {"count": 3@@ -4862,6 +4910,11 @@"count": 1}},+ "web/app/signin/normal-form.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },"web/app/signup/layout.tsx": {"typescript/no-explicit-any": {"count": 1@@ -4880,6 +4933,36 @@"count": 1}},+ "web/features/agent-v2/agent-detail/configure/components/orchestrate/files/__tests__/index.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },+ "web/features/agent-v2/agent-detail/configure/components/preview/working-directory-panel.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 4+ }+ },+ "web/features/agent-v2/agent-detail/configure/use-agent-configure-build-draft.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },+ "web/features/agent-v2/agent-detail/logs/__tests__/page.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },+ "web/features/new-rag/__tests__/use-query-data-update-count.spec.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },+ "web/features/skills/detail/file-editor.tsx": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/features/tag-management/components/tag-item-editor.tsx": {"jsx-a11y/no-autofocus": {"count": 1@@ -4981,21 +5064,33 @@}},"web/service/access-control/use-app-access-control.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1}},"web/service/access-control/use-member-roles.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1}},"web/service/access-control/use-workspace-access-rules.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1}},"web/service/access-control/use-workspace-roles.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 6+ },"no-restricted-imports": {"count": 1}@@ -5029,6 +5124,11 @@"count": 3}},+ "web/service/common.spec.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/service/common.ts": {"no-restricted-imports": {"count": 1@@ -5072,11 +5172,17 @@}},"web/service/knowledge/use-dataset.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 8+ },"no-restricted-imports": {"count": 1}},"web/service/knowledge/use-document.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 4+ },"no-restricted-imports": {"count": 1}@@ -5087,16 +5193,25 @@}},"web/service/knowledge/use-import.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1}},"web/service/knowledge/use-metadata.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 8+ },"no-restricted-imports": {"count": 1}},"web/service/knowledge/use-segment.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1}@@ -5142,12 +5257,23 @@"count": 1}},+ "web/service/use-common.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 12+ }+ },"web/service/use-datasource.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 3+ },"no-restricted-imports": {"count": 1}},"web/service/use-endpoints.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ },"no-restricted-imports": {"count": 1},@@ -5155,27 +5281,44 @@"count": 7}},+ "web/service/use-explore.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/service/use-flow.ts": {"eslint-react/no-unnecessary-use-prefix": {"count": 1}},"web/service/use-log.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 7+ },"no-restricted-imports": {"count": 1}},"web/service/use-models.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 3+ },"no-restricted-imports": {"count": 1}},"web/service/use-pipeline.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 9+ },"no-restricted-imports": {"count": 1}},"web/service/use-plugins-auth.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 3+ },"no-restricted-imports": {"count": 1},@@ -5183,12 +5326,53 @@"count": 4}},+ "web/service/use-plugins.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 13+ }+ },+ "web/service/use-share.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 8+ }+ },+ "web/service/use-snippet-workflows.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },+ "web/service/use-snippets.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ }+ },+ "web/service/use-strategy.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 2+ }+ },"web/service/use-tools.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 15+ },"no-restricted-imports": {"count": 1}},+ "web/service/use-triggers.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 6+ }+ },+ "web/service/use-try-app.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 4+ }+ },"web/service/use-workflow.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 9+ },"no-restricted-imports": {"count": 1},@@ -5197,6 +5381,9 @@}},"web/service/use-workspace.ts": {+ "@tanstack/query/prefer-query-options": {+ "count": 1+ },"no-restricted-imports": {"count": 1}@@ -5272,4 +5459,4 @@"count": 2}}-}+}\ No newline at end of file