Skip to content
Snippets Groups Projects

Feature/setup redux async

Merged Tadeusz Miesiąc requested to merge feature/setup-redux-async into development
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
src/types/api.ts 0 → 100644
3 import { organism } from '@/models/organism';
4 import { projectSchema } from '@/models/project';
5
6 export interface QueryOptions<Response> {
7 method: 'GET' | 'POST';
8 path: string;
9 response: Response;
10 }
11
12 export interface Query<Params, Response> {
13 (params: Params): QueryOptions<Response>;
14 }
15
16 export type Project = z.infer<typeof projectSchema>;
17 export type Organism = z.infer<typeof organism>;
18 export type Disease = z.infer<typeof disease>;
  • mateuszmiko approved this merge request

    approved this merge request

  • Tadeusz Miesiąc marked this merge request as ready

    marked this merge request as ready

  • Tadeusz Miesiąc mentioned in commit 18e5b773

    mentioned in commit 18e5b773

  • Please register or sign in to reply
    Loading