{"id":22394175,"url":"https://github.com/atlantis-software/sails-hook-pubsub-offshore","last_synced_at":"2025-03-26T22:41:21.042Z","repository":{"id":83024074,"uuid":"75203383","full_name":"Atlantis-Software/sails-hook-pubsub-offshore","owner":"Atlantis-Software","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-20T09:08:47.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T04:25:45.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atlantis-Software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-30T16:06:05.000Z","updated_at":"2018-04-20T09:08:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"33893d2c-016a-4d8b-9b61-c81770fa672d","html_url":"https://github.com/Atlantis-Software/sails-hook-pubsub-offshore","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/Atlantis-Software%2Fsails-hook-pubsub-offshore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlantis-Software%2Fsails-hook-pubsub-offshore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlantis-Software%2Fsails-hook-pubsub-offshore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlantis-Software%2Fsails-hook-pubsub-offshore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atlantis-Software","download_url":"https://codeload.github.com/Atlantis-Software/sails-hook-pubsub-offshore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749796,"owners_count":20666084,"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":[],"created_at":"2024-12-05T05:09:19.547Z","updated_at":"2025-03-26T22:41:21.036Z","avatar_url":"https://github.com/Atlantis-Software.png","language":"JavaScript","readme":"# sails-hook-pubsub-offshore\n\n[![npm version](https://badge.fury.io/js/sails-hook-pubsub-offshore.svg)](https://www.npmjs.com/sails-hook-pubsub-offshore)\n[![Build Status](https://travis-ci.org/Atlantis-Software/sails-hook-pubsub-offshore.svg?branch=master)](https://travis-ci.org/Atlantis-Software/sails-hook-pubsub-offshore)\n[![Coverage Status](https://coveralls.io/repos/github/Atlantis-Software/sails-hook-pubsub-offshore/badge.svg?branch=master)](https://coveralls.io/github/Atlantis-Software/sails-hook-pubsub-offshore?branch=master)\n[![NSP Status](https://nodesecurity.io/orgs/atlantis/projects/807d2725-4709-4f65-8a00-fdc0bc89da44/badge)](https://nodesecurity.io/orgs/atlantis/projects/807d2725-4709-4f65-8a00-fdc0bc89da44)\n[![Dependencies Status](https://david-dm.org/Atlantis-Software/sails-hook-pubsub-offshore.svg)](https://david-dm.org/Atlantis-Software/sails-hook-pubsub-offshore)\n\nSails pubsub using offshore ORM\n\n## Install\n\nInstall [sails-hook-orm-offshore](https://github.com/Atlantis-Software/sails-hook-orm-offshore) first:\n```sh\n$ npm install sails-hook-orm-offshore --save\n```\n\nInstall this hook with:\n\n```sh\n$ npm install sails-hook-pubsub-offshore --save\n```\n\n#PubS: Following PubSub methods are prefixed with a underscore!\n\n`PubSub Methods`\n````js\nModel._publishCreate();\nModel._publishUpdate();\nModel._publishDestroy();\n\nModel._publishAdd();\nModel._publishRemove();\n\nModel._watch();\nModel._unwatch();\n\nModel._introduce();\nModel._retire();\n\nModel._room();\n```\n\n# Configuration\n\n`.sailsrc`\n\n```\n\"hooks\": {\n  \"blueprints\": false,\n  \"orm\": false,\n  \"pubsub\": false\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlantis-software%2Fsails-hook-pubsub-offshore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatlantis-software%2Fsails-hook-pubsub-offshore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlantis-software%2Fsails-hook-pubsub-offshore/lists"}