@harnessio/react-har-service-client 0.98.0 → 0.99.0
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.
- package/dist/har-service/src/services/hooks/useEdgeAuthorizeV3Mutation.d.ts +19 -0
- package/dist/har-service/src/services/hooks/useEdgeAuthorizeV3Mutation.js +16 -0
- package/dist/har-service/src/services/hooks/useEdgeResolveV3Mutation.d.ts +19 -0
- package/dist/har-service/src/services/hooks/useEdgeResolveV3Mutation.js +16 -0
- package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.d.ts +3 -2
- package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.js +3 -2
- package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.d.ts +2 -2
- package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.js +2 -2
- package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.d.ts +4 -7
- package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.js +4 -7
- package/dist/har-service/src/services/hooks/useResolveTreePathV3Query.d.ts +48 -0
- package/dist/har-service/src/services/hooks/useResolveTreePathV3Query.js +28 -0
- package/dist/har-service/src/services/hooks/useSearchTreeV3Query.d.ts +49 -0
- package/dist/har-service/src/services/hooks/useSearchTreeV3Query.js +27 -0
- package/dist/har-service/src/services/hooks/useTriggerSemverBackfillV3Mutation.d.ts +19 -0
- package/dist/har-service/src/services/hooks/useTriggerSemverBackfillV3Mutation.js +17 -0
- package/dist/har-service/src/services/hooks/useUpsertAutoMetadataV3Mutation.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useUpsertAutoMetadataV3Mutation.js +17 -0
- package/dist/har-service/src/services/index.d.ts +38 -0
- package/dist/har-service/src/services/index.js +6 -0
- package/dist/har-service/src/services/requestBodies/AutoMetadataRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/AutoMetadataRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/responses/SearchTreeResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/SearchTreeResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/TreeResolveResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/TreeResolveResponseV3Response.js +1 -0
- package/dist/har-service/src/services/schemas/AutoMetadataRequestInputV3.d.ts +38 -0
- package/dist/har-service/src/services/schemas/AutoMetadataRequestInputV3.js +1 -0
- package/dist/har-service/src/services/schemas/BackfillTriggerRequestInputV3.d.ts +7 -0
- package/dist/har-service/src/services/schemas/EdgeAuthorizeRequestV3.d.ts +9 -0
- package/dist/har-service/src/services/schemas/EdgeAuthorizeRequestV3.js +4 -0
- package/dist/har-service/src/services/schemas/EdgeAuthorizeResponseV3.d.ts +12 -0
- package/dist/har-service/src/services/schemas/EdgeAuthorizeResponseV3.js +1 -0
- package/dist/har-service/src/services/schemas/EdgeLocationV3.d.ts +5 -0
- package/dist/har-service/src/services/schemas/EdgeLocationV3.js +4 -0
- package/dist/har-service/src/services/schemas/EdgePrincipalV3.d.ts +4 -0
- package/dist/har-service/src/services/schemas/EdgePrincipalV3.js +4 -0
- package/dist/har-service/src/services/schemas/EdgeResolveRequestV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/EdgeResolveRequestV3.js +4 -0
- package/dist/har-service/src/services/schemas/EdgeResolveResponseV3.d.ts +28 -0
- package/dist/har-service/src/services/schemas/EdgeResolveResponseV3.js +1 -0
- package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +4 -12
- package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.js +0 -3
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +2 -6
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +0 -3
- package/dist/har-service/src/services/schemas/LifecycleRuleFilterConfigGenericV3.d.ts +2 -0
- package/dist/har-service/src/services/schemas/LifecycleRuleFilterConfigGenericV3.js +0 -3
- package/dist/har-service/src/services/schemas/LifecycleRuleFilterConfigMavenV3.d.ts +2 -0
- package/dist/har-service/src/services/schemas/LifecycleRuleFilterConfigMavenV3.js +0 -3
- package/dist/har-service/src/services/schemas/LifecycleRuleSemverOnlyV3.d.ts +5 -0
- package/dist/har-service/src/services/schemas/LifecycleRuleSemverOnlyV3.js +4 -0
- package/dist/har-service/src/services/schemas/SearchAncestorV3.d.ts +21 -0
- package/dist/har-service/src/services/schemas/SearchAncestorV3.js +4 -0
- package/dist/har-service/src/services/schemas/SearchFileItemV3.d.ts +46 -0
- package/dist/har-service/src/services/schemas/SearchFileItemV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchFilesGroupV3.d.ts +26 -0
- package/dist/har-service/src/services/schemas/SearchFilesGroupV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchPackageItemV3.d.ts +48 -0
- package/dist/har-service/src/services/schemas/SearchPackageItemV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchPackagesGroupV3.d.ts +26 -0
- package/dist/har-service/src/services/schemas/SearchPackagesGroupV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchRegistriesGroupV3.d.ts +26 -0
- package/dist/har-service/src/services/schemas/SearchRegistriesGroupV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchRegistryItemV3.d.ts +26 -0
- package/dist/har-service/src/services/schemas/SearchRegistryItemV3.js +4 -0
- package/dist/har-service/src/services/schemas/SearchTreeResponseBodyV3.d.ts +13 -0
- package/dist/har-service/src/services/schemas/SearchTreeResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchVersionItemV3.d.ts +70 -0
- package/dist/har-service/src/services/schemas/SearchVersionItemV3.js +1 -0
- package/dist/har-service/src/services/schemas/SearchVersionsGroupV3.d.ts +26 -0
- package/dist/har-service/src/services/schemas/SearchVersionsGroupV3.js +1 -0
- package/dist/har-service/src/services/schemas/SemverBackfillTriggerDataV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/SemverBackfillTriggerDataV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +2 -6
- package/dist/har-service/src/services/schemas/TreeEntityKindV3.d.ts +7 -0
- package/dist/har-service/src/services/schemas/TreeEntityKindV3.js +4 -0
- package/dist/har-service/src/services/schemas/TreeNodeItemV3.d.ts +42 -22
- package/dist/har-service/src/services/schemas/TreeNodeItemV3.js +0 -3
- package/dist/har-service/src/services/schemas/TreePaginationV3.d.ts +9 -13
- package/dist/har-service/src/services/schemas/TreePathStepV3.d.ts +29 -0
- package/dist/har-service/src/services/schemas/TreePathStepV3.js +1 -0
- package/dist/har-service/src/services/schemas/TreeResolveResponseBodyV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/TreeResolveResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/TreeResponseBodyV3.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EdgeAuthorizeResponseV3 } from '../schemas/EdgeAuthorizeResponseV3';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { EdgeAuthorizeRequestV3 } from '../schemas/EdgeAuthorizeRequestV3';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export type EdgeAuthorizeV3RequestBody = EdgeAuthorizeRequestV3;
|
|
8
|
+
export type EdgeAuthorizeV3OkResponse = ResponseWithPagination<EdgeAuthorizeResponseV3>;
|
|
9
|
+
export type EdgeAuthorizeV3ErrorResponse = ErrorV3;
|
|
10
|
+
export interface EdgeAuthorizeV3Props extends Omit<FetcherOptions<unknown, EdgeAuthorizeV3RequestBody>, 'url'> {
|
|
11
|
+
body: EdgeAuthorizeV3RequestBody;
|
|
12
|
+
}
|
|
13
|
+
export declare function edgeAuthorizeV3(props: EdgeAuthorizeV3Props): Promise<EdgeAuthorizeV3OkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Edge worker authorization. Authenticated with the X-Har-Edge-Secret shared secret instead of
|
|
16
|
+
* regular user auth. Returns 404 when the edge integration is disabled.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function useEdgeAuthorizeV3Mutation(options?: Omit<UseMutationOptions<EdgeAuthorizeV3OkResponse, EdgeAuthorizeV3ErrorResponse, EdgeAuthorizeV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EdgeAuthorizeV3OkResponse, ErrorV3, EdgeAuthorizeV3Props, unknown>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function edgeAuthorizeV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/edge/authorize`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Edge worker authorization. Authenticated with the X-Har-Edge-Secret shared secret instead of
|
|
11
|
+
* regular user auth. Returns 404 when the edge integration is disabled.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export function useEdgeAuthorizeV3Mutation(options) {
|
|
15
|
+
return useMutation((mutateProps) => edgeAuthorizeV3(mutateProps), options);
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EdgeResolveResponseV3 } from '../schemas/EdgeResolveResponseV3';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { EdgeResolveRequestV3 } from '../schemas/EdgeResolveRequestV3';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export type EdgeResolveV3RequestBody = EdgeResolveRequestV3;
|
|
8
|
+
export type EdgeResolveV3OkResponse = ResponseWithPagination<EdgeResolveResponseV3>;
|
|
9
|
+
export type EdgeResolveV3ErrorResponse = ErrorV3;
|
|
10
|
+
export interface EdgeResolveV3Props extends Omit<FetcherOptions<unknown, EdgeResolveV3RequestBody>, 'url'> {
|
|
11
|
+
body: EdgeResolveV3RequestBody;
|
|
12
|
+
}
|
|
13
|
+
export declare function edgeResolveV3(props: EdgeResolveV3Props): Promise<EdgeResolveV3OkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Edge worker blob resolution. Authenticated with the X-Har-Edge-Secret shared secret instead of
|
|
16
|
+
* regular user auth. Returns 404 when the edge integration is disabled.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function useEdgeResolveV3Mutation(options?: Omit<UseMutationOptions<EdgeResolveV3OkResponse, EdgeResolveV3ErrorResponse, EdgeResolveV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EdgeResolveV3OkResponse, ErrorV3, EdgeResolveV3Props, unknown>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function edgeResolveV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/edge/resolve`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Edge worker blob resolution. Authenticated with the X-Har-Edge-Secret shared secret instead of
|
|
11
|
+
* regular user auth. Returns 404 when the edge integration is disabled.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export function useEdgeResolveV3Mutation(options) {
|
|
15
|
+
return useMutation((mutateProps) => edgeResolveV3(mutateProps), options);
|
|
16
|
+
}
|
|
@@ -28,8 +28,9 @@ export interface ListNodeChildrenV3Props extends ListNodeChildrenV3QueryPathPara
|
|
|
28
28
|
}
|
|
29
29
|
export declare function listNodeChildrenV3(props: ListNodeChildrenV3Props): Promise<ListNodeChildrenV3OkResponse>;
|
|
30
30
|
/**
|
|
31
|
-
* Lists immediate children of a
|
|
32
|
-
*
|
|
31
|
+
* Lists the immediate children of a non-registry node. For a Docker/Helm package, the
|
|
32
|
+
* first page starts with an `Untagged (n)` group when the package has untagged manifests;
|
|
33
|
+
* it occupies one slot of `size`. An unknown node returns 404.
|
|
33
34
|
*
|
|
34
35
|
*/
|
|
35
36
|
export declare function useListNodeChildrenV3Query(props: ListNodeChildrenV3Props, options?: Omit<UseQueryOptions<ListNodeChildrenV3OkResponse, ListNodeChildrenV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListNodeChildrenV3OkResponse, ErrorV3>;
|
|
@@ -7,8 +7,9 @@ export function listNodeChildrenV3(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/tree/nodes/${props.node_id}/children`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists immediate children of a
|
|
11
|
-
*
|
|
10
|
+
* Lists the immediate children of a non-registry node. For a Docker/Helm package, the
|
|
11
|
+
* first page starts with an `Untagged (n)` group when the package has untagged manifests;
|
|
12
|
+
* it occupies one slot of `size`. An unknown node returns 404.
|
|
12
13
|
*
|
|
13
14
|
*/
|
|
14
15
|
export function useListNodeChildrenV3Query(props, options) {
|
|
@@ -28,8 +28,8 @@ export interface ListRegistryNodesV3Props extends ListRegistryNodesV3QueryPathPa
|
|
|
28
28
|
}
|
|
29
29
|
export declare function listRegistryNodesV3(props: ListRegistryNodesV3Props): Promise<ListRegistryNodesV3OkResponse>;
|
|
30
30
|
/**
|
|
31
|
-
* Lists
|
|
32
|
-
*
|
|
31
|
+
* Lists the immediate children of a registry: packages for Docker/Helm, top-level
|
|
32
|
+
* folders/files for every other package type. Expand a child with `ListNodeChildrenV3`.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare function useListRegistryNodesV3Query(props: ListRegistryNodesV3Props, options?: Omit<UseQueryOptions<ListRegistryNodesV3OkResponse, ListRegistryNodesV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRegistryNodesV3OkResponse, ErrorV3>;
|
|
@@ -7,8 +7,8 @@ export function listRegistryNodesV3(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/tree/registries/${props.registry_id}/nodes`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists
|
|
11
|
-
*
|
|
10
|
+
* Lists the immediate children of a registry: packages for Docker/Helm, top-level
|
|
11
|
+
* folders/files for every other package type. Expand a child with `ListNodeChildrenV3`.
|
|
12
12
|
*
|
|
13
13
|
*/
|
|
14
14
|
export function useListRegistryNodesV3Query(props, options) {
|
|
@@ -28,13 +28,10 @@ export interface ListTreeRootsV3Props extends Omit<FetcherOptions<ListTreeRootsV
|
|
|
28
28
|
}
|
|
29
29
|
export declare function listTreeRootsV3(props: ListTreeRootsV3Props): Promise<ListTreeRootsV3OkResponse>;
|
|
30
30
|
/**
|
|
31
|
-
* Lists
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* `ListRegistriesV3`: the current space, plus its ancestors or descendants. It has no
|
|
36
|
-
* equivalent on the levels below, because those are already bounded to the single
|
|
37
|
-
* registry named in the path.
|
|
31
|
+
* Lists the registries forming the tree's root level, sorted by name. `scope` is resolved
|
|
32
|
+
* as for `ListRegistriesV3`; a `scope` value other than `none`/`ancestors`/`descendants`
|
|
33
|
+
* (when provided) returns 400. `pagination.total` is exact and returned on the first page
|
|
34
|
+
* only. Expand a registry with `ListRegistryNodesV3`.
|
|
38
35
|
*
|
|
39
36
|
*/
|
|
40
37
|
export declare function useListTreeRootsV3Query(props: ListTreeRootsV3Props, options?: Omit<UseQueryOptions<ListTreeRootsV3OkResponse, ListTreeRootsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListTreeRootsV3OkResponse, ErrorV3>;
|
|
@@ -7,13 +7,10 @@ export function listTreeRootsV3(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/tree/roots`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* `ListRegistriesV3`: the current space, plus its ancestors or descendants. It has no
|
|
15
|
-
* equivalent on the levels below, because those are already bounded to the single
|
|
16
|
-
* registry named in the path.
|
|
10
|
+
* Lists the registries forming the tree's root level, sorted by name. `scope` is resolved
|
|
11
|
+
* as for `ListRegistriesV3`; a `scope` value other than `none`/`ancestors`/`descendants`
|
|
12
|
+
* (when provided) returns 400. `pagination.total` is exact and returned on the first page
|
|
13
|
+
* only. Expand a registry with `ListRegistryNodesV3`.
|
|
17
14
|
*
|
|
18
15
|
*/
|
|
19
16
|
export function useListTreeRootsV3Query(props, options) {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TreeResolveResponseV3Response } from '../responses/TreeResolveResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ResolveTreePathV3QueryQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
org_identifier?: string;
|
|
9
|
+
project_identifier?: string;
|
|
10
|
+
path: string;
|
|
11
|
+
scope?: 'ancestors' | 'descendants' | 'none';
|
|
12
|
+
/**
|
|
13
|
+
* @default "exclude_deleted"
|
|
14
|
+
*/
|
|
15
|
+
deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
|
|
16
|
+
registry_type?: string;
|
|
17
|
+
package_type?: string;
|
|
18
|
+
cursor?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @default 50
|
|
21
|
+
*/
|
|
22
|
+
size?: number;
|
|
23
|
+
compact?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export type ResolveTreePathV3OkResponse = ResponseWithPagination<TreeResolveResponseV3Response>;
|
|
26
|
+
export type ResolveTreePathV3ErrorResponse = ErrorV3;
|
|
27
|
+
export interface ResolveTreePathV3Props extends Omit<FetcherOptions<ResolveTreePathV3QueryQueryParams, unknown>, 'url'> {
|
|
28
|
+
queryParams: ResolveTreePathV3QueryQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function resolveTreePathV3(props: ResolveTreePathV3Props): Promise<ResolveTreePathV3OkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Resolves a canonical, readable `path` (copy it from `treePath`) to every node along it, so a
|
|
33
|
+
* URL can carry the open node: the client reads the node's ids for its details call and
|
|
34
|
+
* expands the tree by listing each step's children.
|
|
35
|
+
*
|
|
36
|
+
* The response also carries the first page of the requested node's own children, exactly as
|
|
37
|
+
* `ListRegistryNodesV3` (for a registry) or `ListNodeChildrenV3` (for any other node) would
|
|
38
|
+
* return them under the same `cursor`, `size`, `deleted_filter` and `compact`. Load further
|
|
39
|
+
* pages from those endpoints with `children.pagination.nextCursor`. A file has no children.
|
|
40
|
+
*
|
|
41
|
+
* Every step must be a node the list endpoints would show under the same `scope`,
|
|
42
|
+
* `deleted_filter`, `registry_type` and `package_type`; send the same values to both. A path
|
|
43
|
+
* that does not fully resolve, or whose registry is outside `scope` or excluded by a filter,
|
|
44
|
+
* returns 404. Resolving requires view permission on the registry, as for
|
|
45
|
+
* `ListRegistryNodesV3` (403 otherwise). A malformed path, `size` or `cursor` returns 400.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
export declare function useResolveTreePathV3Query(props: ResolveTreePathV3Props, options?: Omit<UseQueryOptions<ResolveTreePathV3OkResponse, ResolveTreePathV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ResolveTreePathV3OkResponse, ErrorV3>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function resolveTreePathV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/tree/resolve`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Resolves a canonical, readable `path` (copy it from `treePath`) to every node along it, so a
|
|
11
|
+
* URL can carry the open node: the client reads the node's ids for its details call and
|
|
12
|
+
* expands the tree by listing each step's children.
|
|
13
|
+
*
|
|
14
|
+
* The response also carries the first page of the requested node's own children, exactly as
|
|
15
|
+
* `ListRegistryNodesV3` (for a registry) or `ListNodeChildrenV3` (for any other node) would
|
|
16
|
+
* return them under the same `cursor`, `size`, `deleted_filter` and `compact`. Load further
|
|
17
|
+
* pages from those endpoints with `children.pagination.nextCursor`. A file has no children.
|
|
18
|
+
*
|
|
19
|
+
* Every step must be a node the list endpoints would show under the same `scope`,
|
|
20
|
+
* `deleted_filter`, `registry_type` and `package_type`; send the same values to both. A path
|
|
21
|
+
* that does not fully resolve, or whose registry is outside `scope` or excluded by a filter,
|
|
22
|
+
* returns 404. Resolving requires view permission on the registry, as for
|
|
23
|
+
* `ListRegistryNodesV3` (403 otherwise). A malformed path, `size` or `cursor` returns 400.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export function useResolveTreePathV3Query(props, options) {
|
|
27
|
+
return useQuery(['ResolveTreePathV3', props.queryParams], ({ signal }) => resolveTreePathV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
28
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SearchTreeResponseV3Response } from '../responses/SearchTreeResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SearchTreeV3QueryQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
org_identifier?: string;
|
|
9
|
+
project_identifier?: string;
|
|
10
|
+
scope?: 'ancestors' | 'descendants' | 'none';
|
|
11
|
+
search: string;
|
|
12
|
+
/**
|
|
13
|
+
* @default 10
|
|
14
|
+
*/
|
|
15
|
+
size?: number;
|
|
16
|
+
registries_cursor?: string;
|
|
17
|
+
packages_cursor?: string;
|
|
18
|
+
versions_cursor?: string;
|
|
19
|
+
files_cursor?: string;
|
|
20
|
+
package_type?: string;
|
|
21
|
+
registry_type?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @default "exclude_deleted"
|
|
24
|
+
*/
|
|
25
|
+
deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
|
|
26
|
+
}
|
|
27
|
+
export type SearchTreeV3OkResponse = ResponseWithPagination<SearchTreeResponseV3Response>;
|
|
28
|
+
export type SearchTreeV3ErrorResponse = ErrorV3;
|
|
29
|
+
export interface SearchTreeV3Props extends Omit<FetcherOptions<SearchTreeV3QueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: SearchTreeV3QueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function searchTreeV3(props: SearchTreeV3Props): Promise<SearchTreeV3OkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Searches every registry in `scope` (resolved as for `ListTreeRootsV3`; a `scope` value
|
|
35
|
+
* other than `none`/`ancestors`/`descendants`, when provided, returns 400) and returns four
|
|
36
|
+
* groups in one response: Registries, Packages, Versions and Files/Folders, each sorted by
|
|
37
|
+
* name. Each group has its own cursor parameter and `nextCursor`; paging one group
|
|
38
|
+
* leaves the others on their first page. Each group's `count` is independent of pagination
|
|
39
|
+
* and saturates at 1001 ("1000+").
|
|
40
|
+
*
|
|
41
|
+
* Every group query runs under a 5 s server-side budget. A group that exceeds it is
|
|
42
|
+
* returned empty with `timedOut: true` and the other groups are returned as normal; the
|
|
43
|
+
* request fails with 504 only when every group timed out.
|
|
44
|
+
*
|
|
45
|
+
* Registries and Files hits are always navigable. Packages and Versions hits are navigable
|
|
46
|
+
* when they carry `nodeId`; a hit without it must still be rendered, as non-navigable.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export declare function useSearchTreeV3Query(props: SearchTreeV3Props, options?: Omit<UseQueryOptions<SearchTreeV3OkResponse, SearchTreeV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SearchTreeV3OkResponse, ErrorV3>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function searchTreeV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/tree/search`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Searches every registry in `scope` (resolved as for `ListTreeRootsV3`; a `scope` value
|
|
11
|
+
* other than `none`/`ancestors`/`descendants`, when provided, returns 400) and returns four
|
|
12
|
+
* groups in one response: Registries, Packages, Versions and Files/Folders, each sorted by
|
|
13
|
+
* name. Each group has its own cursor parameter and `nextCursor`; paging one group
|
|
14
|
+
* leaves the others on their first page. Each group's `count` is independent of pagination
|
|
15
|
+
* and saturates at 1001 ("1000+").
|
|
16
|
+
*
|
|
17
|
+
* Every group query runs under a 5 s server-side budget. A group that exceeds it is
|
|
18
|
+
* returned empty with `timedOut: true` and the other groups are returned as normal; the
|
|
19
|
+
* request fails with 504 only when every group timed out.
|
|
20
|
+
*
|
|
21
|
+
* Registries and Files hits are always navigable. Packages and Versions hits are navigable
|
|
22
|
+
* when they carry `nodeId`; a hit without it must still be rendered, as non-navigable.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export function useSearchTreeV3Query(props, options) {
|
|
26
|
+
return useQuery(['SearchTreeV3', props.queryParams], ({ signal }) => searchTreeV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SemverBackfillTriggerDataV3 } from '../schemas/SemverBackfillTriggerDataV3';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type TriggerSemverBackfillV3OkResponse = ResponseWithPagination<{
|
|
7
|
+
data: SemverBackfillTriggerDataV3;
|
|
8
|
+
}>;
|
|
9
|
+
export type TriggerSemverBackfillV3ErrorResponse = ErrorV3;
|
|
10
|
+
export interface TriggerSemverBackfillV3Props extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function triggerSemverBackfillV3(props: TriggerSemverBackfillV3Props): Promise<TriggerSemverBackfillV3OkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Triggers a one-time backfill job that populates the artifact_semver table
|
|
15
|
+
* for all existing artifacts. This is used to support semver-based lifecycle
|
|
16
|
+
* cleanup rules (filterConfig.semverOnly).
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function useTriggerSemverBackfillV3Mutation(options?: Omit<UseMutationOptions<TriggerSemverBackfillV3OkResponse, TriggerSemverBackfillV3ErrorResponse, TriggerSemverBackfillV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSemverBackfillV3OkResponse, ErrorV3, TriggerSemverBackfillV3Props, unknown>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function triggerSemverBackfillV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/internal/semver/backfill`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Triggers a one-time backfill job that populates the artifact_semver table
|
|
11
|
+
* for all existing artifacts. This is used to support semver-based lifecycle
|
|
12
|
+
* cleanup rules (filterConfig.semverOnly).
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export function useTriggerSemverBackfillV3Mutation(options) {
|
|
16
|
+
return useMutation((mutateProps) => triggerSemverBackfillV3(mutateProps), options);
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MetadataResponseV3Response } from '../responses/MetadataResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { AutoMetadataRequestV3RequestBody } from '../requestBodies/AutoMetadataRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpsertAutoMetadataV3MutationQueryParams {
|
|
8
|
+
account_identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type UpsertAutoMetadataV3RequestBody = AutoMetadataRequestV3RequestBody;
|
|
11
|
+
export type UpsertAutoMetadataV3OkResponse = ResponseWithPagination<MetadataResponseV3Response>;
|
|
12
|
+
export type UpsertAutoMetadataV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface UpsertAutoMetadataV3Props extends Omit<FetcherOptions<UpsertAutoMetadataV3MutationQueryParams, UpsertAutoMetadataV3RequestBody>, 'url'> {
|
|
14
|
+
queryParams: UpsertAutoMetadataV3MutationQueryParams;
|
|
15
|
+
body: UpsertAutoMetadataV3RequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function upsertAutoMetadataV3(props: UpsertAutoMetadataV3Props): Promise<UpsertAutoMetadataV3OkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Upserts system-generated (AUTO) metadata on a registry, package, or version.
|
|
20
|
+
* Callers choose the target by which of `package` and `version` they send.
|
|
21
|
+
* MANUAL metadata on the same target is not modified. Not part of the public API.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useUpsertAutoMetadataV3Mutation(options?: Omit<UseMutationOptions<UpsertAutoMetadataV3OkResponse, UpsertAutoMetadataV3ErrorResponse, UpsertAutoMetadataV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpsertAutoMetadataV3OkResponse, ErrorV3, UpsertAutoMetadataV3Props, unknown>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function upsertAutoMetadataV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/internal/metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Upserts system-generated (AUTO) metadata on a registry, package, or version.
|
|
11
|
+
* Callers choose the target by which of `package` and `version` they send.
|
|
12
|
+
* MANUAL metadata on the same target is not modified. Not part of the public API.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export function useUpsertAutoMetadataV3Mutation(options) {
|
|
16
|
+
return useMutation((mutateProps) => upsertAutoMetadataV3(mutateProps), options);
|
|
17
|
+
}
|
|
@@ -67,6 +67,10 @@ export type { DeleteVersionV3ErrorResponse, DeleteVersionV3MutationPathParams, D
|
|
|
67
67
|
export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVersionV3Mutation';
|
|
68
68
|
export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
|
|
69
69
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
70
|
+
export type { EdgeAuthorizeV3ErrorResponse, EdgeAuthorizeV3OkResponse, EdgeAuthorizeV3Props, EdgeAuthorizeV3RequestBody, } from './hooks/useEdgeAuthorizeV3Mutation';
|
|
71
|
+
export { edgeAuthorizeV3, useEdgeAuthorizeV3Mutation } from './hooks/useEdgeAuthorizeV3Mutation';
|
|
72
|
+
export type { EdgeResolveV3ErrorResponse, EdgeResolveV3OkResponse, EdgeResolveV3Props, EdgeResolveV3RequestBody, } from './hooks/useEdgeResolveV3Mutation';
|
|
73
|
+
export { edgeResolveV3, useEdgeResolveV3Mutation } from './hooks/useEdgeResolveV3Mutation';
|
|
70
74
|
export type { EvaluateArtifactScanV3ErrorResponse, EvaluateArtifactScanV3MutationQueryParams, EvaluateArtifactScanV3OkResponse, EvaluateArtifactScanV3Props, EvaluateArtifactScanV3RequestBody, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
71
75
|
export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
72
76
|
export type { FindSpaceLabelErrorResponse, FindSpaceLabelOkResponse, FindSpaceLabelProps, FindSpaceLabelQueryPathParams, FindSpaceLabelQueryQueryParams, } from './hooks/useFindSpaceLabelQuery';
|
|
@@ -293,6 +297,8 @@ export type { RebuildVersionMetadataV3ErrorResponse, RebuildVersionMetadataV3Mut
|
|
|
293
297
|
export { rebuildVersionMetadataV3, useRebuildVersionMetadataV3Mutation, } from './hooks/useRebuildVersionMetadataV3Mutation';
|
|
294
298
|
export type { RedirectHarnessArtifactErrorResponse, RedirectHarnessArtifactOkResponse, RedirectHarnessArtifactProps, RedirectHarnessArtifactQueryPathParams, RedirectHarnessArtifactQueryQueryParams, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
295
299
|
export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
300
|
+
export type { ResolveTreePathV3ErrorResponse, ResolveTreePathV3OkResponse, ResolveTreePathV3Props, ResolveTreePathV3QueryQueryParams, } from './hooks/useResolveTreePathV3Query';
|
|
301
|
+
export { resolveTreePathV3, useResolveTreePathV3Query } from './hooks/useResolveTreePathV3Query';
|
|
296
302
|
export type { RestorePackageV3ErrorResponse, RestorePackageV3MutationPathParams, RestorePackageV3MutationQueryParams, RestorePackageV3OkResponse, RestorePackageV3Props, } from './hooks/useRestorePackageV3Mutation';
|
|
297
303
|
export { restorePackageV3, useRestorePackageV3Mutation } from './hooks/useRestorePackageV3Mutation';
|
|
298
304
|
export type { RestoreRegistryV3ErrorResponse, RestoreRegistryV3MutationPathParams, RestoreRegistryV3MutationQueryParams, RestoreRegistryV3OkResponse, RestoreRegistryV3Props, } from './hooks/useRestoreRegistryV3Mutation';
|
|
@@ -319,6 +325,8 @@ export type { SearchFilesErrorResponse, SearchFilesOkResponse, SearchFilesProps,
|
|
|
319
325
|
export { searchFiles, useSearchFilesQuery } from './hooks/useSearchFilesQuery';
|
|
320
326
|
export type { SearchRegistryFilesV3ErrorResponse, SearchRegistryFilesV3MutationQueryParams, SearchRegistryFilesV3OkResponse, SearchRegistryFilesV3Props, SearchRegistryFilesV3RequestBody, } from './hooks/useSearchRegistryFilesV3Mutation';
|
|
321
327
|
export { searchRegistryFilesV3, useSearchRegistryFilesV3Mutation, } from './hooks/useSearchRegistryFilesV3Mutation';
|
|
328
|
+
export type { SearchTreeV3ErrorResponse, SearchTreeV3OkResponse, SearchTreeV3Props, SearchTreeV3QueryQueryParams, } from './hooks/useSearchTreeV3Query';
|
|
329
|
+
export { searchTreeV3, useSearchTreeV3Query } from './hooks/useSearchTreeV3Query';
|
|
322
330
|
export type { StartMigrationErrorResponse, StartMigrationMutationPathParams, StartMigrationOkResponse, StartMigrationProps, } from './hooks/useStartMigrationMutation';
|
|
323
331
|
export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
|
|
324
332
|
export type { StopMigrationErrorResponse, StopMigrationMutationPathParams, StopMigrationOkResponse, StopMigrationProps, } from './hooks/useStopMigrationMutation';
|
|
@@ -327,6 +335,8 @@ export type { TriggerBackfillV3ErrorResponse, TriggerBackfillV3MutationQueryPara
|
|
|
327
335
|
export { triggerBackfillV3, useTriggerBackfillV3Mutation, } from './hooks/useTriggerBackfillV3Mutation';
|
|
328
336
|
export type { TriggerRegistryRootsIndexBuildV3ErrorResponse, TriggerRegistryRootsIndexBuildV3MutationQueryParams, TriggerRegistryRootsIndexBuildV3OkResponse, TriggerRegistryRootsIndexBuildV3Props, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
329
337
|
export { triggerRegistryRootsIndexBuildV3, useTriggerRegistryRootsIndexBuildV3Mutation, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
338
|
+
export type { TriggerSemverBackfillV3ErrorResponse, TriggerSemverBackfillV3OkResponse, TriggerSemverBackfillV3Props, } from './hooks/useTriggerSemverBackfillV3Mutation';
|
|
339
|
+
export { triggerSemverBackfillV3, useTriggerSemverBackfillV3Mutation, } from './hooks/useTriggerSemverBackfillV3Mutation';
|
|
330
340
|
export type { TriggerTrigramIndexBuildV3ErrorResponse, TriggerTrigramIndexBuildV3MutationQueryParams, TriggerTrigramIndexBuildV3OkResponse, TriggerTrigramIndexBuildV3Props, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
331
341
|
export { triggerTrigramIndexBuildV3, useTriggerTrigramIndexBuildV3Mutation, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
332
342
|
export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsMutationQueryParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
@@ -349,6 +359,8 @@ export type { UpdateStatusFirewallExceptionV3ErrorResponse, UpdateStatusFirewall
|
|
|
349
359
|
export { updateStatusFirewallExceptionV3, useUpdateStatusFirewallExceptionV3Mutation, } from './hooks/useUpdateStatusFirewallExceptionV3Mutation';
|
|
350
360
|
export type { UpdateWebhookErrorResponse, UpdateWebhookMutationPathParams, UpdateWebhookOkResponse, UpdateWebhookProps, UpdateWebhookRequestBody, } from './hooks/useUpdateWebhookMutation';
|
|
351
361
|
export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
|
|
362
|
+
export type { UpsertAutoMetadataV3ErrorResponse, UpsertAutoMetadataV3MutationQueryParams, UpsertAutoMetadataV3OkResponse, UpsertAutoMetadataV3Props, UpsertAutoMetadataV3RequestBody, } from './hooks/useUpsertAutoMetadataV3Mutation';
|
|
363
|
+
export { upsertAutoMetadataV3, useUpsertAutoMetadataV3Mutation, } from './hooks/useUpsertAutoMetadataV3Mutation';
|
|
352
364
|
export type { UpsertFileMetadataV3ErrorResponse, UpsertFileMetadataV3MutationPathParams, UpsertFileMetadataV3MutationQueryParams, UpsertFileMetadataV3OkResponse, UpsertFileMetadataV3Props, UpsertFileMetadataV3RequestBody, } from './hooks/useUpsertFileMetadataV3Mutation';
|
|
353
365
|
export { upsertFileMetadataV3, useUpsertFileMetadataV3Mutation, } from './hooks/useUpsertFileMetadataV3Mutation';
|
|
354
366
|
export type { UpsertPackageMetadataV3ErrorResponse, UpsertPackageMetadataV3MutationPathParams, UpsertPackageMetadataV3MutationQueryParams, UpsertPackageMetadataV3OkResponse, UpsertPackageMetadataV3Props, UpsertPackageMetadataV3RequestBody, } from './hooks/useUpsertPackageMetadataV3Mutation';
|
|
@@ -361,6 +373,7 @@ export type { AddTagsRequestRequestBody } from './requestBodies/AddTagsRequestRe
|
|
|
361
373
|
export type { AddTagsRequestV3RequestBody } from './requestBodies/AddTagsRequestV3RequestBody';
|
|
362
374
|
export type { ArtifactLabelRequestRequestBody } from './requestBodies/ArtifactLabelRequestRequestBody';
|
|
363
375
|
export type { ArtifactScanEvaluateRequestV3RequestBody } from './requestBodies/ArtifactScanEvaluateRequestV3RequestBody';
|
|
376
|
+
export type { AutoMetadataRequestV3RequestBody } from './requestBodies/AutoMetadataRequestV3RequestBody';
|
|
364
377
|
export type { BackfillTriggerRequestV3RequestBody } from './requestBodies/BackfillTriggerRequestV3RequestBody';
|
|
365
378
|
export type { BuildInfoRequestV3RequestBody } from './requestBodies/BuildInfoRequestV3RequestBody';
|
|
366
379
|
export type { BulkDeleteRequestV3RequestBody } from './requestBodies/BulkDeleteRequestV3RequestBody';
|
|
@@ -475,12 +488,14 @@ export type { RedirectV3Response } from './responses/RedirectV3Response';
|
|
|
475
488
|
export type { RegistriesStatsResponseV3Response } from './responses/RegistriesStatsResponseV3Response';
|
|
476
489
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
477
490
|
export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
|
|
491
|
+
export type { SearchTreeResponseV3Response } from './responses/SearchTreeResponseV3Response';
|
|
478
492
|
export type { SigningKeyDetailsResponseV3Response } from './responses/SigningKeyDetailsResponseV3Response';
|
|
479
493
|
export type { SigningKeySummaryResponseV3Response } from './responses/SigningKeySummaryResponseV3Response';
|
|
480
494
|
export type { StorageDetailsResponseResponse } from './responses/StorageDetailsResponseResponse';
|
|
481
495
|
export type { SuccessResponse } from './responses/SuccessResponse';
|
|
482
496
|
export type { SystemInfoResponseV3Response } from './responses/SystemInfoResponseV3Response';
|
|
483
497
|
export type { TerraformBackendStateResponseV3Response } from './responses/TerraformBackendStateResponseV3Response';
|
|
498
|
+
export type { TreeResolveResponseV3Response } from './responses/TreeResolveResponseV3Response';
|
|
484
499
|
export type { TreeResponseV3Response } from './responses/TreeResponseV3Response';
|
|
485
500
|
export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
|
|
486
501
|
export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
|
|
@@ -511,6 +526,7 @@ export type { ArtifactType } from './schemas/ArtifactType';
|
|
|
511
526
|
export type { ArtifactVersionMetadata } from './schemas/ArtifactVersionMetadata';
|
|
512
527
|
export type { ArtifactVersionSummary } from './schemas/ArtifactVersionSummary';
|
|
513
528
|
export type { AuthType } from './schemas/AuthType';
|
|
529
|
+
export type { AutoMetadataRequestInputV3 } from './schemas/AutoMetadataRequestInputV3';
|
|
514
530
|
export type { BackfillEntityStateV3 } from './schemas/BackfillEntityStateV3';
|
|
515
531
|
export type { BackfillStateDataV3 } from './schemas/BackfillStateDataV3';
|
|
516
532
|
export type { BackfillTaskStatusDataV3 } from './schemas/BackfillTaskStatusDataV3';
|
|
@@ -574,6 +590,12 @@ export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
|
|
|
574
590
|
export type { DockerLayersSummary } from './schemas/DockerLayersSummary';
|
|
575
591
|
export type { DockerManifestDetails } from './schemas/DockerManifestDetails';
|
|
576
592
|
export type { DockerManifests } from './schemas/DockerManifests';
|
|
593
|
+
export type { EdgeAuthorizeRequestV3 } from './schemas/EdgeAuthorizeRequestV3';
|
|
594
|
+
export type { EdgeAuthorizeResponseV3 } from './schemas/EdgeAuthorizeResponseV3';
|
|
595
|
+
export type { EdgeLocationV3 } from './schemas/EdgeLocationV3';
|
|
596
|
+
export type { EdgePrincipalV3 } from './schemas/EdgePrincipalV3';
|
|
597
|
+
export type { EdgeResolveRequestV3 } from './schemas/EdgeResolveRequestV3';
|
|
598
|
+
export type { EdgeResolveResponseV3 } from './schemas/EdgeResolveResponseV3';
|
|
577
599
|
export type { EnumLabelColor } from './schemas/EnumLabelColor';
|
|
578
600
|
export type { EnumLabelType } from './schemas/EnumLabelType';
|
|
579
601
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
@@ -635,6 +657,7 @@ export type { LifecycleRulePatchBodyV3 } from './schemas/LifecycleRulePatchBodyV
|
|
|
635
657
|
export type { LifecycleRuleRequestBodyV3 } from './schemas/LifecycleRuleRequestBodyV3';
|
|
636
658
|
export type { LifecycleRuleResponseV3 } from './schemas/LifecycleRuleResponseV3';
|
|
637
659
|
export type { LifecycleRuleScheduleV3 } from './schemas/LifecycleRuleScheduleV3';
|
|
660
|
+
export type { LifecycleRuleSemverOnlyV3 } from './schemas/LifecycleRuleSemverOnlyV3';
|
|
638
661
|
export type { LifecycleStatsResponseV3 } from './schemas/LifecycleStatsResponseV3';
|
|
639
662
|
export type { ListArtifact } from './schemas/ListArtifact';
|
|
640
663
|
export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
@@ -747,14 +770,26 @@ export type { SbomDetails } from './schemas/SbomDetails';
|
|
|
747
770
|
export type { ScanMetaV3 } from './schemas/ScanMetaV3';
|
|
748
771
|
export type { ScanStatusV3 } from './schemas/ScanStatusV3';
|
|
749
772
|
export type { Scanner } from './schemas/Scanner';
|
|
773
|
+
export type { SearchAncestorV3 } from './schemas/SearchAncestorV3';
|
|
774
|
+
export type { SearchFileItemV3 } from './schemas/SearchFileItemV3';
|
|
775
|
+
export type { SearchFilesGroupV3 } from './schemas/SearchFilesGroupV3';
|
|
776
|
+
export type { SearchPackageItemV3 } from './schemas/SearchPackageItemV3';
|
|
777
|
+
export type { SearchPackagesGroupV3 } from './schemas/SearchPackagesGroupV3';
|
|
778
|
+
export type { SearchRegistriesGroupV3 } from './schemas/SearchRegistriesGroupV3';
|
|
750
779
|
export type { SearchRegistryFilesRequestInputV3 } from './schemas/SearchRegistryFilesRequestInputV3';
|
|
780
|
+
export type { SearchRegistryItemV3 } from './schemas/SearchRegistryItemV3';
|
|
781
|
+
export type { SearchTreeResponseBodyV3 } from './schemas/SearchTreeResponseBodyV3';
|
|
782
|
+
export type { SearchVersionItemV3 } from './schemas/SearchVersionItemV3';
|
|
783
|
+
export type { SearchVersionsGroupV3 } from './schemas/SearchVersionsGroupV3';
|
|
751
784
|
export type { SectionType } from './schemas/SectionType';
|
|
752
785
|
export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPolicyFailureDetailConfigV3';
|
|
753
786
|
export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
|
|
787
|
+
export type { SemverBackfillTriggerDataV3 } from './schemas/SemverBackfillTriggerDataV3';
|
|
754
788
|
export type { SigningConfig } from './schemas/SigningConfig';
|
|
755
789
|
export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
|
|
756
790
|
export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
|
|
757
791
|
export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
|
|
792
|
+
export type { SigningKeyTypeV3 } from './schemas/SigningKeyTypeV3';
|
|
758
793
|
export type { SigningKeyV3 } from './schemas/SigningKeyV3';
|
|
759
794
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
760
795
|
export type { StartedAtMsV3 } from './schemas/StartedAtMsV3';
|
|
@@ -766,8 +801,11 @@ export type { SystemInfoV3 } from './schemas/SystemInfoV3';
|
|
|
766
801
|
export type { TabSetupStep } from './schemas/TabSetupStep';
|
|
767
802
|
export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
|
|
768
803
|
export type { TerraformArtifactDetailConfig } from './schemas/TerraformArtifactDetailConfig';
|
|
804
|
+
export type { TreeEntityKindV3 } from './schemas/TreeEntityKindV3';
|
|
769
805
|
export type { TreeNodeItemV3 } from './schemas/TreeNodeItemV3';
|
|
770
806
|
export type { TreePaginationV3 } from './schemas/TreePaginationV3';
|
|
807
|
+
export type { TreePathStepV3 } from './schemas/TreePathStepV3';
|
|
808
|
+
export type { TreeResolveResponseBodyV3 } from './schemas/TreeResolveResponseBodyV3';
|
|
771
809
|
export type { TreeResponseBodyV3 } from './schemas/TreeResponseBodyV3';
|
|
772
810
|
export type { Trigger } from './schemas/Trigger';
|
|
773
811
|
export type { TrigramIndexBuildDataV3 } from './schemas/TrigramIndexBuildDataV3';
|
|
@@ -32,6 +32,8 @@ export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDelete
|
|
|
32
32
|
export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
33
33
|
export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVersionV3Mutation';
|
|
34
34
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
35
|
+
export { edgeAuthorizeV3, useEdgeAuthorizeV3Mutation } from './hooks/useEdgeAuthorizeV3Mutation';
|
|
36
|
+
export { edgeResolveV3, useEdgeResolveV3Mutation } from './hooks/useEdgeResolveV3Mutation';
|
|
35
37
|
export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
36
38
|
export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
|
|
37
39
|
export { forceUnlockTerraformBackendV3, useForceUnlockTerraformBackendV3Mutation, } from './hooks/useForceUnlockTerraformBackendV3Mutation';
|
|
@@ -145,6 +147,7 @@ export { rebuildPackageIndexV3, useRebuildPackageIndexV3Mutation, } from './hook
|
|
|
145
147
|
export { rebuildRegistryIndexV3, useRebuildRegistryIndexV3Mutation, } from './hooks/useRebuildRegistryIndexV3Mutation';
|
|
146
148
|
export { rebuildVersionMetadataV3, useRebuildVersionMetadataV3Mutation, } from './hooks/useRebuildVersionMetadataV3Mutation';
|
|
147
149
|
export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
150
|
+
export { resolveTreePathV3, useResolveTreePathV3Query } from './hooks/useResolveTreePathV3Query';
|
|
148
151
|
export { restorePackageV3, useRestorePackageV3Mutation } from './hooks/useRestorePackageV3Mutation';
|
|
149
152
|
export { restoreRegistryV3, useRestoreRegistryV3Mutation, } from './hooks/useRestoreRegistryV3Mutation';
|
|
150
153
|
export { restoreVersionV3, useRestoreVersionV3Mutation } from './hooks/useRestoreVersionV3Mutation';
|
|
@@ -158,10 +161,12 @@ export { saveSpaceLabel, useSaveSpaceLabelMutation } from './hooks/useSaveSpaceL
|
|
|
158
161
|
export { saveVersionMetadataV3, useSaveVersionMetadataV3Mutation, } from './hooks/useSaveVersionMetadataV3Mutation';
|
|
159
162
|
export { searchFiles, useSearchFilesQuery } from './hooks/useSearchFilesQuery';
|
|
160
163
|
export { searchRegistryFilesV3, useSearchRegistryFilesV3Mutation, } from './hooks/useSearchRegistryFilesV3Mutation';
|
|
164
|
+
export { searchTreeV3, useSearchTreeV3Query } from './hooks/useSearchTreeV3Query';
|
|
161
165
|
export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
|
|
162
166
|
export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
|
|
163
167
|
export { triggerBackfillV3, useTriggerBackfillV3Mutation, } from './hooks/useTriggerBackfillV3Mutation';
|
|
164
168
|
export { triggerRegistryRootsIndexBuildV3, useTriggerRegistryRootsIndexBuildV3Mutation, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
169
|
+
export { triggerSemverBackfillV3, useTriggerSemverBackfillV3Mutation, } from './hooks/useTriggerSemverBackfillV3Mutation';
|
|
165
170
|
export { triggerTrigramIndexBuildV3, useTriggerTrigramIndexBuildV3Mutation, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
166
171
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
167
172
|
export { updateFirewallExceptionV3, useUpdateFirewallExceptionV3Mutation, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
@@ -173,6 +178,7 @@ export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdate
|
|
|
173
178
|
export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
174
179
|
export { updateStatusFirewallExceptionV3, useUpdateStatusFirewallExceptionV3Mutation, } from './hooks/useUpdateStatusFirewallExceptionV3Mutation';
|
|
175
180
|
export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
|
|
181
|
+
export { upsertAutoMetadataV3, useUpsertAutoMetadataV3Mutation, } from './hooks/useUpsertAutoMetadataV3Mutation';
|
|
176
182
|
export { upsertFileMetadataV3, useUpsertFileMetadataV3Mutation, } from './hooks/useUpsertFileMetadataV3Mutation';
|
|
177
183
|
export { upsertPackageMetadataV3, useUpsertPackageMetadataV3Mutation, } from './hooks/useUpsertPackageMetadataV3Mutation';
|
|
178
184
|
export { upsertRegistryMetadataV3, useUpsertRegistryMetadataV3Mutation, } from './hooks/useUpsertRegistryMetadataV3Mutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|