mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-06 15:30:30 +08:00
commit
c641774606
14
CHANGELOG.md
14
CHANGELOG.md
@ -3,6 +3,20 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
## Changes
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix required validation broken by dynamic operators, closes #554.
|
||||
|
||||
## Commits
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **engine:** Fix required validation broken by dynamic operators. ([6d38dbb](https://github.com/lowdefy/lowdefy/commit/6d38dbbe577a833368b7f4bccfcdadec7e103dc8))
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
## Changes
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"packages": [
|
||||
"src/packages/*",
|
||||
"src/packages/blocks/*",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/lowdefy",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"private": true,
|
||||
"description": "Lowdefy monorepo",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/ajv
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/ajv
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/ajv",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -38,7 +38,7 @@
|
||||
"prepare": "yarn build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/nunjucks": "3.14.0",
|
||||
"@lowdefy/nunjucks": "3.14.1",
|
||||
"ajv": "6.12.6",
|
||||
"ajv-errors": "1.0.1"
|
||||
},
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/block-tools
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/block-tools",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "Lowdefy Block Tools",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -37,7 +37,7 @@
|
||||
"test": "jest --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"ajv": "6.12.6",
|
||||
"ajv-errors": "1.0.1",
|
||||
"create-emotion": "10.0.27",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-antd
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/blocks-antd",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Lowdefy Ant Design Blocks",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -45,9 +45,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "4.5.0",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/color": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"@lowdefy/color": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"antd": "4.4.2",
|
||||
"classnames": "2.2.6",
|
||||
"moment": "2.29.1",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-basic
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-basic
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/blocks-basic",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Basic html Lowdefy blocks.",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -38,7 +38,7 @@
|
||||
"test": "jest --coverage --config jest.config.js --no-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"dompurify": "2.2.6",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
@ -48,7 +48,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-color-selectors
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/blocks-color-selectors",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "A Lowdefy color selector blocks based on react-color.",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -40,8 +40,8 @@
|
||||
"test": "jest --coverage --config jest.config.js --no-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/blocks-antd": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"@lowdefy/blocks-antd": "3.14.1",
|
||||
"react": "17.0.2",
|
||||
"react-color": "2.19.3",
|
||||
"react-dom": "17.0.2"
|
||||
@ -51,7 +51,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-echarts
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-echarts
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/blocks-echarts",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "ECharts Blocks for Lowdefy.",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -40,7 +40,7 @@
|
||||
"test": "jest --coverage --config jest.config.js --no-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"echarts": "5.0.2",
|
||||
"echarts-for-react": "3.0.1",
|
||||
"react": "17.0.2",
|
||||
@ -52,7 +52,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
"buffer": "6.0.3",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-markdown
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/blocks-markdown
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/blocks-markdown",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Lowdefy markdown blocks.",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -40,7 +40,7 @@
|
||||
"test": "jest --coverage --config jest.config.js --no-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"dompurify": "2.2.6",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
@ -53,7 +53,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/build
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/build",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -36,10 +36,10 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/ajv": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/nunjucks": "3.14.0",
|
||||
"@lowdefy/ajv": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"@lowdefy/nunjucks": "3.14.1",
|
||||
"ajv": "6.12.6",
|
||||
"axios": "0.21.1",
|
||||
"dataloader": "2.0.0",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package lowdefy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lowdefy",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Lowdefy CLI",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -40,8 +40,8 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"apollo-server-express": "2.21.0",
|
||||
"axios": "0.21.1",
|
||||
"chalk": "4.1.0",
|
||||
@ -71,7 +71,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
"clean-webpack-plugin": "3.0.0",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/color
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/color
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/color",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/docs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
name: '@lowdefy/docs'
|
||||
lowdefy: '3.14.0'
|
||||
lowdefy: '3.14.1'
|
||||
licence: Apache-2.0
|
||||
|
||||
global:
|
||||
|
@ -102,7 +102,7 @@ _ref:
|
||||
###### Reference pages:
|
||||
```yaml
|
||||
# lowdefy.yaml
|
||||
lowdefy: '3.14.0'
|
||||
lowdefy: '3.14.1'
|
||||
pages:
|
||||
- _ref: pages/page1.yaml
|
||||
- _ref: pages/page2.yaml
|
||||
@ -123,7 +123,7 @@ _ref:
|
||||
```
|
||||
Returns:
|
||||
```
|
||||
lowdefy: '3.14.0'
|
||||
lowdefy: '3.14.1'
|
||||
pages:
|
||||
- id: page1
|
||||
type: PageHeaderMenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/docs",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
|
@ -76,7 +76,7 @@ _ref:
|
||||
|
||||
```yaml
|
||||
name: lowdefy-project-template
|
||||
lowdefy: 3.14.0
|
||||
lowdefy: 3.14.1
|
||||
|
||||
pages:
|
||||
################ -------- Copy from here -------- ################
|
||||
|
@ -180,7 +180,7 @@ _ref:
|
||||
Open the `lowdefy.yaml` file using a text editor like [VS Code](https://code.visualstudio.com/download). The content of the file should look like this:
|
||||
|
||||
```yaml
|
||||
lowdefy: 3.14.0
|
||||
lowdefy: 3.14.1
|
||||
name: Lowdefy starter
|
||||
|
||||
pages:
|
||||
|
@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **engine:** Fix required validation broken by dynamic operators. ([6d38dbb](https://github.com/lowdefy/lowdefy/commit/6d38dbbe577a833368b7f4bccfcdadec7e103dc8))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/engine
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/engine",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -36,8 +36,8 @@
|
||||
"test": "jest --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/operators": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/operators": "3.14.1",
|
||||
"graphql": "15.5.0",
|
||||
"graphql-tag": "2.11.0"
|
||||
},
|
||||
|
@ -30,6 +30,7 @@ const blockData = ({
|
||||
id,
|
||||
layout,
|
||||
meta,
|
||||
operators,
|
||||
pageId,
|
||||
properties,
|
||||
requests,
|
||||
@ -47,6 +48,7 @@ const blockData = ({
|
||||
id,
|
||||
layout,
|
||||
meta,
|
||||
operators,
|
||||
pageId,
|
||||
properties,
|
||||
requests,
|
||||
@ -69,12 +71,13 @@ const getContext = async ({ block, contextId, lowdefy }) => {
|
||||
if (!lowdefy.inputs[contextId]) {
|
||||
lowdefy.inputs[contextId] = {};
|
||||
}
|
||||
const operatorsSet = new Set([...block.operators, '_not', '_type']);
|
||||
lowdefy.contexts[contextId] = {
|
||||
id: contextId,
|
||||
blockId: block.blockId,
|
||||
eventLog: [],
|
||||
requests: {},
|
||||
operators: block.operators || [],
|
||||
operators: [...operatorsSet],
|
||||
lowdefy,
|
||||
pageId: lowdefy.pageId,
|
||||
rootBlock: blockData(block), // filter block to prevent circular structure
|
||||
|
@ -46,6 +46,116 @@ afterAll(() => {
|
||||
global.Date = RealDate;
|
||||
});
|
||||
|
||||
test('Validate required field', async () => {
|
||||
const rootBlock = {
|
||||
blockId: 'root',
|
||||
meta: {
|
||||
category: 'context',
|
||||
},
|
||||
areas: {
|
||||
content: {
|
||||
blocks: [
|
||||
{
|
||||
blockId: 'text1',
|
||||
type: 'TextInput',
|
||||
meta: {
|
||||
category: 'input',
|
||||
valueType: 'string',
|
||||
},
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
blockId: 'button',
|
||||
type: 'Button',
|
||||
meta: {
|
||||
category: 'display',
|
||||
},
|
||||
events: {
|
||||
onClick: [
|
||||
{
|
||||
id: 'validate',
|
||||
type: 'Validate',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
const context = await testContext({
|
||||
lowdefy,
|
||||
rootBlock,
|
||||
});
|
||||
const { button, text1 } = context.RootBlocks.map;
|
||||
expect(text1.validationEval.output).toEqual({
|
||||
errors: ['This field is required'],
|
||||
status: null,
|
||||
warnings: [],
|
||||
});
|
||||
await button.triggerEvent({ name: 'onClick' });
|
||||
expect(button.Events.events.onClick.history[0]).toEqual({
|
||||
blockId: 'button',
|
||||
event: undefined,
|
||||
eventName: 'onClick',
|
||||
responses: [
|
||||
{
|
||||
actionId: 'validate',
|
||||
actionType: 'Validate',
|
||||
error: new Error('Your input has 1 validation error.'),
|
||||
},
|
||||
],
|
||||
success: false,
|
||||
timestamp: {
|
||||
date: 0,
|
||||
},
|
||||
});
|
||||
expect(text1.validationEval.output).toEqual({
|
||||
errors: ['This field is required'],
|
||||
status: 'error',
|
||||
warnings: [],
|
||||
});
|
||||
expect(displayMessage.mock.calls).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"content": "Your input has 1 validation error.",
|
||||
"duration": 6,
|
||||
"status": "error",
|
||||
},
|
||||
],
|
||||
]
|
||||
`);
|
||||
displayMessage.mockReset();
|
||||
displayMessage.mockImplementation(() => closeLoader);
|
||||
text1.setValue('text1');
|
||||
await button.triggerEvent({ name: 'onClick' });
|
||||
expect(button.Events.events.onClick.history[0]).toEqual({
|
||||
blockId: 'button',
|
||||
event: undefined,
|
||||
eventName: 'onClick',
|
||||
responses: [
|
||||
{
|
||||
actionId: 'validate',
|
||||
actionType: 'Validate',
|
||||
response: undefined,
|
||||
},
|
||||
],
|
||||
success: true,
|
||||
timestamp: {
|
||||
date: 0,
|
||||
},
|
||||
});
|
||||
expect(text1.validationEval.output).toEqual({
|
||||
errors: [],
|
||||
status: 'success',
|
||||
warnings: [],
|
||||
});
|
||||
expect(displayMessage.mock.calls).toEqual([]);
|
||||
displayMessage.mockReset();
|
||||
displayMessage.mockImplementation(() => closeLoader);
|
||||
});
|
||||
|
||||
test('Validate all fields', async () => {
|
||||
const rootBlock = {
|
||||
blockId: 'root',
|
||||
|
@ -46,6 +46,7 @@ test('memoize context', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const c1 = await getContext({ block, contextId: 'c1', lowdefy });
|
||||
const c2 = await getContext({ block, contextId: 'c1', lowdefy });
|
||||
@ -71,6 +72,7 @@ test('create context', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const context = await getContext({ block, contextId: 'contextId', lowdefy });
|
||||
expect(context.Actions).toBeDefined();
|
||||
@ -81,6 +83,7 @@ test('create context', async () => {
|
||||
expect(context.lowdefy).toEqual(lowdefy);
|
||||
expect(context.eventLog).toEqual([]);
|
||||
expect(context.id).toEqual('contextId');
|
||||
expect(context.operators).toBeInstanceOf(Array);
|
||||
expect(context.lowdefy.pageId).toEqual('pageId');
|
||||
expect(context.parser).toBeDefined();
|
||||
expect(context.requests).toEqual({});
|
||||
@ -111,6 +114,7 @@ test('create context, initialize input', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const context = await getContext({ block, contextId: 'contextId', lowdefy });
|
||||
expect(context.lowdefy.inputs.contextId).toEqual({});
|
||||
@ -129,12 +133,14 @@ test('call update for listening contexts', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const block2 = {
|
||||
blockId: 'block2',
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const mockUpdate = jest.fn();
|
||||
const c1 = await getContext({ block: block1, contextId: 'c1', lowdefy });
|
||||
@ -158,6 +164,7 @@ test('remove contextId from updateListeners if not found', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const c1 = await getContext({ block, contextId: 'c1', lowdefy });
|
||||
|
||||
@ -180,6 +187,7 @@ test('remove contextId from updateListeners if equal to own contextId', async ()
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const c1 = await getContext({ block, contextId: 'c1', lowdefy });
|
||||
|
||||
@ -202,6 +210,7 @@ test('update memoized context', async () => {
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const mockUpdate = jest.fn();
|
||||
const c1 = await getContext({ block, contextId: 'c1', lowdefy });
|
||||
@ -223,6 +232,7 @@ test('call update for nested contexts and prevent circular loop structure', asyn
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const block1 = {
|
||||
blockId: 'block1',
|
||||
@ -234,6 +244,7 @@ test('call update for nested contexts and prevent circular loop structure', asyn
|
||||
blocks: block2,
|
||||
},
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const c1 = await getContext({ block: block1, contextId: 'c1', lowdefy });
|
||||
const getC2 = () =>
|
||||
@ -244,3 +255,22 @@ test('call update for nested contexts and prevent circular loop structure', asyn
|
||||
});
|
||||
await expect(getC2()).resolves.not.toThrow();
|
||||
});
|
||||
|
||||
test('Add operators for required validation', async () => {
|
||||
const lowdefy = {
|
||||
client,
|
||||
contexts: {},
|
||||
inputs: {},
|
||||
pageId,
|
||||
updateBlock,
|
||||
};
|
||||
const block = {
|
||||
blockId: 'blockId',
|
||||
meta: {
|
||||
type: 'context',
|
||||
},
|
||||
operators: [],
|
||||
};
|
||||
const context = await getContext({ block, contextId: 'contextId', lowdefy });
|
||||
expect(context.operators).toEqual(expect.arrayContaining(['_not', '_type']));
|
||||
});
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/format
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/format
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/format",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/graphql-federated
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/graphql-federated
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/graphql-federated",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -37,7 +37,7 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/graphql": "3.14.0"
|
||||
"@lowdefy/graphql": "3.14.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.13.14",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/graphql
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/graphql",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -38,11 +38,11 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/ajv": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/nunjucks": "3.14.0",
|
||||
"@lowdefy/operators": "3.14.0",
|
||||
"@lowdefy/ajv": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"@lowdefy/nunjucks": "3.14.1",
|
||||
"@lowdefy/operators": "3.14.1",
|
||||
"@sendgrid/mail": "7.4.2",
|
||||
"ajv": "6.12.6",
|
||||
"ajv-errors": "1.0.1",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/helpers
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/helpers",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/layout
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/layout
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/layout",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -37,8 +37,8 @@
|
||||
"test": "jest --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"antd": "4.4.2",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/node-utils
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/node-utils
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/node-utils",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -36,7 +36,7 @@
|
||||
"prepare": "yarn build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"rimraf": "3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/nunjucks
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/nunjucks
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/nunjucks",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -38,7 +38,7 @@
|
||||
"prepare": "yarn build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"nunjucks": "3.2.3",
|
||||
"nunjucks-date-filter": "0.1.1"
|
||||
},
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/operators
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/operators",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -36,9 +36,9 @@
|
||||
"prepare": "yarn build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/format": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/nunjucks": "3.14.0",
|
||||
"@lowdefy/format": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/nunjucks": "3.14.1",
|
||||
"deep-diff": "1.0.2",
|
||||
"js-yaml": "4.0.0",
|
||||
"mingo": "4.1.2",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/renderer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/renderer",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"licence": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -40,10 +40,10 @@
|
||||
"@apollo/link-context": "2.0.0-beta.3",
|
||||
"@apollo/link-error": "2.0.0-beta.3",
|
||||
"@apollo/link-retry": "2.0.0-beta.3",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/engine": "3.14.0",
|
||||
"@lowdefy/helpers": "3.14.0",
|
||||
"@lowdefy/layout": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"@lowdefy/engine": "3.14.1",
|
||||
"@lowdefy/helpers": "3.14.1",
|
||||
"@lowdefy/layout": "3.14.1",
|
||||
"graphql": "15.5.0",
|
||||
"graphql-type-json": "0.3.2",
|
||||
"react": "17.0.2",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-dev
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-dev
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/server-dev",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -37,8 +37,8 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/graphql": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/graphql": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"apollo-server-express": "2.21.0",
|
||||
"dotenv": "8.2.0",
|
||||
"express": "4.17.1",
|
||||
@ -49,7 +49,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
"clean-webpack-plugin": "3.0.0",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-docker
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-docker
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/server-docker",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -39,8 +39,8 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/graphql": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/graphql": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"apollo-server-express": "2.21.0",
|
||||
"express": "4.17.1",
|
||||
"graphql": "15.5.0"
|
||||
@ -50,7 +50,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
"clean-webpack-plugin": "3.0.0",
|
||||
|
@ -3,6 +3,14 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [3.14.1](https://github.com/lowdefy/lowdefy/compare/v3.14.0...v3.14.1) (2021-04-28)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-netlify
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.14.0](https://github.com/lowdefy/lowdefy/compare/v3.13.0...v3.14.0) (2021-04-26)
|
||||
|
||||
**Note:** Version bump only for package @lowdefy/server-netlify
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lowdefy/server-netlify",
|
||||
"version": "3.14.0",
|
||||
"version": "3.14.1",
|
||||
"license": "Apache-2.0",
|
||||
"description": "",
|
||||
"homepage": "https://lowdefy.com",
|
||||
@ -37,8 +37,8 @@
|
||||
"webpack": "webpack --config webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lowdefy/graphql": "3.14.0",
|
||||
"@lowdefy/node-utils": "3.14.0",
|
||||
"@lowdefy/graphql": "3.14.1",
|
||||
"@lowdefy/node-utils": "3.14.1",
|
||||
"apollo-server-express": "2.21.0",
|
||||
"express": "4.17.1",
|
||||
"graphql": "15.5.0",
|
||||
@ -49,7 +49,7 @@
|
||||
"@babel/core": "7.12.16",
|
||||
"@babel/preset-env": "7.12.16",
|
||||
"@babel/preset-react": "7.12.13",
|
||||
"@lowdefy/block-tools": "3.14.0",
|
||||
"@lowdefy/block-tools": "3.14.1",
|
||||
"babel-jest": "26.6.3",
|
||||
"babel-loader": "8.2.2",
|
||||
"clean-webpack-plugin": "3.0.0",
|
||||
|
122
yarn.lock
122
yarn.lock
@ -3002,14 +3002,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@lowdefy/ajv@3.14.0, @lowdefy/ajv@workspace:packages/ajv":
|
||||
"@lowdefy/ajv@3.14.1, @lowdefy/ajv@workspace:packages/ajv":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/ajv@workspace:packages/ajv"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/nunjucks": 3.14.0
|
||||
"@lowdefy/nunjucks": 3.14.1
|
||||
ajv: 6.12.6
|
||||
ajv-errors: 1.0.1
|
||||
babel-jest: 26.6.3
|
||||
@ -3018,7 +3018,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/block-tools@3.14.0, @lowdefy/block-tools@workspace:packages/blockTools":
|
||||
"@lowdefy/block-tools@3.14.1, @lowdefy/block-tools@workspace:packages/blockTools":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/block-tools@workspace:packages/blockTools"
|
||||
dependencies:
|
||||
@ -3026,7 +3026,7 @@ __metadata:
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@babel/preset-react": 7.13.13
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@wojtekmaj/enzyme-adapter-react-17": 0.6.0
|
||||
ajv: 6.12.6
|
||||
ajv-errors: 1.0.1
|
||||
@ -3057,7 +3057,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/blocks-antd@3.14.0, @lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd":
|
||||
"@lowdefy/blocks-antd@3.14.1, @lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd"
|
||||
dependencies:
|
||||
@ -3066,9 +3066,9 @@ __metadata:
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@babel/preset-react": 7.13.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/color": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/color": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@wojtekmaj/enzyme-adapter-react-17": 0.6.0
|
||||
antd: 4.4.2
|
||||
babel-jest: 26.6.3
|
||||
@ -3113,8 +3113,8 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@wojtekmaj/enzyme-adapter-react-17": 0.6.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3150,9 +3150,9 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/blocks-antd": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/blocks-antd": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@wojtekmaj/enzyme-adapter-react-17": 0.6.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3193,8 +3193,8 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
buffer: 6.0.3
|
||||
@ -3230,8 +3230,8 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@wojtekmaj/enzyme-adapter-react-17": 0.6.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3270,10 +3270,10 @@ __metadata:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/ajv": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/nunjucks": 3.14.0
|
||||
"@lowdefy/ajv": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
"@lowdefy/nunjucks": 3.14.1
|
||||
ajv: 6.12.6
|
||||
axios: 0.21.1
|
||||
babel-jest: 26.6.3
|
||||
@ -3289,7 +3289,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/color@3.14.0, @lowdefy/color@workspace:packages/color":
|
||||
"@lowdefy/color@3.14.1, @lowdefy/color@workspace:packages/color":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/color@workspace:packages/color"
|
||||
dependencies:
|
||||
@ -3314,15 +3314,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/engine@3.14.0, @lowdefy/engine@workspace:packages/engine":
|
||||
"@lowdefy/engine@3.14.1, @lowdefy/engine@workspace:packages/engine":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/engine@workspace:packages/engine"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/operators": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/operators": 3.14.1
|
||||
babel-jest: 26.6.3
|
||||
graphql: 15.5.0
|
||||
graphql-tag: 2.11.0
|
||||
@ -3330,7 +3330,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/format@3.14.0, @lowdefy/format@workspace:packages/format":
|
||||
"@lowdefy/format@3.14.1, @lowdefy/format@workspace:packages/format":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/format@workspace:packages/format"
|
||||
dependencies:
|
||||
@ -3350,7 +3350,7 @@ __metadata:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/graphql": 3.14.0
|
||||
"@lowdefy/graphql": 3.14.1
|
||||
babel-loader: 8.2.2
|
||||
clean-webpack-plugin: 3.0.0
|
||||
webpack: 5.28.0
|
||||
@ -3358,18 +3358,18 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/graphql@3.14.0, @lowdefy/graphql@workspace:packages/graphql":
|
||||
"@lowdefy/graphql@3.14.1, @lowdefy/graphql@workspace:packages/graphql":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/graphql@workspace:packages/graphql"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/ajv": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/nunjucks": 3.14.0
|
||||
"@lowdefy/operators": 3.14.0
|
||||
"@lowdefy/ajv": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
"@lowdefy/nunjucks": 3.14.1
|
||||
"@lowdefy/operators": 3.14.1
|
||||
"@sendgrid/mail": 7.4.2
|
||||
"@shelf/jest-mongodb": 1.2.3
|
||||
ajv: 6.12.6
|
||||
@ -3404,7 +3404,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/helpers@3.14.0, @lowdefy/helpers@workspace:packages/helpers":
|
||||
"@lowdefy/helpers@3.14.1, @lowdefy/helpers@workspace:packages/helpers":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/helpers@workspace:packages/helpers"
|
||||
dependencies:
|
||||
@ -3419,7 +3419,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/layout@3.14.0, @lowdefy/layout@workspace:packages/layout":
|
||||
"@lowdefy/layout@3.14.1, @lowdefy/layout@workspace:packages/layout":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/layout@workspace:packages/layout"
|
||||
dependencies:
|
||||
@ -3427,8 +3427,8 @@ __metadata:
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@babel/preset-react": 7.13.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
antd: 4.4.2
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3476,14 +3476,14 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/node-utils@3.14.0, @lowdefy/node-utils@workspace:packages/nodeUtils":
|
||||
"@lowdefy/node-utils@3.14.1, @lowdefy/node-utils@workspace:packages/nodeUtils":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/node-utils@workspace:packages/nodeUtils"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
babel-jest: 26.6.3
|
||||
jest: 26.6.3
|
||||
jest-diff: 26.6.2
|
||||
@ -3491,14 +3491,14 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/nunjucks@3.14.0, @lowdefy/nunjucks@workspace:packages/nunjucks":
|
||||
"@lowdefy/nunjucks@3.14.1, @lowdefy/nunjucks@workspace:packages/nunjucks":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/nunjucks@workspace:packages/nunjucks"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
babel-jest: 26.6.3
|
||||
jest: 26.6.3
|
||||
nunjucks: 3.2.3
|
||||
@ -3506,16 +3506,16 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@lowdefy/operators@3.14.0, @lowdefy/operators@workspace:packages/operators":
|
||||
"@lowdefy/operators@3.14.1, @lowdefy/operators@workspace:packages/operators":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@lowdefy/operators@workspace:packages/operators"
|
||||
dependencies:
|
||||
"@babel/cli": 7.13.14
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-env": 7.13.12
|
||||
"@lowdefy/format": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/nunjucks": 3.14.0
|
||||
"@lowdefy/format": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/nunjucks": 3.14.1
|
||||
babel-jest: 26.6.3
|
||||
deep-diff: 1.0.2
|
||||
jest: 26.6.3
|
||||
@ -3536,10 +3536,10 @@ __metadata:
|
||||
"@apollo/link-retry": 2.0.0-beta.3
|
||||
"@babel/core": 7.13.14
|
||||
"@babel/preset-react": 7.13.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/engine": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/layout": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/engine": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/layout": 3.14.1
|
||||
babel-loader: 8.2.2
|
||||
clean-webpack-plugin: 3.0.0
|
||||
css-loader: 5.0.2
|
||||
@ -3567,9 +3567,9 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/graphql": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/graphql": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
apollo-server-express: 2.21.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3598,9 +3598,9 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/graphql": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/graphql": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
apollo-server-express: 2.21.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -3628,9 +3628,9 @@ __metadata:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/graphql": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/graphql": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
apollo-server-express: 2.21.0
|
||||
babel-jest: 26.6.3
|
||||
babel-loader: 8.2.2
|
||||
@ -14161,9 +14161,9 @@ fsevents@^1.2.7:
|
||||
"@babel/core": 7.12.16
|
||||
"@babel/preset-env": 7.12.16
|
||||
"@babel/preset-react": 7.12.13
|
||||
"@lowdefy/block-tools": 3.14.0
|
||||
"@lowdefy/helpers": 3.14.0
|
||||
"@lowdefy/node-utils": 3.14.0
|
||||
"@lowdefy/block-tools": 3.14.1
|
||||
"@lowdefy/helpers": 3.14.1
|
||||
"@lowdefy/node-utils": 3.14.1
|
||||
apollo-server-express: 2.21.0
|
||||
axios: 0.21.1
|
||||
babel-jest: 26.6.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user