zebflow 0.11.14

Reactive web automation platform — pipelines, templates, and real-time collaboration in a single binary.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! `input.boolean` — a boolean at `$trigger.body.<name>`; a form's `on` / `off` / `1` / `0` are read as one.
//!
//! One member of the `input.*` family; the checks, the flags and the handler
//! live in the parent module. This file is the kind's name and its
//! definition, so the registry has one `definition()` per kind.

use crate::pipeline::NodeDefinition;

pub const NODE_KIND: &str = "input.boolean";

pub fn definition() -> NodeDefinition {
    super::definition_for(super::InputKind::Boolean)
}