{"action":"created","comment":{"url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/comments/191985818","pull_request_review_id":124666389,"id":191985818,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MTk4NTgxOA==","diff_hunk":"@@ -1,19 +1,26 @@\n import Joi from 'joi'\n \n+// # TYPE OF UNIQUE NAMES\n // repo:${repositoryGithubId}\n // issue:${repositoryGithubId}:${issueNumber}\n // user:${userGithubId}\n-export const uniqueNameSchema: Joi.SchemaLike = Joi.string().regex(/^([1-9]+)(\\:[1-9]+)?$/).required()\n+\n+export const uniqueNameSchemaLike: Joi.SchemaLike = Joi.string().regex(/^([1-9]+)(\\:[1-9]+)?$/).required()\n+\n+export const uniqueNameSchema = Joi.object()\n+  .keys({\n+    uniqueName: uniqueNameSchemaLike\n+  })\n \n export const balanceBodySchema = Joi.object()\n   .keys({\n-    uniqueName: uniqueNameSchema,\n+    uniqueName: uniqueNameSchemaLike,\n     amount: Joi.number().min(1).integer().positive().required()\n   })\n \n export const logBodySchema = Joi.object()","path":"src/constraints/schemas.ts","position":23,"original_position":23,"commit_id":"bbcd3fc2787db76c11126f37d0cb1e7f543e6dd6","original_commit_id":"bbcd3fc2787db76c11126f37d0cb1e7f543e6dd6","user":{"login":"Rokt33r","id":5865853,"node_id":"MDQ6VXNlcjU4NjU4NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5865853?v=4","gravatar_id":"","url":"https://api.github.com/users/Rokt33r","html_url":"https://github.com/Rokt33r","followers_url":"https://api.github.com/users/Rokt33r/followers","following_url":"https://api.github.com/users/Rokt33r/following{/other_user}","gists_url":"https://api.github.com/users/Rokt33r/gists{/gist_id}","starred_url":"https://api.github.com/users/Rokt33r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rokt33r/subscriptions","organizations_url":"https://api.github.com/users/Rokt33r/orgs","repos_url":"https://api.github.com/users/Rokt33r/repos","events_url":"https://api.github.com/users/Rokt33r/events{/privacy}","received_events_url":"https://api.github.com/users/Rokt33r/received_events","type":"User","site_admin":false},"body":"`LogCreateBodySchema`","created_at":"2018-05-31T04:20:14Z","updated_at":"2018-05-31T04:29:42Z","html_url":"https://github.com/Boostnote/balanceAPI/pull/3#discussion_r191985818","pull_request_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/comments/191985818"},"html":{"href":"https://github.com/Boostnote/balanceAPI/pull/3#discussion_r191985818"},"pull_request":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3","id":189322589,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg5MzIyNTg5","html_url":"https://github.com/Boostnote/balanceAPI/pull/3","diff_url":"https://github.com/Boostnote/balanceAPI/pull/3.diff","patch_url":"https://github.com/Boostnote/balanceAPI/pull/3.patch","issue_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/3","number":3,"state":"open","locked":false,"title":"add test","user":{"login":"GUIEEN","id":14539280,"node_id":"MDQ6VXNlcjE0NTM5Mjgw","avatar_url":"https://avatars3.githubusercontent.com/u/14539280?v=4","gravatar_id":"","url":"https://api.github.com/users/GUIEEN","html_url":"https://github.com/GUIEEN","followers_url":"https://api.github.com/users/GUIEEN/followers","following_url":"https://api.github.com/users/GUIEEN/following{/other_user}","gists_url":"https://api.github.com/users/GUIEEN/gists{/gist_id}","starred_url":"https://api.github.com/users/GUIEEN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUIEEN/subscriptions","organizations_url":"https://api.github.com/users/GUIEEN/orgs","repos_url":"https://api.github.com/users/GUIEEN/repos","events_url":"https://api.github.com/users/GUIEEN/events{/privacy}","received_events_url":"https://api.github.com/users/GUIEEN/received_events","type":"User","site_admin":false},"body":"* balance -- done\r\n* log -- done\r\n* not registered route -- done\r\n","created_at":"2018-05-21T09:08:37Z","updated_at":"2018-05-31T04:29:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccb75579565cf7dd225aa57fff515564b6f47f26","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/3/comments","statuses_url":"https://api.github.com/repos/Boostnote/balanceAPI/statuses/bbcd3fc2787db76c11126f37d0cb1e7f543e6dd6","head":{"label":"Boostnote:company/add-spec","ref":"company/add-spec","sha":"bbcd3fc2787db76c11126f37d0cb1e7f543e6dd6","user":{"login":"Boostnote","id":25260429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjYwNDI5","avatar_url":"https://avatars3.githubusercontent.com/u/25260429?v=4","gravatar_id":"","url":"https://api.github.com/users/Boostnote","html_url":"https://github.com/Boostnote","followers_url":"https://api.github.com/users/Boostnote/followers","following_url":"https://api.github.com/users/Boostnote/following{/other_user}","gists_url":"https://api.github.com/users/Boostnote/gists{/gist_id}","starred_url":"https://api.github.com/users/Boostnote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boostnote/subscriptions","organizations_url":"https://api.github.com/users/Boostnote/orgs","repos_url":"https://api.github.com/users/Boostnote/repos","events_url":"https://api.github.com/users/Boostnote/events{/privacy}","received_events_url":"https://api.github.com/users/Boostnote/received_events","type":"Organization","site_admin":false},"repo":{"id":133330122,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMzAxMjI=","name":"balanceAPI","full_name":"Boostnote/balanceAPI","owner":{"login":"Boostnote","id":25260429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjYwNDI5","avatar_url":"https://avatars3.githubusercontent.com/u/25260429?v=4","gravatar_id":"","url":"https://api.github.com/users/Boostnote","html_url":"https://github.com/Boostnote","followers_url":"https://api.github.com/users/Boostnote/followers","following_url":"https://api.github.com/users/Boostnote/following{/other_user}","gists_url":"https://api.github.com/users/Boostnote/gists{/gist_id}","starred_url":"https://api.github.com/users/Boostnote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boostnote/subscriptions","organizations_url":"https://api.github.com/users/Boostnote/orgs","repos_url":"https://api.github.com/users/Boostnote/repos","events_url":"https://api.github.com/users/Boostnote/events{/privacy}","received_events_url":"https://api.github.com/users/Boostnote/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Boostnote/balanceAPI","description":"Balance DB server","fork":false,"url":"https://api.github.com/repos/Boostnote/balanceAPI","forks_url":"https://api.github.com/repos/Boostnote/balanceAPI/forks","keys_url":"https://api.github.com/repos/Boostnote/balanceAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Boostnote/balanceAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Boostnote/balanceAPI/teams","hooks_url":"https://api.github.com/repos/Boostnote/balanceAPI/hooks","issue_events_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Boostnote/balanceAPI/events","assignees_url":"https://api.github.com/repos/Boostnote/balanceAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Boostnote/balanceAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Boostnote/balanceAPI/tags","blobs_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Boostnote/balanceAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Boostnote/balanceAPI/languages","stargazers_url":"https://api.github.com/repos/Boostnote/balanceAPI/stargazers","contributors_url":"https://api.github.com/repos/Boostnote/balanceAPI/contributors","subscribers_url":"https://api.github.com/repos/Boostnote/balanceAPI/subscribers","subscription_url":"https://api.github.com/repos/Boostnote/balanceAPI/subscription","commits_url":"https://api.github.com/repos/Boostnote/balanceAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Boostnote/balanceAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Boostnote/balanceAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Boostnote/balanceAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Boostnote/balanceAPI/merges","archive_url":"https://api.github.com/repos/Boostnote/balanceAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Boostnote/balanceAPI/downloads","issues_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Boostnote/balanceAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Boostnote/balanceAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Boostnote/balanceAPI/labels{/name}","releases_url":"https://api.github.com/repos/Boostnote/balanceAPI/releases{/id}","deployments_url":"https://api.github.com/repos/Boostnote/balanceAPI/deployments","created_at":"2018-05-14T08:36:24Z","updated_at":"2018-05-22T09:08:27Z","pushed_at":"2018-05-31T02:44:52Z","git_url":"git://github.com/Boostnote/balanceAPI.git","ssh_url":"git@github.com:Boostnote/balanceAPI.git","clone_url":"https://github.com/Boostnote/balanceAPI.git","svn_url":"https://github.com/Boostnote/balanceAPI","homepage":"","size":196,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Boostnote:master","ref":"master","sha":"b3d5071071c2ced4c7abf10b1367728111e1ba40","user":{"login":"Boostnote","id":25260429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjYwNDI5","avatar_url":"https://avatars3.githubusercontent.com/u/25260429?v=4","gravatar_id":"","url":"https://api.github.com/users/Boostnote","html_url":"https://github.com/Boostnote","followers_url":"https://api.github.com/users/Boostnote/followers","following_url":"https://api.github.com/users/Boostnote/following{/other_user}","gists_url":"https://api.github.com/users/Boostnote/gists{/gist_id}","starred_url":"https://api.github.com/users/Boostnote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boostnote/subscriptions","organizations_url":"https://api.github.com/users/Boostnote/orgs","repos_url":"https://api.github.com/users/Boostnote/repos","events_url":"https://api.github.com/users/Boostnote/events{/privacy}","received_events_url":"https://api.github.com/users/Boostnote/received_events","type":"Organization","site_admin":false},"repo":{"id":133330122,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMzAxMjI=","name":"balanceAPI","full_name":"Boostnote/balanceAPI","owner":{"login":"Boostnote","id":25260429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjYwNDI5","avatar_url":"https://avatars3.githubusercontent.com/u/25260429?v=4","gravatar_id":"","url":"https://api.github.com/users/Boostnote","html_url":"https://github.com/Boostnote","followers_url":"https://api.github.com/users/Boostnote/followers","following_url":"https://api.github.com/users/Boostnote/following{/other_user}","gists_url":"https://api.github.com/users/Boostnote/gists{/gist_id}","starred_url":"https://api.github.com/users/Boostnote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boostnote/subscriptions","organizations_url":"https://api.github.com/users/Boostnote/orgs","repos_url":"https://api.github.com/users/Boostnote/repos","events_url":"https://api.github.com/users/Boostnote/events{/privacy}","received_events_url":"https://api.github.com/users/Boostnote/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Boostnote/balanceAPI","description":"Balance DB server","fork":false,"url":"https://api.github.com/repos/Boostnote/balanceAPI","forks_url":"https://api.github.com/repos/Boostnote/balanceAPI/forks","keys_url":"https://api.github.com/repos/Boostnote/balanceAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Boostnote/balanceAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Boostnote/balanceAPI/teams","hooks_url":"https://api.github.com/repos/Boostnote/balanceAPI/hooks","issue_events_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Boostnote/balanceAPI/events","assignees_url":"https://api.github.com/repos/Boostnote/balanceAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Boostnote/balanceAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Boostnote/balanceAPI/tags","blobs_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Boostnote/balanceAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Boostnote/balanceAPI/languages","stargazers_url":"https://api.github.com/repos/Boostnote/balanceAPI/stargazers","contributors_url":"https://api.github.com/repos/Boostnote/balanceAPI/contributors","subscribers_url":"https://api.github.com/repos/Boostnote/balanceAPI/subscribers","subscription_url":"https://api.github.com/repos/Boostnote/balanceAPI/subscription","commits_url":"https://api.github.com/repos/Boostnote/balanceAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Boostnote/balanceAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Boostnote/balanceAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Boostnote/balanceAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Boostnote/balanceAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Boostnote/balanceAPI/merges","archive_url":"https://api.github.com/repos/Boostnote/balanceAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Boostnote/balanceAPI/downloads","issues_url":"https://api.github.com/repos/Boostnote/balanceAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Boostnote/balanceAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Boostnote/balanceAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Boostnote/balanceAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Boostnote/balanceAPI/labels{/name}","releases_url":"https://api.github.com/repos/Boostnote/balanceAPI/releases{/id}","deployments_url":"https://api.github.com/repos/Boostnote/balanceAPI/deployments","created_at":"2018-05-14T08:36:24Z","updated_at":"2018-05-22T09:08:27Z","pushed_at":"2018-05-31T02:44:52Z","git_url":"git://github.com/Boostnote/balanceAPI.git","ssh_url":"git@github.com:Boostnote/balanceAPI.git","clone_url":"https://github.com/Boostnote/balanceAPI.git","svn_url":"https://github.com/Boostnote/balanceAPI","homepage":"","size":196,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3"},"html":{"href":"https://github.com/Boostnote/balanceAPI/pull/3"},"issue":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/issues/3"},"comments":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Boostnote/balanceAPI/statuses/bbcd3fc2787db76c11126f37d0cb1e7f543e6dd6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Rokt33r"}}