@lowdefy/build 4.0.0-alpha.21 → 4.0.0-alpha.24
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/dist/build/buildAuth/buildAuthPlugins.js +39 -46
- package/dist/build/buildImports/buildImportsDev.js +5 -0
- package/dist/build/buildImports/buildImportsProd.js +1 -0
- package/dist/build/buildPages/buildBlock/buildEvents.js +3 -0
- package/dist/build/buildTypes.js +7 -0
- package/dist/build/updateServerPackageJson.js +1 -0
- package/dist/build/writePluginImports/writeAuthImports.js +4 -0
- package/dist/createContext.js +1 -0
- package/dist/defaultTypesMap.js +388 -361
- package/dist/lowdefySchema.js +31 -0
- package/dist/scripts/generateDefaultTypes.js +1 -0
- package/dist/test/testContext.js +1 -0
- package/dist/utils/createPluginTypesMap.js +7 -0
- package/package.json +32 -32
package/dist/lowdefySchema.js
CHANGED
|
@@ -83,6 +83,37 @@ export default {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
+
adapter: {
|
|
87
|
+
type: 'object',
|
|
88
|
+
required: [
|
|
89
|
+
'id',
|
|
90
|
+
'type'
|
|
91
|
+
],
|
|
92
|
+
properties: {
|
|
93
|
+
id: {
|
|
94
|
+
type: 'string',
|
|
95
|
+
errorMessage: {
|
|
96
|
+
type: 'Auth adapter "id" should be a string.'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
type: {
|
|
100
|
+
type: 'string',
|
|
101
|
+
errorMessage: {
|
|
102
|
+
type: 'Auth adapter "type" should be a string.'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
properties: {
|
|
106
|
+
type: 'object'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
errorMessage: {
|
|
110
|
+
type: 'Auth adapter should be an object.',
|
|
111
|
+
required: {
|
|
112
|
+
id: 'Auth adapter should have required property "id".',
|
|
113
|
+
type: 'Auth adapter should have required property "type".'
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
86
117
|
callbacks: {
|
|
87
118
|
type: 'array',
|
|
88
119
|
items: {
|
package/dist/test/testContext.js
CHANGED
|
@@ -32,6 +32,13 @@ function createPluginTypesMap({ packageName , packageTypes , typePrefix ='' , ty
|
|
|
32
32
|
typePrefix,
|
|
33
33
|
version
|
|
34
34
|
});
|
|
35
|
+
createTypeDefinitions({
|
|
36
|
+
typeNames: type.isObject(packageTypes.auth) ? packageTypes.auth.adapters : [],
|
|
37
|
+
store: typesMap.auth.adapters,
|
|
38
|
+
packageName,
|
|
39
|
+
typePrefix,
|
|
40
|
+
version
|
|
41
|
+
});
|
|
35
42
|
createTypeDefinitions({
|
|
36
43
|
typeNames: type.isObject(packageTypes.auth) ? packageTypes.auth.callbacks : [],
|
|
37
44
|
store: typesMap.auth.callbacks,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/build",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.24",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@lowdefy/ajv": "4.0.0-alpha.
|
|
56
|
-
"@lowdefy/blocks-basic": "4.0.0-alpha.
|
|
57
|
-
"@lowdefy/blocks-loaders": "4.0.0-alpha.
|
|
58
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
59
|
-
"@lowdefy/node-utils": "4.0.0-alpha.
|
|
60
|
-
"@lowdefy/nunjucks": "4.0.0-alpha.
|
|
61
|
-
"@lowdefy/operators": "4.0.0-alpha.
|
|
62
|
-
"@lowdefy/operators-js": "4.0.0-alpha.
|
|
55
|
+
"@lowdefy/ajv": "4.0.0-alpha.24",
|
|
56
|
+
"@lowdefy/blocks-basic": "4.0.0-alpha.24",
|
|
57
|
+
"@lowdefy/blocks-loaders": "4.0.0-alpha.24",
|
|
58
|
+
"@lowdefy/helpers": "4.0.0-alpha.24",
|
|
59
|
+
"@lowdefy/node-utils": "4.0.0-alpha.24",
|
|
60
|
+
"@lowdefy/nunjucks": "4.0.0-alpha.24",
|
|
61
|
+
"@lowdefy/operators": "4.0.0-alpha.24",
|
|
62
|
+
"@lowdefy/operators-js": "4.0.0-alpha.24",
|
|
63
63
|
"ajv": "8.11.0",
|
|
64
64
|
"json5": "2.2.1",
|
|
65
65
|
"uuid": "8.3.2",
|
|
@@ -68,28 +68,28 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@jest/globals": "28.1.0",
|
|
71
|
-
"@lowdefy/actions-core": "4.0.0-alpha.
|
|
72
|
-
"@lowdefy/blocks-aggrid": "4.0.0-alpha.
|
|
73
|
-
"@lowdefy/blocks-antd": "4.0.0-alpha.
|
|
74
|
-
"@lowdefy/blocks-color-selectors": "4.0.0-alpha.
|
|
75
|
-
"@lowdefy/blocks-echarts": "4.0.0-alpha.
|
|
76
|
-
"@lowdefy/blocks-google-maps": "4.0.0-alpha.
|
|
77
|
-
"@lowdefy/blocks-markdown": "4.0.0-alpha.
|
|
78
|
-
"@lowdefy/connection-axios-http": "4.0.0-alpha.
|
|
79
|
-
"@lowdefy/connection-elasticsearch": "4.0.0-alpha.
|
|
80
|
-
"@lowdefy/connection-google-sheets": "4.0.0-alpha.
|
|
81
|
-
"@lowdefy/connection-knex": "4.0.0-alpha.
|
|
82
|
-
"@lowdefy/connection-mongodb": "4.0.0-alpha.
|
|
83
|
-
"@lowdefy/connection-redis": "4.0.0-alpha.
|
|
84
|
-
"@lowdefy/connection-sendgrid": "4.0.0-alpha.
|
|
85
|
-
"@lowdefy/connection-stripe": "4.0.0-alpha.
|
|
86
|
-
"@lowdefy/operators-change-case": "4.0.0-alpha.
|
|
87
|
-
"@lowdefy/operators-diff": "4.0.0-alpha.
|
|
88
|
-
"@lowdefy/operators-mql": "4.0.0-alpha.
|
|
89
|
-
"@lowdefy/operators-nunjucks": "4.0.0-alpha.
|
|
90
|
-
"@lowdefy/operators-uuid": "4.0.0-alpha.
|
|
91
|
-
"@lowdefy/operators-yaml": "4.0.0-alpha.
|
|
92
|
-
"@lowdefy/plugin-next-auth": "4.0.0-alpha.
|
|
71
|
+
"@lowdefy/actions-core": "4.0.0-alpha.24",
|
|
72
|
+
"@lowdefy/blocks-aggrid": "4.0.0-alpha.24",
|
|
73
|
+
"@lowdefy/blocks-antd": "4.0.0-alpha.24",
|
|
74
|
+
"@lowdefy/blocks-color-selectors": "4.0.0-alpha.24",
|
|
75
|
+
"@lowdefy/blocks-echarts": "4.0.0-alpha.24",
|
|
76
|
+
"@lowdefy/blocks-google-maps": "4.0.0-alpha.24",
|
|
77
|
+
"@lowdefy/blocks-markdown": "4.0.0-alpha.24",
|
|
78
|
+
"@lowdefy/connection-axios-http": "4.0.0-alpha.24",
|
|
79
|
+
"@lowdefy/connection-elasticsearch": "4.0.0-alpha.24",
|
|
80
|
+
"@lowdefy/connection-google-sheets": "4.0.0-alpha.24",
|
|
81
|
+
"@lowdefy/connection-knex": "4.0.0-alpha.24",
|
|
82
|
+
"@lowdefy/connection-mongodb": "4.0.0-alpha.24",
|
|
83
|
+
"@lowdefy/connection-redis": "4.0.0-alpha.24",
|
|
84
|
+
"@lowdefy/connection-sendgrid": "4.0.0-alpha.24",
|
|
85
|
+
"@lowdefy/connection-stripe": "4.0.0-alpha.24",
|
|
86
|
+
"@lowdefy/operators-change-case": "4.0.0-alpha.24",
|
|
87
|
+
"@lowdefy/operators-diff": "4.0.0-alpha.24",
|
|
88
|
+
"@lowdefy/operators-mql": "4.0.0-alpha.24",
|
|
89
|
+
"@lowdefy/operators-nunjucks": "4.0.0-alpha.24",
|
|
90
|
+
"@lowdefy/operators-uuid": "4.0.0-alpha.24",
|
|
91
|
+
"@lowdefy/operators-yaml": "4.0.0-alpha.24",
|
|
92
|
+
"@lowdefy/plugin-next-auth": "4.0.0-alpha.24",
|
|
93
93
|
"@swc/cli": "0.1.57",
|
|
94
94
|
"@swc/core": "1.2.194",
|
|
95
95
|
"@swc/jest": "0.2.21",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"publishConfig": {
|
|
99
99
|
"access": "public"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "7ae69eeb9a93964e2fb0bf08b7a21bee2636a630"
|
|
102
102
|
}
|