@shadow-library/fastify 0.0.12 → 0.0.13
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/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.FASTIFY_INSTANCE = void 0;
|
|
17
18
|
/**
|
|
18
19
|
* Importing npm packages
|
|
19
20
|
*/
|
|
@@ -27,3 +28,5 @@ __exportStar(require("./interfaces/index.js"), exports);
|
|
|
27
28
|
__exportStar(require("./module/index.js"), exports);
|
|
28
29
|
__exportStar(require("./services/index.js"), exports);
|
|
29
30
|
__exportStar(require("./server.error.js"), exports);
|
|
31
|
+
var constants_1 = require("./constants.js");
|
|
32
|
+
Object.defineProperty(exports, "FASTIFY_INSTANCE", { enumerable: true, get: function () { return constants_1.FASTIFY_INSTANCE; } });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { RouteMetadata } from '@shadow-library/app';
|
|
5
5
|
import { JSONSchema } from '@shadow-library/class-schema';
|
|
6
|
-
import { RouteShorthandOptions } from 'fastify';
|
|
6
|
+
import { FastifyInstance, RouteShorthandOptions } from 'fastify';
|
|
7
7
|
/**
|
|
8
8
|
* Importing user defined packages
|
|
9
9
|
*/
|
|
@@ -32,3 +32,4 @@ declare module '@shadow-library/app' {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
export type ServerMetadata = RouteMetadata;
|
|
35
|
+
export type ServerInstance = FastifyInstance;
|
package/esm/index.d.ts
CHANGED
package/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { RouteMetadata } from '@shadow-library/app';
|
|
5
5
|
import { JSONSchema } from '@shadow-library/class-schema';
|
|
6
|
-
import { RouteShorthandOptions } from 'fastify';
|
|
6
|
+
import { FastifyInstance, RouteShorthandOptions } from 'fastify';
|
|
7
7
|
/**
|
|
8
8
|
* Importing user defined packages
|
|
9
9
|
*/
|
|
@@ -32,3 +32,4 @@ declare module '@shadow-library/app' {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
export type ServerMetadata = RouteMetadata;
|
|
35
|
+
export type ServerInstance = FastifyInstance;
|
package/package.json
CHANGED