@devtron-labs/devtron-fe-common-lib 0.1.7-beta-2 → 0.1.7-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 (30) hide show
  1. package/dist/Common/AppStatus/constants.d.ts +5 -0
  2. package/dist/Common/Types.d.ts +2 -1
  3. package/dist/Shared/Components/index.d.ts +0 -1
  4. package/dist/Shared/constants.d.ts +26 -9
  5. package/dist/Shared/types.d.ts +9 -1
  6. package/dist/{cssMode-24971faa.js → cssMode-fc2be6d5.js} +1 -1
  7. package/dist/{freemarker2-2f506bf9.js → freemarker2-ab57a29d.js} +1 -1
  8. package/dist/{handlebars-704be48e.js → handlebars-871e6835.js} +1 -1
  9. package/dist/{html-e64f9cf8.js → html-670d22ac.js} +1 -1
  10. package/dist/{htmlMode-0bf0510a.js → htmlMode-f5102733.js} +1 -1
  11. package/dist/{index-0117514b.js → index-b430b2a2.js} +20293 -20553
  12. package/dist/index.d.ts +2 -1
  13. package/dist/index.js +268 -269
  14. package/dist/{javascript-d97fb954.js → javascript-58e5b3f5.js} +1 -1
  15. package/dist/{jsonMode-b051cf88.js → jsonMode-2cc430f9.js} +1 -1
  16. package/dist/{liquid-9326ab12.js → liquid-9977f727.js} +1 -1
  17. package/dist/{mdx-9bace22d.js → mdx-d6d3e9d4.js} +1 -1
  18. package/dist/{python-369d66c5.js → python-890444de.js} +1 -1
  19. package/dist/{razor-94c0e3af.js → razor-28b18835.js} +1 -1
  20. package/dist/{tsMode-e4644dfa.js → tsMode-ec7004ab.js} +1 -1
  21. package/dist/{typescript-626fc7fb.js → typescript-d5a6cd11.js} +1 -1
  22. package/dist/{xml-044e00e2.js → xml-c48d9e49.js} +1 -1
  23. package/dist/{yaml-546b76b4.js → yaml-c3b03264.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +0 -22
  26. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +0 -90
  27. package/dist/Shared/Components/SelectPicker/common.d.ts +0 -10
  28. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -2
  29. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -74
  30. package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -4
@@ -4,6 +4,11 @@ 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
+ };
7
12
  APP_STATUS: {
8
13
  noSpaceLower: string;
9
14
  normalText: string;
@@ -488,7 +488,8 @@ export declare enum DeploymentAppTypes {
488
488
  HELM = "helm",
489
489
  GITOPS = "argo_cd",
490
490
  MANIFEST_DOWNLOAD = "manifest_download",
491
- MANIFEST_PUSH = "manifest_push"
491
+ MANIFEST_PUSH = "manifest_push",
492
+ FLUX = "flux"
492
493
  }
493
494
  export interface VulnerabilityType {
494
495
  name: string;
@@ -31,4 +31,3 @@ export * from './ArtifactInfoModal';
31
31
  export * from './MaterialHistory';
32
32
  export * from './IframeContainer';
33
33
  export * from './KeyValueTable';
34
- export * from './SelectPicker';
@@ -348,16 +348,33 @@ export declare const statusColor: {
348
348
  };
349
349
  export declare const APP_STATUS_HEADERS: string[];
350
350
  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
+ };
351
375
  export declare enum K8sResourcePayloadAppType {
352
376
  DEVTRON_APP = 0,
353
377
  HELM_APP = 1,
354
- EXTERNAL_ARGO_APP = 2
355
- }
356
- /**
357
- * Size variants for components
358
- */
359
- export declare enum ComponentSizeType {
360
- small = "small",
361
- medium = "medium",
362
- large = "large"
378
+ EXTERNAL_ARGO_APP = 2,
379
+ EXTERNAL_FLUX_APP = 3
363
380
  }
@@ -124,7 +124,8 @@ 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"
127
+ EXTERNAL_ARGO_APP = "external_argo_app",
128
+ EXTERNAL_FLUX_APP = "external_flux_app"
128
129
  }
129
130
  export interface HelmReleaseStatus {
130
131
  status: string;
@@ -140,6 +141,11 @@ interface MaterialInfo {
140
141
  url: string;
141
142
  webhookData: string;
142
143
  }
144
+ export interface FluxAppStatusDetail {
145
+ status: string;
146
+ message: string;
147
+ reason: string;
148
+ }
143
149
  export interface AppDetails {
144
150
  appId?: number;
145
151
  appName: string;
@@ -181,6 +187,8 @@ export interface AppDetails {
181
187
  helmPackageName?: string;
182
188
  appStatus?: string;
183
189
  chartAvatar?: string;
190
+ fluxTemplateType?: string;
191
+ FluxAppStatusDetail?: FluxAppStatusDetail;
184
192
  }
185
193
  export declare enum RegistryType {
186
194
  GIT = "git",
@@ -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-0117514b.js";
4
+ import { m as Ne } from "./index-b430b2a2.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-0117514b.js";
1
+ import { m as F } from "./index-b430b2a2.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-0117514b.js";
1
+ import { m as i } from "./index-b430b2a2.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-0117514b.js";
1
+ import { m as d } from "./index-b430b2a2.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-0117514b.js";
4
+ import { m as Qe } from "./index-b430b2a2.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)