remove usage of old reaction endpoint
const response = await axiosInstance.get<Reaction[]>(
apiPath.getReactionById(elementId, modelId),
);
replace it with new api
const response = await axiosInstance.get<Reaction[]>(
apiPath.getReactionById(elementId, modelId),
);
replace it with new api
changed milestone to %v19.0.0~alpha.0
316-remove-usage-of-old-reaction-endpoint
to address this issue created branch 316-remove-usage-of-old-reaction-endpoint
to address this issue
mentioned in merge request !311 (merged)
remove:
import { z } from 'zod';
export const productsSchema = z.union([
z.object({
aliasId: z.number(),
stoichiometry: z.number().nullable(),
type: z.optional(z.string()),
}),
z.object({
element: z.number(),
stoichiometry: z.number().nullable(),
type: z.optional(z.string()),
}),
]);
mentioned in commit 54a892c7
closed with merge request !311 (merged)