@@ -44,7 +44,7 @@ Object with reactive data, state, and status information
4444#### collection
4545
4646``` ts
47- collection : Collection < { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }, string | number , {
47+ collection : Collection < { [K in string | number | symbol ]: ResultValue < TContext > [K ] }, string | number , {
4848}> ;
4949```
5050
@@ -93,7 +93,7 @@ isReady: boolean;
9393#### state
9494
9595``` ts
96- state : Map < string | number , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }> ;
96+ state : Map < string | number , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }> ;
9797```
9898
9999#### status
@@ -202,8 +202,8 @@ Object with reactive data, state, and status information
202202
203203``` ts
204204collection :
205- | Collection < { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }, string | number , {
206- }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
205+ | Collection < { [K in string | number | symbol ]: ResultValue < TContext > [K ] }, string | number , {
206+ }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
207207 | undefined ;
208208```
209209
@@ -253,7 +253,7 @@ isReady: boolean;
253253
254254``` ts
255255state :
256- | Map < string | number , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
256+ | Map < string | number , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
257257 | undefined ;
258258```
259259
@@ -344,7 +344,7 @@ Create a live query using a query function
344344#### queryFn
345345
346346(` q ` ) =>
347- \| ` LiveQueryCollectionConfig ` \< ` TContext ` , \{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} & ` object ` \>
347+ \| ` LiveQueryCollectionConfig ` \< ` TContext ` , ` RootQueryResult ` \< ` TContext ` \> \>
348348 \| ` null `
349349 \| ` undefined `
350350
@@ -366,8 +366,8 @@ Object with reactive data, state, and status information
366366
367367``` ts
368368collection :
369- | Collection < { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }, string | number , {
370- }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
369+ | Collection < { [K in string | number | symbol ]: ResultValue < TContext > [K ] }, string | number , {
370+ }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
371371 | undefined ;
372372```
373373
@@ -417,7 +417,7 @@ isReady: boolean;
417417
418418``` ts
419419state :
420- | Map < string | number , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
420+ | Map < string | number , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
421421 | undefined ;
422422```
423423
@@ -690,7 +690,7 @@ Create a live query using a query function
690690
691691(` q ` ) =>
692692 \| ` QueryBuilder ` \< ` TContext ` \>
693- \| ` LiveQueryCollectionConfig ` \< ` TContext ` , \{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} & ` object ` \>
693+ \| ` LiveQueryCollectionConfig ` \< ` TContext ` , ` RootQueryResult ` \< ` TContext ` \> \>
694694 \| ` Collection ` \< ` TResult ` , ` TKey ` , ` TUtils ` , ` StandardSchemaV1 ` \< ` unknown ` , ` unknown ` \> , ` TResult ` \>
695695 \| ` null `
696696 \| ` undefined `
@@ -714,8 +714,8 @@ Object with reactive data, state, and status information
714714``` ts
715715collection :
716716 | Collection < TResult , TKey , TUtils , StandardSchemaV1 < unknown , unknown > , TResult >
717- | Collection < { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }, string | number , {
718- }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
717+ | Collection < { [K in string | number | symbol ]: ResultValue < TContext > [K ] }, string | number , {
718+ }, StandardSchemaV1 < unknown , unknown > , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
719719 | undefined ;
720720```
721721
@@ -765,7 +765,7 @@ isReady: boolean;
765765
766766``` ts
767767state :
768- | Map < string | number , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }>
768+ | Map < string | number , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }>
769769 | Map < TKey , TResult >
770770 | undefined ;
771771```
@@ -875,7 +875,7 @@ Object with reactive data, state, and status information
875875#### collection
876876
877877``` ts
878- collection : Collection < { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }, string | number , {
878+ collection : Collection < { [K in string | number | symbol ]: ResultValue < TContext > [K ] }, string | number , {
879879}> ;
880880```
881881
@@ -924,7 +924,7 @@ isReady: boolean;
924924#### state
925925
926926``` ts
927- state : Map < string | number , { [K in string | number | symbol ]: ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]]) [K ] }> ;
927+ state : Map < string | number , { [K in string | number | symbol ]: ResultValue < TContext > [K ] }> ;
928928```
929929
930930#### status
0 commit comments