Skip to content
Snippets Groups Projects
Commit 277a6d9f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

rmeove reactionLineSchema

parent db888f72
No related branches found
No related tags found
1 merge request!311Resolve "remove usage of old reaction endpoint"
import { z } from 'zod';
import { positionSchema } from './positionSchema';
export const reactionLineSchema = z.object({
start: positionSchema,
end: positionSchema,
type: z.string(),
});
......@@ -50,7 +50,6 @@ import { pluginSchema } from '@/models/pluginSchema';
import { projectSchema } from '@/models/projectSchema';
import { publicationsResponseSchema } from '@/models/publicationsResponseSchema';
import { publicationSchema } from '@/models/publicationsSchema';
import { reactionLineSchema } from '@/models/reactionLineSchema';
import { referenceSchema } from '@/models/referenceSchema';
import { sessionSchemaValid } from '@/models/sessionValidSchema';
import { statisticsSchema } from '@/models/statisticsSchema';
......@@ -125,7 +124,6 @@ export type NewReactions = z.infer<typeof newReactionsSchema>;
export type Operator = z.infer<typeof operatorSchema>;
export type ReactionProduct = z.infer<typeof reactionProduct>;
export type Reference = z.infer<typeof referenceSchema>;
export type ReactionLine = z.infer<typeof reactionLineSchema>;
export type ElementSearchResult = z.infer<typeof elementSearchResult>;
export type ElementSearchResultType = z.infer<typeof elementSearchResultType>;
export type SessionValid = z.infer<typeof sessionSchemaValid>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment