@harnessio/react-idp-service-client 0.20.0 → 0.22.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/services/hooks/useCreateBackstageEnvVariablesMutation.d.ts +19 -0
- package/dist/services/hooks/useCreateBackstageEnvVariablesMutation.js +14 -0
- package/dist/services/hooks/useGetMergedPluginsConfigQuery.d.ts +16 -0
- package/dist/services/hooks/useGetMergedPluginsConfigQuery.js +14 -0
- package/dist/services/hooks/useLayoutIngestMutation.d.ts +18 -0
- package/dist/services/hooks/useLayoutIngestMutation.js +14 -0
- package/dist/services/hooks/usePostPluginRequestMutation.d.ts +18 -0
- package/dist/services/hooks/usePostPluginRequestMutation.js +14 -0
- package/dist/services/index.d.ts +20 -0
- package/dist/services/index.js +4 -0
- package/dist/services/requestBodies/BackstageEnvVariableBatchRequestRequestBody.d.ts +2 -0
- package/dist/services/requestBodies/BackstageEnvVariableBatchRequestRequestBody.js +1 -0
- package/dist/services/requestBodies/RequestPluginRequestRequestBody.d.ts +2 -0
- package/dist/services/requestBodies/RequestPluginRequestRequestBody.js +1 -0
- package/dist/services/responses/BackstageEnvVariableResponseListResponse.d.ts +2 -0
- package/dist/services/responses/BackstageEnvVariableResponseListResponse.js +1 -0
- package/dist/services/responses/MergedPluginConfigResponseResponse.d.ts +2 -0
- package/dist/services/responses/MergedPluginConfigResponseResponse.js +1 -0
- package/dist/services/schemas/BackstageEnvVariableBatchRequest.d.ts +4 -0
- package/dist/services/schemas/BackstageEnvVariableBatchRequest.js +1 -0
- package/dist/services/schemas/BackstageEnvVariableResponse.d.ts +4 -0
- package/dist/services/schemas/BackstageEnvVariableResponse.js +1 -0
- package/dist/services/schemas/ExportDetails.d.ts +9 -0
- package/dist/services/schemas/ExportDetails.js +4 -0
- package/dist/services/schemas/Exports.d.ts +3 -0
- package/dist/services/schemas/Exports.js +0 -3
- package/dist/services/schemas/LayoutIngestRequest.d.ts +4 -0
- package/dist/services/schemas/LayoutIngestRequest.js +1 -0
- package/dist/services/schemas/MergedPluginConfigResponse.d.ts +7 -0
- package/dist/services/schemas/MergedPluginConfigResponse.js +1 -0
- package/dist/services/schemas/MergedPluginConfigs.d.ts +8 -0
- package/dist/services/schemas/MergedPluginConfigs.js +1 -0
- package/dist/services/schemas/PluginDetailedInfo.d.ts +2 -6
- package/dist/services/schemas/PluginDetails.d.ts +7 -0
- package/dist/services/schemas/PluginDetails.js +1 -0
- package/dist/services/schemas/RequestPlugin.d.ts +9 -0
- package/dist/services/schemas/RequestPlugin.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { BackstageEnvVariableResponseListResponse } from '../responses/BackstageEnvVariableResponseListResponse';
|
|
3
|
+
import type { BackstageEnvVariableBatchRequestRequestBody } from '../requestBodies/BackstageEnvVariableBatchRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from './../../fetcher';
|
|
6
|
+
export interface CreateBackstageEnvVariablesMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type CreateBackstageEnvVariablesRequestBody = BackstageEnvVariableBatchRequestRequestBody;
|
|
10
|
+
export type CreateBackstageEnvVariablesOkResponse = ResponseWithPagination<BackstageEnvVariableResponseListResponse>;
|
|
11
|
+
export type CreateBackstageEnvVariablesErrorResponse = unknown;
|
|
12
|
+
export interface CreateBackstageEnvVariablesProps extends Omit<FetcherOptions<unknown, CreateBackstageEnvVariablesRequestBody, CreateBackstageEnvVariablesMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: CreateBackstageEnvVariablesRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function createBackstageEnvVariables(props: CreateBackstageEnvVariablesProps): Promise<CreateBackstageEnvVariablesOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Creates multiple backstage env variables
|
|
18
|
+
*/
|
|
19
|
+
export declare function useCreateBackstageEnvVariablesMutation(options?: Omit<UseMutationOptions<CreateBackstageEnvVariablesOkResponse, CreateBackstageEnvVariablesErrorResponse, CreateBackstageEnvVariablesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateBackstageEnvVariablesOkResponse, unknown, CreateBackstageEnvVariablesProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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';
|
|
6
|
+
export function createBackstageEnvVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/backstage-env-variables/batch`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates multiple backstage env variables
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateBackstageEnvVariablesMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createBackstageEnvVariables(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MergedPluginConfigResponseResponse } from '../responses/MergedPluginConfigResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from './../../fetcher';
|
|
5
|
+
export interface GetMergedPluginsConfigQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetMergedPluginsConfigOkResponse = ResponseWithPagination<MergedPluginConfigResponseResponse>;
|
|
9
|
+
export type GetMergedPluginsConfigErrorResponse = unknown;
|
|
10
|
+
export interface GetMergedPluginsConfigProps extends Omit<FetcherOptions<unknown, unknown, GetMergedPluginsConfigQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getMergedPluginsConfig(props: GetMergedPluginsConfigProps): Promise<GetMergedPluginsConfigOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* API for retriving merged configs for enabled plugin of account.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetMergedPluginsConfigQuery(props: GetMergedPluginsConfigProps, options?: Omit<UseQueryOptions<GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMergedPluginsConfigOkResponse, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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';
|
|
6
|
+
export function getMergedPluginsConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/merged-plugins-config`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* API for retriving merged configs for enabled plugin of account.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMergedPluginsConfigQuery(props, options) {
|
|
13
|
+
return useQuery(['get-merged-plugins-config'], ({ signal }) => getMergedPluginsConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { LayoutIngestRequest } from '../schemas/LayoutIngestRequest';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from './../../fetcher';
|
|
5
|
+
export interface LayoutIngestMutationHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type LayoutIngestRequestBody = LayoutIngestRequest;
|
|
9
|
+
export type LayoutIngestOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type LayoutIngestErrorResponse = unknown;
|
|
11
|
+
export interface LayoutIngestProps extends Omit<FetcherOptions<unknown, LayoutIngestRequestBody, LayoutIngestMutationHeaderParams>, 'url'> {
|
|
12
|
+
body: LayoutIngestRequestBody;
|
|
13
|
+
}
|
|
14
|
+
export declare function layoutIngest(props: LayoutIngestProps): Promise<LayoutIngestOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Ingest plugin layout
|
|
17
|
+
*/
|
|
18
|
+
export declare function useLayoutIngestMutation(options?: Omit<UseMutationOptions<LayoutIngestOkResponse, LayoutIngestErrorResponse, LayoutIngestProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<LayoutIngestOkResponse, unknown, LayoutIngestProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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';
|
|
6
|
+
export function layoutIngest(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/layout/ingest`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Ingest plugin layout
|
|
11
|
+
*/
|
|
12
|
+
export function useLayoutIngestMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => layoutIngest(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RequestPluginRequestRequestBody } from '../requestBodies/RequestPluginRequestRequestBody';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from './../../fetcher';
|
|
5
|
+
export interface PostPluginRequestMutationHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type PostPluginRequestRequestBody = RequestPluginRequestRequestBody;
|
|
9
|
+
export type PostPluginRequestOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type PostPluginRequestErrorResponse = unknown;
|
|
11
|
+
export interface PostPluginRequestProps extends Omit<FetcherOptions<unknown, PostPluginRequestRequestBody, PostPluginRequestMutationHeaderParams>, 'url'> {
|
|
12
|
+
body: PostPluginRequestRequestBody;
|
|
13
|
+
}
|
|
14
|
+
export declare function postPluginRequest(props: PostPluginRequestProps): Promise<PostPluginRequestOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Request for a Plugin
|
|
17
|
+
*/
|
|
18
|
+
export declare function usePostPluginRequestMutation(options?: Omit<UseMutationOptions<PostPluginRequestOkResponse, PostPluginRequestErrorResponse, PostPluginRequestProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostPluginRequestOkResponse, unknown, PostPluginRequestProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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';
|
|
6
|
+
export function postPluginRequest(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/plugin/request`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Request for a Plugin
|
|
11
|
+
*/
|
|
12
|
+
export function usePostPluginRequestMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postPluginRequest(mutateProps), options);
|
|
14
|
+
}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { CreateBackstageEnvVariablesErrorResponse, CreateBackstageEnvVariablesOkResponse, CreateBackstageEnvVariablesProps, CreateBackstageEnvVariablesRequestBody, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
3
|
+
export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
2
4
|
export type { CreateBackstagePermissionsErrorResponse, CreateBackstagePermissionsOkResponse, CreateBackstagePermissionsProps, CreateBackstagePermissionsRequestBody, } from './hooks/useCreateBackstagePermissionsMutation';
|
|
3
5
|
export { createBackstagePermissions, useCreateBackstagePermissionsMutation, } from './hooks/useCreateBackstagePermissionsMutation';
|
|
4
6
|
export type { CreateLayoutErrorResponse, CreateLayoutOkResponse, CreateLayoutProps, CreateLayoutRequestBody, } from './hooks/useCreateLayoutMutation';
|
|
@@ -15,6 +17,8 @@ export type { GetHarnessEntitiesErrorResponse, GetHarnessEntitiesOkResponse, Get
|
|
|
15
17
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
16
18
|
export type { GetLayoutErrorResponse, GetLayoutOkResponse, GetLayoutProps, GetLayoutQueryPathParams, } from './hooks/useGetLayoutQuery';
|
|
17
19
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
20
|
+
export type { GetMergedPluginsConfigErrorResponse, GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigProps, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
21
|
+
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
18
22
|
export type { GetPluginsInfoPluginIdErrorResponse, GetPluginsInfoPluginIdOkResponse, GetPluginsInfoPluginIdProps, GetPluginsInfoPluginIdQueryPathParams, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
19
23
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
20
24
|
export type { GetPluginsErrorResponse, GetPluginsOkResponse, GetPluginsProps, } from './hooks/useGetPluginsQuery';
|
|
@@ -23,6 +27,10 @@ export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, G
|
|
|
23
27
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
24
28
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
25
29
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
30
|
+
export type { LayoutIngestErrorResponse, LayoutIngestOkResponse, LayoutIngestProps, LayoutIngestRequestBody, } from './hooks/useLayoutIngestMutation';
|
|
31
|
+
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
32
|
+
export type { PostPluginRequestErrorResponse, PostPluginRequestOkResponse, PostPluginRequestProps, PostPluginRequestRequestBody, } from './hooks/usePostPluginRequestMutation';
|
|
33
|
+
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
26
34
|
export type { SaveConnectorInfoErrorResponse, SaveConnectorInfoOkResponse, SaveConnectorInfoProps, SaveConnectorInfoRequestBody, } from './hooks/useSaveConnectorInfoMutation';
|
|
27
35
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
28
36
|
export type { SaveOrUpdatePluginAppConfigErrorResponse, SaveOrUpdatePluginAppConfigOkResponse, SaveOrUpdatePluginAppConfigProps, SaveOrUpdatePluginAppConfigRequestBody, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
@@ -32,16 +40,20 @@ export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './ho
|
|
|
32
40
|
export type { UpdateBackstagePermissionsErrorResponse, UpdateBackstagePermissionsOkResponse, UpdateBackstagePermissionsProps, UpdateBackstagePermissionsRequestBody, } from './hooks/useUpdateBackstagePermissionsMutation';
|
|
33
41
|
export { updateBackstagePermissions, useUpdateBackstagePermissionsMutation, } from './hooks/useUpdateBackstagePermissionsMutation';
|
|
34
42
|
export type { AppConfigRequestRequestBody } from './requestBodies/AppConfigRequestRequestBody';
|
|
43
|
+
export type { BackstageEnvVariableBatchRequestRequestBody } from './requestBodies/BackstageEnvVariableBatchRequestRequestBody';
|
|
35
44
|
export type { BackstagePermissionsRequestRequestBody } from './requestBodies/BackstagePermissionsRequestRequestBody';
|
|
36
45
|
export type { ConnectorInfoRequestRequestBody } from './requestBodies/ConnectorInfoRequestRequestBody';
|
|
37
46
|
export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
|
|
47
|
+
export type { RequestPluginRequestRequestBody } from './requestBodies/RequestPluginRequestRequestBody';
|
|
38
48
|
export type { AppConfigResponseResponse } from './responses/AppConfigResponseResponse';
|
|
49
|
+
export type { BackstageEnvVariableResponseListResponse } from './responses/BackstageEnvVariableResponseListResponse';
|
|
39
50
|
export type { BackstagePermissionsResponseResponse } from './responses/BackstagePermissionsResponseResponse';
|
|
40
51
|
export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
|
|
41
52
|
export type { HarnessEntitiesCountResponseResponse } from './responses/HarnessEntitiesCountResponseResponse';
|
|
42
53
|
export type { HarnessEntitiesResponseResponse } from './responses/HarnessEntitiesResponseResponse';
|
|
43
54
|
export type { ImportEntitiesResponseResponse } from './responses/ImportEntitiesResponseResponse';
|
|
44
55
|
export type { LayoutResponseResponse } from './responses/LayoutResponseResponse';
|
|
56
|
+
export type { MergedPluginConfigResponseResponse } from './responses/MergedPluginConfigResponseResponse';
|
|
45
57
|
export type { PluginDetailedInfoResponseResponse } from './responses/PluginDetailedInfoResponseResponse';
|
|
46
58
|
export type { PluginInfoResponseListResponse } from './responses/PluginInfoResponseListResponse';
|
|
47
59
|
export type { StatusInfoResponseResponse } from './responses/StatusInfoResponseResponse';
|
|
@@ -50,6 +62,8 @@ export type { AppConfigRequest } from './schemas/AppConfigRequest';
|
|
|
50
62
|
export type { AppConfigResponse } from './schemas/AppConfigResponse';
|
|
51
63
|
export type { BackstageEnvSecretVariable } from './schemas/BackstageEnvSecretVariable';
|
|
52
64
|
export type { BackstageEnvVariable } from './schemas/BackstageEnvVariable';
|
|
65
|
+
export type { BackstageEnvVariableBatchRequest } from './schemas/BackstageEnvVariableBatchRequest';
|
|
66
|
+
export type { BackstageEnvVariableResponse } from './schemas/BackstageEnvVariableResponse';
|
|
53
67
|
export type { BackstagePermissions } from './schemas/BackstagePermissions';
|
|
54
68
|
export type { BackstagePermissionsRequest } from './schemas/BackstagePermissionsRequest';
|
|
55
69
|
export type { BackstagePermissionsResponse } from './schemas/BackstagePermissionsResponse';
|
|
@@ -58,17 +72,23 @@ export type { ConnectorDetails } from './schemas/ConnectorDetails';
|
|
|
58
72
|
export type { ConnectorInfoRequest } from './schemas/ConnectorInfoRequest';
|
|
59
73
|
export type { ConnectorInfoResponse } from './schemas/ConnectorInfoResponse';
|
|
60
74
|
export type { EntitiesForImport } from './schemas/EntitiesForImport';
|
|
75
|
+
export type { ExportDetails } from './schemas/ExportDetails';
|
|
61
76
|
export type { Exports } from './schemas/Exports';
|
|
62
77
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
63
78
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
64
79
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
65
80
|
export type { ImportEntitiesResponse } from './schemas/ImportEntitiesResponse';
|
|
66
81
|
export type { ImportHarnessEntitiesRequest } from './schemas/ImportHarnessEntitiesRequest';
|
|
82
|
+
export type { LayoutIngestRequest } from './schemas/LayoutIngestRequest';
|
|
67
83
|
export type { LayoutRequest } from './schemas/LayoutRequest';
|
|
68
84
|
export type { LayoutResponse } from './schemas/LayoutResponse';
|
|
85
|
+
export type { MergedPluginConfigResponse } from './schemas/MergedPluginConfigResponse';
|
|
86
|
+
export type { MergedPluginConfigs } from './schemas/MergedPluginConfigs';
|
|
69
87
|
export type { PluginDetailedInfo } from './schemas/PluginDetailedInfo';
|
|
70
88
|
export type { PluginDetailedInfoResponse } from './schemas/PluginDetailedInfoResponse';
|
|
89
|
+
export type { PluginDetails } from './schemas/PluginDetails';
|
|
71
90
|
export type { PluginInfo } from './schemas/PluginInfo';
|
|
72
91
|
export type { PluginInfoResponse } from './schemas/PluginInfoResponse';
|
|
92
|
+
export type { RequestPlugin } from './schemas/RequestPlugin';
|
|
73
93
|
export type { StatusInfo } from './schemas/StatusInfo';
|
|
74
94
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
package/dist/services/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, } from './hooks/useCreateBackstageEnvVariablesMutation';
|
|
1
2
|
export { createBackstagePermissions, useCreateBackstagePermissionsMutation, } from './hooks/useCreateBackstagePermissionsMutation';
|
|
2
3
|
export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
|
|
3
4
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
@@ -6,10 +7,13 @@ export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnec
|
|
|
6
7
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
7
8
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
8
9
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
10
|
+
export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
|
|
9
11
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
10
12
|
export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
|
|
11
13
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
12
14
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
15
|
+
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
16
|
+
export { postPluginRequest, usePostPluginRequestMutation, } from './hooks/usePostPluginRequestMutation';
|
|
13
17
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
14
18
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
15
19
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { BackstageEnvSecretVariable } from '../schemas/BackstageEnvSecretVariable';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
export interface PluginDetailedInfo {
|
|
5
|
-
config: string;
|
|
2
|
+
import type { PluginDetails } from '../schemas/PluginDetails';
|
|
3
|
+
export interface PluginDetailedInfo extends PluginDetails {
|
|
6
4
|
env_variables: BackstageEnvSecretVariable[];
|
|
7
|
-
exports: Exports;
|
|
8
|
-
plugin_details: PluginInfo;
|
|
9
5
|
saved: boolean;
|
|
10
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|