Skip to content

refactor: move JsonOptions to config and isJSONRequest to utils#21564

Open
shulaoda wants to merge 1 commit intomainfrom
02-05-refactor_move_jsonoptions_to_config_and_isjsonrequest_to_utils
Open

refactor: move JsonOptions to config and isJSONRequest to utils#21564
shulaoda wants to merge 1 commit intomainfrom
02-05-refactor_move_jsonoptions_to_config_and_isjsonrequest_to_utils

Conversation

@shulaoda
Copy link
Member

@shulaoda shulaoda commented Feb 5, 2026

The plugins/json.ts file only contained type definitions and a utility function without any actual plugin logic.
This change relocates:

  • JsonOptions interface to config.ts alongside other config types
  • isJSONRequest utility to utils.ts where other request helpers live

@shulaoda shulaoda requested a review from sapphi-red February 5, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant