-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-dev-tools.yaml
75 lines (75 loc) · 1.66 KB
/
test-dev-tools.yaml
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
id: test-dev-tools
type: PageHeaderMenu
properties:
title: Test Dev Tools
layout:
contentGutter: 16
contentJustify: center
requests:
- id: test_request
type: MongoDBAggregation
connectionId: test
properties:
pipeline:
- $match: {}
events:
onMount:
- id: set_test_state
type: SetState
params:
test_state: Hello, World!
- id: get_test_request
type: Request
params: test_request
blocks:
- id: emoji_indicator
type: Title
style:
_object.assign:
- position: fixed
z-index: 1
bottom: 50
- _if:
test:
_eq:
- _state: lowdefy_dev_tools.placement
- left
then:
right: 50
else:
left: 50
properties:
content: 👇🤔
- id: test_box
type: Box
layout:
flex: 0 1 auto
blocks:
- id: test_state_markdown
type: MarkdownWithCode
properties:
content:
_nunjucks:
template: |
# Test State
```yaml
{{ test_state }}
```
on:
test_state:
_yaml.stringify:
- _state: test_state
- id: test_request_markdown
type: MarkdownWithCode
properties:
content:
_nunjucks:
template: |
# Test Request
```yaml
{{ test_request }}
```
on:
test_request:
_yaml.stringify:
- _request: test_request