@point-hub/papi 0.5.25 → 0.5.26
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.
package/lib/index.js
CHANGED
|
@@ -73411,7 +73411,13 @@ class BaseUseCase {
|
|
|
73411
73411
|
return { status: "success", data };
|
|
73412
73412
|
}
|
|
73413
73413
|
fail(error) {
|
|
73414
|
-
return {
|
|
73414
|
+
return {
|
|
73415
|
+
status: "failed",
|
|
73416
|
+
error: {
|
|
73417
|
+
name: "ApiError",
|
|
73418
|
+
...error
|
|
73419
|
+
}
|
|
73420
|
+
};
|
|
73415
73421
|
}
|
|
73416
73422
|
}
|
|
73417
73423
|
// src/database/mongodb/mongodb-compose.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-usecase.d.ts","sourceRoot":"","sources":["../../src/base-usecase.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,CAAC,CAAA;CACR;AAGD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"base-usecase.d.ts","sourceRoot":"","sources":["../../src/base-usecase.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,CAAC,CAAA;CACR;AAGD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACxB,CAAA;CACF;AAED;;;GAGG;AACH,MAAM,W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