@lowdefy/build 0.0.0-experimental-20241107144205 → 0.0.0-experimental-20241205084114
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/buildApi/buildEndpoint.js +0 -4
- package/dist/build/buildApi/buildRoutine/controlTypes.js +9 -3
- package/dist/build/buildApi/buildRoutine/validateStep.js +1 -5
- package/dist/build/buildAuth/buildApiAuth.js +50 -0
- package/dist/build/buildAuth/buildAuth.js +4 -0
- package/dist/build/buildAuth/getApiRoles.js +33 -0
- package/dist/build/buildAuth/getProtectedApi.js +28 -0
- package/dist/build/buildAuth/validateAuthConfig.js +15 -9
- package/dist/build/buildAuth/validateMutualExclusivity.js +27 -0
- package/dist/build/buildJs/buildJs.js +5 -0
- package/dist/build/buildJs/writeJs.js +1 -1
- package/dist/defaultTypesMap.js +465 -465
- package/dist/lowdefySchema.js +58 -0
- package/package.json +38 -38
- package/dist/build/buildApi/buildRoutine/countOperators.js +0 -0
package/dist/lowdefySchema.js
CHANGED
|
@@ -114,6 +114,64 @@ export default {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
+
api: {
|
|
118
|
+
type: 'object',
|
|
119
|
+
additionalProperties: false,
|
|
120
|
+
errorMessage: {
|
|
121
|
+
type: 'App "config.auth.api" should be an object.'
|
|
122
|
+
},
|
|
123
|
+
properties: {
|
|
124
|
+
protected: {
|
|
125
|
+
type: [
|
|
126
|
+
'array',
|
|
127
|
+
'boolean'
|
|
128
|
+
],
|
|
129
|
+
errorMessage: {
|
|
130
|
+
type: 'App "auth.api.protected.$" should be an array of strings.'
|
|
131
|
+
},
|
|
132
|
+
items: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
description: 'Page ids for which authentication is required. When specified, all unspecified api endpoints will be public.',
|
|
135
|
+
errorMessage: {
|
|
136
|
+
type: 'App "auth.api.protected.$" should be an array of strings.'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
public: {
|
|
141
|
+
type: [
|
|
142
|
+
'array',
|
|
143
|
+
'boolean'
|
|
144
|
+
],
|
|
145
|
+
errorMessage: {
|
|
146
|
+
type: 'App "auth.api.public.$" should be an array of strings.'
|
|
147
|
+
},
|
|
148
|
+
items: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
description: 'Page ids for which authentication is not required. When specified, all unspecified api endpoints will be protected.',
|
|
151
|
+
errorMessage: {
|
|
152
|
+
type: 'App "auth.api.public.$" should be an array of strings.'
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
roles: {
|
|
157
|
+
type: 'object',
|
|
158
|
+
patternProperties: {
|
|
159
|
+
'^.*$': {
|
|
160
|
+
type: 'array',
|
|
161
|
+
items: {
|
|
162
|
+
type: 'string'
|
|
163
|
+
},
|
|
164
|
+
errorMessage: {
|
|
165
|
+
type: 'App "auth.api.roles.[role]" should be an array of strings.'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
errorMessage: {
|
|
170
|
+
type: 'App "auth.api.roles" should be an object.'
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
117
175
|
authPages: {
|
|
118
176
|
type: 'object',
|
|
119
177
|
additionalProperties: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/build",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20241205084114",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"dist/*"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@lowdefy/ajv": "0.0.0-experimental-
|
|
48
|
-
"@lowdefy/blocks-basic": "0.0.0-experimental-
|
|
49
|
-
"@lowdefy/blocks-loaders": "0.0.0-experimental-
|
|
50
|
-
"@lowdefy/helpers": "0.0.0-experimental-
|
|
51
|
-
"@lowdefy/node-utils": "0.0.0-experimental-
|
|
52
|
-
"@lowdefy/nunjucks": "0.0.0-experimental-
|
|
53
|
-
"@lowdefy/operators": "0.0.0-experimental-
|
|
54
|
-
"@lowdefy/operators-js": "0.0.0-experimental-
|
|
47
|
+
"@lowdefy/ajv": "0.0.0-experimental-20241205084114",
|
|
48
|
+
"@lowdefy/blocks-basic": "0.0.0-experimental-20241205084114",
|
|
49
|
+
"@lowdefy/blocks-loaders": "0.0.0-experimental-20241205084114",
|
|
50
|
+
"@lowdefy/helpers": "0.0.0-experimental-20241205084114",
|
|
51
|
+
"@lowdefy/node-utils": "0.0.0-experimental-20241205084114",
|
|
52
|
+
"@lowdefy/nunjucks": "0.0.0-experimental-20241205084114",
|
|
53
|
+
"@lowdefy/operators": "0.0.0-experimental-20241205084114",
|
|
54
|
+
"@lowdefy/operators-js": "0.0.0-experimental-20241205084114",
|
|
55
55
|
"ajv": "8.12.0",
|
|
56
56
|
"json5": "2.2.3",
|
|
57
57
|
"yaml": "2.3.4",
|
|
@@ -59,35 +59,35 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@jest/globals": "28.1.3",
|
|
62
|
-
"@lowdefy/actions-core": "0.0.0-experimental-
|
|
63
|
-
"@lowdefy/actions-pdf-make": "0.0.0-experimental-
|
|
64
|
-
"@lowdefy/blocks-aggrid": "0.0.0-experimental-
|
|
65
|
-
"@lowdefy/blocks-algolia": "0.0.0-experimental-
|
|
66
|
-
"@lowdefy/blocks-antd": "0.0.0-experimental-
|
|
67
|
-
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-
|
|
68
|
-
"@lowdefy/blocks-echarts": "0.0.0-experimental-
|
|
69
|
-
"@lowdefy/blocks-google-maps": "0.0.0-experimental-
|
|
70
|
-
"@lowdefy/blocks-markdown": "0.0.0-experimental-
|
|
71
|
-
"@lowdefy/blocks-qr": "0.0.0-experimental-
|
|
72
|
-
"@lowdefy/connection-axios-http": "0.0.0-experimental-
|
|
73
|
-
"@lowdefy/connection-elasticsearch": "0.0.0-experimental-
|
|
74
|
-
"@lowdefy/connection-google-sheets": "0.0.0-experimental-
|
|
75
|
-
"@lowdefy/connection-knex": "0.0.0-experimental-
|
|
76
|
-
"@lowdefy/connection-mongodb": "0.0.0-experimental-
|
|
77
|
-
"@lowdefy/connection-redis": "0.0.0-experimental-
|
|
78
|
-
"@lowdefy/connection-sendgrid": "0.0.0-experimental-
|
|
79
|
-
"@lowdefy/connection-stripe": "0.0.0-experimental-
|
|
80
|
-
"@lowdefy/operators-change-case": "0.0.0-experimental-
|
|
81
|
-
"@lowdefy/operators-diff": "0.0.0-experimental-
|
|
82
|
-
"@lowdefy/operators-moment": "0.0.0-experimental-
|
|
83
|
-
"@lowdefy/operators-mql": "0.0.0-experimental-
|
|
84
|
-
"@lowdefy/operators-nunjucks": "0.0.0-experimental-
|
|
85
|
-
"@lowdefy/operators-uuid": "0.0.0-experimental-
|
|
86
|
-
"@lowdefy/operators-yaml": "0.0.0-experimental-
|
|
87
|
-
"@lowdefy/plugin-auth0": "0.0.0-experimental-
|
|
88
|
-
"@lowdefy/plugin-aws": "0.0.0-experimental-
|
|
89
|
-
"@lowdefy/plugin-csv": "0.0.0-experimental-
|
|
90
|
-
"@lowdefy/plugin-next-auth": "0.0.0-experimental-
|
|
62
|
+
"@lowdefy/actions-core": "0.0.0-experimental-20241205084114",
|
|
63
|
+
"@lowdefy/actions-pdf-make": "0.0.0-experimental-20241205084114",
|
|
64
|
+
"@lowdefy/blocks-aggrid": "0.0.0-experimental-20241205084114",
|
|
65
|
+
"@lowdefy/blocks-algolia": "0.0.0-experimental-20241205084114",
|
|
66
|
+
"@lowdefy/blocks-antd": "0.0.0-experimental-20241205084114",
|
|
67
|
+
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-20241205084114",
|
|
68
|
+
"@lowdefy/blocks-echarts": "0.0.0-experimental-20241205084114",
|
|
69
|
+
"@lowdefy/blocks-google-maps": "0.0.0-experimental-20241205084114",
|
|
70
|
+
"@lowdefy/blocks-markdown": "0.0.0-experimental-20241205084114",
|
|
71
|
+
"@lowdefy/blocks-qr": "0.0.0-experimental-20241205084114",
|
|
72
|
+
"@lowdefy/connection-axios-http": "0.0.0-experimental-20241205084114",
|
|
73
|
+
"@lowdefy/connection-elasticsearch": "0.0.0-experimental-20241205084114",
|
|
74
|
+
"@lowdefy/connection-google-sheets": "0.0.0-experimental-20241205084114",
|
|
75
|
+
"@lowdefy/connection-knex": "0.0.0-experimental-20241205084114",
|
|
76
|
+
"@lowdefy/connection-mongodb": "0.0.0-experimental-20241205084114",
|
|
77
|
+
"@lowdefy/connection-redis": "0.0.0-experimental-20241205084114",
|
|
78
|
+
"@lowdefy/connection-sendgrid": "0.0.0-experimental-20241205084114",
|
|
79
|
+
"@lowdefy/connection-stripe": "0.0.0-experimental-20241205084114",
|
|
80
|
+
"@lowdefy/operators-change-case": "0.0.0-experimental-20241205084114",
|
|
81
|
+
"@lowdefy/operators-diff": "0.0.0-experimental-20241205084114",
|
|
82
|
+
"@lowdefy/operators-moment": "0.0.0-experimental-20241205084114",
|
|
83
|
+
"@lowdefy/operators-mql": "0.0.0-experimental-20241205084114",
|
|
84
|
+
"@lowdefy/operators-nunjucks": "0.0.0-experimental-20241205084114",
|
|
85
|
+
"@lowdefy/operators-uuid": "0.0.0-experimental-20241205084114",
|
|
86
|
+
"@lowdefy/operators-yaml": "0.0.0-experimental-20241205084114",
|
|
87
|
+
"@lowdefy/plugin-auth0": "0.0.0-experimental-20241205084114",
|
|
88
|
+
"@lowdefy/plugin-aws": "0.0.0-experimental-20241205084114",
|
|
89
|
+
"@lowdefy/plugin-csv": "0.0.0-experimental-20241205084114",
|
|
90
|
+
"@lowdefy/plugin-next-auth": "0.0.0-experimental-20241205084114",
|
|
91
91
|
"@swc/cli": "0.1.63",
|
|
92
92
|
"@swc/core": "1.3.99",
|
|
93
93
|
"@swc/jest": "0.2.29",
|
|
File without changes
|