@@ -8,10 +8,10 @@ title: injectLiveQuery
88## Call Signature
99
1010``` ts
11- function injectLiveQuery<TContext , TParams >(options ): InjectLiveQueryResult <{ [ K in string | number | symbol ] : ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]])[ K ] } >;
11+ function injectLiveQuery<TContext , TParams >(options ): InjectLiveQueryResult <TContext >;
1212```
1313
14- Defined in: index.ts:51
14+ Defined in: [ index.ts:87 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L87 )
1515
1616### Type Parameters
1717
@@ -37,15 +37,15 @@ Defined in: index.ts:51
3737
3838### Returns
3939
40- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \<\{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} \>
40+ [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TContext ` \>
4141
4242## Call Signature
4343
4444``` ts
45- function injectLiveQuery<TContext , TParams >(options ): InjectLiveQueryResult <{ [ K in string | number | symbol ] : ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]])[ K ] } >;
45+ function injectLiveQuery<TContext , TParams >(options ): InjectLiveQueryResult <TContext >;
4646```
4747
48- Defined in: index.ts:61
48+ Defined in: [ index.ts:97 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L97 )
4949
5050### Type Parameters
5151
@@ -71,15 +71,15 @@ Defined in: index.ts:61
7171
7272### Returns
7373
74- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \<\{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} \>
74+ [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TContext ` \>
7575
7676## Call Signature
7777
7878``` ts
79- function injectLiveQuery<TContext >(queryFn ): InjectLiveQueryResult <{ [ K in string | number | symbol ] : ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]])[ K ] } >;
79+ function injectLiveQuery<TContext >(queryFn ): InjectLiveQueryResult <TContext >;
8080```
8181
82- Defined in: index.ts:71
82+ Defined in: [ index.ts:107 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L107 )
8383
8484### Type Parameters
8585
@@ -95,15 +95,15 @@ Defined in: index.ts:71
9595
9696### Returns
9797
98- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \<\{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} \>
98+ [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TContext ` \>
9999
100100## Call Signature
101101
102102``` ts
103- function injectLiveQuery<TContext >(queryFn ): InjectLiveQueryResult <{ [ K in string | number | symbol ] : ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]])[ K ] } >;
103+ function injectLiveQuery<TContext >(queryFn ): InjectLiveQueryResult <TContext >;
104104```
105105
106- Defined in: index.ts:74
106+ Defined in: [ index.ts:110 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L110 )
107107
108108### Type Parameters
109109
@@ -119,15 +119,15 @@ Defined in: index.ts:74
119119
120120### Returns
121121
122- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \<\{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} \>
122+ [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TContext ` \>
123123
124124## Call Signature
125125
126126``` ts
127- function injectLiveQuery<TContext >(config ): InjectLiveQueryResult <{ [ K in string | number | symbol ] : ( TContext [ " result " ] extends object ? any [ any ] : TContext [ " hasJoins " ] extends true ? TContext [ " schema " ] : TContext [ " schema " ][ TContext [ " fromSourceName " ]])[ K ] } >;
127+ function injectLiveQuery<TContext >(config ): InjectLiveQueryResult <TContext >;
128128```
129129
130- Defined in: index.ts:79
130+ Defined in: [ index.ts:115 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L115 )
131131
132132### Type Parameters
133133
@@ -143,15 +143,15 @@ Defined in: index.ts:79
143143
144144### Returns
145145
146- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \<\{ \[ K in string \| number \| symbol \] : ( TContext\[ "result" \] extends object ? any \[ any \] : TContext \[ "hasJoins" \] extends true ? TContext \[ "schema" \] : TContext \[ "schema" \]\[ TContext \[ "fromSourceName" \]\] ) \[ K \] \} \>
146+ [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TContext ` \>
147147
148148## Call Signature
149149
150150``` ts
151- function injectLiveQuery<TResult , TKey , TUtils >(liveQueryCollection ): InjectLiveQueryResult <TResult , TKey , TUtils >;
151+ function injectLiveQuery<TResult , TKey , TUtils >(liveQueryCollection ): InjectLiveQueryResultWithCollection <TResult , TKey , TUtils >;
152152```
153153
154- Defined in: index.ts:82
154+ Defined in: [ index.ts:119 ] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L119 )
155155
156156### Type Parameters
157157
@@ -171,8 +171,40 @@ Defined in: index.ts:82
171171
172172#### liveQueryCollection
173173
174- ` Collection ` \< ` TResult ` , ` TKey ` , ` TUtils ` \>
174+ ` Collection ` \< ` TResult ` , ` TKey ` , ` TUtils ` , ` StandardSchemaV1 ` \< ` unknown ` , ` unknown ` \> , ` TResult ` \> & ` NonSingleResult `
175175
176176### Returns
177177
178- [ ` InjectLiveQueryResult ` ] ( ../interfaces/InjectLiveQueryResult.md ) \< ` TResult ` , ` TKey ` , ` TUtils ` \>
178+ [ ` InjectLiveQueryResultWithCollection ` ] ( ../interfaces/InjectLiveQueryResultWithCollection.md ) \< ` TResult ` , ` TKey ` , ` TUtils ` \>
179+
180+ ## Call Signature
181+
182+ ``` ts
183+ function injectLiveQuery<TResult , TKey , TUtils >(liveQueryCollection ): InjectLiveQueryResultWithSingleResultCollection <TResult , TKey , TUtils >;
184+ ```
185+
186+ Defined in: [ index.ts:127] ( https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L127 )
187+
188+ ### Type Parameters
189+
190+ #### TResult
191+
192+ ` TResult ` * extends* ` object `
193+
194+ #### TKey
195+
196+ ` TKey ` * extends* ` string ` \| ` number `
197+
198+ #### TUtils
199+
200+ ` TUtils ` * extends* ` Record ` \< ` string ` , ` any ` \>
201+
202+ ### Parameters
203+
204+ #### liveQueryCollection
205+
206+ ` Collection ` \< ` TResult ` , ` TKey ` , ` TUtils ` , ` StandardSchemaV1 ` \< ` unknown ` , ` unknown ` \> , ` TResult ` \> & ` SingleResult `
207+
208+ ### Returns
209+
210+ [ ` InjectLiveQueryResultWithSingleResultCollection ` ] ( ../interfaces/InjectLiveQueryResultWithSingleResultCollection.md ) \< ` TResult ` , ` TKey ` , ` TUtils ` \>
0 commit comments