nestify-js 0.1.4 → 0.2.2
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.cjs +1 -1
- package/dist/index.d.cts +0 -2
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@nestify-js/core"),t=require("@nestify-js/shared");async function n(t,n){return(0,e.fastifyInjecorator)(t,{...n,setup:n.setup??e.setupBasicPipes})}Object.defineProperty(exports,"APP_FILTER",{enumerable:!0,get:function(){return t.APP_FILTER}}),Object.defineProperty(exports,"APP_GUARD",{enumerable:!0,get:function(){return t.APP_GUARD}}),Object.defineProperty(exports,"APP_INTERCEPTOR",{enumerable:!0,get:function(){return t.APP_INTERCEPTOR}}),Object.defineProperty(exports,"APP_LOGGER",{enumerable:!0,get:function(){return t.APP_LOGGER}}),Object.defineProperty(exports,"APP_PIPE",{enumerable:!0,get:function(){return t.APP_PIPE}}),Object.defineProperty(exports,"HttpStatus",{enumerable:!0,get:function(){return t.HttpStatus}}),exports.apply=n,Object.keys(e).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
|
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,6 @@ import { FastifyInjecoratorOptions } from "@nestify-js/core";
|
|
|
2
2
|
import { APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_LOGGER, APP_PIPE, HttpStatus } from "@nestify-js/shared";
|
|
3
3
|
import { FastifyInstance } from "fastify";
|
|
4
4
|
export * from "@nestify-js/core";
|
|
5
|
-
export * from "@nestify-js/schema";
|
|
6
|
-
export * from "@nestify-js/swagger";
|
|
7
5
|
|
|
8
6
|
//#region src/index.d.ts
|
|
9
7
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -2,8 +2,6 @@ import { FastifyInjecoratorOptions } from "@nestify-js/core";
|
|
|
2
2
|
import { APP_FILTER, APP_GUARD, APP_INTERCEPTOR, APP_LOGGER, APP_PIPE, HttpStatus } from "@nestify-js/shared";
|
|
3
3
|
import { FastifyInstance } from "fastify";
|
|
4
4
|
export * from "@nestify-js/core";
|
|
5
|
-
export * from "@nestify-js/schema";
|
|
6
|
-
export * from "@nestify-js/swagger";
|
|
7
5
|
|
|
8
6
|
//#region src/index.d.ts
|
|
9
7
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{fastifyInjecorator as e,setupBasicPipes as t}from"@nestify-js/core";import{
|
|
1
|
+
import{fastifyInjecorator as e,setupBasicPipes as t}from"@nestify-js/core";import{APP_FILTER as n,APP_GUARD as r,APP_INTERCEPTOR as i,APP_LOGGER as a,APP_PIPE as o,HttpStatus as s}from"@nestify-js/shared";export*from"@nestify-js/core";async function c(n,r){return e(n,{...r,setup:r.setup??t})}export{n as APP_FILTER,r as APP_GUARD,i as APP_INTERCEPTOR,a as APP_LOGGER,o as APP_PIPE,s as HttpStatus,c as apply};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nestify-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "A NestJS like fastify plugin for dependency injection",
|
|
5
5
|
"description_zh": "一个类似于 NestJS 的 Fastify 依赖注入插件",
|
|
6
6
|
"purpose": "npm",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@fastify/one-line-logger": "^2.1.0",
|
|
41
41
|
"@fastify/sensible": "^6.0.4",
|
|
42
42
|
"@fastify/static": "^9.1.3",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"@nestify-js/
|
|
43
|
+
"fastify": "^5.0.0",
|
|
44
|
+
"@nestify-js/core": "0.2.2",
|
|
45
|
+
"@nestify-js/shared": "0.2.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@fastify/multipart": "^9.3.0"
|