Skip to content

Commit

Permalink
Move evaluation-content route in its expected location #3239
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed May 15, 2024
1 parent 097d2ed commit 5a85f6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/http/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { pageHandler } from './page-handler';
import { ping } from './ping';
import { requireLoggedInUser } from './require-logged-in-user';
import { robots } from './robots';
import { evaluationContent, paramsCodec as evaluationContentParams } from '../evaluation-content';
import { CollectedPorts } from '../infrastructure';
import { aboutPage } from '../read-side/html-pages/about-page';
import { actionFailedPage, actionFailedPageParamsCodec } from '../read-side/html-pages/action-failed';
Expand All @@ -45,6 +44,7 @@ import { subscribeToListPage } from '../read-side/html-pages/subscribe-to-list-p
import { userPage as userFollowingPage, userPageParams as userFollowingPageParams } from '../read-side/html-pages/user-page/user-following-page';
import { userPage as userListsPage, userPageParams as userListsPageParams } from '../read-side/html-pages/user-page/user-lists-page';
import { generateDocmaps, docmapIndex } from '../read-side/non-html-views/docmaps';
import { evaluationContent, paramsCodec as evaluationContentParams } from '../read-side/non-html-views/evaluation-content';
import { listFeed } from '../read-side/non-html-views/list/list-feed';
import { applicationStatus } from '../read-side/non-html-views/status';
import { statusGroups } from '../read-side/non-html-views/status-groups';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as TE from 'fp-ts/TaskEither';
import { pipe } from 'fp-ts/function';
import { Params } from './params';
import { Queries } from '../read-models';
import { HtmlPage, toHtmlPage } from '../read-side/html-pages/html-page';
import { ExternalQueries } from '../third-parties';
import { ErrorPageBodyViewModel, toErrorPageBodyViewModel } from '../types/error-page-body-view-model';
import { toHtmlFragment } from '../types/html-fragment';
import { Queries } from '../../../read-models';
import { ExternalQueries } from '../../../third-parties';
import { ErrorPageBodyViewModel, toErrorPageBodyViewModel } from '../../../types/error-page-body-view-model';
import { toHtmlFragment } from '../../../types/html-fragment';
import { HtmlPage, toHtmlPage } from '../../html-pages/html-page';

type EvaluationContent = TE.TaskEither<ErrorPageBodyViewModel, HtmlPage>;

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as t from 'io-ts';
import * as EL from '../types/evaluation-locator';
import * as EL from '../../../types/evaluation-locator';

export const paramsCodec = t.type({
reviewid: EL.evaluationLocatorCodec,
Expand Down

0 comments on commit 5a85f6b

Please sign in to comment.