@raclettejs/types 0.1.0 → 0.1.12
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 +21 -0
- package/README.md +4 -3
- package/package.json +11 -10
- package/dist/dependencies.d.ts +0 -4
- package/dist/dependencies.js +0 -1
- package/dist/dependencies.ts +0 -4
- package/dist/fastify.d.ts +0 -26
- package/dist/fastify.js +0 -1
- package/dist/fastify.ts +0 -28
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -4
- package/dist/index.ts +0 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.12] - 19.09.2025 <a href="https://gitlab.com/raclettejs/types/-/compare/v0.1.11...v0.1.12" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
11
|
+
|
|
12
|
+
## Changed
|
|
13
|
+
|
|
14
|
+
- set peer dependency to core to v0.1.11, needs to be updated for new core version after next 0.1.12 release
|
|
15
|
+
|
|
16
|
+
## [0.1.11] - 19.09.2025 <a href="https://gitlab.com/raclettejs/types/-/compare/v0.1.0...v0.1.11" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
17
|
+
|
|
18
|
+
### Security
|
|
19
|
+
|
|
20
|
+
- Updated all Node.js dependencies to latest versions
|
|
21
|
+
- Removed caret (^) version ranges from package.json to prevent automatic minor/patch updates
|
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://www.npmjs.com/package/@raclettejs/types)
|
|
2
|
+
[](LICENSE)
|
|
2
3
|
|
|
3
4
|
> [!important] Beta Phase!
|
|
4
|
-
>
|
|
5
|
+
> raclette is still in the Beta phase. There might be breaking changes over the next couple of month so be aware of migration needs. Visit our [Milestone Overview](https://gitlab.com/groups/raclettejs/-/milestones) for more insights and estimates
|
|
5
6
|
|
|
6
7
|
## What is this?
|
|
7
8
|
|
|
8
|
-
This is only the types repository for **
|
|
9
|
+
This is only the types repository for **raclette**
|
|
9
10
|
|
|
10
11
|
## What is **raclette**?
|
|
11
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raclettejs/types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Type definitions for the raclette framework",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"repository": "https://gitlab.com/raclettejs/types",
|
|
@@ -14,16 +14,17 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@types/node": "
|
|
18
|
-
"fastify": "
|
|
19
|
-
"mongoose": "
|
|
20
|
-
"socket.io": "
|
|
21
|
-
"typescript": "
|
|
17
|
+
"@types/node": "24.5.2",
|
|
18
|
+
"fastify": "5.6.0",
|
|
19
|
+
"mongoose": "8.18.1",
|
|
20
|
+
"socket.io": "4.8.1",
|
|
21
|
+
"typescript": "5.9.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@raclettejs/core": "
|
|
24
|
+
"@raclettejs/core": "0.1.12"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@raclettejs/core": "
|
|
28
|
-
}
|
|
29
|
-
|
|
27
|
+
"@raclettejs/core": "0.1.12"
|
|
28
|
+
},
|
|
29
|
+
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
|
|
30
|
+
}
|
package/dist/dependencies.d.ts
DELETED
package/dist/dependencies.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/dependencies.ts
DELETED
package/dist/fastify.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/fastify.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "fastify";
|
package/dist/fastify.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import "fastify";
|
|
2
|
-
import { MongooseConnection, SocketIO } from "./dependencies";
|
|
3
|
-
import type { RedisService, HttpService, TaskManager, ClientPayloadRequestData, User } from "@raclettejs/raclette-core";
|
|
4
|
-
import { FastifyReply } from "fastify";
|
|
5
|
-
declare module "fastify" {
|
|
6
|
-
interface FastifyInstance {
|
|
7
|
-
db: MongooseConnection;
|
|
8
|
-
authenticate: (req: FastifyRequest, res: FastifyReply) => Promise<void>;
|
|
9
|
-
wss: SocketIO;
|
|
10
|
-
eventbus: any;
|
|
11
|
-
redis: RedisService;
|
|
12
|
-
http: HttpService;
|
|
13
|
-
taskManager: TaskManager;
|
|
14
|
-
}
|
|
15
|
-
interface FastifyRequest {
|
|
16
|
-
db: MongooseConnection;
|
|
17
|
-
user: User;
|
|
18
|
-
requestParams: ClientPayloadRequestData;
|
|
19
|
-
}
|
|
20
|
-
interface RouteOptions {
|
|
21
|
-
skipHeaderValidation?: boolean;
|
|
22
|
-
}
|
|
23
|
-
interface FastifyContextConfig {
|
|
24
|
-
type?: string;
|
|
25
|
-
broadcast?: string[] | boolean;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
export {};
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
package/dist/index.ts
DELETED