diff --git a/src/pkjs/config.js b/src/pkjs/config.js new file mode 100644 index 0000000..c50d025 --- /dev/null +++ b/src/pkjs/config.js @@ -0,0 +1,31 @@ +module.exports = [ + { + "type": "text", + "defaultValue": "Press your watch’s right side button to instantly roll a random number from 1 to N." + }, + { + "type": "section", + "items": [ + { + "type": "heading", + "defaultValue": "Dice Settings" + }, + { + "messageKey": "UPPER_BOUND", + "type": "slider", + "label": "N", + "defaultValue": 6, + "step": 1, + "min": 1, + "max": 999999, + "attributes": { + "style": "display: none;" + } + }, + ] + }, + { + "type": "submit", + "defaultValue": "Save Settings" + } +]; \ No newline at end of file diff --git a/src/pkjs/index.js b/src/pkjs/index.js new file mode 100644 index 0000000..2f38927 --- /dev/null +++ b/src/pkjs/index.js @@ -0,0 +1,5 @@ +const Clay = require('pebble-clay'); +const clayConfig = require('./config'); +const clay = new Clay(clayConfig); + +console.log(clay) \ No newline at end of file