File tree 4 files changed +7
-5
lines changed
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tanstack-query-firebase/angular" ,
3
- "version" : " 0 .0.1-alpha.8 " ,
3
+ "version" : " 1 .0.0 " ,
4
4
"description" : " TanStack Query bindings for Firebase and Angular" ,
5
5
"type" : " module" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ import {
24
24
type MutationRef ,
25
25
type MutationResult ,
26
26
type QueryRef ,
27
- QueryResult ,
27
+ type QueryResult ,
28
28
} from "@angular/fire/data-connect" ;
29
- import {
29
+ import type {
30
30
CreateDataConnectMutationResult ,
31
31
CreateDataConnectQueryResult ,
32
32
} from "./types" ;
@@ -256,3 +256,5 @@ export function injectDataConnectMutation<
256
256
dataConnectResult,
257
257
} ;
258
258
}
259
+
260
+ export type { CreateDataConnectMutationResult , CreateDataConnectQueryResult } from './types' ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import {
29
29
initializeApp ( { projectId : "p" } ) ;
30
30
31
31
describe ( "injectDataConnectQuery" , ( ) => {
32
- let queryClient : QueryClient = new QueryClient ( ) ;
32
+ const queryClient : QueryClient = new QueryClient ( ) ;
33
33
let dc : DataConnect ;
34
34
beforeEach ( async ( ) => {
35
35
queryClient . clear ( ) ;
Original file line number Diff line number Diff line change 1
1
import type { MutationResult , QueryResult } from "firebase/data-connect" ;
2
2
import type { FirebaseError } from "firebase/app" ;
3
- import {
3
+ import type {
4
4
CreateMutationResult ,
5
5
CreateQueryResult ,
6
6
} from "@tanstack/angular-query-experimental" ;
You can’t perform that action at this time.
0 commit comments