소스 검색

Made sure every class/enum is exported

martijndierckx 5 년 전
부모
커밋
acd3e9658f
6개의 변경된 파일26개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 0
      dist/index.d.ts
  2. 1 0
      dist/index.d.ts.map
  3. 11 0
      dist/index.js
  4. 1 0
      dist/index.js.map
  5. 2 2
      package.json
  6. 5 0
      src/index.ts

+ 6 - 0
dist/index.d.ts

@@ -0,0 +1,6 @@
+export * from "./Hydrawise";
+export * from "./HydrawiseZone";
+export * from "./HydrawiseController";
+export * from "./HydrawiseConnectionType";
+export * from "./HydrawiseCommandException";
+//# sourceMappingURL=index.d.ts.map

+ 1 - 0
dist/index.d.ts.map

@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}

+ 11 - 0
dist/index.js

@@ -0,0 +1,11 @@
+"use strict";
+function __export(m) {
+    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
+}
+Object.defineProperty(exports, "__esModule", { value: true });
+__export(require("./Hydrawise"));
+__export(require("./HydrawiseZone"));
+__export(require("./HydrawiseController"));
+__export(require("./HydrawiseConnectionType"));
+__export(require("./HydrawiseCommandException"));
+//# sourceMappingURL=index.js.map

+ 1 - 0
dist/index.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,iCAA4B;AAC5B,qCAAgC;AAChC,2CAAsC;AACtC,+CAA0C;AAC1C,iDAA4C"}

+ 2 - 2
package.json

@@ -6,9 +6,9 @@
     "type": "git",
     "url": "https://github.com/paulmolluzzo/hydrawise-api.git"
   },
-  "main": "dist/Hydrawise.js",
+  "main": "dist/index.js",
   "type": "commonjs",
-  "types": "./dist/Hydrawise.d.ts",
+  "types": "./dist/index.d.ts",
   "keywords": [
     "hydrawise",
     "api",

+ 5 - 0
src/index.ts

@@ -0,0 +1,5 @@
+export * from "./Hydrawise";
+export * from "./HydrawiseZone";
+export * from "./HydrawiseController";
+export * from "./HydrawiseConnectionType";
+export * from "./HydrawiseCommandException";