From 3ebfedc5c793af886ee35a62e9cb5bed988ccdbe Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Thu, 23 Apr 2015 16:17:03 +0200 Subject: [PATCH] Updated references in module index --- index.d.ts | 16 ++++++++++++++++ index.js | 3 +-- index.js.map | 2 +- index.ts | 3 +-- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..e60d8c8 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,16 @@ +/// +import _Core = require('./lib/Core'); +import _Model = require('./lib/Model'); +import _Instance = require('./lib/Instance'); +import _Schema = require('./lib/Schema'); +export = Iridium; +declare module Iridium { + class Core extends _Core { + } + class Model extends _Model.Model { + } + class Instance extends _Instance { + } + interface Schema extends _Schema { + } +} diff --git a/index.js b/index.js index f3ff96f..c9a695a 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ -/// -/// +/// var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } diff --git a/index.js.map b/index.js.map index 1d7adee..525af71 100644 --- a/index.js.map +++ b/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":["Iridium","Iridium.Core","Iridium.Core.constructor","Iridium.Model","Iridium.Model.constructor","Iridium.Instance","Iridium.Instance.constructor"],"mappings":"AAAA,sCAAsC;AACtC,uCAAuC;;;;;;;AAEvC,IAAO,KAAK,WAAW,YAAY,CAAC,CAAC;AACrC,IAAO,MAAM,WAAW,aAAa,CAAC,CAAC;AACvC,IAAO,SAAS,WAAW,gBAAgB,CAAC,CAAC;AAK7C,IAAO,OAAO,CAKb;AALD,WAAO,OAAO,EAAC,CAAC;IACZA,IAAaA,IAAIA;QAASC,UAAbA,IAAIA,UAAcA;QAA/BA,SAAaA,IAAIA;YAASC,8BAAKA;QAAGA,CAACA;QAADD,WAACA;IAADA,CAACA,AAAnCD,EAA0BA,KAAKA,EAAIA;IAAtBA,YAAIA,GAAJA,IAAsBA,CAAAA;IAAAA,CAACA;IACpCA,IAAaA,KAAKA;QAA+BG,UAApCA,KAAKA,UAAiEA;QAAnFA,SAAaA,KAAKA;YAA+BC,8BAAkCA;QAAGA,CAACA;QAADD,YAACA;IAADA,CAACA,AAAvFH,EAAiDA,MAAMA,CAACA,KAAKA,EAA0BA;IAA1EA,aAAKA,GAALA,KAA0EA,CAAAA;IAAAA,CAACA;IACxFA,IAAaA,QAAQA;QAA+BK,UAAvCA,QAAQA,UAA8DA;QAAnFA,SAAaA,QAAQA;YAA+BC,8BAA+BA;QAAGA,CAACA;QAADD,eAACA;IAADA,CAACA,AAAvFL,EAAoDA,SAASA,EAA0BA;IAA1EA,gBAAQA,GAARA,QAA0EA,CAAAA;IAAAA,CAACA;IAC7CA,CAACA;AAChDA,CAACA,EALM,OAAO,KAAP,OAAO,QAKb;AAAA,CAAC;AAPF,iBAAS,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":["Iridium","Iridium.Core","Iridium.Core.constructor","Iridium.Model","Iridium.Model.constructor","Iridium.Instance","Iridium.Instance.constructor"],"mappings":"AAAA,2CAA2C;;;;;;;AAE3C,IAAO,KAAK,WAAW,YAAY,CAAC,CAAC;AACrC,IAAO,MAAM,WAAW,aAAa,CAAC,CAAC;AACvC,IAAO,SAAS,WAAW,gBAAgB,CAAC,CAAC;AAK7C,IAAO,OAAO,CAKb;AALD,WAAO,OAAO,EAAC,CAAC;IACZA,IAAaA,IAAIA;QAASC,UAAbA,IAAIA,UAAcA;QAA/BA,SAAaA,IAAIA;YAASC,8BAAKA;QAAGA,CAACA;QAADD,WAACA;IAADA,CAACA,AAAnCD,EAA0BA,KAAKA,EAAIA;IAAtBA,YAAIA,GAAJA,IAAsBA,CAAAA;IAAAA,CAACA;IACpCA,IAAaA,KAAKA;QAA+BG,UAApCA,KAAKA,UAAiEA;QAAnFA,SAAaA,KAAKA;YAA+BC,8BAAkCA;QAAGA,CAACA;QAADD,YAACA;IAADA,CAACA,AAAvFH,EAAiDA,MAAMA,CAACA,KAAKA,EAA0BA;IAA1EA,aAAKA,GAALA,KAA0EA,CAAAA;IAAAA,CAACA;IACxFA,IAAaA,QAAQA;QAA+BK,UAAvCA,QAAQA,UAA8DA;QAAnFA,SAAaA,QAAQA;YAA+BC,8BAA+BA;QAAGA,CAACA;QAADD,eAACA;IAADA,CAACA,AAAvFL,EAAoDA,SAASA,EAA0BA;IAA1EA,gBAAQA,GAARA,QAA0EA,CAAAA;IAAAA,CAACA;IAC7CA,CAACA;AAChDA,CAACA,EALM,OAAO,KAAP,OAAO,QAKb;AAAA,CAAC;AAPF,iBAAS,OAAO,CAAC"} \ No newline at end of file diff --git a/index.ts b/index.ts index ad46e31..ee984ed 100644 --- a/index.ts +++ b/index.ts @@ -1,5 +1,4 @@ -/// -/// +/// import _Core = require('./lib/Core'); import _Model = require('./lib/Model');