@octanejs/apollo-client 0.1.6 → 0.1.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/apollo-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -50,26 +50,26 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@graphql-typed-document-node/core": "^3.
|
|
54
|
-
"@wry/equality": "^0.5.
|
|
53
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
54
|
+
"@wry/equality": "^0.5.7",
|
|
55
55
|
"@wry/trie": "^0.5.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@apollo/client": ">=4.2.6 <4.3.0",
|
|
59
59
|
"graphql": "^16.0.0 || ^17.0.0",
|
|
60
60
|
"rxjs": "^7.3.0",
|
|
61
|
-
"octane": "0.1.
|
|
61
|
+
"octane": "0.1.13"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@apollo/client": "4.2.6",
|
|
65
|
-
"@tsrx/react": "^0.2.
|
|
65
|
+
"@tsrx/react": "^0.2.46",
|
|
66
66
|
"esbuild": "^0.28.1",
|
|
67
|
-
"graphql": "^16.
|
|
68
|
-
"react": "^19.2.
|
|
69
|
-
"react-dom": "^19.2.
|
|
67
|
+
"graphql": "^16.14.2",
|
|
68
|
+
"react": "^19.2.7",
|
|
69
|
+
"react-dom": "^19.2.7",
|
|
70
70
|
"rxjs": "^7.8.2",
|
|
71
|
-
"vitest": "^4.1.
|
|
72
|
-
"octane": "0.1.
|
|
71
|
+
"vitest": "^4.1.10",
|
|
72
|
+
"octane": "0.1.13"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run --root ../.. --project apollo-client"
|
|
@@ -196,28 +196,21 @@ export declare namespace useBackgroundQuery {
|
|
|
196
196
|
queryRef: TOptions extends any
|
|
197
197
|
? TOptions extends SkipToken
|
|
198
198
|
? undefined
|
|
199
|
-
:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
? never
|
|
215
|
-
: 'partial')
|
|
216
|
-
)
|
|
217
|
-
>
|
|
218
|
-
| (OptionWithFallback<TOptions, DefaultOptions, 'skip'> extends false
|
|
219
|
-
? never
|
|
220
|
-
: undefined)
|
|
199
|
+
: | QueryRef<
|
|
200
|
+
TData,
|
|
201
|
+
TVariables,
|
|
202
|
+
| 'complete'
|
|
203
|
+
| 'streaming'
|
|
204
|
+
| (
|
|
205
|
+
| (OptionWithFallback<TOptions, DefaultOptions, 'errorPolicy'> extends 'none'
|
|
206
|
+
? never
|
|
207
|
+
: 'empty')
|
|
208
|
+
| (OptionWithFallback<TOptions, DefaultOptions, 'returnPartialData'> extends false
|
|
209
|
+
? never
|
|
210
|
+
: 'partial')
|
|
211
|
+
)
|
|
212
|
+
>
|
|
213
|
+
| (OptionWithFallback<TOptions, DefaultOptions, 'skip'> extends false ? never : undefined)
|
|
221
214
|
: never,
|
|
222
215
|
result: useBackgroundQuery.Result<TData, TVariables>,
|
|
223
216
|
];
|
|
@@ -35,9 +35,7 @@ export declare namespace useFragment {
|
|
|
35
35
|
* be retrieved, or a `{ __ref: "..." }` reference, or a `string` ID (uncommon).
|
|
36
36
|
*/
|
|
37
37
|
from:
|
|
38
|
-
| useFragment.FromOptionValue<TData>
|
|
39
|
-
| Array<useFragment.FromOptionValue<TData> | null>
|
|
40
|
-
| null;
|
|
38
|
+
useFragment.FromOptionValue<TData> | Array<useFragment.FromOptionValue<TData> | null> | null;
|
|
41
39
|
/**
|
|
42
40
|
* Whether to read from optimistic or non-optimistic cache data. If
|
|
43
41
|
* this named option is provided, the optimistic parameter of the
|
|
@@ -234,16 +234,13 @@ export declare namespace useSuspenseQuery {
|
|
|
234
234
|
| (TOptions extends any
|
|
235
235
|
? TOptions extends SkipToken
|
|
236
236
|
? 'empty'
|
|
237
|
-
:
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
| (OptionWithFallback<TOptions, DefaultOptions, 'returnPartialData'> extends false
|
|
245
|
-
? never
|
|
246
|
-
: 'partial')
|
|
237
|
+
: | (OptionWithFallback<TOptions, DefaultOptions, 'errorPolicy'> extends 'none'
|
|
238
|
+
? never
|
|
239
|
+
: 'empty')
|
|
240
|
+
| (OptionWithFallback<TOptions, DefaultOptions, 'skip'> extends false ? never : 'empty')
|
|
241
|
+
| (OptionWithFallback<TOptions, DefaultOptions, 'returnPartialData'> extends false
|
|
242
|
+
? never
|
|
243
|
+
: 'partial')
|
|
247
244
|
: never)
|
|
248
245
|
| ([TOptions] extends [SkipToken]
|
|
249
246
|
? DefaultOptions extends {
|