{ "id": "149616", "key": "ALOY-1292", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-07-10T14:42:49.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "batman", "key": "batman", "displayName": "Bruce Wayne", "active": true, "timeZone": "America/New_York" }, "updated": "2015-07-10T14:48:01.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13605", "name": "Models" } ], "description": "As an alternative to SQLite and Properties it would be great to have a CommonJS sync adapter to read and (if the source allows) write from a CommonJS file that would need to be as:\r\n\r\n{code:javascript}\r\nmodule.exports = [\r\n {\r\n // record\r\n },\r\n {\r\n // record\r\n }\r\n // ...\r\n];\r\n{code}\r\n\r\nThe use case would be smaller sets of data that you don't want to first read into an SQLite DB or Properties and then need to do migrations when you have an app update. So most of the times this would just be a CommonJS files in the resources directory that wouldn't change.", "attachment": [], "flagged": false, "summary": "Add CommonJS sync adapter", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "comment": { "comments": [ { "id": "357463", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "PR on master for read-only version:\r\nhttps://github.com/appcelerator/alloy/pull/708", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T14:48:01.000+0000", "updated": "2015-07-10T14:48:01.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }