@devtron-labs/devtron-fe-common-lib 0.1.4-beta-2 → 0.1.4-beta-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.
Files changed (26) hide show
  1. package/dist/Common/AppStatus/constants.d.ts +0 -5
  2. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  3. package/dist/Shared/Components/ButtonWithSelector/types.d.ts +1 -0
  4. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  5. package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
  6. package/dist/Shared/constants.d.ts +1 -29
  7. package/dist/Shared/types.d.ts +7 -8
  8. package/dist/{cssMode-46fb73aa.js → cssMode-2bc8e56d.js} +1 -1
  9. package/dist/{freemarker2-7e8bafa4.js → freemarker2-5610b3aa.js} +1 -1
  10. package/dist/{handlebars-6614d019.js → handlebars-09fc1d7b.js} +1 -1
  11. package/dist/{html-4156958b.js → html-96f0c4d8.js} +1 -1
  12. package/dist/{htmlMode-fc4d918c.js → htmlMode-fe6bf845.js} +1 -1
  13. package/dist/{index-df71de16.js → index-6e6af9da.js} +5444 -5452
  14. package/dist/index.d.ts +0 -1
  15. package/dist/index.js +377 -378
  16. package/dist/{javascript-ad133191.js → javascript-204b0531.js} +1 -1
  17. package/dist/{jsonMode-a38d92e6.js → jsonMode-4e3bb431.js} +1 -1
  18. package/dist/{liquid-b2dad003.js → liquid-34eeb100.js} +1 -1
  19. package/dist/{mdx-62f0a02e.js → mdx-73496473.js} +1 -1
  20. package/dist/{python-f769fcdc.js → python-b1da2cd1.js} +1 -1
  21. package/dist/{razor-ddd7cd5f.js → razor-2b065297.js} +1 -1
  22. package/dist/{tsMode-824c72a4.js → tsMode-06c02499.js} +1 -1
  23. package/dist/{typescript-c685fec8.js → typescript-022bbd63.js} +1 -1
  24. package/dist/{xml-3f12a843.js → xml-2a03b32e.js} +1 -1
  25. package/dist/{yaml-c1f95059.js → yaml-146a3462.js} +1 -1
  26. package/package.json +1 -1
@@ -4,11 +4,6 @@ export declare const StatusConstants: {
4
4
  normalCase: string;
5
5
  lowerCase: string;
6
6
  };
7
- NOT_READY: {
8
- noSpaceLower: string;
9
- normalCase: string;
10
- lowerCase: string;
11
- };
12
7
  APP_STATUS: {
13
8
  noSpaceLower: string;
14
9
  normalText: string;
@@ -14,5 +14,5 @@ import { ButtonWithSelectorProps } from './types';
14
14
  * </ButtonWithSelector>
15
15
  * ```
16
16
  */
17
- declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, }: ButtonWithSelectorProps) => JSX.Element;
17
+ declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, isLoading, }: ButtonWithSelectorProps) => JSX.Element;
18
18
  export default ButtonWithSelector;
@@ -8,4 +8,5 @@ export interface ButtonWithSelectorProps {
8
8
  popUpBodyClassName?: string;
9
9
  showPopUp?: boolean;
10
10
  disabled?: boolean;
11
+ isLoading?: boolean;
11
12
  }
@@ -5,6 +5,7 @@ export { default as CDEmptyState } from './CDEmptyState';
5
5
  export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
6
6
  export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
7
7
  export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
8
+ export { default as DetectBottom } from './DetectBottom';
8
9
  export * from './types';
9
10
  export * from './service';
10
11
  export * from './History.components';
@@ -0,0 +1,22 @@
1
+ declare const AppListConstants: {
2
+ SAMPLE_NODE_REPO_URL: string;
3
+ CREATE_DEVTRON_APP_URL: string;
4
+ AppTabs: {
5
+ DEVTRON_APPS: string;
6
+ HELM_APPS: string;
7
+ ARGO_APPS: string;
8
+ };
9
+ AppType: {
10
+ DEVTRON_APPS: string;
11
+ HELM_APPS: string;
12
+ ARGO_APPS: string;
13
+ };
14
+ FilterType: {
15
+ PROJECT: string;
16
+ CLUTSER: string;
17
+ NAMESPACE: string;
18
+ ENVIRONMENT: string;
19
+ APP_STATUS: string;
20
+ };
21
+ };
22
+ export default AppListConstants;
@@ -31,6 +31,7 @@ export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
31
31
  export declare const API_TOKEN_PREFIX = "API-TOKEN:";
32
32
  export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
33
33
  export declare enum PatchOperationType {
34
+ add = "add",
34
35
  replace = "replace",
35
36
  remove = "remove"
36
37
  }
@@ -348,32 +349,3 @@ export declare const statusColor: {
348
349
  };
349
350
  export declare const APP_STATUS_HEADERS: string[];
350
351
  export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
351
- export declare const AppListConstants: {
352
- SAMPLE_NODE_REPO_URL: string;
353
- CREATE_DEVTRON_APP_URL: string;
354
- AppTabs: {
355
- DEVTRON_APPS: string;
356
- HELM_APPS: string;
357
- ARGO_APPS: string;
358
- FLUX_APPS: string;
359
- };
360
- AppType: {
361
- DEVTRON_APPS: string;
362
- HELM_APPS: string;
363
- ARGO_APPS: string;
364
- FLUX_APPS: string;
365
- };
366
- FilterType: {
367
- PROJECT: string;
368
- CLUTSER: string;
369
- NAMESPACE: string;
370
- ENVIRONMENT: string;
371
- APP_STATUS: string;
372
- TEMPLATE_TYPE: string;
373
- };
374
- };
375
- export declare enum K8sResourcePayloadAppType {
376
- DEVTRON_APP = 0,
377
- HELM_APP = 1,
378
- EXTERNAL_ARGO_APP = 2
379
- }
@@ -124,8 +124,7 @@ export declare enum AppType {
124
124
  DEVTRON_APP = "devtron_app",
125
125
  DEVTRON_HELM_CHART = "devtron_helm_chart",
126
126
  EXTERNAL_HELM_CHART = "external_helm_chart",
127
- EXTERNAL_ARGO_APP = "external_argo_app",
128
- EXTERNAL_FLUX_APP = "external_flux_app"
127
+ EXTERNAL_ARGO_APP = "external_argo_app"
129
128
  }
130
129
  export interface HelmReleaseStatus {
131
130
  status: string;
@@ -141,11 +140,6 @@ interface MaterialInfo {
141
140
  url: string;
142
141
  webhookData: string;
143
142
  }
144
- export interface FluxAppStatusDetail {
145
- status: string;
146
- message: string;
147
- reason: string;
148
- }
149
143
  export interface AppDetails {
150
144
  appId?: number;
151
145
  appName: string;
@@ -187,7 +181,6 @@ export interface AppDetails {
187
181
  helmPackageName?: string;
188
182
  appStatus?: string;
189
183
  chartAvatar?: string;
190
- FluxAppStatusDetail?: FluxAppStatusDetail;
191
184
  }
192
185
  export declare enum RegistryType {
193
186
  GIT = "git",
@@ -343,6 +336,12 @@ export type PatchQueryType<T extends string, K = unknown> = {
343
336
  */
344
337
  op: PatchOperationType.remove;
345
338
  value?: never;
339
+ } | {
340
+ /**
341
+ * Operation type for add
342
+ */
343
+ op: PatchOperationType.add;
344
+ value?: K;
346
345
  });
347
346
  export interface GroupedOptionsType {
348
347
  label: string;
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-df71de16.js";
4
+ import { m as Ne } from "./index-6e6af9da.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as F } from "./index-df71de16.js";
1
+ import { m as F } from "./index-6e6af9da.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-df71de16.js";
1
+ import { m as i } from "./index-6e6af9da.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-df71de16.js";
1
+ import { m as d } from "./index-6e6af9da.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-df71de16.js";
4
+ import { m as Qe } from "./index-6e6af9da.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)