@@ -252,21 +252,6 @@ export declare namespace useQuery {
252252 TData = unknown ,
253253 TVariables extends OperationVariables = OperationVariables ,
254254 > {
255- /**
256- * Current state as a discriminated union type.
257- *
258- * @group 1. Operation data
259- */
260- current : Readonly < Ref < _self . Current < TData > > >
261-
262- /**
263- * An object containing the result of your GraphQL query after it completes.
264- *
265- * This value might be `undefined` if a query results in one or more errors (depending on the query's `errorPolicy`).
266- *
267- * @group 1. Operation data
268- */
269- result : Readonly < Ref < _self . Current < TData > [ 'result' ] > >
270255
271256 /**
272257 * If `true`, the query is still in flight.
@@ -294,16 +279,6 @@ export declare namespace useQuery {
294279 */
295280 error : Readonly < Ref < ErrorLike | undefined > >
296281
297- /**
298- * Event triggered when the query state changes.
299- *
300- * This is the most granular event - it fires on every state update including
301- * loading states, network status changes, and result updates.
302- *
303- * @group 6. Events
304- */
305- onNextState : EventHookOn < _self . Current < TData > >
306-
307282 /**
308283 * Event triggered when query result data is received.
309284 *
@@ -570,19 +545,35 @@ export declare namespace useQuery {
570545 }
571546 }
572547
573- /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#result:member } */
574548 export interface Result <
575549 TData = unknown ,
576550 TVariables extends OperationVariables = OperationVariables ,
577551 TStates extends DataState < TData > [ 'dataState' ] = DataState < TData > [ 'dataState' ] ,
578552 > extends Omit < Base . Result < TData , TVariables > , 'current' | 'result' | 'onNextState' > {
579- /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#current:member } */
553+ /**
554+ * Current state as a discriminated union type.
555+ *
556+ * @group 1. Operation data
557+ */
580558 current : Readonly < Ref < Current < MaybeMasked < TData > , TStates > > >
581559
582- /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#result:member } */
560+ /**
561+ * An object containing the result of your GraphQL query after it completes.
562+ *
563+ * This value might be `undefined` if a query results in one or more errors (depending on the query's `errorPolicy`).
564+ *
565+ * @group 1. Operation data
566+ */
583567 result : Readonly < Ref < Current < MaybeMasked < TData > , TStates > [ 'result' ] > >
584568
585- /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#onNextState:member } */
569+ /**
570+ * Event triggered when the query state changes.
571+ *
572+ * This is the most granular event - it fires on every state update including
573+ * loading states, network status changes, and result updates.
574+ *
575+ * @group 6. Events
576+ */
586577 onNextState : EventHookOn < Current < MaybeMasked < TData > , TStates > >
587578 }
588579
@@ -778,10 +769,10 @@ export declare namespace useQuery {
778769
779770 /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result:interface } */
780771 export interface Result extends Omit < _self . Base . Result , 'current' | 'result' | 'onNextState' | 'onResult' | 'onCompleteResult' | 'onPartialResult' | 'onStreamingResult' | 'document' | 'variables' | 'options' | 'query' | 'fetchMore' | 'updateQuery' | 'subscribeToMore' > {
781- /** {@inheritDoc @vue/apollo-composable!useQuery.Base. Result#current:member } */
772+ /** {@inheritDoc @vue/apollo-composable!useQuery.Result#current:member } */
782773 current : Ref < Current >
783774
784- /** {@inheritDoc @vue/apollo-composable!useQuery.Base. Result#result:member } */
775+ /** {@inheritDoc @vue/apollo-composable!useQuery.Result#result:member } */
785776 result : Ref < object | null >
786777
787778 /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#error:member } */
@@ -793,7 +784,7 @@ export declare namespace useQuery {
793784 /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#networkStatus:member } */
794785 networkStatus : Ref < NetworkStatus >
795786
796- /** {@inheritDoc @vue/apollo-composable!useQuery.Base. Result#onNextState:member } */
787+ /** {@inheritDoc @vue/apollo-composable!useQuery.Result#onNextState:member } */
797788 onNextState : EventHookOn < Current >
798789
799790 /** {@inheritDoc @vue/apollo-composable!useQuery.Base.Result#onResult:member } */
@@ -1327,7 +1318,6 @@ export function useQuery<
13271318 & useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' | 'partial' >
13281319 & PromiseLike < useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' | 'partial' > >
13291320
1330- /** {@inheritDoc @vue/apollo-composable!useQuery:function(1) } */
13311321export function useQuery <
13321322 TData = unknown ,
13331323 TVariables extends OperationVariables = OperationVariables ,
@@ -1340,7 +1330,6 @@ export function useQuery<
13401330 & useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' | 'partial' >
13411331 & PromiseLike < useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' | 'partial' > >
13421332
1343- /** {@inheritDoc @vue/apollo-composable!useQuery:function(1) } */
13441333export function useQuery <
13451334 TData = unknown ,
13461335 TVariables extends OperationVariables = OperationVariables ,
@@ -1351,7 +1340,6 @@ export function useQuery<
13511340 & useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' >
13521341 & PromiseLike < useQuery . Result < TData , TVariables , 'empty' | 'complete' | 'streaming' > >
13531342
1354- /** {@inheritDoc @vue/apollo-composable!useQuery:function(1) } */
13551343export function useQuery <
13561344 TData = unknown ,
13571345 TVariables extends OperationVariables = OperationVariables ,
0 commit comments