Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[UI v2] poc: Re-organize variable queries and mutations using queryOptions factory pattern #16155

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ui-v2/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import globals from "globals";
import tseslint from "typescript-eslint";
import testingLibrary from "eslint-plugin-testing-library";
import jestDom from "eslint-plugin-jest-dom";
import pluginQuery from "@tanstack/eslint-plugin-query";

export default tseslint.config(
{ ignores: ["dist", "src/api/prefect.ts"] },
Expand Down Expand Up @@ -44,6 +45,7 @@ export default tseslint.config(
...react.configs["jsx-runtime"].rules,
},
},
...pluginQuery.configs["flat/recommended"],
...pluginRouter.configs["flat/recommended"],
{
files: ["tests/**/*.{ts,tsx}"],
Expand Down
164 changes: 164 additions & 0 deletions ui-v2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ui-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"@storybook/react": "^8.4.2",
"@storybook/react-vite": "^8.4.2",
"@storybook/test": "^8.4.2",
"@tanstack/eslint-plugin-query": "^5.61.6",
"@tanstack/eslint-plugin-router": "^1.77.7",
"@tanstack/router-devtools": "^1.58.15",
"@tanstack/router-plugin": "^1.58.12",
Expand Down
Loading
Loading