@mgamadeus/ddd-web 0.11.0 → 0.13.0
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/.claude/skills/ddd-web-specialist/SKILL.md +1 -1
- package/.claude/skills/ddd-web-specialist/references/consumer.md +2 -2
- package/CHANGELOG.md +20 -0
- package/dist/api/index.d.ts +3 -66
- package/dist/api/index.js +7 -74
- package/dist/api/index.js.map +1 -1
- package/dist/{chunk-XXMTSCOZ.js → chunk-J2RLNVKK.js} +32 -19
- package/dist/chunk-J2RLNVKK.js.map +1 -0
- package/dist/chunk-WZTEQOE6.js +82 -0
- package/dist/chunk-WZTEQOE6.js.map +1 -0
- package/dist/codegen/cli.js +1 -1
- package/dist/codegen/index.d.ts +6 -0
- package/dist/codegen/index.js +1 -1
- package/dist/contract/index.d.ts +1 -1
- package/dist/contract/index.js +12 -0
- package/dist/contract/index.js.map +1 -1
- package/dist/error-normalization-ytMgz5HP.d.ts +86 -0
- package/package.json +1 -1
- package/dist/chunk-XXMTSCOZ.js.map +0 -1
- package/dist/errors-B4KabvNa.d.ts +0 -22
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** One entry of `ExceptionDetails.elements` in a DDD error response. */
|
|
2
|
-
interface DddExceptionDetail {
|
|
3
|
-
message?: string | null;
|
|
4
|
-
details?: unknown[] | null;
|
|
5
|
-
objectType?: string | null;
|
|
6
|
-
}
|
|
7
|
-
/** `DDD.Infrastructure.Exceptions.ExceptionDetails`. */
|
|
8
|
-
interface DddExceptionDetails {
|
|
9
|
-
elements?: DddExceptionDetail[];
|
|
10
|
-
objectType?: string | null;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Body of every DDD error response (`DDD.Infrastructure.Exceptions.*Exception`, e.g. BadRequestException).
|
|
14
|
-
* `validationErrors` is present on 400 responses caused by DTO/entity validation.
|
|
15
|
-
*/
|
|
16
|
-
interface DddErrorBody {
|
|
17
|
-
error?: string | null;
|
|
18
|
-
validationErrors?: unknown;
|
|
19
|
-
exceptionDetails?: DddExceptionDetails | null;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type { DddExceptionDetail as D, DddErrorBody as a, DddExceptionDetails as b };
|