@lowdefy/api 0.0.0-experimental-20231123101256
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/LICENSE +201 -0
- package/dist/context/createApiContext.js +22 -0
- package/dist/context/createAuthorize.js +33 -0
- package/dist/context/createReadConfigFile.js +31 -0
- package/dist/context/errors.js +33 -0
- package/dist/index.js +22 -0
- package/dist/routes/auth/callbacks/addUserFieldsToSession.js +28 -0
- package/dist/routes/auth/callbacks/addUserFieldsToToken.js +30 -0
- package/dist/routes/auth/callbacks/createCallbackPlugins.js +21 -0
- package/dist/routes/auth/callbacks/createCallbacks.js +46 -0
- package/dist/routes/auth/callbacks/createJWTCallback.js +76 -0
- package/dist/routes/auth/callbacks/createRedirectCallback.js +41 -0
- package/dist/routes/auth/callbacks/createSessionCallback.js +76 -0
- package/dist/routes/auth/callbacks/createSignInCallback.js +40 -0
- package/dist/routes/auth/createAdapter.js +24 -0
- package/dist/routes/auth/createLogger.js +34 -0
- package/dist/routes/auth/createProviders.js +25 -0
- package/dist/routes/auth/events/createCreateUserEvent.js +41 -0
- package/dist/routes/auth/events/createEventPlugins.js +21 -0
- package/dist/routes/auth/events/createEvents.js +56 -0
- package/dist/routes/auth/events/createLinkAccountEvent.js +43 -0
- package/dist/routes/auth/events/createSessionEvent.js +34 -0
- package/dist/routes/auth/events/createSignInEvent.js +46 -0
- package/dist/routes/auth/events/createSignOutEvent.js +43 -0
- package/dist/routes/auth/events/createUpdateUserEvent.js +41 -0
- package/dist/routes/auth/getNextAuthConfig.js +73 -0
- package/dist/routes/page/getPageConfig.js +26 -0
- package/dist/routes/request/authorizeRequest.js +32 -0
- package/dist/routes/request/callRequest.js +92 -0
- package/dist/routes/request/callRequestResolver.js +40 -0
- package/dist/routes/request/checkConnectionRead.js +29 -0
- package/dist/routes/request/checkConnectionWrite.js +29 -0
- package/dist/routes/request/evaluateOperators.js +43 -0
- package/dist/routes/request/getConnection.js +31 -0
- package/dist/routes/request/getConnectionConfig.js +42 -0
- package/dist/routes/request/getRequestConfig.js +31 -0
- package/dist/routes/request/getRequestResolver.js +31 -0
- package/dist/routes/request/validateSchemas.js +39 -0
- package/dist/routes/rootConfig/getHomeAndMenus.js +56 -0
- package/dist/routes/rootConfig/getLowdefyGlobal.js +19 -0
- package/dist/routes/rootConfig/getRootConfig.js +28 -0
- package/dist/routes/rootConfig/menus/filterMenuList.js +41 -0
- package/dist/routes/rootConfig/menus/filterMenus.js +29 -0
- package/dist/routes/rootConfig/menus/getMenus.js +22 -0
- package/dist/test/testContext.js +38 -0
- package/package.json +59 -0
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lowdefy/api",
|
|
3
|
+
"version": "0.0.0-experimental-20231123101256",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"description": "",
|
|
6
|
+
"homepage": "https://lowdefy.com",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"lowdefy"
|
|
9
|
+
],
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/lowdefy/lowdefy/issues"
|
|
12
|
+
},
|
|
13
|
+
"contributors": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Sam Tolmay",
|
|
16
|
+
"url": "https://github.com/SamTolmay"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Gerrie van Wyk",
|
|
20
|
+
"url": "https://github.com/Gervwyk"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/lowdefy/lowdefy.git"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": "./dist/index.js",
|
|
30
|
+
"./context/*": "./dist/context/*",
|
|
31
|
+
"./routes/*": "./dist/routes/*"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist/*"
|
|
35
|
+
],
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@lowdefy/ajv": "0.0.0-experimental-20231123101256",
|
|
38
|
+
"@lowdefy/helpers": "0.0.0-experimental-20231123101256",
|
|
39
|
+
"@lowdefy/node-utils": "0.0.0-experimental-20231123101256",
|
|
40
|
+
"@lowdefy/nunjucks": "0.0.0-experimental-20231123101256",
|
|
41
|
+
"@lowdefy/operators": "0.0.0-experimental-20231123101256",
|
|
42
|
+
"@lowdefy/operators-js": "0.0.0-experimental-20231123101256"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@jest/globals": "28.1.3",
|
|
46
|
+
"@swc/cli": "0.1.63",
|
|
47
|
+
"@swc/core": "1.3.99",
|
|
48
|
+
"@swc/jest": "0.2.29",
|
|
49
|
+
"jest": "28.1.3"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start",
|
|
56
|
+
"clean": "rm -rf dist",
|
|
57
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
58
|
+
}
|
|
59
|
+
}
|