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.image` — one image FileRef at `$trigger.files.<name>` — `input.file` with `--accept` preset to `image`.
//!
//! 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.image";

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