@raclettejs/types 0.1.31 → 0.1.32-nightly-1

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/CHANGELOG.md CHANGED
@@ -7,24 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [0.1.31] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.31...v0.1.31" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
10
+ ## [0.1.32] - 2026-04-30 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.31...v0.1.32" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
11
11
 
12
- ## [0.1.30] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.30...v0.1.30" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
12
+ ## [0.1.31] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.30...v0.1.31" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
13
13
 
14
- ## [0.1.29] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.29...v0.1.29" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
14
+ ## [0.1.30] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.29...v0.1.30" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
15
15
 
16
- ## [0.1.28] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.28...v0.1.28" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
16
+ ## [0.1.29] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.28...v0.1.29" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
17
17
 
18
- ### Updated
19
-
20
- - core release
18
+ ## [0.1.28] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.27...v0.1.28" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
21
19
 
22
20
  ## [0.1.27] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.26...v0.1.27" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
23
21
 
24
- ### Updated
25
-
26
- - core release
27
-
28
22
  ## [0.1.26] - 2026-04-27 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.25...v0.1.26" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
29
23
 
30
24
  ### Updated
@@ -0,0 +1,4 @@
1
+ import { Connection } from "mongoose";
2
+ import { DefaultEventsMap, Socket } from "socket.io";
3
+ export type MongooseConnection = Connection;
4
+ export type SocketIO = Socket<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>;
@@ -0,0 +1,26 @@
1
+ import "fastify";
2
+ import { MongooseConnection, SocketIO } from "./dependencies";
3
+ import { preHandlerHookHandler } from "fastify";
4
+ declare module "fastify" {
5
+ interface FastifyInstance {
6
+ db: MongooseConnection;
7
+ authenticate: preHandlerHookHandler;
8
+ wss: SocketIO;
9
+ eventbus: any;
10
+ redis: any;
11
+ http: any;
12
+ taskManager: any;
13
+ }
14
+ interface FastifyRequest {
15
+ db: MongooseConnection;
16
+ user: any;
17
+ requestParams: any;
18
+ }
19
+ interface RouteOptions {
20
+ skipHeaderValidation?: boolean;
21
+ }
22
+ interface FastifyContextConfig {
23
+ type?: string;
24
+ broadcast?: string[] | boolean;
25
+ }
26
+ }
@@ -0,0 +1,2 @@
1
+ import "./fastify";
2
+ export * from "@raclettejs/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raclettejs/types",
3
- "version": "0.1.31",
3
+ "version": "0.1.32-nightly-1",
4
4
  "description": "Type definitions for the raclette framework",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": "https://gitlab.com/raclettejs/types",
@@ -21,11 +21,11 @@
21
21
  "typescript": "5.9.3"
22
22
  },
23
23
  "peerDependencies": {
24
- "@raclettejs/core": "^0.1.31"
24
+ "@raclettejs/core": "^0.1.32-nightly-1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@emnapi/core": "1.9.2",
28
28
  "@emnapi/runtime": "1.9.2",
29
- "@raclettejs/core": "^0.1.31"
29
+ "@raclettejs/core": "^0.1.32-nightly-1"
30
30
  }
31
31
  }