adorn-api 1.0.2 → 1.0.3
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/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export
|
|
1
|
+
export * from './decorators/index.js';
|
|
2
|
+
export { HttpError, ValidationError } from './core/errors/index.js';
|
|
3
|
+
export { toProblemDetails } from './core/errors/index.js';
|
|
3
4
|
export * from './validation/native/index.js';
|
|
4
5
|
export * from './core/openapi/index.js';
|
|
5
6
|
export * from './contracts/openapi.js';
|
|
@@ -10,4 +11,5 @@ export * from './core/route/index.js';
|
|
|
10
11
|
export * from './core/registry/index.js';
|
|
11
12
|
export * from './contracts/route-options.js';
|
|
12
13
|
export * from './contracts/route-typing.js';
|
|
14
|
+
export * from './contracts/validator.js';
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AAGtC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,cAAc,8BAA8B,CAAC;AAG7C,cAAc,yBAAyB,CAAC;AAGxC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAG5C,cAAc,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Public API exports for adorn-api
|
|
2
|
+
// This file defines the stable public API surface that users can rely on
|
|
3
|
+
// Core decorators - these are the main public API
|
|
4
|
+
export * from './decorators/index.js';
|
|
5
|
+
// Error types - public error classes
|
|
6
|
+
export { HttpError, ValidationError } from './core/errors/index.js';
|
|
7
|
+
export { toProblemDetails } from './core/errors/index.js';
|
|
8
|
+
// Validation - public validation API
|
|
3
9
|
export * from './validation/native/index.js';
|
|
10
|
+
// OpenAPI generation - public API for generating OpenAPI docs
|
|
4
11
|
export * from './core/openapi/index.js';
|
|
12
|
+
// OpenAPI contracts - public types for OpenAPI
|
|
5
13
|
export * from './contracts/openapi.js';
|
|
14
|
+
// Response handling - public API for responses
|
|
6
15
|
export * from './contracts/responses.js';
|
|
7
16
|
export * from './contracts/reply.js';
|
|
8
17
|
export * from './core/reply/index.js';
|
|
18
|
+
// Route definitions - public API for route configuration
|
|
9
19
|
export * from './core/route/index.js';
|
|
20
|
+
// Registry types - public types for the registry system
|
|
10
21
|
export * from './core/registry/index.js';
|
|
22
|
+
// Route options and typing - public API for route configuration
|
|
11
23
|
export * from './contracts/route-options.js';
|
|
12
24
|
export * from './contracts/route-typing.js';
|
|
25
|
+
// Validator contracts - public validation types
|
|
26
|
+
export * from './contracts/validator.js';
|
|
13
27
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,yEAAyE;AAEzE,kDAAkD;AAClD,cAAc,uBAAuB,CAAC;AAEtC,qCAAqC;AACrC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qCAAqC;AACrC,cAAc,8BAA8B,CAAC;AAE7C,8DAA8D;AAC9D,cAAc,yBAAyB,CAAC;AAExC,+CAA+C;AAC/C,cAAc,wBAAwB,CAAC;AAEvC,+CAA+C;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,yDAAyD;AACzD,cAAc,uBAAuB,CAAC;AAEtC,wDAAwD;AACxD,cAAc,0BAA0B,CAAC;AAEzC,gEAAgE;AAChE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,gDAAgD;AAChD,cAAc,0BAA0B,CAAC"}
|