{"id":20725654,"url":"https://github.com/lskjs/lsk-chat","last_synced_at":"2026-05-07T14:41:47.802Z","repository":{"id":75626260,"uuid":"90372820","full_name":"lskjs/lsk-chat","owner":"lskjs","description":"LSK Chat, Messages and Comments module","archived":false,"fork":false,"pushed_at":"2018-12-04T18:05:10.000Z","size":87,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-17T23:30:25.628Z","etag":null,"topics":["chat","comments","isomorphic","javascript","lsk","messages","module","nodejs","react","universal"],"latest_commit_sha":null,"homepage":"https://lsk.mgbeta.ru/demo/chat","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lskjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-05T12:21:06.000Z","updated_at":"2018-12-04T18:05:12.000Z","dependencies_parsed_at":"2023-06-07T03:45:26.035Z","dependency_job_id":null,"html_url":"https://github.com/lskjs/lsk-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lskjs%2Flsk-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lskjs%2Flsk-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lskjs%2Flsk-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lskjs%2Flsk-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lskjs","download_url":"https://codeload.github.com/lskjs/lsk-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243004103,"owners_count":20220236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat","comments","isomorphic","javascript","lsk","messages","module","nodejs","react","universal"],"created_at":"2024-11-17T04:19:43.400Z","updated_at":"2025-10-27T06:15:40.234Z","avatar_url":"https://github.com/lskjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSK Chat module\n\n```js\n Message.getRole(userId) -\u003e owner\n Message.is('owner')  // ?\n Message.roles = {\n  owner: {\n    read: ['title', 'createdAt'], // all\n    write: ['user, 'owner'] // info\n }\n  guest: {\n    read: ['title', 'createdAt'], // all\n    write: ['user, 'owner'] // null\n }\n validate params\n 1) OWNER\n 2) Public\n\n\n Message.isOwner = (userId) =\u003e { this.ownerId } ['content']\n Message.canWrite = ['content']\n MEssage.canWrite = ['content']\n\n schema = {\n   title: {\n     canWrite: () =\u003e {}\n   }\n }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flskjs%2Flsk-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flskjs%2Flsk-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flskjs%2Flsk-chat/lists"}