@devtron-labs/devtron-fe-common-lib 0.1.8-beta-22 → 0.1.8-beta-24

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 (60) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/CIPipeline.Types.d.ts +1 -10
  3. package/dist/Common/Constants.d.ts +5 -1
  4. package/dist/Common/CustomInput/Types.d.ts +2 -2
  5. package/dist/Common/Modals/VisibleModal.d.ts +1 -1
  6. package/dist/Common/Modals/VisibleModal2.d.ts +1 -1
  7. package/dist/Common/MultiSelectCustomization.d.ts +1 -1
  8. package/dist/Common/Policy.Types.d.ts +8 -0
  9. package/dist/Common/Types.d.ts +3 -3
  10. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -1
  11. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -19
  12. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +6 -0
  13. package/dist/Shared/Components/DetectBottom/index.d.ts +1 -0
  14. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +4 -0
  15. package/dist/Shared/Components/EditImageFormField/constants.d.ts +5 -0
  16. package/dist/Shared/Components/EditImageFormField/index.d.ts +2 -0
  17. package/dist/Shared/Components/EditImageFormField/types.d.ts +18 -0
  18. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  19. package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -7
  20. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  21. package/dist/Shared/Components/FilterChips/types.d.ts +7 -2
  22. package/dist/Shared/Components/Plugin/PluginCard.d.ts +4 -0
  23. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +4 -0
  24. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +4 -0
  25. package/dist/Shared/Components/Plugin/PluginList.d.ts +4 -0
  26. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +4 -0
  27. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +4 -0
  28. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +4 -0
  29. package/dist/Shared/Components/Plugin/constants.d.ts +5 -0
  30. package/dist/Shared/Components/Plugin/index.d.ts +7 -0
  31. package/dist/Shared/Components/Plugin/service.d.ts +7 -0
  32. package/dist/Shared/Components/Plugin/types.d.ts +186 -0
  33. package/dist/Shared/Components/Plugin/utils.d.ts +23 -0
  34. package/dist/Shared/Components/ReactSelect/utils.d.ts +5 -1
  35. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  36. package/dist/Shared/Components/SelectPicker/type.d.ts +10 -1
  37. package/dist/Shared/Components/index.d.ts +2 -0
  38. package/dist/Shared/constants.d.ts +1 -0
  39. package/dist/Shared/types.d.ts +19 -1
  40. package/dist/Shared/validations.d.ts +3 -0
  41. package/dist/assets/index.css +1 -1
  42. package/dist/{cssMode-69cf97fe.js → cssMode-07c24918.js} +1 -1
  43. package/dist/{freemarker2-73770e2b.js → freemarker2-9c2661e8.js} +1 -1
  44. package/dist/{handlebars-4270c7c8.js → handlebars-1771998e.js} +1 -1
  45. package/dist/{html-11e96d93.js → html-97670f0e.js} +1 -1
  46. package/dist/{htmlMode-65e4e6c1.js → htmlMode-276435db.js} +1 -1
  47. package/dist/{index-e6fae9eb.js → index-e0061ea2.js} +28837 -28089
  48. package/dist/index.js +427 -406
  49. package/dist/{javascript-5a62efaa.js → javascript-0ce8cf73.js} +1 -1
  50. package/dist/{jsonMode-ef47f893.js → jsonMode-63631d22.js} +1 -1
  51. package/dist/{liquid-877ad3b7.js → liquid-bc3437e1.js} +1 -1
  52. package/dist/{mdx-a60dd3cc.js → mdx-9f5e46b3.js} +1 -1
  53. package/dist/{python-1901ed13.js → python-fb574681.js} +1 -1
  54. package/dist/{razor-90bd3d12.js → razor-c8c8086e.js} +1 -1
  55. package/dist/{tsMode-90310f7d.js → tsMode-cb66156a.js} +1 -1
  56. package/dist/{typescript-2e492b77.js → typescript-6c4594ad.js} +1 -1
  57. package/dist/{xml-79b63aae.js → xml-fafc839c.js} +1 -1
  58. package/dist/{yaml-e2235491.js → yaml-c442e904.js} +1 -1
  59. package/package.json +1 -1
  60. package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors } from '../Common';
1
+ import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams } from '../Common';
2
2
  import { EnvironmentTypeEnum, PatchOperationType } from './constants';
3
3
 
4
4
  export declare enum EnvType {
@@ -516,4 +516,22 @@ export interface BatchConfigType {
516
516
  export interface scrollableInterface {
517
517
  autoBottomScroll: boolean;
518
518
  }
519
+ export type BaseFilterQueryParams<T> = {
520
+ /**
521
+ * Offset for the list result
522
+ */
523
+ offset?: number;
524
+ /**
525
+ * Number of items required in the list
526
+ */
527
+ size?: number;
528
+ /**
529
+ * Search string (if any)
530
+ */
531
+ searchKey?: string;
532
+ /**
533
+ * If true, all items are returned with any search / filtering applied without pagination
534
+ */
535
+ showAll?: boolean;
536
+ } & SortingParams<T>;
519
537
  export {};
@@ -12,6 +12,7 @@ export declare const MESSAGES: {
12
12
  VALID_POSITIVE_NUMBER: string;
13
13
  VALID_POSITIVE_INTEGER: string;
14
14
  MAX_SAFE_INTEGER: string;
15
+ INVALID_SEMANTIC_VERSION: string;
15
16
  };
16
17
  export declare const requiredField: (value: string) => ValidationResponseType;
17
18
  export declare const validateName: (name: string) => ValidationResponseType;
@@ -28,3 +29,5 @@ export declare const validateUniqueKeys: (keys: string[]) => {
28
29
  isValid: boolean;
29
30
  message: string;
30
31
  };
32
+ export declare const validateSematicVersioning: (version: string) => ValidationResponseType;
33
+ export declare const validateDisplayName: (name: string) => ValidationResponseType;