{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/165956675","pull_request_review_id":93971033,"id":165956675,"diff_hunk":"@@ -84,9 +84,9 @@ export interface DeltaStatic {\n     concat(other: DeltaStatic): DeltaStatic;\n     diff(other: DeltaStatic, index?: number): DeltaStatic;\n     eachLine(predicate: (line: DeltaStatic, attributes: StringMap, idx: number) => any, newline?: string): DeltaStatic;\n-    transform(index: number): number;\n+    transform(index: number, priority?: boolean): number;","path":"types/quill/index.d.ts","position":5,"original_position":5,"commit_id":"be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0","original_commit_id":"be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0","user":{"login":"guillaume-ro-fr","id":1820051,"avatar_url":"https://avatars2.githubusercontent.com/u/1820051?v=4","gravatar_id":"","url":"https://api.github.com/users/guillaume-ro-fr","html_url":"https://github.com/guillaume-ro-fr","followers_url":"https://api.github.com/users/guillaume-ro-fr/followers","following_url":"https://api.github.com/users/guillaume-ro-fr/following{/other_user}","gists_url":"https://api.github.com/users/guillaume-ro-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaume-ro-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaume-ro-fr/subscriptions","organizations_url":"https://api.github.com/users/guillaume-ro-fr/orgs","repos_url":"https://api.github.com/users/guillaume-ro-fr/repos","events_url":"https://api.github.com/users/guillaume-ro-fr/events{/privacy}","received_events_url":"https://api.github.com/users/guillaume-ro-fr/received_events","type":"User","site_admin":false},"body":"According to [the doc](https://github.com/quilljs/delta/#methods-15), priority is only on `transform(other: DeltaStatic, priority: boolean)`.","created_at":"2018-02-05T12:20:46Z","updated_at":"2018-02-05T12:21:50Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421#discussion_r165956675","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/165956675"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421#discussion_r165956675"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421","id":167124071,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23421","number":23421,"state":"open","locked":false,"title":"[Quill] Add priority for transformPosition definition","user":{"login":"rhysbrettbowen","id":728134,"avatar_url":"https://avatars3.githubusercontent.com/u/728134?v=4","gravatar_id":"","url":"https://api.github.com/users/rhysbrettbowen","html_url":"https://github.com/rhysbrettbowen","followers_url":"https://api.github.com/users/rhysbrettbowen/followers","following_url":"https://api.github.com/users/rhysbrettbowen/following{/other_user}","gists_url":"https://api.github.com/users/rhysbrettbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/rhysbrettbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhysbrettbowen/subscriptions","organizations_url":"https://api.github.com/users/rhysbrettbowen/orgs","repos_url":"https://api.github.com/users/rhysbrettbowen/repos","events_url":"https://api.github.com/users/rhysbrettbowen/events{/privacy}","received_events_url":"https://api.github.com/users/rhysbrettbowen/received_events","type":"User","site_admin":false},"body":"Delta `transformPosition` also takes a priority argument: https://github.com/quilljs/delta/blob/7bd06c62b768f1a045acd41e785a83f35d4b0e94/lib/delta.js#L305\r\n","created_at":"2018-02-05T11:49:46Z","updated_at":"2018-02-05T12:21:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed4ef23ecf62783561340fa30620c29f0ed5e6d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23421/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0","head":{"label":"rhysbrettbowen:quill-transform-position-priority","ref":"quill-transform-position-priority","sha":"be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0","user":{"login":"rhysbrettbowen","id":728134,"avatar_url":"https://avatars3.githubusercontent.com/u/728134?v=4","gravatar_id":"","url":"https://api.github.com/users/rhysbrettbowen","html_url":"https://github.com/rhysbrettbowen","followers_url":"https://api.github.com/users/rhysbrettbowen/followers","following_url":"https://api.github.com/users/rhysbrettbowen/following{/other_user}","gists_url":"https://api.github.com/users/rhysbrettbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/rhysbrettbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhysbrettbowen/subscriptions","organizations_url":"https://api.github.com/users/rhysbrettbowen/orgs","repos_url":"https://api.github.com/users/rhysbrettbowen/repos","events_url":"https://api.github.com/users/rhysbrettbowen/events{/privacy}","received_events_url":"https://api.github.com/users/rhysbrettbowen/received_events","type":"User","site_admin":false},"repo":{"id":120296458,"name":"DefinitelyTyped","full_name":"rhysbrettbowen/DefinitelyTyped","owner":{"login":"rhysbrettbowen","id":728134,"avatar_url":"https://avatars3.githubusercontent.com/u/728134?v=4","gravatar_id":"","url":"https://api.github.com/users/rhysbrettbowen","html_url":"https://github.com/rhysbrettbowen","followers_url":"https://api.github.com/users/rhysbrettbowen/followers","following_url":"https://api.github.com/users/rhysbrettbowen/following{/other_user}","gists_url":"https://api.github.com/users/rhysbrettbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/rhysbrettbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhysbrettbowen/subscriptions","organizations_url":"https://api.github.com/users/rhysbrettbowen/orgs","repos_url":"https://api.github.com/users/rhysbrettbowen/repos","events_url":"https://api.github.com/users/rhysbrettbowen/events{/privacy}","received_events_url":"https://api.github.com/users/rhysbrettbowen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhysbrettbowen/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped","forks_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/rhysbrettbowen/DefinitelyTyped/deployments","created_at":"2018-02-05T11:34:03Z","updated_at":"2018-02-05T11:34:27Z","pushed_at":"2018-02-05T11:41:13Z","git_url":"git://github.com/rhysbrettbowen/DefinitelyTyped.git","ssh_url":"git@github.com:rhysbrettbowen/DefinitelyTyped.git","clone_url":"https://github.com/rhysbrettbowen/DefinitelyTyped.git","svn_url":"https://github.com/rhysbrettbowen/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":279899,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"4bf37b6049fe72c82625e1a3f8f71d42f8712d9f","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2018-02-05T12:03:22Z","pushed_at":"2018-02-05T12:00:14Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":279680,"stargazers_count":14145,"watchers_count":14145,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11769,"mirror_url":null,"archived":false,"open_issues_count":1971,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":11769,"open_issues":1971,"watchers":14145,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23421"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23421"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/23421/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/23421/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/be9eaa2cd6dc415f98551c1aa5e9d8b1e01ec1f0"}},"author_association":"NONE"}}
{"actor":{"display_login":"guillaume-ro-fr"}}