{"id":22208362,"url":"https://github.com/topaxi/ember-shoebox-decorator","last_synced_at":"2026-03-01T02:03:43.933Z","repository":{"id":57224317,"uuid":"102870820","full_name":"topaxi/ember-shoebox-decorator","owner":"topaxi","description":"A decorator for the Ember FastBoot shoebox.","archived":false,"fork":false,"pushed_at":"2019-03-29T11:19:51.000Z","size":193,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-16T17:41:12.966Z","etag":null,"topics":["ember","ember-addon","ember-fastboot","emberjs","emberjs-addon","fastboot","shoebox"],"latest_commit_sha":null,"homepage":null,"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/topaxi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2017-09-08T14:35:18.000Z","updated_at":"2024-05-30T03:16:25.000Z","dependencies_parsed_at":"2022-09-04T07:01:20.268Z","dependency_job_id":null,"html_url":"https://github.com/topaxi/ember-shoebox-decorator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fember-shoebox-decorator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fember-shoebox-decorator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fember-shoebox-decorator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fember-shoebox-decorator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topaxi","download_url":"https://codeload.github.com/topaxi/ember-shoebox-decorator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227786774,"owners_count":17819777,"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":["ember","ember-addon","ember-fastboot","emberjs","emberjs-addon","fastboot","shoebox"],"created_at":"2024-12-02T19:18:05.193Z","updated_at":"2026-03-01T02:03:38.890Z","avatar_url":"https://github.com/topaxi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-shoebox-decorator\n\nA decorator for the Ember FastBoot shoebox.\n\nPuts the returned value from the model hooks into the shoebox and\nfetches the data on the initial transition.\n\nWorks with any route model hook (`beforeModel`, `model` and `afterModel`).\n\nNOTE: Currently not working with Ember Data.\n\n## Installation\n\n```bash\nember install ember-shoebox-decorator\n```\n\n## Usage\n\n```javascript\nimport { shoeboxModel } from 'ember-shoebox-decorator';\nimport fetch from 'ember-fetch';\n\nexport default Ember.Route.extend({\n  @shoeboxModel\n  model() {\n    return fetch('/api/v1/posts').then(res =\u003e res.json());\n  },\n});\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaxi%2Fember-shoebox-decorator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopaxi%2Fember-shoebox-decorator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaxi%2Fember-shoebox-decorator/lists"}