@sudobility/testomniac_client 0.0.26 → 0.0.27
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.
|
@@ -8,10 +8,10 @@ interface UseProjectRunsConfig {
|
|
|
8
8
|
enabled?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare function useProjectRuns(config: UseProjectRunsConfig): {
|
|
11
|
-
runs: import("@sudobility/testomniac_types").
|
|
11
|
+
runs: import("@sudobility/testomniac_types").ScanDetailResponse[];
|
|
12
12
|
isLoading: boolean;
|
|
13
13
|
error: string | null;
|
|
14
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@sudobility/types").BaseResponse<import("@sudobility/testomniac_types").
|
|
14
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@sudobility/types").BaseResponse<import("@sudobility/testomniac_types").ScanDetailResponse[]>, Error>>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=useProjectRuns.d.ts.map
|
package/dist/hooks/useRun.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ interface UseRunConfig {
|
|
|
8
8
|
enabled?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare function useRun(config: UseRunConfig): {
|
|
11
|
-
run: import("@sudobility/testomniac_types").
|
|
11
|
+
run: import("@sudobility/testomniac_types").ScanDetailResponse | null;
|
|
12
12
|
isLoading: boolean;
|
|
13
13
|
error: string | null;
|
|
14
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@sudobility/types").BaseResponse<import("@sudobility/testomniac_types").
|
|
14
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@sudobility/types").BaseResponse<import("@sudobility/testomniac_types").ScanDetailResponse>, Error>>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=useRun.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudobility/testomniac_client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "Testomniac API client library with TanStack Query hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react": ">=18.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@sudobility/testomniac_types": "^0.0.
|
|
43
|
+
"@sudobility/testomniac_types": "^0.0.23",
|
|
44
44
|
"@sudobility/types": "^1.9.61",
|
|
45
45
|
"@tanstack/react-query": "^5.90.5",
|
|
46
46
|
"@types/react": "^19.2.2",
|