{"action":"created","issue":{"url":"https://api.github.com/repos/citation-style-language/schema/issues/139","repository_url":"https://api.github.com/repos/citation-style-language/schema","labels_url":"https://api.github.com/repos/citation-style-language/schema/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/citation-style-language/schema/issues/139/comments","events_url":"https://api.github.com/repos/citation-style-language/schema/issues/139/events","html_url":"https://github.com/citation-style-language/schema/issues/139","id":260034692,"number":139,"title":"Contribution request: Typescript type definitions ","user":{"login":"dsifford","id":5240018,"avatar_url":"https://avatars0.githubusercontent.com/u/5240018?v=4","gravatar_id":"","url":"https://api.github.com/users/dsifford","html_url":"https://github.com/dsifford","followers_url":"https://api.github.com/users/dsifford/followers","following_url":"https://api.github.com/users/dsifford/following{/other_user}","gists_url":"https://api.github.com/users/dsifford/gists{/gist_id}","starred_url":"https://api.github.com/users/dsifford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsifford/subscriptions","organizations_url":"https://api.github.com/users/dsifford/orgs","repos_url":"https://api.github.com/users/dsifford/repos","events_url":"https://api.github.com/users/dsifford/events{/privacy}","received_events_url":"https://api.github.com/users/dsifford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-23T19:54:39Z","updated_at":"2017-09-24T15:11:32Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI've got some type definitions that I use in multiple projects for the CSL specification and it's become sort of a pain for me to manually copy and paste them between projects.\r\n\r\nI'm opening this issue to see what you all would feel about me submitting a pull request with both the typescript definitions and a package.json file so that users can install them using npm.\r\n\r\nLet me know! Thanks."},"comment":{"url":"https://api.github.com/repos/citation-style-language/schema/issues/comments/331716305","html_url":"https://github.com/citation-style-language/schema/issues/139#issuecomment-331716305","issue_url":"https://api.github.com/repos/citation-style-language/schema/issues/139","id":331716305,"user":{"login":"dsifford","id":5240018,"avatar_url":"https://avatars0.githubusercontent.com/u/5240018?v=4","gravatar_id":"","url":"https://api.github.com/users/dsifford","html_url":"https://github.com/dsifford","followers_url":"https://api.github.com/users/dsifford/followers","following_url":"https://api.github.com/users/dsifford/following{/other_user}","gists_url":"https://api.github.com/users/dsifford/gists{/gist_id}","starred_url":"https://api.github.com/users/dsifford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsifford/subscriptions","organizations_url":"https://api.github.com/users/dsifford/orgs","repos_url":"https://api.github.com/users/dsifford/repos","events_url":"https://api.github.com/users/dsifford/events{/privacy}","received_events_url":"https://api.github.com/users/dsifford/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T15:11:32Z","updated_at":"2017-09-24T15:11:32Z","author_association":"NONE","body":"@rmzelle Yes, all the PR would be doing is adding a type definition file that describes the structure of both `CSL.Citation` and `CSL.Data` and the package.json would simply be there in order to allow users to install using npm.\r\n\r\nDoes the CSL team have a registered npm org name yet? (i.e. `@citation-style-language/some-package`) \r\n\r\nIf not, I'd recommend creating one for free so that packages can be installed using the `citation-style-language` namespace. In other words, you could create an npm package for the types and whatever else for this repo at `@citation-style-language/schema`, etc. Just a recommendation. No big deal if you'd prefer to wait for now.\r\n\r\nRe: `1.0.1` version target: Here's an example of the types I have defined currently for `CSL.Data`. Let me know if you see anything incorrect. https://github.com/dsifford/astrocite/blob/master/packages/astrocite-eutils/src/globals.d.ts"}}
{"actor":{"display_login":"dsifford"}}