diff --git a/src/plugins/initiatives/initiative.js b/src/plugins/initiatives/initiative.js index 2046e97..3458b16 100644 --- a/src/plugins/initiatives/initiative.js +++ b/src/plugins/initiatives/initiative.js @@ -1,11 +1,10 @@ // @flow +import {type URL} from "../../core/references"; import {type NodeAddressT, NodeAddress} from "../../core/graph"; import {type NodeWeight} from "../../core/weights"; import {initiativeNodeType} from "./declaration"; -export type URL = string; - // Composite ID, used as input for NodeAddressT. export opaque type InitiativeId = string[]; diff --git a/src/plugins/initiatives/initiativesDirectory.js b/src/plugins/initiatives/initiativesDirectory.js index 59bde22..c27a1b8 100644 --- a/src/plugins/initiatives/initiativesDirectory.js +++ b/src/plugins/initiatives/initiativesDirectory.js @@ -3,6 +3,7 @@ import path from "path"; import fs from "fs-extra"; import globby from "globby"; +import {type URL} from "../../core/references"; import {type NodeAddressT, NodeAddress} from "../../core/graph"; import {type Compatible, fromCompat, toCompat} from "../../util/compat"; import {compatReader} from "../../backend/compatIO"; @@ -16,7 +17,6 @@ import { type InitiativeWeight, type InitiativeId, type InitiativeRepository, - type URL, createId, addressFromId, } from "./initiative";