-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchevron.json
59 lines (56 loc) · 2.06 KB
/
chevron.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name" : "chevron",
"author" : "z1p",
"version" : 0.1,
"categories" : ["formatting"],
"description" : "Enables chevron template formatting of jimi flow data.",
"icon" : null,
"requirements" : {
"jimi_min_version" : null,
"jimi_max_version" : null,
"plugins" : []
},
"collections" : {
},
"triggers" : {
},
"actions" : {
"chevronFormat" : {
"display_name" : "chevronFormat",
"className" : "_chevronFormat",
"class_location" : "models.action",
"description" : "Formats an output using a chevron template.",
"fields" : [
{ "schema_item" : "templateData", "schema_value" : "templateData", "type" : "json-input", "label" : "templateData", "description" : "Custom data to used during template rendering.", "required" : true, "jimi_syntax" : true },
{ "schema_item" : "template", "schema_value" : "template", "type" : "script", "label" : "template", "description" : "A template written in chevron.", "required" : true, "jimi_syntax" : false }
],
"data_out" : {
"result" : {
"description" : "Returns True.",
"type" : "boolean",
"always_present" : true,
"values" : {
"True" : { "description" : "Successful." }
}
},
"rc" : {
"description" : "Returns 0.",
"type" : "number",
"always_present" : true,
"values" : {
"0" : { "description" : "Successful." }
}
},
"renderedTemplate" : {
"description" : "A string representation of the rendered template.",
"type" : "text",
"always_present" : true,
"values" : {
}
}
}
}
},
"settings" : {
}
}