|
28 | 28 | kind="Text", |
29 | 29 | description="The name of the trigger rule", |
30 | 30 | unique=True, |
31 | | - order_weight=1000, |
| 31 | + order_weight=100, |
32 | 32 | ), |
33 | 33 | Attr( |
34 | 34 | name="description", |
35 | 35 | kind="Text", |
36 | 36 | description="A longer description to define the purpose of this trigger", |
37 | 37 | optional=True, |
38 | | - order_weight=2000, |
| 38 | + order_weight=200, |
39 | 39 | ), |
40 | 40 | Attr( |
41 | 41 | name="active", |
42 | 42 | kind="Boolean", |
43 | 43 | description="Indicates if this trigger is enabled or if it's just prepared, could be useful as you are setting up a trigger", |
44 | 44 | optional=False, |
45 | 45 | default_value=True, |
46 | | - order_weight=2000, |
| 46 | + order_weight=200, |
47 | 47 | ), |
48 | 48 | Attr( |
49 | 49 | name="branch_scope", |
|
52 | 52 | choices=BranchScope.available_types(), |
53 | 53 | default_value=BranchScope.DEFAULT_BRANCH.value.name, |
54 | 54 | optional=False, |
55 | | - order_weight=2000, |
| 55 | + order_weight=200, |
56 | 56 | allow_override=AllowOverrideType.NONE, |
57 | 57 | ), |
58 | 58 | ], |
|
65 | 65 | kind=RelKind.ATTRIBUTE, |
66 | 66 | cardinality=Cardinality.ONE, |
67 | 67 | optional=False, |
68 | | - order_weight=10000, |
| 68 | + order_weight=1000, |
69 | 69 | ), |
70 | 70 | ], |
71 | 71 | ) |
|
89 | 89 | description="Short descriptive name", |
90 | 90 | kind="Text", |
91 | 91 | unique=True, |
92 | | - order_weight=1000, |
| 92 | + order_weight=100, |
93 | 93 | ), |
94 | 94 | Attr( |
95 | 95 | name="description", |
96 | 96 | description="A detailed description of the action", |
97 | 97 | kind="Text", |
98 | 98 | optional=True, |
99 | | - order_weight=2000, |
| 99 | + order_weight=200, |
100 | 100 | ), |
101 | 101 | ], |
102 | 102 | relationships=[ |
|
108 | 108 | cardinality=Cardinality.MANY, |
109 | 109 | identifier="core_action__core_triggerrule", |
110 | 110 | optional=True, |
111 | | - order_weight=10000, |
| 111 | + order_weight=1000, |
112 | 112 | ), |
113 | 113 | ], |
114 | 114 | ) |
|
132 | 132 | cardinality=Cardinality.ONE, |
133 | 133 | optional=False, |
134 | 134 | identifier="core_node_trigger_match__core_trigger_rule", |
135 | | - order_weight=10000, |
| 135 | + order_weight=1000, |
136 | 136 | ), |
137 | 137 | ], |
138 | 138 | ) |
|
161 | 161 | cardinality=Cardinality.ONE, |
162 | 162 | identifier="core_generator_action__generator_definition", |
163 | 163 | optional=False, |
164 | | - order_weight=4000, |
| 164 | + order_weight=400, |
165 | 165 | ), |
166 | 166 | ], |
167 | 167 | ) |
|
188 | 188 | unique=False, |
189 | 189 | optional=False, |
190 | 190 | default_value=True, |
191 | | - order_weight=3000, |
| 191 | + order_weight=300, |
192 | 192 | ), |
193 | 193 | ], |
194 | 194 | relationships=[ |
|
200 | 200 | cardinality=Cardinality.ONE, |
201 | 201 | identifier="core_action__group", |
202 | 202 | optional=False, |
203 | | - order_weight=4000, |
| 203 | + order_weight=400, |
204 | 204 | ), |
205 | 205 | ], |
206 | 206 | ) |
|
227 | 227 | description="The kind of node to match against", |
228 | 228 | unique=False, |
229 | 229 | optional=False, |
230 | | - order_weight=3000, |
| 230 | + order_weight=300, |
231 | 231 | ), |
232 | 232 | Attr( |
233 | 233 | name="mutation_action", |
|
236 | 236 | enum=NodeAction.available_types(), |
237 | 237 | unique=False, |
238 | 238 | optional=False, |
239 | | - order_weight=4000, |
| 239 | + order_weight=400, |
240 | 240 | ), |
241 | 241 | ], |
242 | 242 | relationships=[ |
|
248 | 248 | cardinality=Cardinality.MANY, |
249 | 249 | optional=True, |
250 | 250 | identifier="core_node_trigger_match__core_trigger_rule", |
251 | | - order_weight=8000, |
| 251 | + order_weight=800, |
252 | 252 | ), |
253 | 253 | ], |
254 | 254 | ) |
|
270 | 270 | description="The attribue to match against", |
271 | 271 | unique=False, |
272 | 272 | optional=False, |
273 | | - order_weight=1000, |
| 273 | + order_weight=100, |
274 | 274 | ), |
275 | 275 | Attr( |
276 | 276 | name="value", |
277 | 277 | kind="Text", |
278 | 278 | description="The value the attribute is updated to", |
279 | 279 | unique=False, |
280 | 280 | optional=True, |
281 | | - order_weight=2000, |
| 281 | + order_weight=200, |
282 | 282 | ), |
283 | 283 | Attr( |
284 | 284 | name="value_previous", |
285 | 285 | kind="Text", |
286 | 286 | description="The previous value of the targeted attribute", |
287 | 287 | unique=False, |
288 | 288 | optional=True, |
289 | | - order_weight=3000, |
| 289 | + order_weight=300, |
290 | 290 | ), |
291 | 291 | Attr( |
292 | 292 | name="value_match", |
|
295 | 295 | choices=ValueMatch.available_types(), |
296 | 296 | default_value=ValueMatch.VALUE.value.name, |
297 | 297 | optional=False, |
298 | | - order_weight=5000, |
| 298 | + order_weight=500, |
299 | 299 | ), |
300 | 300 | ], |
301 | 301 | relationships=[], |
|
318 | 318 | description="The name of the relationship to match against", |
319 | 319 | unique=False, |
320 | 320 | optional=False, |
321 | | - order_weight=1000, |
| 321 | + order_weight=100, |
322 | 322 | ), |
323 | 323 | Attr( |
324 | 324 | name="added", |
|
327 | 327 | unique=False, |
328 | 328 | optional=False, |
329 | 329 | default_value=True, |
330 | | - order_weight=2000, |
| 330 | + order_weight=200, |
331 | 331 | ), |
332 | 332 | Attr( |
333 | 333 | name="peer", |
334 | 334 | kind="Text", |
335 | 335 | description="The node_id of the relationship peer to match against", |
336 | 336 | unique=False, |
337 | 337 | optional=True, |
338 | | - order_weight=3000, |
| 338 | + order_weight=300, |
339 | 339 | ), |
340 | 340 | ], |
341 | 341 | relationships=[], |
|
364 | 364 | unique=False, |
365 | 365 | optional=False, |
366 | 366 | default_value=True, |
367 | | - order_weight=3000, |
| 367 | + order_weight=300, |
368 | 368 | ), |
369 | 369 | ], |
370 | 370 | relationships=[ |
|
376 | 376 | cardinality=Cardinality.ONE, |
377 | 377 | identifier="core_group_trigger__group", |
378 | 378 | optional=False, |
379 | | - order_weight=4000, |
| 379 | + order_weight=400, |
380 | 380 | ), |
381 | 381 | ], |
382 | 382 | ) |
0 commit comments