@adhd/apigen-plugin-api-express 0.1.0

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.
@@ -0,0 +1,5 @@
1
+ import { HTTP_STATUS } from '@adhd/apigen-errors';
2
+ import { PluginInput, PluginOutput } from '@adhd/apigen-core';
3
+
4
+ export declare function generate(input: PluginInput): PluginOutput;
5
+ export { HTTP_STATUS };
@@ -0,0 +1,4 @@
1
+ import { OutputPlugin } from '@adhd/apigen-core';
2
+
3
+ export declare const apiExpressPlugin: OutputPlugin;
4
+ export default apiExpressPlugin;
package/lib/run.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { RunInput } from '@adhd/apigen-core';
2
+
3
+ export declare function run(input: RunInput): Promise<void>;
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@adhd/apigen-plugin-api-express",
3
+ "version": "0.1.0",
4
+ "main": "./index.js",
5
+ "dependencies": {
6
+ "@adhd/apigen-core": "^0.1.0",
7
+ "@adhd/apigen-runtime": "^0.1.0",
8
+ "express": "^5.2.1",
9
+ "pino-http": "11.0.0"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "module": "./index.mjs",
15
+ "types": "./index.d.ts"
16
+ }