Skip to content
Snippets Groups Projects
Commit b9103e8d authored by Tadeusz Miesiąc's avatar Tadeusz Miesiąc
Browse files

feat(publications): initialised modal and fetching publications

parent ab449b1e
No related branches found
No related tags found
4 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!118Feature/publications search and layout,!117Feature/project info publications list submap select,!114Draft: Feature/project info publications modal + table
export type ModalName = 'none' | 'overview-images' | 'mol-art' | 'login'; export type ModalName = 'none' | 'overview-images' | 'mol-art' | 'login' | 'publications';
import { z } from 'zod';
import { bioEntityContentSchema } from '@/models/bioEntityContentSchema'; import { bioEntityContentSchema } from '@/models/bioEntityContentSchema';
import { bioEntityResponseSchema } from '@/models/bioEntityResponseSchema'; import { bioEntityResponseSchema } from '@/models/bioEntityResponseSchema';
import { bioEntitySchema } from '@/models/bioEntitySchema'; import { bioEntitySchema } from '@/models/bioEntitySchema';
...@@ -30,13 +31,14 @@ import { ...@@ -30,13 +31,14 @@ import {
} from '@/models/overviewImageLink'; } from '@/models/overviewImageLink';
import { overviewImageView } from '@/models/overviewImageView'; import { overviewImageView } from '@/models/overviewImageView';
import { projectSchema } from '@/models/projectSchema'; import { projectSchema } from '@/models/projectSchema';
import { publicationSchema } from '@/models/publicationsSchema';
import { reactionSchema } from '@/models/reaction'; import { reactionSchema } from '@/models/reaction';
import { reactionLineSchema } from '@/models/reactionLineSchema'; import { reactionLineSchema } from '@/models/reactionLineSchema';
import { referenceSchema } from '@/models/referenceSchema'; import { referenceSchema } from '@/models/referenceSchema';
import { sessionSchemaValid } from '@/models/sessionValidSchema'; import { sessionSchemaValid } from '@/models/sessionValidSchema';
import { statisticsSchema } from '@/models/statisticsSchema'; import { statisticsSchema } from '@/models/statisticsSchema';
import { targetSchema } from '@/models/targetSchema'; import { targetSchema } from '@/models/targetSchema';
import { z } from 'zod'; import { publicationsResponseSchema } from '@/models/publicationsResponseSchema';
export type Project = z.infer<typeof projectSchema>; export type Project = z.infer<typeof projectSchema>;
export type OverviewImageView = z.infer<typeof overviewImageView>; export type OverviewImageView = z.infer<typeof overviewImageView>;
...@@ -72,3 +74,5 @@ export type Color = z.infer<typeof colorSchema>; ...@@ -72,3 +74,5 @@ export type Color = z.infer<typeof colorSchema>;
export type Statistics = z.infer<typeof statisticsSchema>; export type Statistics = z.infer<typeof statisticsSchema>;
export type CompartmentPathway = z.infer<typeof compartmentPathwaySchema>; export type CompartmentPathway = z.infer<typeof compartmentPathwaySchema>;
export type CompartmentPathwayDetails = z.infer<typeof compartmentPathwayDetailsSchema>; export type CompartmentPathwayDetails = z.infer<typeof compartmentPathwayDetailsSchema>;
export type PublicationsResponse = z.infer<typeof publicationsResponseSchema>;
export type Publication = z.infer<typeof publicationSchema>;
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