MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / JsonTextBoxProps

Interface JsonTextBoxProps

components/actions/editActionModal.tsx:496–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496interface JsonTextBoxProps {
497 title: "parameters" | "responses" | "request_body_contents" | "keys_to_keep";
498 validJSON: boolean;
499 setValidJSON: (valid: boolean) => void;
500 action: Action;
501 setLocalAction: (action: Action) => void;
502 disabled?: boolean;
503}
504
505const textToJson = (text: string) => {
506 return isJsonString(text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected