Skip to content

Commit

Permalink
Fixed missing references in TS files (broken in a previous commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed May 18, 2015
1 parent cc8e072 commit 7446d56
Show file tree
Hide file tree
Showing 25 changed files with 35 additions and 10 deletions.
1 change: 1 addition & 0 deletions _references.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="./typings/tsd.d.ts" />
/// <reference path="./typings/skmatc/skmatc.d.ts" />
/// <reference path="./typings/bluebird/bluebird.d.ts" />
/// <reference path="./typings/concoction/concoction.d.ts" />
1 change: 1 addition & 0 deletions lib/Cache.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import Bluebird = require('bluebird');

export = ICache;
Expand Down
1 change: 1 addition & 0 deletions lib/CacheDirector.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = ICacheDirector;

interface ICacheDirector {
Expand Down
1 change: 1 addition & 0 deletions lib/Configuration.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = Configuration;

interface Configuration {
Expand Down
1 change: 1 addition & 0 deletions lib/Core.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import Bluebird = require('bluebird');
import MongoDB = require('mongodb');
import _ = require('lodash');
Expand Down
3 changes: 2 additions & 1 deletion lib/Cursor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Model = require('./Model');
/// <reference path="../_references.d.ts" />
import Model = require('./Model');
import General = require('./General');
import MongoDB = require('mongodb');
import Bluebird = require('bluebird');
Expand Down
1 change: 1 addition & 0 deletions lib/General.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export interface Callback<T> {
(err: Error, object?: T): void;
}
Expand Down
1 change: 1 addition & 0 deletions lib/Hooks.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import instance = require('./Instance');

export = IHooks;
Expand Down
3 changes: 2 additions & 1 deletion lib/Index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import MongoDB = require('mongodb');
/// <reference path="../_references.d.ts" />
import MongoDB = require('mongodb');

export interface Index {
spec: IndexSpecification;
Expand Down
3 changes: 2 additions & 1 deletion lib/Instance.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import iridium = require('./Core');
/// <reference path="../_references.d.ts" />
import iridium = require('./Core');
import Model = require('./Model');
import IPlugin = require('./Plugins');
import _ = require('lodash');
Expand Down
1 change: 1 addition & 0 deletions lib/Middleware.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import Core = require('./Core');

export = IMiddlewareFactory;
Expand Down
3 changes: 2 additions & 1 deletion lib/Model.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import MongoDB = require('mongodb');
/// <reference path="../_references.d.ts" />
import MongoDB = require('mongodb');
import Skmatc = require('skmatc');
import Concoction = require('concoction');
import Bluebird = require('bluebird');
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelCache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import ModelInterfaces = require('./ModelInterfaces');
/// <reference path="../_references.d.ts" />
import ModelInterfaces = require('./ModelInterfaces');
import Bluebird = require('bluebird');

export = ModelCache;
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelHandlers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Iridium = require('./Core');
/// <reference path="../_references.d.ts" />
import Iridium = require('./Core');
import ISchema = require('./Schema');
import MongoDB = require('mongodb');
import Model = require('./Model');
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import MongoDB = require('mongodb');
/// <reference path="../_references.d.ts" />
import MongoDB = require('mongodb');
import Model = require('./Model');
import Concoction = require('concoction');
import Skmatc = require('skmatc');
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelInterfaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Iridium = require('./Core');
/// <reference path="../_references.d.ts" />
import Iridium = require('./Core');
import ISchema = require('./Schema');
import MongoDB = require('mongodb');
import Model = require('./Model');
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelOptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import MongoDB = require('mongodb');
/// <reference path="../_references.d.ts" />
import MongoDB = require('mongodb');
import Index = require('./Index');
import Hooks = require('./Hooks');
import CacheDirector = require('./CacheDirector');
Expand Down
3 changes: 2 additions & 1 deletion lib/ModelSpecificInstance.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Model = require('./Model');
/// <reference path="../_references.d.ts" />
import Model = require('./Model');
import ModelInterfaces = require('./ModelInterfaces');
import util = require('util');
import _ = require('lodash');
Expand Down
1 change: 1 addition & 0 deletions lib/Plugins.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import core = require('./Core');
import ModelInterfaces = require('./ModelInterfaces');
import instance = require('./Instance');
Expand Down
1 change: 1 addition & 0 deletions lib/Schema.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = ISchema;

interface ISchema {
Expand Down
1 change: 1 addition & 0 deletions lib/cacheControllers/IDDirector.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import cacheDirector = require('../CacheDirector');
import MongoDB = require('mongodb');

Expand Down
1 change: 1 addition & 0 deletions lib/caches/MemoryCache.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import Bluebird = require('bluebird');
import cache = require('../Cache');

Expand Down
1 change: 1 addition & 0 deletions lib/caches/NoOpCache.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import cache = require('../Cache');
import Bluebird = require('bluebird');

Expand Down
1 change: 1 addition & 0 deletions lib/middleware/Express.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import http = require('http');
import Middleware = require('../Middleware');
import Core = require('../Core');
Expand Down
1 change: 1 addition & 0 deletions lib/utils/Omnom.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import _ = require('lodash');
import MongoDB = require('mongodb');

Expand Down

0 comments on commit 7446d56

Please sign in to comment.