@lowdefy/docs 3.23.2 → 4.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -1
- package/actions/JsAction.yaml +2 -2
- package/blocks/all_icons.yaml +1 -0
- package/blocks/{display → container}/Alert.yaml +3 -2
- package/blocks/{display → container}/Descriptions.yaml +3 -1
- package/blocks/container/Drawer.yaml +1 -0
- package/blocks/{context → container}/PageHCF.yaml +2 -2
- package/blocks/{context → container}/PageHCSF.yaml +2 -2
- package/blocks/{context → container}/PageHSCF.yaml +2 -2
- package/blocks/{context → container}/PageHeaderMenu.yaml +2 -2
- package/blocks/{context → container}/PageSHCF.yaml +2 -2
- package/blocks/{context → container}/PageSiderMenu.yaml +2 -2
- package/blocks/display/Img.yaml +1 -1
- package/concepts/custom-blocks.yaml +2 -2
- package/concepts/custom-code.yaml +3 -3
- package/connections/AxiosHttp.yaml +1 -1
- package/connections/Redis.yaml +147 -0
- package/deployment/aws-lambda.yaml +2 -2
- package/deployment/docker.yaml +2 -2
- package/howto/generate-csv.yaml.njk +1 -1
- package/howto/generate-pdf.yaml.njk +2 -2
- package/howto/generateCsv/lowdefy.yaml +1 -1
- package/howto/generatePdf/lowdefy.yaml +1 -1
- package/howto/use-refrences.md +5 -0
- package/lowdefy.yaml +1 -1
- package/menus.yaml +21 -27
- package/operators/_actions.yaml +1 -1
- package/operators/_diff.yaml +0 -1
- package/operators/_event.yaml +1 -0
- package/operators/_global.yaml +1 -0
- package/operators/_index.yaml +1 -0
- package/operators/_input.yaml +1 -0
- package/operators/_js.yaml +2 -2
- package/operators/_ref.yaml +4 -4
- package/operators/_state.yaml +1 -0
- package/operators/_url_query.yaml +1 -0
- package/package.json +7 -7
- package/pages.yaml +7 -8
- package/public/sitemap.xml +204 -204
- package/tutorial/tutorial-create-page.yaml +1 -1
- package/tutorial/tutorial-start.yaml +1 -1
- package/users/login-and-logout.yaml +2 -2
- package/users/protected-pages.yaml +2 -2
- package/users/roles.yaml +2 -2
- package/users/users-introduction.yaml +1 -1
- package/version.yaml +1 -1
- package/blocks/context/Context.yaml +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [4.0.0-alpha.6](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.5...v4.0.0-alpha.6) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **docs:** Added redis connection documentation. ([ee1620b](https://github.com/lowdefy/lowdefy/commit/ee1620bb41d8aa3f32e05e9b7e03c7986365c59f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* Add _diff to client operators as well as server. ([4e23fec](https://github.com/lowdefy/lowdefy/commit/4e23fec8a4985d7453dfcf750298bc0bedeb34a2))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [4.0.0-alpha.5](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.4...v4.0.0-alpha.5) (2021-11-27)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [4.0.0-alpha.4](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.3...v4.0.0-alpha.4) (2021-11-25)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [4.0.0-alpha.3](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.2...v4.0.0-alpha.3) (2021-11-25)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @lowdefy/docs
|
|
9
41
|
|
|
@@ -11,6 +43,41 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
43
|
|
|
12
44
|
|
|
13
45
|
|
|
46
|
+
# [4.0.0-alpha.2](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.1...v4.0.0-alpha.2) (2021-11-25)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [4.0.0-alpha.1](https://github.com/lowdefy/lowdefy/compare/v3.23.1...v4.0.0-alpha.1) (2021-11-25)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **docs:** Document that _index operator is client side only. ([72c8228](https://github.com/lowdefy/lowdefy/commit/72c82282a3e6bcd3eb2eeaf3c09b395a0f152405))
|
|
60
|
+
* Replace all front end testing with @testing-library/react, jest and other updates. ([22ec295](https://github.com/lowdefy/lowdefy/commit/22ec2954047853096aabcddba7a2c509342f95f2))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* **blocksAntd:** Add HolderOutlined icon. ([c39c387](https://github.com/lowdefy/lowdefy/commit/c39c38752e4a681a1146e44b6638ff8486ff9da9))
|
|
66
|
+
* **blocksAntd:** Convert Alert to container and add action content area. ([49c6baa](https://github.com/lowdefy/lowdefy/commit/49c6baabeedd4ed5aaaf14f1d7b4ae5d2545d6cf))
|
|
67
|
+
* **blocksAntd:** Drawer: Add extra content area and contentWrapperStyle property. ([9273fac](https://github.com/lowdefy/lowdefy/commit/9273facac41e5ee6341c80e698f4367b7d8686f3))
|
|
68
|
+
* **blocks:** Convert all context category blocks to container. ([6bc03c8](https://github.com/lowdefy/lowdefy/commit/6bc03c86b80a3506c2b85076626ae15a401bcdfc))
|
|
69
|
+
* **blockTools:** Update to @emotion/css, optimize makeCssClass standarise jest settings. ([947defa](https://github.com/lowdefy/lowdefy/commit/947defa3d8934e061933b1e218b79f2f97456054))
|
|
70
|
+
* Replace server side state with payload and _payload operator. ([1f928d9](https://github.com/lowdefy/lowdefy/commit/1f928d93db4cbe886d322a1a3998a817d769485f))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### BREAKING CHANGES
|
|
74
|
+
|
|
75
|
+
* The _event, _global, _input, _state, and _url_query operators are no longer evaluated in connections or requests.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
14
81
|
## [3.23.1](https://github.com/lowdefy/lowdefy/compare/v3.23.0...v3.23.1) (2021-11-20)
|
|
15
82
|
|
|
16
83
|
**Note:** Version bump only for package @lowdefy/docs
|
package/actions/JsAction.yaml
CHANGED
|
@@ -66,7 +66,7 @@ _ref:
|
|
|
66
66
|
```yaml
|
|
67
67
|
# lowdefy.yaml
|
|
68
68
|
name: intercom-example
|
|
69
|
-
lowdefy: '3.23.
|
|
69
|
+
lowdefy: '3.23.1'
|
|
70
70
|
app:
|
|
71
71
|
html:
|
|
72
72
|
appendBody: |
|
|
@@ -137,7 +137,7 @@ _ref:
|
|
|
137
137
|
```yaml
|
|
138
138
|
# file: lowdefy.yaml
|
|
139
139
|
name: text-highlight-example
|
|
140
|
-
lowdefy: '3.23.
|
|
140
|
+
lowdefy: '3.23.1'
|
|
141
141
|
app:
|
|
142
142
|
html:
|
|
143
143
|
# Load the custom modules into the index.html head tag.
|
package/blocks/all_icons.yaml
CHANGED
|
@@ -409,6 +409,7 @@
|
|
|
409
409
|
- { label: 'HighlightOutlined', value: 'HighlightOutlined' }
|
|
410
410
|
- { label: 'HighlightTwoTone', value: 'HighlightTwoTone' }
|
|
411
411
|
- { label: 'HistoryOutlined', value: 'HistoryOutlined' }
|
|
412
|
+
- { label: 'HolderOutlined', value: 'HolderOutlined' }
|
|
412
413
|
- { label: 'HomeFilled', value: 'HomeFilled' }
|
|
413
414
|
- { label: 'HomeOutlined', value: 'HomeOutlined' }
|
|
414
415
|
- { label: 'HomeTwoTone', value: 'HomeTwoTone' }
|
|
@@ -16,11 +16,12 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Alert
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/Alert/Alert.json
|
|
21
21
|
filePath: blocks/display/Alert.yaml
|
|
22
22
|
init_property_values:
|
|
23
23
|
message: Alerts help to highlight important information.
|
|
24
24
|
description_content: |
|
|
25
25
|
Alert is used to render user feedback messages in a Alert styled frame.
|
|
26
|
-
|
|
26
|
+
areas:
|
|
27
|
+
- action
|
|
@@ -16,7 +16,7 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Descriptions
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/Descriptions/Descriptions.json
|
|
21
21
|
filePath: blocks/display/Descriptions.yaml
|
|
22
22
|
init_state_values:
|
|
@@ -47,3 +47,5 @@ _ref:
|
|
|
47
47
|
Location: South Africa
|
|
48
48
|
Temperature: 22
|
|
49
49
|
Date: 2021-02-02
|
|
50
|
+
areas:
|
|
51
|
+
- extra
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHCF
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageHCF/PageHCF.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageHCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HCF provides a minimal layout structure for a page container with a header, content and footer area.
|
|
24
24
|
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHCSF
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageHCSF/PageHCSF.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageHCSF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HCSF provides a minimal layout structure for a page container with a header, content, sider and footer arrangement.
|
|
24
24
|
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHSCF
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageHSCF/PageHSCF.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageHSCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HSCF provides a minimal layout structure for a page container with a header, sider, content, and footer arrangement.
|
|
24
24
|
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHeaderMenu
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageHeaderMenu/PageHeaderMenu.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageHeaderMenu.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
The Page Header Menu block provides a structured layout for a page with a header containing a menu, content and footer area.
|
|
24
24
|
init_state_values:
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageSHCF
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageSHCF/PageSHCF.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageSHCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page SHCF provides a minimal layout structure for a page container with a sider, header, content, and footer arrangement.
|
|
24
24
|
|
|
@@ -16,9 +16,9 @@ _ref:
|
|
|
16
16
|
path: templates/blocks/template.yaml.njk
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageSiderMenu
|
|
19
|
-
category:
|
|
19
|
+
category: container
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/PageSiderMenu/PageSiderMenu.json
|
|
21
|
-
filePath: blocks/
|
|
21
|
+
filePath: blocks/container/PageSiderMenu.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
The Page Sider Menu block provides a structured layout for a page with a header, sider including menu, content and footer area.
|
|
24
24
|
init_state_values:
|
package/blocks/display/Img.yaml
CHANGED
|
@@ -36,5 +36,5 @@ _ref:
|
|
|
36
36
|
type: Img
|
|
37
37
|
properties:
|
|
38
38
|
src: https://docs.lowdefy.com/public/logo-light-theme.png
|
|
39
|
-
|
|
39
|
+
srcSet: https://docs.lowdefy.com/public/logo-square-light-theme.png 40w, https://docs.lowdefy.com/public/logo-light-theme.png 577w
|
|
40
40
|
sizes: '(max-width: 576px) 40px, 577px'
|
|
@@ -45,7 +45,7 @@ _ref:
|
|
|
45
45
|
|
|
46
46
|
```yaml
|
|
47
47
|
name: dashboard-app
|
|
48
|
-
lowdefy: 3.23.
|
|
48
|
+
lowdefy: 3.23.1
|
|
49
49
|
types:
|
|
50
50
|
AmChartsXY:
|
|
51
51
|
url: https://blocks-cdn.lowdefy.com/v3.10.1/blocks-amcharts/meta/AmChartsXY.json
|
|
@@ -95,7 +95,7 @@ _ref:
|
|
|
95
95
|
|
|
96
96
|
```yaml
|
|
97
97
|
name: dashboard-app
|
|
98
|
-
lowdefy: 3.23.
|
|
98
|
+
lowdefy: 3.23.1
|
|
99
99
|
types:
|
|
100
100
|
MyCustomBlock:
|
|
101
101
|
url: http://localhost:3002/meta/MyCustomBlock.json
|
|
@@ -53,7 +53,7 @@ _ref:
|
|
|
53
53
|
|
|
54
54
|
```yaml
|
|
55
55
|
name: google-analytics-example
|
|
56
|
-
lowdefy: 3.23.
|
|
56
|
+
lowdefy: 3.23.1
|
|
57
57
|
# ...
|
|
58
58
|
app:
|
|
59
59
|
html:
|
|
@@ -98,7 +98,7 @@ _ref:
|
|
|
98
98
|
```yaml
|
|
99
99
|
# /lowdefy.yaml
|
|
100
100
|
name: json-todos
|
|
101
|
-
lowdefy: 3.23.
|
|
101
|
+
lowdefy: 3.23.1
|
|
102
102
|
app:
|
|
103
103
|
html:
|
|
104
104
|
appendHead:
|
|
@@ -156,7 +156,7 @@ _ref:
|
|
|
156
156
|
```yaml
|
|
157
157
|
# /lowdefy.yaml
|
|
158
158
|
name: operator-example
|
|
159
|
-
lowdefy: 3.23.
|
|
159
|
+
lowdefy: 3.23.1
|
|
160
160
|
app:
|
|
161
161
|
html:
|
|
162
162
|
appendHead:
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
+
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
_ref:
|
|
16
|
+
path: templates/general.yaml.njk
|
|
17
|
+
vars:
|
|
18
|
+
pageId: Redis
|
|
19
|
+
pageTitle: Redis
|
|
20
|
+
section: Connections
|
|
21
|
+
filePath: connections/Redis.yaml
|
|
22
|
+
content:
|
|
23
|
+
- id: markdown_intro
|
|
24
|
+
type: MarkdownWithCode
|
|
25
|
+
properties:
|
|
26
|
+
content: |
|
|
27
|
+
[`Redis`](http://redis.io/) is an open-source, in-memory key-value data structure store. Redis offers a set of versatile in-memory data structures (strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams) that allow the creation of many custom applications. Key use cases for Redis include database, caching, session management and message broker.
|
|
28
|
+
|
|
29
|
+
Lowdefy integrates with Redis using the one of the recommended [Node.js clients (node-redis)](https://github.com/redis/node-redis).
|
|
30
|
+
|
|
31
|
+
- id: markdown_connection
|
|
32
|
+
type: MarkdownWithCode
|
|
33
|
+
properties:
|
|
34
|
+
content: |
|
|
35
|
+
## Connections
|
|
36
|
+
|
|
37
|
+
Connection types:
|
|
38
|
+
- Redis
|
|
39
|
+
|
|
40
|
+
### Redis
|
|
41
|
+
|
|
42
|
+
#### Properties
|
|
43
|
+
- `connection: object | string `: __Required__ - Connection object or string to pass to the [`redis client`](https://github.com/redis/node-redis) redis client.
|
|
44
|
+
|
|
45
|
+
The connection object accepts will be passed to the redis client verbatim, so check out the [configuration instructions](https://github.com/redis/node-redis/blob/master/docs/client-configuration.md).
|
|
46
|
+
|
|
47
|
+
#### Examples
|
|
48
|
+
|
|
49
|
+
###### Redis with connection object:
|
|
50
|
+
```yaml
|
|
51
|
+
connections:
|
|
52
|
+
- id: redis
|
|
53
|
+
type: Redis
|
|
54
|
+
properties:
|
|
55
|
+
connection:
|
|
56
|
+
username:
|
|
57
|
+
_secret: REDIS_USERNAME
|
|
58
|
+
password:
|
|
59
|
+
_secret: REDIS_PASSWORD
|
|
60
|
+
database:
|
|
61
|
+
_secret: REDIS_DATABASE
|
|
62
|
+
socket:
|
|
63
|
+
host:
|
|
64
|
+
_secret: REDIS_HOST
|
|
65
|
+
port:
|
|
66
|
+
_secret: REDIS_PORT
|
|
67
|
+
```
|
|
68
|
+
Environment variables:
|
|
69
|
+
```
|
|
70
|
+
LOWDEFY_SECRET_REDIS_USERNAME = user
|
|
71
|
+
LOWDEFY_SECRET_REDIS_PASSWORD = password
|
|
72
|
+
LOWDEFY_SECRET_REDIS_DATABASE = 4
|
|
73
|
+
LOWDEFY_SECRET_REDIS_HOST = redis.server.com
|
|
74
|
+
LOWDEFY_SECRET_REDIS_PORT = 5000
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
###### Redis with connection string:
|
|
78
|
+
```yaml
|
|
79
|
+
connections:
|
|
80
|
+
- id: redis
|
|
81
|
+
type: Redis
|
|
82
|
+
properties:
|
|
83
|
+
connection:
|
|
84
|
+
_secret: REDIS_CONNECTION_STRING
|
|
85
|
+
```
|
|
86
|
+
Environment variables:
|
|
87
|
+
```
|
|
88
|
+
LOWDEFY_SECRET_REDIS_CONNECTION_STRING = redis://user:password@redis:server.com:5000/4'
|
|
89
|
+
```
|
|
90
|
+
- id: markdown_requests
|
|
91
|
+
type: MarkdownWithCode
|
|
92
|
+
properties:
|
|
93
|
+
content: |
|
|
94
|
+
## Requests
|
|
95
|
+
|
|
96
|
+
Request types:
|
|
97
|
+
- Redis
|
|
98
|
+
|
|
99
|
+
### Redis
|
|
100
|
+
|
|
101
|
+
#### Properties
|
|
102
|
+
|
|
103
|
+
- `command: string`: **Required** - Redis command to be executed, accepts all of the [out-of-the-box Redis commands](https://redis.io/commands).
|
|
104
|
+
- `parameters: array`: An array of parameters to be passed to the redis command.
|
|
105
|
+
- `modifiers: object`: The redis modififers to be passed to the redis command.
|
|
106
|
+
|
|
107
|
+
#### Examples
|
|
108
|
+
|
|
109
|
+
###### Setting a key-value pair in redis:
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
id: redisRequest
|
|
113
|
+
type: Redis
|
|
114
|
+
connectionId: redis
|
|
115
|
+
properties:
|
|
116
|
+
command: set
|
|
117
|
+
parameters:
|
|
118
|
+
- key
|
|
119
|
+
- value
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
###### Getting a value from redis:
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
id: redisRequest
|
|
126
|
+
type: Redis
|
|
127
|
+
connectionId: redis
|
|
128
|
+
properties:
|
|
129
|
+
command: get
|
|
130
|
+
parameters:
|
|
131
|
+
- key
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
###### Setting a key-value pair only if key does not exist:
|
|
135
|
+
|
|
136
|
+
````yaml
|
|
137
|
+
id: redisRequest
|
|
138
|
+
type: Redis
|
|
139
|
+
connectionId: redis
|
|
140
|
+
properties:
|
|
141
|
+
command: set
|
|
142
|
+
parameters:
|
|
143
|
+
- key
|
|
144
|
+
- value
|
|
145
|
+
modififers:
|
|
146
|
+
nx: true
|
|
147
|
+
```
|
|
@@ -55,10 +55,10 @@ _ref:
|
|
|
55
55
|
COPY --chown=node:node . .
|
|
56
56
|
|
|
57
57
|
# Build the Lowdefy config using the Lowdefy CLI
|
|
58
|
-
RUN npx lowdefy@3.23.
|
|
58
|
+
RUN npx lowdefy@3.23.1 build
|
|
59
59
|
|
|
60
60
|
# Use the correct Lowdefy base image
|
|
61
|
-
FROM lowdefy/lowdefy-aws-lambda:3.23.
|
|
61
|
+
FROM lowdefy/lowdefy-aws-lambda:3.23.1
|
|
62
62
|
|
|
63
63
|
# Copy build output from build stage
|
|
64
64
|
COPY --from=build /home/node/lowdefy/.lowdefy/build ./build
|
package/deployment/docker.yaml
CHANGED
|
@@ -65,10 +65,10 @@ _ref:
|
|
|
65
65
|
COPY --chown=node:node . .
|
|
66
66
|
|
|
67
67
|
# Build the Lowdefy config using the Lowdefy CLI
|
|
68
|
-
RUN npx lowdefy@3.23.
|
|
68
|
+
RUN npx lowdefy@3.23.1 build
|
|
69
69
|
|
|
70
70
|
# Use the correct Lowdefy base image
|
|
71
|
-
FROM lowdefy/lowdefy:3.23.
|
|
71
|
+
FROM lowdefy/lowdefy:3.23.1
|
|
72
72
|
|
|
73
73
|
# Copy build output from build stage
|
|
74
74
|
COPY --from=build --chown=node:node /home/node/lowdefy/.lowdefy/build ./build
|
|
@@ -237,7 +237,7 @@ _ref:
|
|
|
237
237
|
###### /lowdefy.yaml
|
|
238
238
|
```yaml
|
|
239
239
|
name: Generate a PDF
|
|
240
|
-
lowdefy: 3.23.
|
|
240
|
+
lowdefy: 3.23.1
|
|
241
241
|
|
|
242
242
|
app:
|
|
243
243
|
html:
|
|
@@ -302,7 +302,7 @@ _ref:
|
|
|
302
302
|
|
|
303
303
|
###### /lowdefy.yaml
|
|
304
304
|
```yaml
|
|
305
|
-
lowdefy: 3.23.
|
|
305
|
+
lowdefy: 3.23.1
|
|
306
306
|
name: Generate PDF from data with Lowdefy
|
|
307
307
|
|
|
308
308
|
app:
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# How to use references
|
|
2
|
+
|
|
3
|
+
When starting a new Lowdefy application, your app is simple, uncomplicated and easy to navigate between pages, blocks, requests and actions. Unfortunately as with any software application, as you add more functionality, your app code start to grow to thousands of lines of code. When writing an app using conventional tools like javascript, you'd deal with this complexity by splitting your app into methods, files and folders. A experienced programmer will make design choices to best abstract portions of the code to make the app more understandable and maintainable.
|
|
4
|
+
|
|
5
|
+
With Lowdefy the built configuration is served in one giant JSON blob. you can do the same by splitting portions of your Lowdefy config into separate files and folders, and stich them together and
|
package/lowdefy.yaml
CHANGED
package/menus.yaml
CHANGED
|
@@ -413,31 +413,6 @@
|
|
|
413
413
|
- id: Modal
|
|
414
414
|
type: MenuLink
|
|
415
415
|
pageId: Modal
|
|
416
|
-
- id: Result
|
|
417
|
-
type: MenuLink
|
|
418
|
-
pageId: Result
|
|
419
|
-
- id: Span
|
|
420
|
-
type: MenuLink
|
|
421
|
-
pageId: Span
|
|
422
|
-
- id: Spin
|
|
423
|
-
type: MenuLink
|
|
424
|
-
pageId: Spin
|
|
425
|
-
- id: Tabs
|
|
426
|
-
type: MenuLink
|
|
427
|
-
pageId: Tabs
|
|
428
|
-
- id: Tooltip
|
|
429
|
-
type: MenuLink
|
|
430
|
-
pageId: Tooltip
|
|
431
|
-
|
|
432
|
-
- id: blocks_context
|
|
433
|
-
type: MenuGroup
|
|
434
|
-
properties:
|
|
435
|
-
title: Context Blocks
|
|
436
|
-
icon: GroupOutlined
|
|
437
|
-
links:
|
|
438
|
-
- id: Context
|
|
439
|
-
type: MenuLink
|
|
440
|
-
pageId: Context
|
|
441
416
|
- id: PageHCF
|
|
442
417
|
type: MenuLink
|
|
443
418
|
pageId: PageHCF
|
|
@@ -456,6 +431,22 @@
|
|
|
456
431
|
- id: PageSiderMenu
|
|
457
432
|
type: MenuLink
|
|
458
433
|
pageId: PageSiderMenu
|
|
434
|
+
- id: Result
|
|
435
|
+
type: MenuLink
|
|
436
|
+
pageId: Result
|
|
437
|
+
- id: Span
|
|
438
|
+
type: MenuLink
|
|
439
|
+
pageId: Span
|
|
440
|
+
- id: Spin
|
|
441
|
+
type: MenuLink
|
|
442
|
+
pageId: Spin
|
|
443
|
+
- id: Tabs
|
|
444
|
+
type: MenuLink
|
|
445
|
+
pageId: Tabs
|
|
446
|
+
- id: Tooltip
|
|
447
|
+
type: MenuLink
|
|
448
|
+
pageId: Tooltip
|
|
449
|
+
|
|
459
450
|
- id: blocks_list
|
|
460
451
|
type: MenuGroup
|
|
461
452
|
properties:
|
|
@@ -524,6 +515,9 @@
|
|
|
524
515
|
- id: PostgreSQL
|
|
525
516
|
type: MenuLink
|
|
526
517
|
pageId: PostgreSQL
|
|
518
|
+
- id: Redis
|
|
519
|
+
type: MenuLink
|
|
520
|
+
pageId: Redis
|
|
527
521
|
- id: SendGridMail
|
|
528
522
|
type: MenuLink
|
|
529
523
|
pageId: SendGridMail
|
|
@@ -779,11 +773,11 @@
|
|
|
779
773
|
title: Lowdefy Versions
|
|
780
774
|
icon: BranchesOutlined
|
|
781
775
|
links:
|
|
782
|
-
- id: v3.23.
|
|
776
|
+
- id: v3.23.1
|
|
783
777
|
type: MenuLink
|
|
784
778
|
url: https://docs.lowdefy.com
|
|
785
779
|
properties:
|
|
786
|
-
title: v3.23.
|
|
780
|
+
title: v3.23.1
|
|
787
781
|
- id: v3.22.0
|
|
788
782
|
type: MenuLink
|
|
789
783
|
url: https://61519bcb8b8ed4412aae3057--lowdefy-docs.netlify.app
|
package/operators/_actions.yaml
CHANGED
package/operators/_diff.yaml
CHANGED
package/operators/_event.yaml
CHANGED
package/operators/_global.yaml
CHANGED
package/operators/_index.yaml
CHANGED