Commit 82544e9b authored by tobinski's avatar tobinski
Browse files

Move wikidata-utils into utils folder

parent f012c80f
import {IProperty, WikidataProperties} from './utils/wikidata-properties'; import {IProperty, WikidataProperties} from './wikidata-properties';
/** /**
* Grab all the subclasses of start and end properties from wikidata. * Grab all the subclasses of start and end properties from wikidata.
......
...@@ -4,7 +4,7 @@ import * as ramda from 'ramda'; ...@@ -4,7 +4,7 @@ import * as ramda from 'ramda';
import {Transform} from 'stream'; import {Transform} from 'stream';
import {LoggerInstance} from 'winston'; import {LoggerInstance} from 'winston';
import {IPropertyCollection} from './utils/property-collection'; import {IPropertyCollection} from './utils/property-collection';
import {timeToDate} from './wikidata-utils'; import {timeToDate} from './utils/wikidata-utils';
class WikidataNormalizerTransformer extends Transform { class WikidataNormalizerTransformer extends Transform {
/** /**
......
...@@ -6,7 +6,7 @@ import converter from 'julian-gregorian'; ...@@ -6,7 +6,7 @@ import converter from 'julian-gregorian';
import {describe, it} from 'mocha'; import {describe, it} from 'mocha';
import nconf = require('nconf'); import nconf = require('nconf');
import WikidataNormalizerTransformer from '../src/wikidata-normalizer-transformer'; import WikidataNormalizerTransformer from '../src/wikidata-normalizer-transformer';
import {timeToDate, wikidataTimePropertiesLoader} from '../src/wikidata-utils'; import {timeToDate, wikidataTimePropertiesLoader} from '../src/utils/wikidata-utils';
import MockReadable from './mock-readable'; import MockReadable from './mock-readable';
import MockReporter from './mock-reporter'; import MockReporter from './mock-reporter';
import MockWriteable from './mock-writeable'; import MockWriteable from './mock-writeable';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment