@devtron-labs/devtron-fe-common-lib 0.0.62-beta-3 → 0.0.62-beta-5

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 (78) hide show
  1. package/dist/Common/Constants.d.ts +1 -0
  2. package/dist/Common/Hooks/useUrlFilters/types.d.ts +35 -0
  3. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +4 -0
  4. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
  5. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +23 -0
  6. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +4 -0
  7. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +4 -0
  8. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +7 -0
  9. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +4 -0
  10. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +4 -0
  11. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +4 -0
  12. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +4 -0
  13. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +50 -0
  14. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +7 -0
  15. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +6 -0
  16. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +286 -0
  17. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +12 -0
  18. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  19. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +4 -0
  20. package/dist/Shared/Components/APIResponseHandler/constants.d.ts +4 -0
  21. package/dist/Shared/Components/APIResponseHandler/index.d.ts +2 -0
  22. package/dist/Shared/Components/APIResponseHandler/types.d.ts +37 -0
  23. package/dist/Shared/Components/BulkSelection/constants.d.ts +1 -0
  24. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +7 -0
  25. package/dist/Shared/Components/FilterChips/index.d.ts +2 -0
  26. package/dist/Shared/Components/FilterChips/types.d.ts +37 -0
  27. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -0
  28. package/dist/Shared/Components/ReactSelect/utils.d.ts +12 -0
  29. package/dist/Shared/Components/index.d.ts +3 -0
  30. package/dist/Shared/Helpers.d.ts +16 -0
  31. package/dist/Shared/index.d.ts +2 -0
  32. package/dist/Shared/validations.d.ts +8 -0
  33. package/dist/index.js +1221 -170
  34. package/package.json +1 -1
  35. package/src/Assets/Icon/ic-cpu.svg +4 -0
  36. package/src/Assets/Icon/ic-memory.svg +3 -0
  37. package/src/Assets/Icon/ic-timer.svg +3 -0
  38. package/src/Common/BreadCrumb/Types.ts +0 -1
  39. package/src/Common/Checkbox.tsx +1 -0
  40. package/src/Common/Constants.ts +2 -1
  41. package/src/Common/CustomInput/CustomInput.tsx +2 -1
  42. package/src/Common/DraggableWrapper/DraggableWrapper.tsx +3 -1
  43. package/src/Common/Hooks/useUrlFilters/types.ts +35 -0
  44. package/src/Common/RJSF/utils.ts +2 -0
  45. package/src/Common/SearchBar/searchBar.scss +1 -1
  46. package/src/Pages/GlobalConfigurations/Authorization/constants.ts +5 -0
  47. package/src/Pages/GlobalConfigurations/Authorization/index.ts +1 -0
  48. package/src/Pages/GlobalConfigurations/Authorization/types.ts +25 -0
  49. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.tsx +128 -0
  50. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.tsx +44 -0
  51. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.tsx +106 -0
  52. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.tsx +55 -0
  53. package/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.tsx +32 -0
  54. package/src/Pages/GlobalConfigurations/BuildInfra/Descriptor.tsx +45 -0
  55. package/src/Pages/GlobalConfigurations/BuildInfra/Footer.tsx +56 -0
  56. package/src/Pages/GlobalConfigurations/BuildInfra/Readme.md +4 -0
  57. package/src/Pages/GlobalConfigurations/BuildInfra/constants.tsx +139 -0
  58. package/src/Pages/GlobalConfigurations/BuildInfra/index.ts +7 -0
  59. package/src/Pages/GlobalConfigurations/BuildInfra/services.tsx +167 -0
  60. package/src/Pages/GlobalConfigurations/BuildInfra/types.tsx +339 -0
  61. package/src/Pages/GlobalConfigurations/BuildInfra/utils.tsx +507 -0
  62. package/src/Pages/GlobalConfigurations/index.ts +1 -0
  63. package/src/Shared/Components/APIResponseHandler/APIResponseHandler.tsx +41 -0
  64. package/src/Shared/Components/APIResponseHandler/constants.tsx +5 -0
  65. package/src/Shared/Components/APIResponseHandler/index.ts +2 -0
  66. package/src/Shared/Components/APIResponseHandler/types.tsx +39 -0
  67. package/src/Shared/Components/BulkSelection/BulkSelectionDropdownItems.tsx +3 -1
  68. package/src/Shared/Components/BulkSelection/BulkSelectionProvider.tsx +12 -1
  69. package/src/Shared/Components/BulkSelection/constants.tsx +1 -0
  70. package/src/Shared/Components/FilterChips/FilterChips.component.tsx +100 -0
  71. package/src/Shared/Components/FilterChips/index.ts +2 -0
  72. package/src/Shared/Components/FilterChips/types.ts +39 -0
  73. package/src/Shared/Components/ReactSelect/index.ts +1 -0
  74. package/src/Shared/Components/ReactSelect/utils.tsx +97 -0
  75. package/src/Shared/Components/index.ts +3 -0
  76. package/src/Shared/Helpers.tsx +29 -0
  77. package/src/Shared/index.ts +2 -0
  78. package/src/Shared/validations.tsx +130 -0
@@ -1 +1,3 @@
1
1
  export * from './Components';
2
+ export * from './validations';
3
+ export * from './Helpers';
@@ -0,0 +1,8 @@
1
+ export interface ValidationResponseType {
2
+ isValid: boolean;
3
+ message?: string;
4
+ }
5
+ export declare const validateName: (name: string) => ValidationResponseType;
6
+ export declare const validateDescription: (description: string) => ValidationResponseType;
7
+ export declare const validateRequiredPositiveNumber: (value: string | number) => ValidationResponseType;
8
+ export declare const validateRequiredPositiveInteger: (value: string | number) => ValidationResponseType;