@harnessio/react-idp-service-client 0.51.2 → 0.51.4
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/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetHomePageLayoutInfoQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetHomePageLayoutInfoQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useSaveHomePageLayoutInfoMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useSaveHomePageLayoutInfoMutation.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +20 -0
- package/dist/idp-service/src/services/index.js +5 -0
- package/dist/idp-service/src/services/requestBodies/HomePageLayoutRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/HomePageLayoutRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/responses/HomePageLayoutResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/HomePageLayoutResponseResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/BannerInfo.d.ts +7 -0
- package/dist/idp-service/src/services/schemas/BannerInfo.js +1 -0
- package/dist/idp-service/src/services/schemas/Card.d.ts +11 -0
- package/dist/idp-service/src/services/schemas/Card.js +4 -0
- package/dist/idp-service/src/services/schemas/HeaderInfo.d.ts +5 -0
- package/dist/idp-service/src/services/schemas/HeaderInfo.js +1 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutInfo.d.ts +8 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutInfo.js +1 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutRequest.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutRequest.js +1 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutResponse.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/HomePageLayoutResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/LinksInfo.d.ts +6 -0
- package/dist/idp-service/src/services/schemas/LinksInfo.js +4 -0
- package/dist/idp-service/src/services/schemas/UploadInfo.d.ts +5 -0
- package/dist/idp-service/src/services/schemas/UploadInfo.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteCustomLinkCardQuickLinksMutationPathParams {
|
|
5
|
+
'card-identifier': string;
|
|
6
|
+
'quick-link-identifier': string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteCustomLinkCardQuickLinksMutationHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type DeleteCustomLinkCardQuickLinksOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type DeleteCustomLinkCardQuickLinksErrorResponse = unknown;
|
|
13
|
+
export interface DeleteCustomLinkCardQuickLinksProps extends DeleteCustomLinkCardQuickLinksMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteCustomLinkCardQuickLinksMutationHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function deleteCustomLinkCardQuickLinks(props: DeleteCustomLinkCardQuickLinksProps): Promise<DeleteCustomLinkCardQuickLinksOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Delete custom link card quick links icon
|
|
18
|
+
*/
|
|
19
|
+
export declare function useDeleteCustomLinkCardQuickLinksMutation(options?: Omit<UseMutationOptions<DeleteCustomLinkCardQuickLinksOkResponse, DeleteCustomLinkCardQuickLinksErrorResponse, DeleteCustomLinkCardQuickLinksProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteCustomLinkCardQuickLinksOkResponse, unknown, DeleteCustomLinkCardQuickLinksProps, 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/index.js';
|
|
6
|
+
export function deleteCustomLinkCardQuickLinks(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/custom-card/${props['card-identifier']}/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete custom link card quick links icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteCustomLinkCardQuickLinksMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteCustomLinkCardQuickLinks(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteHeadersQuickLinksIconMutationPathParams {
|
|
5
|
+
'quick-link-identifier': string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteHeadersQuickLinksIconMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteHeadersQuickLinksIconOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteHeadersQuickLinksIconErrorResponse = unknown;
|
|
12
|
+
export interface DeleteHeadersQuickLinksIconProps extends DeleteHeadersQuickLinksIconMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteHeadersQuickLinksIconMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteHeadersQuickLinksIcon(props: DeleteHeadersQuickLinksIconProps): Promise<DeleteHeadersQuickLinksIconOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete header quick links icon
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteHeadersQuickLinksIconMutation(options?: Omit<UseMutationOptions<DeleteHeadersQuickLinksIconOkResponse, DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksIconProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteHeadersQuickLinksIconOkResponse, unknown, DeleteHeadersQuickLinksIconProps, 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/index.js';
|
|
6
|
+
export function deleteHeadersQuickLinksIcon(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/header/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete header quick links icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteHeadersQuickLinksIconMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteHeadersQuickLinksIcon(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteHomePageLayoutCardsIconMutationPathParams {
|
|
5
|
+
'card-identifier': string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteHomePageLayoutCardsIconMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteHomePageLayoutCardsIconOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteHomePageLayoutCardsIconErrorResponse = unknown;
|
|
12
|
+
export interface DeleteHomePageLayoutCardsIconProps extends DeleteHomePageLayoutCardsIconMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteHomePageLayoutCardsIconMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteHomePageLayoutCardsIcon(props: DeleteHomePageLayoutCardsIconProps): Promise<DeleteHomePageLayoutCardsIconOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete card icon
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteHomePageLayoutCardsIconMutation(options?: Omit<UseMutationOptions<DeleteHomePageLayoutCardsIconOkResponse, DeleteHomePageLayoutCardsIconErrorResponse, DeleteHomePageLayoutCardsIconProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteHomePageLayoutCardsIconOkResponse, unknown, DeleteHomePageLayoutCardsIconProps, 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/index.js';
|
|
6
|
+
export function deleteHomePageLayoutCardsIcon(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout/card/${props['card-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete card icon
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteHomePageLayoutCardsIconMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteHomePageLayoutCardsIcon(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { HomePageLayoutResponseResponse } from '../responses/HomePageLayoutResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetHomePageLayoutInfoQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetHomePageLayoutInfoOkResponse = ResponseWithPagination<HomePageLayoutResponseResponse>;
|
|
9
|
+
export type GetHomePageLayoutInfoErrorResponse = unknown;
|
|
10
|
+
export interface GetHomePageLayoutInfoProps extends Omit<FetcherOptions<unknown, unknown, GetHomePageLayoutInfoQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getHomePageLayoutInfo(props: GetHomePageLayoutInfoProps): Promise<GetHomePageLayoutInfoOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get Home Page Layout Details
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetHomePageLayoutInfoQuery(props: GetHomePageLayoutInfoProps, options?: Omit<UseQueryOptions<GetHomePageLayoutInfoOkResponse, GetHomePageLayoutInfoErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetHomePageLayoutInfoOkResponse, 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/index.js';
|
|
6
|
+
export function getHomePageLayoutInfo(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Home Page Layout Details
|
|
11
|
+
*/
|
|
12
|
+
export function useGetHomePageLayoutInfoQuery(props, options) {
|
|
13
|
+
return useQuery(['get-home-page-layout-info'], ({ signal }) => getHomePageLayoutInfo(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { HomePageLayoutResponseResponse } from '../responses/HomePageLayoutResponseResponse';
|
|
3
|
+
import type { HomePageLayoutRequestRequestBody } from '../requestBodies/HomePageLayoutRequestRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SaveHomePageLayoutInfoMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type SaveHomePageLayoutInfoRequestBody = HomePageLayoutRequestRequestBody;
|
|
10
|
+
export type SaveHomePageLayoutInfoOkResponse = ResponseWithPagination<HomePageLayoutResponseResponse>;
|
|
11
|
+
export type SaveHomePageLayoutInfoErrorResponse = unknown;
|
|
12
|
+
export interface SaveHomePageLayoutInfoProps extends Omit<FetcherOptions<unknown, SaveHomePageLayoutInfoRequestBody, SaveHomePageLayoutInfoMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: SaveHomePageLayoutInfoRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function saveHomePageLayoutInfo(props: SaveHomePageLayoutInfoProps): Promise<SaveHomePageLayoutInfoOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Save Home Page Layout Details
|
|
18
|
+
*/
|
|
19
|
+
export declare function useSaveHomePageLayoutInfoMutation(options?: Omit<UseMutationOptions<SaveHomePageLayoutInfoOkResponse, SaveHomePageLayoutInfoErrorResponse, SaveHomePageLayoutInfoProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveHomePageLayoutInfoOkResponse, unknown, SaveHomePageLayoutInfoProps, 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/index.js';
|
|
6
|
+
export function saveHomePageLayoutInfo(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/home-page-layout`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Save Home Page Layout Details
|
|
11
|
+
*/
|
|
12
|
+
export function useSaveHomePageLayoutInfoMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => saveHomePageLayoutInfo(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -19,10 +19,16 @@ export type { CustomPluginsTriggerErrorResponse, CustomPluginsTriggerMutationPat
|
|
|
19
19
|
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
20
20
|
export type { DeleteCheckErrorResponse, DeleteCheckMutationPathParams, DeleteCheckMutationQueryParams, DeleteCheckOkResponse, DeleteCheckProps, } from './hooks/useDeleteCheckMutation';
|
|
21
21
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
22
|
+
export type { DeleteCustomLinkCardQuickLinksErrorResponse, DeleteCustomLinkCardQuickLinksMutationPathParams, DeleteCustomLinkCardQuickLinksOkResponse, DeleteCustomLinkCardQuickLinksProps, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
23
|
+
export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
22
24
|
export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
23
25
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
24
26
|
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
25
27
|
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
28
|
+
export type { DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksIconMutationPathParams, DeleteHeadersQuickLinksIconOkResponse, DeleteHeadersQuickLinksIconProps, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
29
|
+
export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
30
|
+
export type { DeleteHomePageLayoutCardsIconErrorResponse, DeleteHomePageLayoutCardsIconMutationPathParams, DeleteHomePageLayoutCardsIconOkResponse, DeleteHomePageLayoutCardsIconProps, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
31
|
+
export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
26
32
|
export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
|
|
27
33
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
28
34
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
@@ -71,6 +77,8 @@ export type { GetHarnessEntitiesCountErrorResponse, GetHarnessEntitiesCountOkRes
|
|
|
71
77
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
72
78
|
export type { GetHarnessEntitiesErrorResponse, GetHarnessEntitiesOkResponse, GetHarnessEntitiesProps, GetHarnessEntitiesQueryQueryParams, } from './hooks/useGetHarnessEntitiesQuery';
|
|
73
79
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
80
|
+
export type { GetHomePageLayoutInfoErrorResponse, GetHomePageLayoutInfoOkResponse, GetHomePageLayoutInfoProps, } from './hooks/useGetHomePageLayoutInfoQuery';
|
|
81
|
+
export { getHomePageLayoutInfo, useGetHomePageLayoutInfoQuery, } from './hooks/useGetHomePageLayoutInfoQuery';
|
|
74
82
|
export type { GetIntegrationErrorResponse, GetIntegrationOkResponse, GetIntegrationProps, GetIntegrationQueryPathParams, } from './hooks/useGetIntegrationQuery';
|
|
75
83
|
export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegrationQuery';
|
|
76
84
|
export type { GetIntegrationsErrorResponse, GetIntegrationsOkResponse, GetIntegrationsProps, GetIntegrationsQueryPathParams, GetIntegrationsQueryQueryParams, } from './hooks/useGetIntegrationsQuery';
|
|
@@ -119,6 +127,8 @@ export type { SaveCustomPluginsInfoErrorResponse, SaveCustomPluginsInfoOkRespons
|
|
|
119
127
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
120
128
|
export type { SaveGroupErrorResponse, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
121
129
|
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
130
|
+
export type { SaveHomePageLayoutInfoErrorResponse, SaveHomePageLayoutInfoOkResponse, SaveHomePageLayoutInfoProps, SaveHomePageLayoutInfoRequestBody, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
131
|
+
export { saveHomePageLayoutInfo, useSaveHomePageLayoutInfoMutation, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
122
132
|
export type { SaveOrUpdatePluginAppConfigErrorResponse, SaveOrUpdatePluginAppConfigOkResponse, SaveOrUpdatePluginAppConfigProps, SaveOrUpdatePluginAppConfigRequestBody, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
123
133
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
124
134
|
export type { ScorecardRecalibrateErrorResponse, ScorecardRecalibrateOkResponse, ScorecardRecalibrateProps, ScorecardRecalibrateRequestBody, } from './hooks/useScorecardRecalibrateMutation';
|
|
@@ -149,6 +159,7 @@ export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomP
|
|
|
149
159
|
export type { GenerateYamlRequestRequestBody } from './requestBodies/GenerateYamlRequestRequestBody';
|
|
150
160
|
export type { GroupRequestListRequestBody } from './requestBodies/GroupRequestListRequestBody';
|
|
151
161
|
export type { GroupRequestRequestBody } from './requestBodies/GroupRequestRequestBody';
|
|
162
|
+
export type { HomePageLayoutRequestRequestBody } from './requestBodies/HomePageLayoutRequestRequestBody';
|
|
152
163
|
export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
|
|
153
164
|
export type { IntegrationRequestRequestBody } from './requestBodies/IntegrationRequestRequestBody';
|
|
154
165
|
export type { OnboardingCdEntitiesFetchRequestRequestBody } from './requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
@@ -181,6 +192,7 @@ export type { GroupResponseResponse } from './responses/GroupResponseResponse';
|
|
|
181
192
|
export type { GroupsYamlResponseResponse } from './responses/GroupsYamlResponseResponse';
|
|
182
193
|
export type { HarnessEntitiesCountResponseResponse } from './responses/HarnessEntitiesCountResponseResponse';
|
|
183
194
|
export type { HarnessEntitiesResponseResponse } from './responses/HarnessEntitiesResponseResponse';
|
|
195
|
+
export type { HomePageLayoutResponseResponse } from './responses/HomePageLayoutResponseResponse';
|
|
184
196
|
export type { ImportEntitiesResponseResponse } from './responses/ImportEntitiesResponseResponse';
|
|
185
197
|
export type { IntegrationResponseListResponse } from './responses/IntegrationResponseListResponse';
|
|
186
198
|
export type { IntegrationResponseResponse } from './responses/IntegrationResponseResponse';
|
|
@@ -218,8 +230,10 @@ export type { BackstageEnvVariableResponse } from './schemas/BackstageEnvVariabl
|
|
|
218
230
|
export type { BackstagePermissions } from './schemas/BackstagePermissions';
|
|
219
231
|
export type { BackstagePermissionsRequest } from './schemas/BackstagePermissionsRequest';
|
|
220
232
|
export type { BackstagePermissionsResponse } from './schemas/BackstagePermissionsResponse';
|
|
233
|
+
export type { BannerInfo } from './schemas/BannerInfo';
|
|
221
234
|
export type { BaseIntegrationRequest } from './schemas/BaseIntegrationRequest';
|
|
222
235
|
export type { BaseIntegrationResponse } from './schemas/BaseIntegrationResponse';
|
|
236
|
+
export type { Card } from './schemas/Card';
|
|
223
237
|
export type { CatalogConnectorInfo } from './schemas/CatalogConnectorInfo';
|
|
224
238
|
export type { CdEntityAsIdpEntity } from './schemas/CdEntityAsIdpEntity';
|
|
225
239
|
export type { Check } from './schemas/Check';
|
|
@@ -262,6 +276,10 @@ export type { GroupsYamlResponse } from './schemas/GroupsYamlResponse';
|
|
|
262
276
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
263
277
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
264
278
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
279
|
+
export type { HeaderInfo } from './schemas/HeaderInfo';
|
|
280
|
+
export type { HomePageLayoutInfo } from './schemas/HomePageLayoutInfo';
|
|
281
|
+
export type { HomePageLayoutRequest } from './schemas/HomePageLayoutRequest';
|
|
282
|
+
export type { HomePageLayoutResponse } from './schemas/HomePageLayoutResponse';
|
|
265
283
|
export type { HostInfo } from './schemas/HostInfo';
|
|
266
284
|
export type { ImportEntitiesBase } from './schemas/ImportEntitiesBase';
|
|
267
285
|
export type { ImportEntitiesResponse } from './schemas/ImportEntitiesResponse';
|
|
@@ -270,6 +288,7 @@ export type { InputValue } from './schemas/InputValue';
|
|
|
270
288
|
export type { LayoutIngestRequest } from './schemas/LayoutIngestRequest';
|
|
271
289
|
export type { LayoutRequest } from './schemas/LayoutRequest';
|
|
272
290
|
export type { LayoutResponse } from './schemas/LayoutResponse';
|
|
291
|
+
export type { LinksInfo } from './schemas/LinksInfo';
|
|
273
292
|
export type { MergedPluginConfigResponse } from './schemas/MergedPluginConfigResponse';
|
|
274
293
|
export type { MergedPluginConfigs } from './schemas/MergedPluginConfigs';
|
|
275
294
|
export type { OnboardingCdEntitiesCountResponse } from './schemas/OnboardingCdEntitiesCountResponse';
|
|
@@ -309,6 +328,7 @@ export type { ScorecardSummaryInfo } from './schemas/ScorecardSummaryInfo';
|
|
|
309
328
|
export type { StatusInfo } from './schemas/StatusInfo';
|
|
310
329
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
311
330
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
331
|
+
export type { UploadInfo } from './schemas/UploadInfo';
|
|
312
332
|
export type { User } from './schemas/User';
|
|
313
333
|
export type { WorkflowsInfo } from './schemas/WorkflowsInfo';
|
|
314
334
|
export type { WorkflowsInfoResponse } from './schemas/WorkflowsInfoResponse';
|
|
@@ -8,8 +8,11 @@ export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMu
|
|
|
8
8
|
export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
|
|
9
9
|
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
10
10
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
11
|
+
export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
|
|
11
12
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
12
13
|
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
14
|
+
export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
15
|
+
export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
|
|
13
16
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
14
17
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
15
18
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
@@ -34,6 +37,7 @@ export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDet
|
|
|
34
37
|
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
35
38
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
36
39
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
40
|
+
export { getHomePageLayoutInfo, useGetHomePageLayoutInfoQuery, } from './hooks/useGetHomePageLayoutInfoQuery';
|
|
37
41
|
export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegrationQuery';
|
|
38
42
|
export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
|
|
39
43
|
export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
|
|
@@ -58,6 +62,7 @@ export { saveAuthInfoAuthId, useSaveAuthInfoAuthIdMutation, } from './hooks/useS
|
|
|
58
62
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
59
63
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
60
64
|
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
65
|
+
export { saveHomePageLayoutInfo, useSaveHomePageLayoutInfoMutation, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
61
66
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
62
67
|
export { scorecardRecalibrate, useScorecardRecalibrateMutation, } from './hooks/useScorecardRecalibrateMutation';
|
|
63
68
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Home Page Layout Cards
|
|
3
|
+
*/
|
|
4
|
+
export interface Card {
|
|
5
|
+
default_card: boolean;
|
|
6
|
+
draft: boolean;
|
|
7
|
+
icon_url?: string;
|
|
8
|
+
identifier?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
type: 'CUSTOM_LINK' | 'LEARN_MORE' | 'MARKDOWN' | 'RECENTLY_VISITED' | 'SELF_SERVICE' | 'STARRED_ENTITIES' | 'TOP_VISITED' | 'VIDEO';
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BannerInfo } from '../schemas/BannerInfo';
|
|
2
|
+
import type { Card } from '../schemas/Card';
|
|
3
|
+
import type { HeaderInfo } from '../schemas/HeaderInfo';
|
|
4
|
+
export interface HomePageLayoutInfo {
|
|
5
|
+
banner: BannerInfo;
|
|
6
|
+
cards: Card[];
|
|
7
|
+
header: HeaderInfo;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|