{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8014","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8014/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8014/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8014/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8014","id":132136529,"number":8014,"title":"Lovefield.d.ts : the timing option in RawForeignKeySpec type is wrong","user":{"login":"Kornik34","id":16454213,"avatar_url":"https://avatars.githubusercontent.com/u/16454213?v=3","gravatar_id":"","url":"https://api.github.com/users/Kornik34","html_url":"https://github.com/Kornik34","followers_url":"https://api.github.com/users/Kornik34/followers","following_url":"https://api.github.com/users/Kornik34/following{/other_user}","gists_url":"https://api.github.com/users/Kornik34/gists{/gist_id}","starred_url":"https://api.github.com/users/Kornik34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kornik34/subscriptions","organizations_url":"https://api.github.com/users/Kornik34/orgs","repos_url":"https://api.github.com/users/Kornik34/repos","events_url":"https://api.github.com/users/Kornik34/events{/privacy}","received_events_url":"https://api.github.com/users/Kornik34/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-08T13:05:06Z","updated_at":"2016-02-11T14:55:48Z","closed_at":"2016-02-11T14:55:48Z","pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/8014","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8014","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8014.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8014.patch"},"body":"Actually, in RawForeignKeySpec, the options \"action\" and \"timing\" are both of type ConstraintAction. The \"timing\" option should be of type \"ConstraintTiming\" like this:\r\n\r\n\r\ntype RawForeignKeySpec = {\r\nlocal: string\r\nref: string\r\naction: lf.ConstraintAction\r\ntiming: lf.ConstraintTiming\r\n}"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/182896848","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8014#issuecomment-182896848","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8014","id":182896848,"user":{"login":"Kornik34","id":16454213,"avatar_url":"https://avatars.githubusercontent.com/u/16454213?v=3","gravatar_id":"","url":"https://api.github.com/users/Kornik34","html_url":"https://github.com/Kornik34","followers_url":"https://api.github.com/users/Kornik34/followers","following_url":"https://api.github.com/users/Kornik34/following{/other_user}","gists_url":"https://api.github.com/users/Kornik34/gists{/gist_id}","starred_url":"https://api.github.com/users/Kornik34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kornik34/subscriptions","organizations_url":"https://api.github.com/users/Kornik34/orgs","repos_url":"https://api.github.com/users/Kornik34/repos","events_url":"https://api.github.com/users/Kornik34/events{/privacy}","received_events_url":"https://api.github.com/users/Kornik34/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T14:55:48Z","updated_at":"2016-02-11T14:55:48Z","body":"My PR was about Lovefield.d.ts, not angularjs-toaster.d.ts...\r\nLGTM"}}