From 277a6d9fe3d16ac607a3a85dec4e21581b063c74 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <p.gawron@atcomp.pl> Date: Thu, 21 Nov 2024 08:54:34 +0100 Subject: [PATCH] rmeove reactionLineSchema --- src/models/reactionLineSchema.ts | 8 -------- src/types/models.ts | 2 -- 2 files changed, 10 deletions(-) delete mode 100644 src/models/reactionLineSchema.ts diff --git a/src/models/reactionLineSchema.ts b/src/models/reactionLineSchema.ts deleted file mode 100644 index 4be9fa0c..00000000 --- a/src/models/reactionLineSchema.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { z } from 'zod'; -import { positionSchema } from './positionSchema'; - -export const reactionLineSchema = z.object({ - start: positionSchema, - end: positionSchema, - type: z.string(), -}); diff --git a/src/types/models.ts b/src/types/models.ts index bf000af7..4821833d 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -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>; -- GitLab