@bedrockio/model 0.10.0 → 0.10.1
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/CHANGELOG.md +4 -0
- package/dist/cjs/errors.js +6 -0
- package/dist/cjs/soft-delete.js +3 -2
- package/package.json +1 -1
- package/src/errors.js +7 -0
- package/src/soft-delete.js +2 -1
- package/types/errors.d.ts +4 -0
- package/types/errors.d.ts.map +1 -1
- package/types/soft-delete.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/errors.js
CHANGED
package/dist/cjs/soft-delete.js
CHANGED
package/package.json
CHANGED
package/src/errors.js
CHANGED
package/src/soft-delete.js
CHANGED
package/types/errors.d.ts
CHANGED
|
@@ -11,5 +11,9 @@ export class ReferenceError extends Error {
|
|
|
11
11
|
export class UniqueConstraintError extends Error {
|
|
12
12
|
constructor(message: any, details: any);
|
|
13
13
|
details: any;
|
|
14
|
+
toJSON(): {
|
|
15
|
+
type: string;
|
|
16
|
+
message: string;
|
|
17
|
+
};
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=errors.d.ts.map
|
package/types/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.js"],"names":[],"mappings":"AAAA;CAA8C;AAE9C;IACE,uBAGC;IADC,UAAgB;CAEnB;AAED;IACE,wCAGC;IADC,aAAsB;CAEzB;AAED;IACE,wCAGC;IADC,aAAsB;
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.js"],"names":[],"mappings":"AAAA;CAA8C;AAE9C;IACE,uBAGC;IADC,UAAgB;CAEnB;AAED;IACE,wCAGC;IADC,aAAsB;CAEzB;AAED;IACE,wCAGC;IADC,aAAsB;IAGxB;;;MAKC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"soft-delete.d.ts","sourceRoot":"","sources":["../src/soft-delete.js"],"names":[],"mappings":"AAKA,mDAIC;AAED,
|
|
1
|
+
{"version":3,"file":"soft-delete.d.ts","sourceRoot":"","sources":["../src/soft-delete.js"],"names":[],"mappings":"AAKA,mDAIC;AAED,0DAuBC"}
|