diff --git a/application/api/example/data.js b/application/api/example/data.js new file mode 100644 index 0000000..3f6208c --- /dev/null +++ b/application/api/example/data.js @@ -0,0 +1,9 @@ +({ + access: 'public', + + method: async () => { + return 'Hello world'; + }, + + returns: 'string', +}); diff --git a/application/api/system/introspect.js b/application/api/system/introspect.js new file mode 100644 index 0000000..d055e57 --- /dev/null +++ b/application/api/system/introspect.js @@ -0,0 +1,4 @@ +({ + access: 'public', + method: application.introspect, +}); diff --git a/package-lock.json b/package-lock.json index df449e1..06e1b93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "impress": "^3.0.11" + "impress": "^3.0.13" }, "devDependencies": { "@flydotio/dockerfile": "^0.4.10", @@ -25,6 +25,9 @@ "lint-staged": "^14.0.1", "prettier": "3.0.3", "typescript": "^5.2.2" + }, + "engines": { + "node": "18 || 20" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 89a3e45..4c7306a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "license": "MIT", "dependencies": { - "impress": "^3.0.11" + "impress": "^3.0.13" }, "devDependencies": { "@flydotio/dockerfile": "^0.4.10",