@devtron-labs/devtron-fe-common-lib 1.22.8-beta-8 → 1.22.8-beta-9

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.
Files changed (35) hide show
  1. package/dist/{@code-editor-DJ1n-oj-.js → @code-editor-BQuL3MJ4.js} +11656 -10935
  2. package/dist/{@common-rjsf-vUb-HzVA.js → @common-rjsf-D0gZheG0.js} +18 -18
  3. package/dist/{@framer-motion-CQJaLnQR.js → @framer-motion-F-ZV0kPL.js} +64 -64
  4. package/dist/{@react-select-D9YraDtb.js → @react-select-CTafio-F.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-CcQpKMGh.js → @react-virtualized-sticky-tree-DX-A0tLR.js} +1 -1
  6. package/dist/{@vendor-BPy92aLm.js → @vendor-zzMkp5ik.js} +17750 -17707
  7. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  8. package/dist/Common/BreadCrumb/Types.d.ts +1 -0
  9. package/dist/Common/Constants.d.ts +2 -71
  10. package/dist/Common/Types.d.ts +81 -75
  11. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  12. package/dist/Pages/ResourceBrowser/constants.d.ts +0 -10
  13. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +1 -1
  14. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
  15. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +563 -0
  16. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +1 -0
  17. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  18. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
  19. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
  20. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +6 -6
  21. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  22. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  23. package/dist/Shared/Components/CICDHistory/types.d.ts +8 -6
  24. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -2
  25. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  26. package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
  27. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +1 -1
  28. package/dist/Shared/Components/LoginBanner/types.d.ts +1 -1
  29. package/dist/Shared/Components/Plugin/types.d.ts +2 -2
  30. package/dist/Shared/Helpers.d.ts +0 -10
  31. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
  32. package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
  33. package/dist/Shared/types.d.ts +2 -2
  34. package/dist/index.js +1011 -1136
  35. package/package.json +2 -3
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
3
3
  export declare const BreadcrumbContext: React.Context<any>;
