yushengchen
fe74dbea74
refactor(json): Consolidate JSON utilities and type definitions
Modified files:
- client/src/components/DynamicJsonForm.tsx
- client/src/components/JsonView.tsx
- client/src/components/ToolsTab.tsx
- client/src/components/__tests__/DynamicJsonForm.test.tsx
- client/src/utils/__tests__/jsonPathUtils.test.ts → client/src/utils/__tests__/jsonUtils.test.ts
- client/src/utils/__tests__/schemaUtils.test.ts
- client/src/utils/jsonPathUtils.ts → client/src/utils/jsonUtils.ts
- client/src/utils/schemaUtils.ts
Descriptions:
- Move JSON type definitions from DynamicJsonForm to centralized jsonUtils
- Consolidate utility functions (getDataType, tryParseJson) into jsonUtils
- Rename jsonPathUtils to jsonUtils for better semantic clarity
- Add comprehensive test coverage for new utility functions
- Update imports across all affected components
- Improve type references consistency throughout the codebase
2025-04-09 09:20:02 +08:00
..
2025-04-09 09:20:02 +08:00
2025-04-03 00:47:21 +05:30
2024-10-07 16:28:05 -07:00
2025-04-09 09:20:02 +08:00
2025-04-02 10:39:39 -03:00
2025-03-28 15:16:17 +09:00
2025-04-09 09:20:02 +08:00
2024-12-01 09:50:53 +01:00
2025-02-23 15:15:28 +00:00
2025-04-04 22:39:55 +09:00
2025-04-04 22:39:55 +09:00
2025-04-04 22:39:55 +09:00
2025-04-04 22:39:55 +09:00
2025-04-04 22:39:55 +09:00
2025-04-09 01:24:41 +05:30
2025-04-09 09:20:02 +08:00