-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminimal.yml
95 lines (92 loc) · 1.76 KB
/
minimal.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
enums:
MyEnum: [One, Two]
types:
TypeWithoutParams: {}
TypeOne:
params:
ValueOne:
type: Int
TypeTwo:
params:
ValueTwo:
type: Int
ValueEnum:
type: MyEnum
TypeThree:
params:
ValueThree:
type: Int
methods:
Convert:
description: "Converts one type into another"
inputs:
in:
type: TypeOne
params:
ValueOne: n
outputs:
optionOne:
out:
type: TypeTwo
params:
ValueTwo: n
TestProperty:
description: "Tests an object for a property"
inputs:
objectTwo:
type: TypeTwo
params:
ValueEnum: unset
outputs:
optionGood:
objectTwo:
type: TypeTwo
params:
ValueEnum: One
optionBad:
objectTwo:
type: TypeTwo
params:
ValueEnum: Two
Correct:
description: "Correct a property if it doesn't match the requirements"
inputs:
objectTwo:
type: TypeTwo
params:
ValueEnum: Two
designParameter:
type: TypeWithoutParams
tune: true
outputs:
optionOne:
objectTwo:
type: TypeTwo
params:
ValueEnum: One
Combine:
description: "Combines two objects into one"
inputs:
objectOne:
type: TypeOne
objectTwo:
type: TypeTwo
params:
ValueTwo: x
ValueEnum: One
outputs:
optionOne:
objectThree:
type: TypeThree
params:
ValueThree: x
Useless:
inputs:
objectOne:
type: TypeOne
outputs:
optionOne:
objectOne:
type: TypeOne
params:
ValueOne: 1337