InvokeAI/invokeai/frontend/web/tsconfig.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
JSON
Raw Normal View History

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
2024-08-16 08:56:04 +00:00
"types": ["vite/client"],
"allowJs": false,
"skipLibCheck": true,
2024-07-18 09:21:40 +00:00
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
// TODO: Disabled for IDE performance issues with our translation JSON
// "resolveJsonModule": true,
feat: add multi-select to gallery multi-select actions include: - drag to board to move all to that board - right click to add all to board or delete all backend changes: - add routes for changing board for list of image names, deleting list of images - change image-specific routes to `images/i/{image_name}` to not clobber other routes (like `images/upload`, `images/delete`) - subclass pydantic `BaseModel` as `BaseModelExcludeNull`, which excludes null values when calling `dict()` on the model. this fixes inconsistent types related to JSON parsing null values into `null` instead of `undefined` - remove `board_id` from `remove_image_from_board` frontend changes: - multi-selection stuff uses `ImageDTO[]` as payloads, for dnd and other mutations. this gives us access to image `board_id`s when hitting routes, and enables efficient cache updates. - consolidate change board and delete image modals to handle single and multiples - board totals are now re-fetched on mutation and not kept in sync manually - was way too tedious to do this - fixed warning about nested `<p>` elements - closes #4088 , need to handle case when `autoAddBoardId` is `"none"` - add option to show gallery image delete button on every gallery image frontend refactors/organisation: - make typegen script js instead of ts - enable `noUncheckedIndexedAccess` to help avoid bugs when indexing into arrays, many small changes needed to satisfy TS after this - move all image-related endpoints into `endpoints/images.ts`, its a big file now, but this fixes a number of circular dependency issues that were otherwise felt impossible to resolve
2023-07-31 08:16:52 +00:00
"noUncheckedIndexedAccess": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"isolatedModules": true,
"noEmit": true,
2023-04-28 11:25:25 +00:00
"jsx": "react-jsx",
"baseUrl": "./",
"paths": {
2024-02-24 06:45:38 +00:00
"*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx", "*.d.ts", ".storybook/**/*"],
2023-04-28 11:25:25 +00:00
"exclude": ["src/services/fixtures/*", "node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }],
"ts-node": {
"compilerOptions": {
2024-08-16 08:56:04 +00:00
"jsx": "preserve",
"types": ["vite/client"]
},
2024-02-24 06:45:38 +00:00
"esm": true
}
}