@digitaldefiance/suite-core-lib 1.0.4 → 1.0.5

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/README.md CHANGED
@@ -327,6 +327,11 @@ MIT © [Digital Defiance](https://github.com/digitaldefiance)
327
327
 
328
328
  ## ChangeLog
329
329
 
330
+ ## v1.0.3: Add failable-result
331
+
332
+ - Sun Oct 12 2025 15:48:00 GMT-0700 (Pacific Daylight Time)
333
+ - Added IFailableResult class
334
+
330
335
  ## v1.0.2: Missing export (IConstants)
331
336
 
332
337
  - Sun Oct 12 2025 14:13:00 GMT-0700 (Pacific Daylight Time)
@@ -0,0 +1,7 @@
1
+ export interface IFailableResult<T> {
2
+ success: boolean;
3
+ data?: T;
4
+ message?: string;
5
+ error?: string | Error;
6
+ }
7
+ //# sourceMappingURL=failable-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failable-result.d.ts","sourceRoot":"","sources":["../../src/interfaces/failable-result.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACxB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=failable-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failable-result.js","sourceRoot":"","sources":["../../src/interfaces/failable-result.ts"],"names":[],"mappings":""}
@@ -4,6 +4,7 @@ export * from './bases';
4
4
  export * from './constants';
5
5
  export * from './core-consts';
6
6
  export * from './dto';
7
+ export * from './failable-result';
7
8
  export * from './has-creation';
8
9
  export * from './has-creator';
9
10
  export * from './has-id';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
@@ -20,6 +20,7 @@ __exportStar(require("./bases"), exports);
20
20
  __exportStar(require("./constants"), exports);
21
21
  __exportStar(require("./core-consts"), exports);
22
22
  __exportStar(require("./dto"), exports);
23
+ __exportStar(require("./failable-result"), exports);
23
24
  __exportStar(require("./has-creation"), exports);
24
25
  __exportStar(require("./has-creator"), exports);
25
26
  __exportStar(require("./has-id"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,0CAAwB;AACxB,8CAA4B;AAC5B,gDAA8B;AAC9B,wCAAsB;AACtB,iDAA+B;AAC/B,gDAA8B;AAC9B,2CAAyB;AACzB,oDAAkC;AAClC,qDAAmC;AACnC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,0CAAwB;AACxB,8CAA4B;AAC5B,gDAA8B;AAC9B,wCAAsB;AACtB,oDAAkC;AAClC,iDAA+B;AAC/B,gDAA8B;AAC9B,2CAAyB;AACzB,oDAAkC;AAClC,qDAAmC;AACnC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/suite-core-lib",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Generic user system and document system common core for applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",