{"action":"opened","issue":{"url":"https://api.github.com/repos/Sealious/Sealious/issues/174","labels_url":"https://api.github.com/repos/Sealious/Sealious/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/Sealious/Sealious/issues/174/comments","events_url":"https://api.github.com/repos/Sealious/Sealious/issues/174/events","html_url":"https://github.com/Sealious/Sealious/issues/174","id":96848910,"number":174,"title":"[Dokumentacja] Poprawienie sygnatur funkcji","user":{"login":"groovy354","id":2697916,"avatar_url":"https://avatars.githubusercontent.com/u/2697916?v=3","gravatar_id":"","url":"https://api.github.com/users/groovy354","html_url":"https://github.com/groovy354","followers_url":"https://api.github.com/users/groovy354/followers","following_url":"https://api.github.com/users/groovy354/following{/other_user}","gists_url":"https://api.github.com/users/groovy354/gists{/gist_id}","starred_url":"https://api.github.com/users/groovy354/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groovy354/subscriptions","organizations_url":"https://api.github.com/users/groovy354/orgs","repos_url":"https://api.github.com/users/groovy354/repos","events_url":"https://api.github.com/users/groovy354/events{/privacy}","received_events_url":"https://api.github.com/users/groovy354/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T16:10:20Z","updated_at":"2015-07-23T16:10:20Z","closed_at":null,"body":"Każdy opis wymaganej funkcji w Sealiousie powinien zawierać *sygnaturę* tej funkcji - zgodną chociażby z [tym standardem](https://github.com/jsigbiz/spec). \r\nPrzykładowo, zamiast:\r\n> * `find` - Retrieves documents from datastore. Its promise has to resolve with an array of documents (objects). A function with signature\r\n  \r\n>    ```js\r\n    function(collection_name, query, options, output_options)\r\n    ```\r\n\r\nPowinniśmy pisać:\r\n> * `find : (collection_name: String, query: Object, options: Object, output_options: Object)  => Promise` - retrieves documents from datastore. Has to resolve with an array of documents (objects)"}}