@devtron-labs/devtron-fe-common-lib 0.1.3 → 0.1.4-beta-2

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 +5 -0
  2. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  3. package/dist/Shared/Components/DatePicker/types.d.ts +2 -1
  4. package/dist/Shared/constants.d.ts +29 -0
  5. package/dist/Shared/types.d.ts +8 -1
  6. package/dist/assets/index.css +1 -1
  7. package/dist/{cssMode-eae4d102.js → cssMode-46fb73aa.js} +1 -1
  8. package/dist/{freemarker2-9ad6379b.js → freemarker2-7e8bafa4.js} +1 -1
  9. package/dist/{handlebars-ddbddc02.js → handlebars-6614d019.js} +1 -1
  10. package/dist/{html-1402d78e.js → html-4156958b.js} +1 -1
  11. package/dist/{htmlMode-bdcb64fb.js → htmlMode-fc4d918c.js} +1 -1
  12. package/dist/{index-b2bf28d7.js → index-df71de16.js} +2756 -2736
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.js +438 -436
  15. package/dist/{javascript-746aa619.js → javascript-ad133191.js} +1 -1
  16. package/dist/{jsonMode-e30e6121.js → jsonMode-a38d92e6.js} +1 -1
  17. package/dist/{liquid-79bd3ff8.js → liquid-b2dad003.js} +1 -1
  18. package/dist/{mdx-d6567c11.js → mdx-62f0a02e.js} +1 -1
  19. package/dist/{python-7496c882.js → python-f769fcdc.js} +1 -1
  20. package/dist/{razor-40313da8.js → razor-ddd7cd5f.js} +1 -1
  21. package/dist/{tsMode-cd5c2551.js → tsMode-824c72a4.js} +1 -1
  22. package/dist/{typescript-05042a58.js → typescript-c685fec8.js} +1 -1
  23. package/dist/{xml-d49a9703.js → xml-3f12a843.js} +1 -1
  24. package/dist/{yaml-dc50fbd5.js → yaml-c1f95059.js} +1 -1
  25. package/package.json +2 -2
  26. 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;
@@ -1,4 +1,4 @@
1
1
  import { DateTimePickerProps } from './types';
2
2
 
3
- declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, }: DateTimePickerProps) => JSX.Element;
3
+ declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, openDirection, error, }: DateTimePickerProps) => JSX.Element;
4
4
  export default DateTimePicker;
@@ -1,5 +1,6 @@
1
1
  import { Moment } from 'moment';
2
2
  import { SelectInstance } from 'react-select';
3
+ import { SingleDatePickerShape } from 'react-dates';
3
4
  import { OptionType } from '../../../Common';
4
5
 
5
6
  export interface SingleDatePickerProps {
@@ -80,7 +81,7 @@ export interface TimeSelectProps {
80
81
  */
81
82
  selectedTimeOption: OptionType;
82
83
  }
83
- export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> {
84
+ export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'>, Pick<SingleDatePickerShape, 'openDirection'> {
84
85
  /**
85
86
  * Props for the date picker
86
87
  */
@@ -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",