@pluv/types 0.38.10 → 0.38.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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +4 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/pluv.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/types@0.38.
|
|
2
|
+
> @pluv/types@0.38.12 build /home/runner/work/pluv/pluv/packages/types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m0 B[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 18ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.js [22m[32m758.00 B[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 27ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m0 B[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 27ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m7.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 822ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m7.10 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.10 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -154,7 +154,7 @@ type InferIOOutput<TRouter extends IORouterLike<any>> = TRouter extends IORouter
|
|
|
154
154
|
type InferEventMessage<TEvents = EventRecord<string, any>, TEvent extends keyof TEvents = keyof TEvents> = TEvents extends EventRecord<string, any> ? {
|
|
155
155
|
[P in TEvent]: P extends string ? Id<EventMessage<P, TEvents[P]>> : never;
|
|
156
156
|
}[TEvent] : never;
|
|
157
|
-
type IOEventMessage<TIO extends IOLike<any>, TEvent extends keyof InferIOOutput<TIO> = keyof InferIOOutput<TIO>> = Id<{
|
|
157
|
+
type IOEventMessage<TIO extends IOLike<any, any>, TEvent extends keyof InferIOOutput<TIO> = keyof InferIOOutput<TIO>> = Id<{
|
|
158
158
|
room: string;
|
|
159
159
|
} & InferEventMessage<InferIOOutput<TIO>, TEvent> & (InferEventMessage<InferIOOutput<TIO>, TEvent>["type"] extends "$error" ? Partial<IOAuthorizeEventMessage<TIO>> : IOAuthorizeEventMessage<TIO>)>;
|
|
160
160
|
|
package/dist/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ type InferIOOutput<TRouter extends IORouterLike<any>> = TRouter extends IORouter
|
|
|
154
154
|
type InferEventMessage<TEvents = EventRecord<string, any>, TEvent extends keyof TEvents = keyof TEvents> = TEvents extends EventRecord<string, any> ? {
|
|
155
155
|
[P in TEvent]: P extends string ? Id<EventMessage<P, TEvents[P]>> : never;
|
|
156
156
|
}[TEvent] : never;
|
|
157
|
-
type IOEventMessage<TIO extends IOLike<any>, TEvent extends keyof InferIOOutput<TIO> = keyof InferIOOutput<TIO>> = Id<{
|
|
157
|
+
type IOEventMessage<TIO extends IOLike<any, any>, TEvent extends keyof InferIOOutput<TIO> = keyof InferIOOutput<TIO>> = Id<{
|
|
158
158
|
room: string;
|
|
159
159
|
} & InferEventMessage<InferIOOutput<TIO>, TEvent> & (InferEventMessage<InferIOOutput<TIO>, TEvent>["type"] extends "$error" ? Partial<IOAuthorizeEventMessage<TIO>> : IOAuthorizeEventMessage<TIO>)>;
|
|
160
160
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/types",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.12",
|
|
4
4
|
"description": "@pluv/io shared types",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"eslint": "^8.57.1",
|
|
20
20
|
"tsup": "^8.4.0",
|
|
21
|
-
"typescript": "^5.8.
|
|
22
|
-
"@pluv/tsconfig": "^0.38.
|
|
23
|
-
"eslint-config-pluv": "^0.38.
|
|
21
|
+
"typescript": "^5.8.3",
|
|
22
|
+
"@pluv/tsconfig": "^0.38.12",
|
|
23
|
+
"eslint-config-pluv": "^0.38.12"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/pluv.ts
CHANGED
|
@@ -153,7 +153,7 @@ export type InferEventMessage<TEvents = EventRecord<string, any>, TEvent extends
|
|
|
153
153
|
: never;
|
|
154
154
|
|
|
155
155
|
export type IOEventMessage<
|
|
156
|
-
TIO extends IOLike<any>,
|
|
156
|
+
TIO extends IOLike<any, any>,
|
|
157
157
|
TEvent extends keyof InferIOOutput<TIO> = keyof InferIOOutput<TIO>,
|
|
158
158
|
> = Id<
|
|
159
159
|
{ room: string } & InferEventMessage<InferIOOutput<TIO>, TEvent> &
|