@fedify/nestjs 1.8.1-dev.1260 → 1.8.1-dev.1261
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.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { DynamicModule, NestMiddleware, Type } from "@nestjs/common";
|
|
2
2
|
import { Federation, FederationOptions } from "@fedify/fedify";
|
|
3
3
|
|
|
4
|
-
//#region fedify.module.d.ts
|
|
4
|
+
//#region src/fedify.module.d.ts
|
|
5
5
|
declare class FedifyModule {
|
|
6
6
|
static forRoot(options: FederationOptions<unknown>): DynamicModule;
|
|
7
7
|
}
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region fedify.constants.d.ts
|
|
9
|
+
//#region src/fedify.constants.d.ts
|
|
10
10
|
declare const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region fedify.middleware.d.ts
|
|
12
|
+
//#region src/fedify.middleware.d.ts
|
|
13
13
|
type ContextDataFactory<TContextData> = (req: Request, res: Response) => TContextData | Promise<TContextData>;
|
|
14
14
|
declare function integrateFederation<TContextData>(federation: Federation<unknown>, contextDataFactory: ContextDataFactory<TContextData>): Type<NestMiddleware>;
|
|
15
15
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { DynamicModule, NestMiddleware, Type } from "@nestjs/common";
|
|
2
2
|
import { Federation, FederationOptions } from "@fedify/fedify";
|
|
3
3
|
|
|
4
|
-
//#region fedify.module.d.ts
|
|
4
|
+
//#region src/fedify.module.d.ts
|
|
5
5
|
declare class FedifyModule {
|
|
6
6
|
static forRoot(options: FederationOptions<unknown>): DynamicModule;
|
|
7
7
|
}
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region fedify.constants.d.ts
|
|
9
|
+
//#region src/fedify.constants.d.ts
|
|
10
10
|
declare const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region fedify.middleware.d.ts
|
|
12
|
+
//#region src/fedify.middleware.d.ts
|
|
13
13
|
type ContextDataFactory<TContextData> = (req: Request, res: Response) => TContextData | Promise<TContextData>;
|
|
14
14
|
declare function integrateFederation<TContextData>(federation: Federation<unknown>, contextDataFactory: ContextDataFactory<TContextData>): Type<NestMiddleware>;
|
|
15
15
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -29,12 +29,12 @@ const __fedify_fedify = __toESM(require("@fedify/fedify"));
|
|
|
29
29
|
const node_buffer = __toESM(require("node:buffer"));
|
|
30
30
|
const node_stream = __toESM(require("node:stream"));
|
|
31
31
|
|
|
32
|
-
//#region fedify.constants.ts
|
|
32
|
+
//#region src/fedify.constants.ts
|
|
33
33
|
const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region
|
|
37
|
-
var require_decorate = __commonJS({ "
|
|
36
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/decorate.js
|
|
37
|
+
var require_decorate = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/decorate.js"(exports, module) {
|
|
38
38
|
function __decorate(decorators, target, key, desc) {
|
|
39
39
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
40
40
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -45,7 +45,7 @@ var require_decorate = __commonJS({ "../node_modules/.pnpm/@oxc-project+runtime@
|
|
|
45
45
|
} });
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region fedify.module.ts
|
|
48
|
+
//#region src/fedify.module.ts
|
|
49
49
|
var import_decorate$1 = __toESM(require_decorate());
|
|
50
50
|
var _FedifyModule;
|
|
51
51
|
let FedifyModule = _FedifyModule = class FedifyModule$1 {
|
|
@@ -70,7 +70,7 @@ let FedifyModule = _FedifyModule = class FedifyModule$1 {
|
|
|
70
70
|
FedifyModule = _FedifyModule = (0, import_decorate$1.default)([(0, __nestjs_common.Module)({})], FedifyModule);
|
|
71
71
|
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region fedify.middleware.ts
|
|
73
|
+
//#region src/fedify.middleware.ts
|
|
74
74
|
var import_decorate = __toESM(require_decorate());
|
|
75
75
|
function integrateFederation(federation, contextDataFactory) {
|
|
76
76
|
let FedifyIntegrationMiddleware = class FedifyIntegrationMiddleware$1 {
|
package/dist/index.mjs
CHANGED
|
@@ -29,12 +29,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
}) : target, mod));
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
|
-
//#region fedify.constants.ts
|
|
32
|
+
//#region src/fedify.constants.ts
|
|
33
33
|
const FEDIFY_FEDERATION = "FEDIFY_FEDERATION";
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region
|
|
37
|
-
var require_decorate = __commonJS({ "
|
|
36
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/decorate.js
|
|
37
|
+
var require_decorate = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/decorate.js"(exports, module) {
|
|
38
38
|
function __decorate(decorators, target, key, desc) {
|
|
39
39
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
40
40
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -45,7 +45,7 @@ var require_decorate = __commonJS({ "../node_modules/.pnpm/@oxc-project+runtime@
|
|
|
45
45
|
} });
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region fedify.module.ts
|
|
48
|
+
//#region src/fedify.module.ts
|
|
49
49
|
var import_decorate$1 = __toESM(require_decorate());
|
|
50
50
|
var _FedifyModule;
|
|
51
51
|
let FedifyModule = _FedifyModule = class FedifyModule$1 {
|
|
@@ -70,7 +70,7 @@ let FedifyModule = _FedifyModule = class FedifyModule$1 {
|
|
|
70
70
|
FedifyModule = _FedifyModule = (0, import_decorate$1.default)([Module({})], FedifyModule);
|
|
71
71
|
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region fedify.middleware.ts
|
|
73
|
+
//#region src/fedify.middleware.ts
|
|
74
74
|
var import_decorate = __toESM(require_decorate());
|
|
75
75
|
function integrateFederation(federation, contextDataFactory) {
|
|
76
76
|
let FedifyIntegrationMiddleware = class FedifyIntegrationMiddleware$1 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/nestjs",
|
|
3
|
-
"version": "1.8.1-dev.
|
|
3
|
+
"version": "1.8.1-dev.1261+e1a1a80e",
|
|
4
4
|
"description": "Integrate Fedify with Nest.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fedify",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/fedify-dev/fedify.git",
|
|
19
|
-
"directory": "nestjs"
|
|
19
|
+
"directory": "packages/nestjs"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"bugs": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@nestjs/common": "^11.0.1",
|
|
51
51
|
"express": "^4.0.0",
|
|
52
|
-
"@fedify/fedify": "1.8.1-dev.
|
|
52
|
+
"@fedify/fedify": "1.8.1-dev.1261+e1a1a80e"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/express": "^4.0.0",
|