From 2fab3eccb52f147736f967028135fd5adba99a37 Mon Sep 17 00:00:00 2001 From: SemianiakaVY Date: Thu, 8 Oct 2026 15:45:11 +0000 Subject: [PATCH] chore(template): sync .w4c/fields.json --- .w4c/fields.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .w4c/fields.json diff --git a/.w4c/fields.json b/.w4c/fields.json new file mode 100644 index 0000000..cb8b3d9 --- /dev/null +++ b/.w4c/fields.json @@ -0,0 +1,44 @@ +{ + "schema": 1, + "name": "Simple Todo List survey", + "fields": [ + { + "key": "theme", + "label": "Theme", + "type": "select", + "options": [ + "Light", + "Dark", + "System" + ], + "default": "System" + } + ], + "pages": { + "todo": [ + { + "key": "filterDefault", + "label": "Default filter", + "type": "select", + "options": [ + "All", + "Active", + "Done" + ], + "default": "All" + }, + { + "key": "showCounts", + "label": "Item counts", + "type": "boolean", + "default": "true" + }, + { + "key": "persistKey", + "label": "localStorage key", + "type": "text", + "default": "w4c.simple-todo.items" + } + ] + } +}