eslint
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Failing after 1m2s
CI / Web Blocking Checks (push) Failing after 35s
CI / Security Blocking Checks (push) Successful in 8s
CI / Clippy (push) Successful in 2m43s
CI / Web Advisory Checks (push) Successful in 35s
CI / Security Advisory Checks (push) Successful in 37s
CI / Tests (push) Failing after 9m28s

This commit is contained in:
2026-03-05 06:52:55 -06:00
parent f54eef3a14
commit 179180d604
102 changed files with 1031 additions and 532 deletions

View File

@@ -8,9 +8,13 @@ import type { ParamSchema } from "./ParamSchemaForm";
export type { ParamSchema };
import { extractProperties } from "./ParamSchemaForm";
/** A JSON-compatible value that can appear in display data */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type JsonValue = any;
interface ParamSchemaDisplayProps {
schema: ParamSchema;
values: Record<string, any>;
values: Record<string, JsonValue>;
className?: string;
emptyMessage?: string;
}
@@ -53,7 +57,7 @@ export default function ParamSchemaDisplay({
* Returns both the formatted value and whether it should be displayed inline
*/
const formatValue = (
value: any,
value: JsonValue,
type?: string,
): { element: React.JSX.Element; isInline: boolean } => {
if (value === undefined || value === null) {