@devtron-labs/devtron-fe-common-lib 0.0.79-beta-4 → 0.0.79-beta-6

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.
@@ -1,4 +1,4 @@
1
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType } from './Types';
1
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery } from './Types';
2
2
 
3
3
  export declare const getTeamListMin: () => Promise<TeamList>;
4
4
  interface UserRole extends ResponseType {
@@ -14,6 +14,7 @@ export declare const SourceTypeMap: {
14
14
  };
15
15
  export declare function getUserRole(appName?: string): Promise<UserRole>;
16
16
  export declare function setImageTags(request: any, pipelineId: number, artifactId: number): Promise<ResponseType<any>>;
17
+ export declare const processCDMaterialServiceResponse: (cdMaterialsResult: any, stage: DeploymentNodeType, offset: number, filter: CDMaterialFilterQuery, disableDefaultSelection?: boolean) => CDMaterialResponseType;
17
18
  export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceEnum, cdMaterialID: number, stage: DeploymentNodeType, signal: AbortSignal, queryParams?: CDMaterialServiceQueryParams) => Promise<CDMaterialResponseType>;
18
19
  export declare function extractImage(image: string): string;
19
20
  export declare function createGitCommitUrl(url: string, revision: string): string;
@@ -0,0 +1,5 @@
1
+ import { ImageSelectionUtilityContextType, ImageSelectionUtilityProviderProps } from './types';
2
+
3
+ export declare const ImageSelectionUtilityContext: import('react').Context<ImageSelectionUtilityContextType>;
4
+ export declare const useImageSelectionUtilityContext: () => ImageSelectionUtilityContextType;
5
+ export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ImageSelectionUtility';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface ImageSelectionUtilityContextType {
3
+ gitCommitInfoGeneric: (...props: any[]) => JSX.Element;
4
+ getModuleInfo: (moduleName: string) => Promise<any>;
5
+ }
6
+ export interface ImageSelectionUtilityProviderProps {
7
+ children: React.ReactNode;
8
+ value: ImageSelectionUtilityContextType;
9
+ }
@@ -1 +1,2 @@
1
1
  export * from './MainContextProvider';
2
+ export * from './ImageSelectionUtility';
@@ -175,7 +175,8 @@ export declare enum ResourceKindType {
175
175
  * Versions support for the resources on BE
176
176
  */
177
177
  export declare enum ResourceVersionType {
178
- v1 = "v1"
178
+ v1 = "v1",
179
+ alpha1 = "alpha1"
179
180
  }
180
181
  interface LastExecutionResultType {
181
182
  scanExecutionId: number;