{"action":"created","issue":{"url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/24","labels_url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/24/comments","events_url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/24/events","html_url":"https://github.com/meteor-typescript/meteor-typescript-libs/issues/24","id":102479296,"number":24,"title":"Declarations from data.js for Meteor 1.2 not completly generated","user":{"login":"D1no","id":2397125,"avatar_url":"https://avatars.githubusercontent.com/u/2397125?v=3","gravatar_id":"","url":"https://api.github.com/users/D1no","html_url":"https://github.com/D1no","followers_url":"https://api.github.com/users/D1no/followers","following_url":"https://api.github.com/users/D1no/following{/other_user}","gists_url":"https://api.github.com/users/D1no/gists{/gist_id}","starred_url":"https://api.github.com/users/D1no/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D1no/subscriptions","organizations_url":"https://api.github.com/users/D1no/orgs","repos_url":"https://api.github.com/users/D1no/repos","events_url":"https://api.github.com/users/D1no/events{/privacy}","received_events_url":"https://api.github.com/users/D1no/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T23:22:09Z","updated_at":"2015-08-28T21:07:07Z","closed_at":"2015-08-28T21:05:18Z","body":"I tried to generate a new meteor.d.ts file particularly for the new [Build Plugins API](https://github.com/meteor/meteor/wiki/Build-Plugins-API) that provides the Plugin class to register compilers etc. See here: [data.js Plugin Class](https://github.com/meteor/meteor/blob/devel/docs/client/data.js#L6351-L6523)\r\n\r\nI assume the new classes/modules need to be added to the signature mappings?\r\n\r\n```\r\n➜  meteor-typescript-libs git:(master) ✗ Make\r\nnpm install; node ./scripts/generate-definition-files.js\r\nGlobal Modules: [\"Accounts\",\"App\",\"Assets\",\"Blaze\",\"Cordova\",\"DDP\",\"DDPCommon\",\"EJSON\",\"Match\",\"Meteor\",\"Mongo\",\"Npm\",\"Package\",\"Tracker\",\"Session\",\"HTTP\",\"Email\"]\r\nGlobal Classes: [\"AccountsClient\",\"AccountsCommon\",\"AccountsServer\",\"CompileStep\",\"PackageAPI\",\"ReactiveVar\",\"Subscription\",\"Template\"]\r\nFile written to ./definitions/meteor.d.ts\r\nFile written to ./lib/data.js\r\nFile written to ./script-definition-tests/underscore.string-tests.ts\r\nFile written to ./tinytest-definition-tests/underscore.string-tests.ts\r\nFile written to ./script-definition-tests/bootstrap-tests.ts\r\nFile written to ./script-definition-tests/underscore-tests.ts\r\nFile written to ./tinytest-definition-tests/bootstrap-tests.ts\r\nFile written to ./tinytest-definition-tests/underscore-tests.ts\r\nFile written to ./script-definition-tests/backbone-tests.ts\r\nFile written to ./tinytest-definition-tests/backbone-tests.ts\r\nFile written to ./script-definition-tests/handlebars-tests.ts\r\nFile written to ./tinytest-definition-tests/handlebars-tests.ts\r\nFile written to ./definitions/bootstrap.d.ts\r\nFile written to ./definitions/handlebars.d.ts\r\nFile written to ./script-definition-tests/node-fibers-tests.ts\r\nFile written to ./tinytest-definition-tests/node-fibers-tests.ts\r\nFile written to ./tinytest-definition-tests/node-tests.ts\r\nFile written to ./definitions/node-fibers.d.ts\r\nFile written to ./script-definition-tests/node-tests.ts\r\nFile written to ./definitions/underscore.string.d.ts\r\nFile written to ./definitions/backbone.d.ts\r\nFile written to ./definitions/node.d.ts\r\nFile written to ./definitions/google.maps.d.ts\r\nFile written to ./definitions/underscore.d.ts\r\nFile written to ./definitions/d3.d.ts\r\nFile written to ./tinytest-definition-tests/jquery-tests.ts\r\nFile written to ./script-definition-tests/jquery-tests.ts\r\nFile written to ./script-definition-tests/d3-tests.ts\r\nFile written to ./tinytest-definition-tests/d3-tests.ts\r\nFile written to ./definitions/jquery.d.ts\r\nnpm install; node ./scripts/test-definition-files.js\r\nRunning transpilation test: backbone-tests.ts\r\nRunning transpilation test: bootstrap-tests.ts\r\nRunning transpilation test: d3-tests.ts\r\nRunning transpilation test: handlebars-tests.ts\r\nRunning transpilation test: jquery-tests.ts\r\nRunning transpilation test: meteor-tests.ts\r\nRunning transpilation test: node-fibers-tests.ts\r\nRunning transpilation test: node-tests.ts\r\nRunning transpilation test: underscore-tests.ts\r\nRunning transpilation test: underscore.string-tests.ts\r\nscript-definition-tests/node-tests.ts(1,1): error TS6053: File 'definitions/node-0.11.d.ts' not found.\r\nscript-definition-tests/node-tests.ts(3,25): error TS2307: Cannot find module 'assert'.\r\nscript-definition-tests/node-tests.ts(4,21): error TS2307: Cannot find module 'fs'.\r\nscript-definition-tests/node-tests.ts(5,25): error TS2307: Cannot find module 'events'.\r\nscript-definition-tests/node-tests.ts(6,23): error TS2307: Cannot find module 'zlib'.\r\nscript-definition-tests/node-tests.ts(7,22): error TS2307: Cannot find module 'url'.\r\nscript-definition-tests/node-tests.ts(8,23): error TS2307: Cannot find module 'util'.\r\nscript-definition-tests/node-tests.ts(9,25): error TS2307: Cannot find module 'crypto'.\r\nscript-definition-tests/node-tests.ts(10,23): error TS2307: Cannot find module 'http'.\r\nscript-definition-tests/node-tests.ts(11,22): error TS2307: Cannot find module 'net'.\r\nscript-definition-tests/node-tests.ts(12,24): error TS2307: Cannot find module 'dgram'.\r\nscript-definition-tests/node-tests.ts(13,30): error TS2307: Cannot find module 'querystring'.\r\nscript-definition-tests/node-tests.ts(14,27): error TS2307: Cannot find module 'readline'.\r\nscript-definition-tests/node-tests.ts(45,13): error TS2304: Cannot find name 'Buffer'.\r\nscript-definition-tests/node-tests.ts(58,9): error TS2335: 'super' can only be referenced in a derived class.\r\nscript-definition-tests/node-tests.ts(60,14): error TS2339: Property 'emit' does not exist on type 'Networker'.\r\nscript-definition-tests/node-tests.ts(128,57): error TS2304: Cannot find name 'Buffer'.\r\nscript-definition-tests/node-tests.ts(131,13): error TS2304: Cannot find name 'Buffer'.\r\nscript-definition-tests/node-tests.ts(151,10): error TS2304: Cannot find name 'process'.\r\nscript-definition-tests/node-tests.ts(152,11): error TS2304: Cannot find name 'process'.\r\n\r\nError: Error: Command failed: /bin/sh -c tsc -m commonjs ./script-definition-tests/node-tests.ts\r\n\r\ndefinitions/meteor.d.ts(332,6): error TS1134: Variable declaration expected.\r\ndefinitions/meteor.d.ts(333,6): error TS1134: Variable declaration expected.\r\ndefinitions/meteor.d.ts(334,6): error TS1134: Variable declaration expected.\r\ndefinitions/meteor.d.ts(808,116): error TS1005: ',' expected.\r\n\r\nError: Error: Command failed: /bin/sh -c tsc ./script-definition-tests/meteor-tests.ts\r\n```"},"comment":{"url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/comments/135887766","html_url":"https://github.com/meteor-typescript/meteor-typescript-libs/issues/24#issuecomment-135887766","issue_url":"https://api.github.com/repos/meteor-typescript/meteor-typescript-libs/issues/24","id":135887766,"user":{"login":"fullflavedave","id":543962,"avatar_url":"https://avatars.githubusercontent.com/u/543962?v=3","gravatar_id":"","url":"https://api.github.com/users/fullflavedave","html_url":"https://github.com/fullflavedave","followers_url":"https://api.github.com/users/fullflavedave/followers","following_url":"https://api.github.com/users/fullflavedave/following{/other_user}","gists_url":"https://api.github.com/users/fullflavedave/gists{/gist_id}","starred_url":"https://api.github.com/users/fullflavedave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullflavedave/subscriptions","organizations_url":"https://api.github.com/users/fullflavedave/orgs","repos_url":"https://api.github.com/users/fullflavedave/repos","events_url":"https://api.github.com/users/fullflavedave/events{/privacy}","received_events_url":"https://api.github.com/users/fullflavedave/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T21:07:07Z","updated_at":"2015-08-28T21:07:07Z","body":"I just updated the definitions for Meteor version 1.1.0.3 since 1.2 is still in Release Candidate stage.  I'll update the definitions for Meteor version 1.2 once it's officially released."}}