{"id":15015869,"url":"https://github.com/mainmatter/ember-api-actions","last_synced_at":"2025-04-12T09:32:05.108Z","repository":{"id":62289053,"uuid":"558742964","full_name":"mainmatter/ember-api-actions","owner":"mainmatter","description":"Ember.js addon allowing you to easily implement non-CRUD actions for your Ember Data models","archived":false,"fork":false,"pushed_at":"2024-04-30T07:18:41.000Z","size":2275,"stargazers_count":6,"open_issues_count":14,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T11:49:42.686Z","etag":null,"topics":["crud","ember-data","emberjs"],"latest_commit_sha":null,"homepage":"","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/mainmatter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2022-10-28T07:38:39.000Z","updated_at":"2024-05-03T22:33:08.708Z","dependencies_parsed_at":"2024-01-13T02:39:58.586Z","dependency_job_id":"c49f3df2-1879-4f12-9157-3cd04e4a15c6","html_url":"https://github.com/mainmatter/ember-api-actions","commit_stats":{"total_commits":419,"total_committers":6,"mean_commits":69.83333333333333,"dds":"0.11217183770883055","last_synced_commit":"f36e8dded81e5b4c847635f482790cb61eac74a3"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainmatter%2Fember-api-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainmatter%2Fember-api-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainmatter%2Fember-api-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainmatter%2Fember-api-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mainmatter","download_url":"https://codeload.github.com/mainmatter/ember-api-actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223415894,"owners_count":17141730,"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":["crud","ember-data","emberjs"],"created_at":"2024-09-24T19:48:04.536Z","updated_at":"2024-11-07T12:04:01.045Z","avatar_url":"https://github.com/mainmatter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @mainmatter/ember-api-actions\n\nThis is an [Ember.js] addon allowing you to easily implement non-[CRUD] actions\nfor your [Ember Data] models.\n\n\n## Compatibility\n\n* Ember.js v3.28 or above\n* Ember CLI v3.28 or above\n* Node.js v14 or above\n\n\n## Installation\n\n```\nember install @mainmatter/ember-api-actions\n```\n\n\n## Usage\n\n```js\nimport Model from '@ember-data/model';\nimport { apiAction } from '@mainmatter/ember-api-actions';\n\nclass User extends Model {\n  async follow() {\n    return await apiAction(this, { method: 'PUT', path: 'follow' });\n  }\n}\n```\n\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n\n[Ember.js]: https://emberjs.com\n[CRUD]: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete\n[Ember Data]: https://github.com/emberjs/data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainmatter%2Fember-api-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainmatter%2Fember-api-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainmatter%2Fember-api-actions/lists"}