Skip to content

Commit

Permalink
Merge pull request #1 from andz-bb/main
Browse files Browse the repository at this point in the history
minor schema fixes to get plugin to load properly
  • Loading branch information
JayP718 authored Oct 19, 2022
2 parents 4088d7b + 0a10152 commit c27db0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "countdown_timer",
"version": "1.0.0",
"version": "1.0.1",
"description": "A timer which counts down (days/min/secs) to a certain date time. Uses data from a data provider. Ability to change background color, complete text, and",
"license": "MIT",
"svelte": "index.js",
Expand Down
16 changes: 6 additions & 10 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,21 @@
"type": "component",
"metadata": {},
"schema": {
"name": "timer",
"name": "countdown_timer",
"friendlyName": "timer",
"description": " The timer counts down to a specific date time. The timer can use a field from a datasource provider.",
"icon": "Text",
"settings": [
{
"type": "field/number",
"type": "field/datetime",
"label": "Field",
"key": "field",
"required": true
},
{
"type": "select",
"options": [
"small",
"medium",
"large"
],
"defaultValue": "large",
"options": ["Small", "Medium", "Large"],
"defaultValue": "Large",
"key": "size",
"label": "Size"
},
Expand All @@ -47,7 +43,7 @@
{
"type": "color",
"label": "Background Color",
"defaultValue":"4CAF50",
"defaultValue": "#4CAF50",
"key": "color"
},
{
Expand All @@ -58,4 +54,4 @@
}
]
}
}
}

0 comments on commit c27db0a

Please sign in to comment.