From 94c10f13e98ac2ebd66d7a5c3ef3ebfa5bce0fc6 Mon Sep 17 00:00:00 2001 From: Darius Date: Fri, 21 Nov 2025 15:49:24 +0100 Subject: [PATCH] add fastify service result type --- dist/fastify.d.ts | 6 ++++++ dist/fastify.d.ts.map | 1 + dist/fastify.js | 1 + src/fastify.ts | 5 +++++ 4 files changed, 13 insertions(+) create mode 100644 dist/fastify.d.ts create mode 100644 dist/fastify.d.ts.map create mode 100644 dist/fastify.js create mode 100644 src/fastify.ts diff --git a/dist/fastify.d.ts b/dist/fastify.d.ts new file mode 100644 index 0000000..d621673 --- /dev/null +++ b/dist/fastify.d.ts @@ -0,0 +1,6 @@ +export type ServiceResult = { + result?: unknown; + error_message?: boolean; + error_code?: number; +}; +//# sourceMappingURL=fastify.d.ts.map \ No newline at end of file diff --git a/dist/fastify.d.ts.map b/dist/fastify.d.ts.map new file mode 100644 index 0000000..8547df8 --- /dev/null +++ b/dist/fastify.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fastify.d.ts","sourceRoot":"","sources":["../src/fastify.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"} \ No newline at end of file diff --git a/dist/fastify.js b/dist/fastify.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/dist/fastify.js @@ -0,0 +1 @@ +export {}; diff --git a/src/fastify.ts b/src/fastify.ts new file mode 100644 index 0000000..41d4e63 --- /dev/null +++ b/src/fastify.ts @@ -0,0 +1,5 @@ +export type ServiceResult = { + result?: unknown; + error_message?: boolean; + error_code?: number; +};