add fastify service result type

This commit is contained in:
Darius
2025-11-21 15:49:24 +01:00
parent 9269eaaa88
commit 94c10f13e9
4 changed files with 13 additions and 0 deletions

6
dist/fastify.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export type ServiceResult = {
result?: unknown;
error_message?: boolean;
error_code?: number;
};
//# sourceMappingURL=fastify.d.ts.map

1
dist/fastify.d.ts.map vendored Normal file
View File

@@ -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"}

1
dist/fastify.js vendored Normal file
View File

@@ -0,0 +1 @@
export {};

5
src/fastify.ts Normal file
View File

@@ -0,0 +1,5 @@
export type ServiceResult = {
result?: unknown;
error_message?: boolean;
error_code?: number;
};