Compare commits

..

6 Commits

Author SHA1 Message Date
Darius
5f9b97ca54 1.1.2 2025-11-21 16:07:03 +01:00
Darius
0103f73c39 Generic Commit; Most likely a fix or small feature 2025-11-21 16:07:01 +01:00
Darius
39d45c80b9 1.1.1 2025-11-21 15:57:56 +01:00
Darius
c415912a0a Generic Commit; Most likely a fix or small feature 2025-11-21 15:57:48 +01:00
Darius
868bf0dc53 1.1.0 2025-11-21 15:49:29 +01:00
Darius
94c10f13e9 add fastify service result type 2025-11-21 15:49:24 +01:00
6 changed files with 14 additions and 3 deletions

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

@@ -0,0 +1,5 @@
export type ServiceResult<T = unknown> = {
result: T;
succesful: boolean;
};
//# 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,CAAC,CAAC,GAAG,OAAO,IAAI;IACvC,MAAM,EAAE,CAAC,CAAC;IACV,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}

1
dist/fastify.js vendored Normal file
View File

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

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@dpu/shared",
"version": "1.0.14",
"version": "1.1.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@dpu/shared",
"version": "1.0.14",
"version": "1.1.2",
"dependencies": {
"axios": "^1.7.9",
"chalk": "^5.6.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@dpu/shared",
"version": "1.0.14",
"version": "1.1.2",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",

4
src/fastify.ts Normal file
View File

@@ -0,0 +1,4 @@
export type ServiceResult<T = unknown> = {
result: T;
succesful: boolean;
};