4
- export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
4
+ export declare function useBreadcrumb(pathPattern: string, props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
5
5
  export declare const BreadCrumb: React.FC<Breadcrumbs>;
@@ -22,6 +22,7 @@ export interface UseBreadcrumbProps {
22
22
  }
23
23
  export interface Breadcrumbs {
24
24
  breadcrumbs: Breadcrumb[];
25
+ path: string;
25
26
  sep?: string;
26
27
  className?: string;
27
28
  }
@@ -27,85 +27,17 @@ export declare const PATTERNS: {
27
27
  ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: RegExp;
28
28
  EMAIL: RegExp;
29
29
  };
30
+ /** @deprecated */
30
31
  export declare const URLS: {
31
- readonly LOGIN: "/login";
32
- readonly LOGIN_SSO: "/login/sso";
33
- readonly APP_LIST: "list";
34
- readonly CREATE_JOB: "create-job";
35
- readonly GETTING_STARTED: "getting-started";
36
- readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
37
32
  readonly APP_CI_DETAILS: "ci-details";
38
33
  readonly LOGS: "Logs";
39
- readonly CREATE: "/create";
40
- readonly RELEASES: "/releases";
41
- readonly DEVTRON_CHARTS: "dc";
42
- readonly APP_DEPLOYMNENT_HISTORY: "deployments";
43
34
  readonly APP_DETAILS: "details";
44
35
  readonly APP_DETAILS_K8: "k8s-resources";
45
36
  readonly DETAILS: "/details";
46
- readonly CD_DETAILS: "cd-details";
47
- readonly APP_TRIGGER: "trigger";
48
- readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "/configuration";
49
- readonly NETWORK_STATUS_INTERFACE: "/network-status-interface";
50
- readonly COMPARE_CLUSTERS: "/compare-clusters";
37
+ readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "configuration";
51
38
  readonly APP_CONFIG: "edit";
52
- readonly LICENSE_AUTH: "/license-auth";
53
- readonly APPLICATION_MANAGEMENT: "/application-management";
54
- readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
55
39
  readonly APPLICATION_MANAGEMENT_APP: "/application-management/devtron-app";
56
- readonly APPLICATION_MANAGEMENT_APP_LIST: "/application-management/devtron-app/list";
57
- readonly APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: "/application-management/devtron-app/list/create-app";
58
- readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
59
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
60
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
61
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: "/application-management/templates/devtron-app/detail/:appId";
62
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
63
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
64
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
65
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
66
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: "/application-management/configurations/build-infra/profiles";
67
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
68
- readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
69
- readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
70
- readonly INFRASTRUCTURE_MANAGEMENT_APP_LIST: `/infrastructure-management/apps/:appType(${string})`;
71
- readonly INFRASTRUCTURE_MANAGEMENT_APP: "/infrastructure-management/apps";
72
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE: "/infrastructure-management/chart-store";
73
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: "/infrastructure-management/chart-store/discover";
74
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
75
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
76
- readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
77
- readonly COST_VISIBILITY: "/cost-visibility";
78
- readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
79
- readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
80
- readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
81
- readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
82
- readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
83
- readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
84
- readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
85
- readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
86
- readonly SECURITY_CENTER: "/security-center";
87
- readonly SECURITY_CENTER_OVERVIEW: "/security-center/overview";
88
- readonly SECURITY_CENTER_VULNERABILITIES: "/security-center/vulnerabilities";
89
- readonly SECURITY_CENTER_VULNERABILITY_DEPLOYMENTS: "/security-center/vulnerabilities/deployments";
90
- readonly SECURITY_CENTER_VULNERABILITY_CVES: "/security-center/vulnerabilities/cves";
91
- readonly SECURITY_CENTER_SECURITY_ENABLEMENT: "/security-center/security-enablement";
92
- readonly SECURITY_CENTER_POLICIES: "/security-center/policies";
93
- readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
94
- readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
95
- readonly DATA_PROTECTION: "/data-protection-management";
96
- readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
97
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: `/data-protection-management/backup-and-schedule/:view(${string})`;
98
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE_DETAIL: `/data-protection-management/backup-and-schedule/:view(${string})/detail/:id`;
99
- readonly DATA_PROTECTION_RESTORES: "/data-protection-management/restores";
100
- readonly DATA_PROTECTION_RESTORES_DETAIL: "/data-protection-management/restores/:restoreId";
101
- readonly DATA_PROTECTION_BACKUP_LOCATIONS: `/data-protection-management/backup-locations/:type(${string})`;
102
- readonly BACKUP_LOCATION_DETAILS: "/:locationId";
103
- readonly GLOBAL_CONFIG: "/global-configuration";
104
- readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
105
40
  readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
106
- readonly GLOBAL_CONFIG_PROJECTS: "/global-configuration/projects";
107
- readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
108
- readonly EXTERNAL_APPS: "ea";
109
41
  };
110
42
  export declare const ROUTES: {
111
43
  readonly APP: "app";
@@ -123,7 +55,6 @@ export declare const ROUTES: {
123
55
  readonly INFRA_CONFIG_PROFILE: "infra-config/profile";
124
56
  readonly SCAN_RESULT: "scan-result";
125
57
  readonly NOTIFIER: "notification";
126
- readonly APP_LIST: "app/list";
127
58
  readonly TELEMETRY_EVENT: "telemetry/event";
128
59
  readonly SERVER_INFO_API: "server";
129
60
  readonly ATTRIBUTES_USER: "attributes/user";
@@ -1,12 +1,13 @@
1
- import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObject } from 'react';
1
+ import { default as React, CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
2
+ import { useLocation, useNavigate, useParams } from 'react-router-dom';
2
3
  import { TippyProps } from '@tippyjs/react';
3
- import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
- import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
6
- import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
4
  import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
5
+ import { UserGroupDTO } from '../Pages/GlobalConfigurations';
8
6
  import { ClusterStatusType } from '../Pages/ResourceBrowser';
9
7
  import { ClusterProviderType } from '../Pages-Devtron-2.0/CostVisibility';
8
+ import { ComponentLayoutType, DeploymentStrategyType, DocLinkProps, EnvironmentType, MandatoryPluginBaseStateType, PolicyBlockInfo, RegistryType, RuntimePluginVariables, Severity, StatusType, TargetPlatformItemDTO } from '../Shared';
9
+ import { ImageComment, ReleaseTag } from './ImageTags.Types';
10
+ import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
10
11
  /**
11
12
  * Generic response type object with support for overriding the result type
12
13
  *
@@ -56,14 +57,14 @@ export declare enum TippyTheme {
56
57
  black = "black",
57
58
  white = "white"
58
59
  }
59
- export interface TeamList extends ResponseType {
60
- result: Teams[];
61
- }
62
60
  export interface Teams {
63
61
  id: number;
64
62
  name: string;
65
63
  active: boolean;
66
64
  }
65
+ export interface TeamList extends ResponseType {
66
+ result: Teams[];
67
+ }
67
68
  export declare enum CHECKBOX_VALUE {
68
69
  CHECKED = "CHECKED",
69
70
  INTERMEDIATE = "INTERMEDIATE",
@@ -142,11 +143,10 @@ export interface GenericEmptyStateType {
142
143
  layout?: ComponentLayoutType;
143
144
  contentClassName?: string;
144
145
  }
145
- export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
146
- code: number;
147
- redirectURL?: string;
148
- on404Redirect?: () => void;
149
- reload?: () => void;
146
+ export declare enum ImageType {
147
+ Large = "large",
148
+ Medium = "medium",
149
+ SMALL = "small"
150
150
  }
151
151
  export type ErrorScreenManagerProps = {
152
152
  code?: number;
@@ -168,15 +168,16 @@ export type ErrorScreenManagerProps = {
168
168
  redirectURL?: never;
169
169
  on404Redirect?: never;
170
170
  });
171
+ export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
172
+ code: number;
173
+ redirectURL?: string;
174
+ on404Redirect?: () => void;
175
+ reload?: () => void;
176
+ }
171
177
  export interface ErrorScreenNotAuthorizedProps {
172
178
  subtitle?: React.ReactChild;
173
179
  title?: string;
174
180
  }
175
- export declare enum ImageType {
176
- Large = "large",
177
- Medium = "medium",
178
- SMALL = "small"
179
- }
180
181
  export interface ReloadType {
181
182
  reload?: (event?: any) => void;
182
183
  className?: string;
@@ -362,6 +363,14 @@ export interface ImagePromotionPolicyApprovalMetadata {
362
363
  allowImageBuilderFromApprove: boolean;
363
364
  allowApproverFromDeploy: boolean;
364
365
  }
366
+ export declare enum FilterConditionType {
367
+ PASS = 1,
368
+ FAIL = 0
369
+ }
370
+ export interface FilterConditionsInfo {
371
+ conditionType: FilterConditionType;
372
+ expression: string;
373
+ }
365
374
  export interface ImagePromotionPolicyInfoType {
366
375
  name: string;
367
376
  id: number;
@@ -369,6 +378,16 @@ export interface ImagePromotionPolicyInfoType {
369
378
  conditions: FilterConditionsInfo[];
370
379
  approvalMetadata: ImagePromotionPolicyApprovalMetadata;
371
380
  }
381
+ export declare enum CDMaterialResourceQuery {
382
+ PENDING_APPROVAL = "PENDING_APPROVAL",
383
+ PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE",
384
+ CI = "CI",
385
+ ENVIRONMENT = "ENVIRONMENT",
386
+ WEBHOOK = "WEBHOOK",
387
+ LINKED_CI = "LINKED-CI",
388
+ CI_JOB = "CI-JOB",
389
+ LINKED_CD = "LINKED-CD"
390
+ }
372
391
  export interface PromotionApprovalMetadataType {
373
392
  approvalRequestId: number;
374
393
  approvalRuntimeState: ImagePromotionRuntimeState;
@@ -400,6 +419,33 @@ export interface CDMaterialListModalServiceUtilProps {
400
419
  isExceptionUser: boolean;
401
420
  isApprovalConfigured: boolean;
402
421
  }
422
+ export interface FilterConditionsListType {
423
+ id: number;
424
+ name: string;
425
+ description: string;
426
+ conditions: FilterConditionsInfo[];
427
+ }
428
+ export interface VulnerabilityType {
429
+ name: string;
430
+ severity: Severity;
431
+ package: string;
432
+ version: string;
433
+ fixedVersion: string;
434
+ policy: string;
435
+ url?: string;
436
+ }
437
+ export interface MaterialInfo {
438
+ revision: string;
439
+ modifiedTime: string | Date;
440
+ author: string;
441
+ message: string;
442
+ commitLink: string;
443
+ tag: string;
444
+ webhookData: string;
445
+ branch: string;
446
+ url?: string;
447
+ type?: string;
448
+ }
403
449
  export interface CDMaterialType {
404
450
  index: number;
405
451
  id: string;
@@ -462,16 +508,6 @@ export declare enum CDMaterialServiceEnum {
462
508
  CD_MATERIALS = "cd-materials",
463
509
  IMAGE_PROMOTION = "image-promotion"
464
510
  }
465
- export declare enum CDMaterialResourceQuery {
466
- PENDING_APPROVAL = "PENDING_APPROVAL",
467
- PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE",
468
- CI = "CI",
469
- ENVIRONMENT = "ENVIRONMENT",
470
- WEBHOOK = "WEBHOOK",
471
- LINKED_CI = "LINKED-CI",
472
- CI_JOB = "CI-JOB",
473
- LINKED_CD = "LINKED-CD"
474
- }
475
511
  export declare enum CDMaterialFilterQuery {
476
512
  RESOURCE = "ELIGIBLE_RESOURCES",
477
513
  ALL = "ALL_RESOURCES"
@@ -501,6 +537,13 @@ export interface TriggerBlockedInfo {
501
537
  blockedBy: TriggerBlockType;
502
538
  blockedReason?: string;
503
539
  }
540
+ export declare enum DeploymentAppTypes {
541
+ HELM = "helm",
542
+ ARGO = "argo_cd",
543
+ MANIFEST_DOWNLOAD = "manifest_download",
544
+ MANIFEST_PUSH = "manifest_push",
545
+ FLUX = "flux_cd"
546
+ }
504
547
  export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTriggerBlocked' | 'pluginBlockState'> {
505
548
  connectingCiPipelineId?: number;
506
549
  parents: string | number[] | string[];
@@ -564,48 +607,6 @@ export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTr
564
607
  isDeploymentBlocked?: boolean;
565
608
  triggerBlockedInfo?: TriggerBlockedInfo;
566
609
  }
567
- export declare enum DeploymentAppTypes {
568
- HELM = "helm",
569
- ARGO = "argo_cd",
570
- MANIFEST_DOWNLOAD = "manifest_download",
571
- MANIFEST_PUSH = "manifest_push",
572
- FLUX = "flux_cd"
573
- }
574
- export interface VulnerabilityType {
575
- name: string;
576
- severity: Severity;
577
- package: string;
578
- version: string;
579
- fixedVersion: string;
580
- policy: string;
581
- url?: string;
582
- }
583
- export interface MaterialInfo {
584
- revision: string;
585
- modifiedTime: string | Date;
586
- author: string;
587
- message: string;
588
- commitLink: string;
589
- tag: string;
590
- webhookData: string;
591
- branch: string;
592
- url?: string;
593
- type?: string;
594
- }
595
- export declare enum FilterConditionType {
596
- PASS = 1,
597
- FAIL = 0
598
- }
599
- export interface FilterConditionsInfo {
600
- conditionType: FilterConditionType;
601
- expression: string;
602
- }
603
- export interface FilterConditionsListType {
604
- id: number;
605
- name: string;
606
- description: string;
607
- conditions: FilterConditionsInfo[];
608
- }
609
610
  export interface DeploymentApprovalInfoType {
610
611
  eligibleApprovers: {
611
612
  specificUsers: Pick<UserApprovalInfo, 'approverList'>;
@@ -875,11 +876,6 @@ export interface DeploymentWindowProfileMetaData {
875
876
  excludedUserEmails: string[];
876
877
  warningMessage: string;
877
878
  }
878
- export interface EnvironmentListHelmResult {
879
- clusterId: number;
880
- clusterName: string;
881
- environments: EnvironmentHelmResult[];
882
- }
883
879
  export interface EnvironmentHelmResult {
884
880
  environmentId: number;
885
881
  environmentName: string;
@@ -888,6 +884,11 @@ export interface EnvironmentHelmResult {
888
884
  isVirtualEnvironment?: boolean;
889
885
  allowedDeploymentTypes?: DeploymentAppTypes[];
890
886
  }
887
+ export interface EnvironmentListHelmResult {
888
+ clusterId: number;
889
+ clusterName: string;
890
+ environments: EnvironmentHelmResult[];
891
+ }
891
892
  export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
892
893
  export interface GlobalVariableDTO {
893
894
  name: string;
@@ -994,4 +995,9 @@ export declare enum InfrastructureManagementAppListType {
994
995
  ARGO_CD = "argocd",
995
996
  FLUX_CD = "fluxcd"
996
997
  }
998
+ export interface RouterV5Props<Params extends {}> {
999
+ navigate: ReturnType<typeof useNavigate>;
1000
+ params: ReturnType<typeof useParams<Params>>;
1001
+ location: ReturnType<typeof useLocation>;
1002
+ }
997
1003
  export {};
@@ -12,6 +12,6 @@ export declare enum ScopedVariablesFileViewType {
12
12
  */
13
13
  ENVIRONMENT_LIST = "environments"
14
14
  }
15
- export interface SavedVariablesViewParamsType {
15
+ export type SavedVariablesViewParamsType = {
16
16
  currentView: ScopedVariablesFileViewType;
17
- }
17
+ };
@@ -52,14 +52,4 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
52
52
  }[];
53
53
  export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
54
54
  export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
55
- export declare const RESOURCE_BROWSER_ROUTES: {
56
- readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
57
- readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
58
- readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
59
- readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
60
- readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
61
- readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
- readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
63
- readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
64
- };
65
55
  export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
@@ -7,5 +7,5 @@ export declare const getAutomationEnablementBreadcrumbConfig: () => {
7
7
  list: {
8
8
  component: import("react/jsx-runtime").JSX.Element;
9
9
  };
10
- 'jobId(\\d+)': any;
10
+ appId: any;
11
11
  };
@@ -0,0 +1 @@
1
+ export { BASE_ROUTES, ROUTER_URLS } from './routes';