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

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.
@@ -20,4 +20,5 @@ export declare function extractImage(image: string): string;
20
20
  export declare function createGitCommitUrl(url: string, revision: string): string;
21
21
  export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
22
22
  export declare const getDefaultConfig: () => Promise<ResponseType>;
23
+ export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
23
24
  export {};
@@ -43,6 +43,7 @@ export declare const ROUTES: {
43
43
  UPDATE: string;
44
44
  CLUSTER_NOTE: string;
45
45
  APPLICATION_NOTE: string;
46
+ GIT_HOST_EVENT: string;
46
47
  };
47
48
  export declare enum KEY_VALUE {
48
49
  KEY = "key",
@@ -1,4 +1,4 @@
1
- import { GitTriggers } from './types';
1
+ import { GitTriggers, WebhookEventNameType } from './types';
2
2
  import { MaterialInfo } from '../Common';
3
3
 
4
4
  interface HighlightSearchTextProps {
@@ -20,4 +20,5 @@ export declare const preventBodyScroll: (lock: boolean) => void;
20
20
  export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
21
21
  export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
22
22
  export declare const caseInsensitiveStringComparator: (a: string, b: string) => number;
23
+ export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
23
24
  export {};
@@ -205,4 +205,8 @@ export interface MaterialSecurityInfoType {
205
205
  isScanned: boolean;
206
206
  isScanEnabled: boolean;
207
207
  }
208
+ export declare enum WebhookEventNameType {
209
+ PULL_REQUEST = "Pull Request",
210
+ TAG_CREATION = "Tag Creation"
211
+ }
208
212
  export {};