houdini 2.0.6 → 2.0.7
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/build/cmd/init.js +2 -2
- package/build/package.json +1 -1
- package/build/runtime/types.d.ts +4 -2
- package/package.json +2 -2
package/build/cmd/init.js
CHANGED
|
@@ -472,12 +472,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
472
472
|
}
|
|
473
473
|
packageJSON2.devDependencies = {
|
|
474
474
|
...packageJSON2.devDependencies,
|
|
475
|
-
houdini: "^2.0.
|
|
475
|
+
houdini: "^2.0.7"
|
|
476
476
|
};
|
|
477
477
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
478
478
|
packageJSON2.devDependencies = {
|
|
479
479
|
...packageJSON2.devDependencies,
|
|
480
|
-
"houdini-svelte": "^3.0.
|
|
480
|
+
"houdini-svelte": "^3.0.3"
|
|
481
481
|
};
|
|
482
482
|
} else {
|
|
483
483
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/package.json
CHANGED
package/build/runtime/types.d.ts
CHANGED
|
@@ -179,7 +179,10 @@ export type GraphQLDefaultScalar = string | number | boolean;
|
|
|
179
179
|
type CacheComponentFields = CacheTypeDef extends {
|
|
180
180
|
componentFields: infer CF;
|
|
181
181
|
} ? CF : never;
|
|
182
|
-
|
|
182
|
+
type CacheScalars = CacheTypeDef extends {
|
|
183
|
+
scalars: infer S;
|
|
184
|
+
} ? S : GraphQLDefaultScalar | Date;
|
|
185
|
+
export type GraphQLValue = GraphQLDefaultScalar | CacheScalars | CacheComponentFields | symbol | null | GraphQLObject | GraphQLValue[] | undefined;
|
|
183
186
|
export type GraphQLVariables = {
|
|
184
187
|
[key: string]: any;
|
|
185
188
|
} | null | undefined;
|
|
@@ -418,5 +421,4 @@ export interface CacheTypeDef {
|
|
|
418
421
|
types: {};
|
|
419
422
|
lists: {};
|
|
420
423
|
queries: [];
|
|
421
|
-
scalars: boolean | number | string | Date;
|
|
422
424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "The disappearing GraphQL clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"recast": "^0.23.11",
|
|
53
53
|
"sql.js": "^1.14.1",
|
|
54
54
|
"ws": "^8.21.0",
|
|
55
|
-
"houdini-core": "^2.0.
|
|
55
|
+
"houdini-core": "^2.0.5"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"graphql": ">=16",
|