@devtron-labs/devtron-fe-common-lib 0.1.4 → 0.1.5-beta-1

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 (27) hide show
  1. package/dist/Common/AppStatus/constants.d.ts +5 -0
  2. package/dist/Common/index.d.ts +0 -1
  3. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
  4. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
  5. package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
  6. package/dist/Shared/constants.d.ts +29 -0
  7. package/dist/Shared/types.d.ts +8 -1
  8. package/dist/{cssMode-4f13da3b.js → cssMode-444c9133.js} +1 -1
  9. package/dist/{freemarker2-477786ae.js → freemarker2-c5bf9db1.js} +1 -1
  10. package/dist/{handlebars-9b46ae89.js → handlebars-e2a2ac18.js} +1 -1
  11. package/dist/{html-181d1c87.js → html-f123a9a4.js} +1 -1
  12. package/dist/{htmlMode-2212155a.js → htmlMode-d4d325a5.js} +1 -1
  13. package/dist/{index-8cee3056.js → index-616abab4.js} +2618 -2607
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +438 -436
  16. package/dist/{javascript-cd7fe914.js → javascript-21917f57.js} +1 -1
  17. package/dist/{jsonMode-48d259e7.js → jsonMode-6f0f5438.js} +1 -1
  18. package/dist/{liquid-547f0afe.js → liquid-582d3829.js} +1 -1
  19. package/dist/{mdx-1f0f1e2a.js → mdx-2d086130.js} +1 -1
  20. package/dist/{python-272cb4eb.js → python-a3fe029f.js} +1 -1
  21. package/dist/{razor-95131369.js → razor-fef1552e.js} +1 -1
  22. package/dist/{tsMode-97b1840c.js → tsMode-710957af.js} +1 -1
  23. package/dist/{typescript-9459bf6f.js → typescript-b8f7d362.js} +1 -1
  24. package/dist/{xml-83dbc374.js → xml-703da184.js} +1 -1
  25. package/dist/{yaml-8ba3f398.js → yaml-6814a438.js} +1 -1
  26. package/package.json +6 -4
  27. package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +0 -22
@@ -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;
@@ -42,7 +42,6 @@ export { default as Grid } from './Grid/Grid';
42
42
  export { default as Select } from './Select/Select';
43
43
  export { default as ClipboardButton } from './ClipboardButton/ClipboardButton';
44
44
  export * from './Hooks';
45
- export { AppStatus } from './AppStatus';
46
45
  export * from './RJSF';
47
46
  export * from './DevtronProgressing';
48
47
  export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
@@ -1,4 +1,4 @@
1
- import { SortingParams } from '../../../Common';
1
+ import { SortingParams } from '../../../Common/Types';
2
2
  import { UserListSortableKeys, UserStatus } from './constants';
3
3
 
4
4
  export type BaseFilterQueryParams<T> = {
@@ -1,4 +1,4 @@
1
- import { NodeType, Nodes } from '../../Shared';
1
+ import { NodeType, Nodes } from '../../Shared/types';
2
2
 
3
3
  export interface GVKType {
4
4
  Group: string;
@@ -14,4 +14,3 @@ export * from './LogsRenderer';
14
14
  export * from './DeploymentHistoryDiff';
15
15
  export * from './CiPipelineSourceConfig';
16
16
  export * from './StatusFilterButtonComponent';
17
- export type { PodMetadatum } from './types';
@@ -348,3 +348,32 @@ 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
+ };
375
+ export declare enum K8sResourcePayloadAppType {
376
+ DEVTRON_APP = 0,
377
+ HELM_APP = 1,
378
+ EXTERNAL_ARGO_APP = 2
379
+ }
@@ -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,7 @@ export interface AppDetails {
181
187
  helmPackageName?: string;
182
188
  appStatus?: string;
183
189
  chartAvatar?: string;
190
+ FluxAppStatusDetail?: FluxAppStatusDetail;
184
191
  }
185
192
  export declare enum RegistryType {
186
193
  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-8cee3056.js";
4
+ import { m as Ne } from "./index-616abab4.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-8cee3056.js";
1
+ import { m as F } from "./index-616abab4.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-8cee3056.js";
1
+ import { m as i } from "./index-616abab4.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-8cee3056.js";
1
+ import { m as d } from "./index-616abab4.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-8cee3056.js";
4
+ import { m as Qe } from "./index-616abab4.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)