mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
27 lines
988 B
Go
27 lines
988 B
Go
export declare const allVariables: NotificationVariable[];
|
|
export declare const getTriggerTarget: (
|
|
trigger?: NotificationTrigger
|
|
) => NotificationTriggerTarget | undefined;
|
|
export declare const triggerTargetVariableCategoryMap: Record<
|
|
NotificationTriggerTarget,
|
|
NotificationVariableCategory[]
|
|
>;
|
|
export declare const isValidVariable: ({
|
|
category,
|
|
name,
|
|
}: {
|
|
category?: NotificationVariableCategory;
|
|
name: string;
|
|
}) => boolean;
|
|
export declare const allTemplates: NotificationSettingTemplate[];
|
|
export declare const alertTemplates: NotificationAlertTemplate[];
|
|
export declare const getTriggerOptions: () => SelectOption<string>[];
|
|
export declare const hasNotificationSettingMailChannel: (
|
|
form: NotificationSetting,
|
|
allChannelDict: Map<string, NotificationChannel>
|
|
) => boolean | undefined;
|
|
export declare const hasNotificationSettingChannelWarningMissingMailConfigFields: (
|
|
form: NotificationSetting,
|
|
allChannelDict: Map<string, NotificationChannel>
|
|
) => boolean;
|