{"id":20170213,"url":"https://github.com/fabrix-app/spool-waterline","last_synced_at":"2026-06-08T11:02:05.516Z","repository":{"id":95882878,"uuid":"144193632","full_name":"fabrix-app/spool-waterline","owner":"fabrix-app","description":"Spool: Waterline ORM for Fabrix","archived":false,"fork":false,"pushed_at":"2018-08-09T19:19:10.000Z","size":17,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T04:15:51.105Z","etag":null,"topics":["fabrix","orm","spools","waterline"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/fabrix-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2018-08-09T19:13:19.000Z","updated_at":"2018-09-05T19:03:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"652fb213-e7c9-46d3-9d66-d3238393d3da","html_url":"https://github.com/fabrix-app/spool-waterline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabrix-app/spool-waterline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-waterline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-waterline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-waterline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-waterline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabrix-app","download_url":"https://codeload.github.com/fabrix-app/spool-waterline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-waterline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fabrix","orm","spools","waterline"],"created_at":"2024-11-14T01:17:42.791Z","updated_at":"2026-06-08T11:02:05.499Z","avatar_url":"https://github.com/fabrix-app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spool-waterline\n\n[![Gitter][gitter-image]][gitter-url]\n[![NPM version][npm-image]][npm-url]\n[![Build Status][ci-image]][ci-url]\n[![Test Coverage][coverage-image]][coverage-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Follow @FabrixApp on Twitter][twitter-image]][twitter-url]\n\nLoads Application Models (in `api/models`) into the Waterline ORM; Integrates with [spool-router](https://github.com/fabrix-app/spool-router) to\ngenerate Tapestries for routes.\n\n## Usage\n\n### Configure\n\n```js\n// config/main.ts\nimport { WaterlineSpool } from '@fabrix/spool-waterline'\nexport const main = {\n  // ...\n  spools: [\n    // ...other spools\n    WaterlineSpool\n  ]\n}\n```\n\n### Query\n\n```js\n// api/services/BirthdayService.ts\nexport class BirthdayService extends Service {\n  /**\n   * Finds people with the given birthday.\n   * @return Promise\n   * @example {\n   *    name: 'Ludwig Beethoven',\n   *    birthday: Sun Dec 16 1770 00:00:00 GMT-0500 (EST),\n   *    favoriteColors: [\n   *      { name: 'yellow', hex: 'ffff00' },\n   *      { name: 'black', hex: '000000' }\n   *     ]\n   * }\n   */\n  findPeopleWithBirthday (birthday) {\n    return this.orm.Person.find({ birthday: birthday })\n      .populate('favoriteColors')\n  }\n}\n```\n\n## Contributing\nWe love contributions! Please check out our [Contributor's Guide](https://github.com/fabrix-app/fabrix/blob/master/CONTRIBUTING.md) for more\ninformation on how our projects are organized and how to get started.\n\n\n## License\n[MIT](https://github.com/fabrix-app/spool-waterline/blob/master/LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/@fabrix/spool-waterline.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@fabrix/spool-waterline\n[ci-image]: https://img.shields.io/circleci/project/github/fabrix-app/spool-waterline/master.svg\n[ci-url]: https://circleci.com/gh/fabrix-app/spool-waterline/tree/master\n[daviddm-image]: http://img.shields.io/david/fabrix-app/spool-waterline.svg?style=flat-square\n[daviddm-url]: https://david-dm.org/fabrix-app/spool-waterline\n[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square\n[gitter-url]: https://gitter.im/fabrix-app/Lobby\n[twitter-image]: https://img.shields.io/twitter/follow/FabrixApp.svg?style=social\n[twitter-url]: https://twitter.com/FabrixApp\n[coverage-image]: https://img.shields.io/codeclimate/coverage/github/fabrix-app/spool-waterline.svg?style=flat-square\n[coverage-url]: https://codeclimate.com/github/fabrix-app/spool-waterline/coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-waterline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabrix-app%2Fspool-waterline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-waterline/lists"}