{"action":"created","comment":{"url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/comments/238610231","pull_request_review_id":181190285,"id":238610231,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODYxMDIzMQ==","diff_hunk":"@@ -0,0 +1,30 @@\n+class PluginName {\n+  private element: Element;\n+  private options: unknown;\n+  private defaults: any = {\n+    mood: '😆'\n+  };\n+  constructor(element: Element, options: unknown) {\n+    this.element = element;\n+    // ⚠️ remove options if you don't use them\n+    this.options = Object.assign(this.defaults, options)\n+    // init plugin\n+\t\tthis.init();\n+  }\n+  private init() {\n+    console.log(`we could have some options ${JSON.stringify(this.options)}`)","path":"patterns/typescript.boilerplate.ts","position":15,"original_position":15,"commit_id":"2ed1aebf6dec1d918485da6cf645a94d520a1ca9","original_commit_id":"2ed1aebf6dec1d918485da6cf645a94d520a1ca9","user":{"login":"SheepFromHeaven","id":8701422,"node_id":"MDQ6VXNlcjg3MDE0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/8701422?v=4","gravatar_id":"","url":"https://api.github.com/users/SheepFromHeaven","html_url":"https://github.com/SheepFromHeaven","followers_url":"https://api.github.com/users/SheepFromHeaven/followers","following_url":"https://api.github.com/users/SheepFromHeaven/following{/other_user}","gists_url":"https://api.github.com/users/SheepFromHeaven/gists{/gist_id}","starred_url":"https://api.github.com/users/SheepFromHeaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SheepFromHeaven/subscriptions","organizations_url":"https://api.github.com/users/SheepFromHeaven/orgs","repos_url":"https://api.github.com/users/SheepFromHeaven/repos","events_url":"https://api.github.com/users/SheepFromHeaven/events{/privacy}","received_events_url":"https://api.github.com/users/SheepFromHeaven/received_events","type":"User","site_admin":false},"body":"No logs in a boilerplate please!","created_at":"2018-12-04T10:43:05Z","updated_at":"2018-12-04T10:44:24Z","html_url":"https://github.com/biotope/biotope-boilerplate/pull/72#discussion_r238610231","pull_request_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/comments/238610231"},"html":{"href":"https://github.com/biotope/biotope-boilerplate/pull/72#discussion_r238610231"},"pull_request":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72","id":233625043,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjI1MDQz","html_url":"https://github.com/biotope/biotope-boilerplate/pull/72","diff_url":"https://github.com/biotope/biotope-boilerplate/pull/72.diff","patch_url":"https://github.com/biotope/biotope-boilerplate/pull/72.patch","issue_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/72","number":72,"state":"open","locked":false,"title":"Typescript boilerplate","user":{"login":"jurekbarth","id":4249843,"node_id":"MDQ6VXNlcjQyNDk4NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/4249843?v=4","gravatar_id":"","url":"https://api.github.com/users/jurekbarth","html_url":"https://github.com/jurekbarth","followers_url":"https://api.github.com/users/jurekbarth/followers","following_url":"https://api.github.com/users/jurekbarth/following{/other_user}","gists_url":"https://api.github.com/users/jurekbarth/gists{/gist_id}","starred_url":"https://api.github.com/users/jurekbarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurekbarth/subscriptions","organizations_url":"https://api.github.com/users/jurekbarth/orgs","repos_url":"https://api.github.com/users/jurekbarth/repos","events_url":"https://api.github.com/users/jurekbarth/events{/privacy}","received_events_url":"https://api.github.com/users/jurekbarth/received_events","type":"User","site_admin":false},"body":"Adds a sample typescript plugin without using jQuery","created_at":"2018-11-26T16:45:58Z","updated_at":"2018-12-04T10:44:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9d98d8408a7984268bac6cc1caccad8f43f0c1a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tiagomapmarques","id":704002,"node_id":"MDQ6VXNlcjcwNDAwMg==","avatar_url":"https://avatars0.githubusercontent.com/u/704002?v=4","gravatar_id":"","url":"https://api.github.com/users/tiagomapmarques","html_url":"https://github.com/tiagomapmarques","followers_url":"https://api.github.com/users/tiagomapmarques/followers","following_url":"https://api.github.com/users/tiagomapmarques/following{/other_user}","gists_url":"https://api.github.com/users/tiagomapmarques/gists{/gist_id}","starred_url":"https://api.github.com/users/tiagomapmarques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiagomapmarques/subscriptions","organizations_url":"https://api.github.com/users/tiagomapmarques/orgs","repos_url":"https://api.github.com/users/tiagomapmarques/repos","events_url":"https://api.github.com/users/tiagomapmarques/events{/privacy}","received_events_url":"https://api.github.com/users/tiagomapmarques/received_events","type":"User","site_admin":false},{"login":"timomayer","id":1905161,"node_id":"MDQ6VXNlcjE5MDUxNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1905161?v=4","gravatar_id":"","url":"https://api.github.com/users/timomayer","html_url":"https://github.com/timomayer","followers_url":"https://api.github.com/users/timomayer/followers","following_url":"https://api.github.com/users/timomayer/following{/other_user}","gists_url":"https://api.github.com/users/timomayer/gists{/gist_id}","starred_url":"https://api.github.com/users/timomayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timomayer/subscriptions","organizations_url":"https://api.github.com/users/timomayer/orgs","repos_url":"https://api.github.com/users/timomayer/repos","events_url":"https://api.github.com/users/timomayer/events{/privacy}","received_events_url":"https://api.github.com/users/timomayer/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72/commits","review_comments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72/comments","review_comment_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/72/comments","statuses_url":"https://api.github.com/repos/biotope/biotope-boilerplate/statuses/2ed1aebf6dec1d918485da6cf645a94d520a1ca9","head":{"label":"biotope:typescript-boilerplate","ref":"typescript-boilerplate","sha":"2ed1aebf6dec1d918485da6cf645a94d520a1ca9","user":{"login":"biotope","id":34653144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjUzMTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/34653144?v=4","gravatar_id":"","url":"https://api.github.com/users/biotope","html_url":"https://github.com/biotope","followers_url":"https://api.github.com/users/biotope/followers","following_url":"https://api.github.com/users/biotope/following{/other_user}","gists_url":"https://api.github.com/users/biotope/gists{/gist_id}","starred_url":"https://api.github.com/users/biotope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biotope/subscriptions","organizations_url":"https://api.github.com/users/biotope/orgs","repos_url":"https://api.github.com/users/biotope/repos","events_url":"https://api.github.com/users/biotope/events{/privacy}","received_events_url":"https://api.github.com/users/biotope/received_events","type":"Organization","site_admin":false},"repo":{"id":111824994,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjQ5OTQ=","name":"biotope-boilerplate","full_name":"biotope/biotope-boilerplate","private":false,"owner":{"login":"biotope","id":34653144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjUzMTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/34653144?v=4","gravatar_id":"","url":"https://api.github.com/users/biotope","html_url":"https://github.com/biotope","followers_url":"https://api.github.com/users/biotope/followers","following_url":"https://api.github.com/users/biotope/following{/other_user}","gists_url":"https://api.github.com/users/biotope/gists{/gist_id}","starred_url":"https://api.github.com/users/biotope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biotope/subscriptions","organizations_url":"https://api.github.com/users/biotope/orgs","repos_url":"https://api.github.com/users/biotope/repos","events_url":"https://api.github.com/users/biotope/events{/privacy}","received_events_url":"https://api.github.com/users/biotope/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/biotope/biotope-boilerplate","description":null,"fork":false,"url":"https://api.github.com/repos/biotope/biotope-boilerplate","forks_url":"https://api.github.com/repos/biotope/biotope-boilerplate/forks","keys_url":"https://api.github.com/repos/biotope/biotope-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biotope/biotope-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biotope/biotope-boilerplate/teams","hooks_url":"https://api.github.com/repos/biotope/biotope-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/biotope/biotope-boilerplate/events","assignees_url":"https://api.github.com/repos/biotope/biotope-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/biotope/biotope-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/biotope/biotope-boilerplate/tags","blobs_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biotope/biotope-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/biotope/biotope-boilerplate/languages","stargazers_url":"https://api.github.com/repos/biotope/biotope-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/biotope/biotope-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/biotope/biotope-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/biotope/biotope-boilerplate/subscription","commits_url":"https://api.github.com/repos/biotope/biotope-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/biotope/biotope-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/biotope/biotope-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biotope/biotope-boilerplate/merges","archive_url":"https://api.github.com/repos/biotope/biotope-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biotope/biotope-boilerplate/downloads","issues_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/biotope/biotope-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/biotope/biotope-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biotope/biotope-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/biotope/biotope-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/deployments","created_at":"2017-11-23T15:27:16Z","updated_at":"2018-12-04T10:38:47Z","pushed_at":"2018-12-04T10:39:36Z","git_url":"git://github.com/biotope/biotope-boilerplate.git","ssh_url":"git@github.com:biotope/biotope-boilerplate.git","clone_url":"https://github.com/biotope/biotope-boilerplate.git","svn_url":"https://github.com/biotope/biotope-boilerplate","homepage":null,"size":2415,"stargazers_count":22,"watchers_count":22,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20,"open_issues":8,"watchers":22,"default_branch":"master"}},"base":{"label":"biotope:master","ref":"master","sha":"d6a2b90f7f8469acdb6b39dfe3144fd327980b54","user":{"login":"biotope","id":34653144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjUzMTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/34653144?v=4","gravatar_id":"","url":"https://api.github.com/users/biotope","html_url":"https://github.com/biotope","followers_url":"https://api.github.com/users/biotope/followers","following_url":"https://api.github.com/users/biotope/following{/other_user}","gists_url":"https://api.github.com/users/biotope/gists{/gist_id}","starred_url":"https://api.github.com/users/biotope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biotope/subscriptions","organizations_url":"https://api.github.com/users/biotope/orgs","repos_url":"https://api.github.com/users/biotope/repos","events_url":"https://api.github.com/users/biotope/events{/privacy}","received_events_url":"https://api.github.com/users/biotope/received_events","type":"Organization","site_admin":false},"repo":{"id":111824994,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjQ5OTQ=","name":"biotope-boilerplate","full_name":"biotope/biotope-boilerplate","private":false,"owner":{"login":"biotope","id":34653144,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjUzMTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/34653144?v=4","gravatar_id":"","url":"https://api.github.com/users/biotope","html_url":"https://github.com/biotope","followers_url":"https://api.github.com/users/biotope/followers","following_url":"https://api.github.com/users/biotope/following{/other_user}","gists_url":"https://api.github.com/users/biotope/gists{/gist_id}","starred_url":"https://api.github.com/users/biotope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biotope/subscriptions","organizations_url":"https://api.github.com/users/biotope/orgs","repos_url":"https://api.github.com/users/biotope/repos","events_url":"https://api.github.com/users/biotope/events{/privacy}","received_events_url":"https://api.github.com/users/biotope/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/biotope/biotope-boilerplate","description":null,"fork":false,"url":"https://api.github.com/repos/biotope/biotope-boilerplate","forks_url":"https://api.github.com/repos/biotope/biotope-boilerplate/forks","keys_url":"https://api.github.com/repos/biotope/biotope-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biotope/biotope-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biotope/biotope-boilerplate/teams","hooks_url":"https://api.github.com/repos/biotope/biotope-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/biotope/biotope-boilerplate/events","assignees_url":"https://api.github.com/repos/biotope/biotope-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/biotope/biotope-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/biotope/biotope-boilerplate/tags","blobs_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biotope/biotope-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/biotope/biotope-boilerplate/languages","stargazers_url":"https://api.github.com/repos/biotope/biotope-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/biotope/biotope-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/biotope/biotope-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/biotope/biotope-boilerplate/subscription","commits_url":"https://api.github.com/repos/biotope/biotope-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/biotope/biotope-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/biotope/biotope-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/biotope/biotope-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biotope/biotope-boilerplate/merges","archive_url":"https://api.github.com/repos/biotope/biotope-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biotope/biotope-boilerplate/downloads","issues_url":"https://api.github.com/repos/biotope/biotope-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/biotope/biotope-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/biotope/biotope-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biotope/biotope-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/biotope/biotope-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/biotope/biotope-boilerplate/deployments","created_at":"2017-11-23T15:27:16Z","updated_at":"2018-12-04T10:38:47Z","pushed_at":"2018-12-04T10:39:36Z","git_url":"git://github.com/biotope/biotope-boilerplate.git","ssh_url":"git@github.com:biotope/biotope-boilerplate.git","clone_url":"https://github.com/biotope/biotope-boilerplate.git","svn_url":"https://github.com/biotope/biotope-boilerplate","homepage":null,"size":2415,"stargazers_count":22,"watchers_count":22,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20,"open_issues":8,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72"},"html":{"href":"https://github.com/biotope/biotope-boilerplate/pull/72"},"issue":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/72"},"comments":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/biotope/biotope-boilerplate/statuses/2ed1aebf6dec1d918485da6cf645a94d520a1ca9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"SheepFromHeaven"}}