Skip to content

Commit

Permalink
Move docmaps/supported-groups in its intended location #3239
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed May 15, 2024
1 parent 79534ba commit d03145a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/docmaps/docmap-index/construct-view-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { filterByParams } from './filter-by-params';
import { identifyAllPossibleIndexEntries } from './identify-all-possible-index-entries';
import { Params } from './params';
import { DocmapIndexViewModel } from './view-model';
import { supportedGroups } from '../../read-side/non-html-views/docmaps/supported-groups';
import { constructDocmapViewModel } from '../docmap/construct-docmap-view-model';
import { supportedGroups } from '../supported-groups';

type ConstructDocmapIndexViewModel = (dependencies: Dependencies)
=> (params: Params)
Expand Down
2 changes: 1 addition & 1 deletion src/docmaps/docmap/generate-docmaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { Ports as DocmapPorts, constructDocmapViewModel } from './construct-docm
import { Docmap } from './docmap-type';
import { renderDocmap } from './render-docmap';
import { Queries } from '../../read-models';
import { supportedGroups } from '../../read-side/non-html-views/docmaps/supported-groups';
import { articleIdCodec, ArticleId, toExpressionDoi } from '../../types/article-id';
import * as EDOI from '../../types/expression-doi';
import { supportedGroups } from '../supported-groups';

export type Ports = DocmapPorts & Queries;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as GID from '../types/group-id';
import * as GID from '../../../types/group-id';

const arcadiaScienceGroupId = GID.fromValidatedString('bc1f956b-12e8-4f5c-aadc-70f91347bd18');
const asapBioGroupId = GID.fromValidatedString('50401e46-b764-47b7-8557-6bb35444b7c8');
Expand Down
2 changes: 1 addition & 1 deletion test/docmaps/docmap-index/construct-view-model.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { publisherAccountId } from '../../../src/docmaps/docmap/publisher-accoun
import { constructViewModel } from '../../../src/docmaps/docmap-index/construct-view-model';
import * as ER from '../../../src/docmaps/docmap-index/error-response';
import { Params } from '../../../src/docmaps/docmap-index/params';
import { supportedGroups } from '../../../src/docmaps/supported-groups';
import { supportedGroups } from '../../../src/read-side/non-html-views/docmaps/supported-groups';
import { toExpressionDoi } from '../../../src/types/article-id';
import { TestFramework, createTestFramework } from '../../framework';
import { arbitraryString } from '../../helpers';
Expand Down

0 comments on commit d03145a

Please sign in to comment.