Commits
Alexandre Vryghem authored 60d93e653fa
1 + | import { followLink, FollowLinkConfig } from '../../../shared/utils/follow-link-config.model'; |
2 + | import { WorkflowItem } from '../models/workflowitem.model'; |
3 + | import { WorkspaceItem } from '../models/workspaceitem.model'; |
4 + | |
5 + | /** |
6 + | * The self links defined in this list are expected to be requested somewhere in the near future |
7 + | * Requesting them as embeds will limit the number of requests |
8 + | * |
9 + | * Needs to be in a separate file to prevent circular dependencies in webpack. |
10 + | */ |
11 + | export const SUBMISSION_LINKS_TO_FOLLOW: FollowLinkConfig<WorkflowItem | WorkspaceItem>[] = [ |
12 + | followLink('item'), |
13 + | followLink('collection'), |
14 + | ]; |