@sylphx/lens-server 2.8.1 → 2.9.0
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.ts +2 -2
- package/package.json +2 -2
- package/src/server/types.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare function extendContext<
|
|
|
41
41
|
E extends ContextValue
|
|
42
42
|
>(current: T, extension: E): T & E;
|
|
43
43
|
import { ContextValue as ContextValue3, InferRouterContext as InferRouterContext2, RouterDef as RouterDef2 } from "@sylphx/lens-core";
|
|
44
|
-
import { ContextValue as ContextValue2, EntityDef, InferRouterContext, MutationDef, Observable, OptimisticDSL, QueryDef, Resolvers, RouterDef } from "@sylphx/lens-core";
|
|
44
|
+
import { AnyQueryDef, ContextValue as ContextValue2, EntityDef, InferRouterContext, MutationDef, Observable, OptimisticDSL, QueryDef, Resolvers, RouterDef } from "@sylphx/lens-core";
|
|
45
45
|
/**
|
|
46
46
|
* @sylphx/lens-server - Plugin System Types
|
|
47
47
|
*
|
|
@@ -461,7 +461,7 @@ interface SelectionObject {
|
|
|
461
461
|
/** Entity map type */
|
|
462
462
|
type EntitiesMap = Record<string, EntityDef<string, any>>;
|
|
463
463
|
/** Queries map type */
|
|
464
|
-
type QueriesMap = Record<string,
|
|
464
|
+
type QueriesMap = Record<string, AnyQueryDef<unknown, unknown>>;
|
|
465
465
|
/** Mutations map type */
|
|
466
466
|
type MutationsMap = Record<string, MutationDef<unknown, unknown>>;
|
|
467
467
|
/** Operation metadata for handshake */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sylphx/lens-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Server runtime for Lens API framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"author": "SylphxAI",
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@sylphx/lens-core": "^2.
|
|
33
|
+
"@sylphx/lens-core": "^2.7.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^5.9.3",
|
package/src/server/types.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type {
|
|
8
|
+
AnyQueryDef,
|
|
8
9
|
ContextValue,
|
|
9
10
|
EntityDef,
|
|
10
11
|
InferRouterContext,
|
|
@@ -51,7 +52,7 @@ export interface SelectionObject {
|
|
|
51
52
|
export type EntitiesMap = Record<string, EntityDef<string, any>>;
|
|
52
53
|
|
|
53
54
|
/** Queries map type */
|
|
54
|
-
export type QueriesMap = Record<string,
|
|
55
|
+
export type QueriesMap = Record<string, AnyQueryDef<unknown, unknown>>;
|
|
55
56
|
|
|
56
57
|
/** Mutations map type */
|
|
57
58
|
export type MutationsMap = Record<string, MutationDef<unknown, unknown>>;
|