{
	"$schema": "https://json.schemastore.org/block.json",
	"apiVersion": 3,
	"name": "bm/timer",
	"title": "Timer",
	"description": "Countdown/time source that powers timer-value children and emits interactivity events.",
	"version": "0.0.1",
	"category": "blocks-monster",
	"textdomain": "blocks-monster",
	"supports": {
		"html": false
	},
	"attributes": {
		"_bm_id": {
			"type": "string"
		},
		"_bm_style": {
			"type": "object"
		},
		"mode": {
			"type": "string",
			"default": "countdown"
		},
		"deadline": {
			"type": "string",
			"default": ""
		},
		"timezone": {
			"type": "string",
			"default": "site"
		},
		"interval": {
			"type": "number",
			"default": 1000
		},
		"autoStart": {
			"type": "boolean",
			"default": true
		},
		"expiredAction": {
			"type": "string",
			"default": "freeze"
		},
		"expiredMessage": {
			"type": "string",
			"default": ""
		}
	},
	"usesContext": [ "postId", "postType" ],
	"providesContext": {
		"bm/timer/id": "_bm_id",
		"bm/timer/mode": "mode",
		"bm/timer/deadline": "deadline",
		"bm/timer/interval": "interval",
		"bm/timer/expiredAction": "expiredAction",
		"bm/timer/autoStart": "autoStart"
	},
	"editorScript": "file:./js/index.js",
	"style": "file:./css/style.css",
	"editorStyle": "file:./css/editor.css",
	"viewScript": "file:./js/view.js"
}

