Files
next-tjwater-frontend/src/features/agent/frontend-action/chart.ts
T
jiang c0e4231b83
Generic Container CI/CD / test-build-publish (push) Successful in 1m52s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 1m52s
feat: expand intelligent investigation workspace
2026-10-30 17:30:19 +08:00

7 lines
276 B
TypeScript

import { safeChartInput } from "../presentation/command-schema";
export const frontendChartSchema = safeChartInput;
export const parseFrontendChart = (value: unknown) => {
const parsed = frontendChartSchema.safeParse(value);
return parsed.success ? parsed.data : null;
};