mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Add "Schedule Picker" dialog (#1759)
* Merge master * Add pick schedule dialog 1 * Add Pick Schedule button to create job dialog * Cleanup Pick Schedule dialog * Hook-up onClose event for Pick Schedule * Code review feedback
This commit is contained in:
@@ -63,8 +63,7 @@ export enum ScriptOperation {
|
||||
Alter = 6
|
||||
}
|
||||
|
||||
export enum WeekDays
|
||||
{
|
||||
export enum WeekDays {
|
||||
sunday = 1,
|
||||
monday = 2,
|
||||
tuesday = 4,
|
||||
@@ -77,8 +76,7 @@ export enum WeekDays
|
||||
everyDay = 127
|
||||
}
|
||||
|
||||
export enum NotifyMethods
|
||||
{
|
||||
export enum NotifyMethods {
|
||||
none = 0,
|
||||
notifyEmail = 1,
|
||||
pager = 2,
|
||||
@@ -86,21 +84,47 @@ export enum NotifyMethods
|
||||
notifyAll = 7
|
||||
}
|
||||
|
||||
export enum JobCompletionActionCondition{
|
||||
export enum JobCompletionActionCondition {
|
||||
Never = 0,
|
||||
OnSuccess = 1,
|
||||
OnFailure = 2,
|
||||
Always = 3
|
||||
}
|
||||
|
||||
export enum AlertType
|
||||
{
|
||||
export enum AlertType {
|
||||
sqlServerEvent = 1,
|
||||
sqlServerPerformanceCondition = 2,
|
||||
nonSqlServerEvent = 3,
|
||||
wmiEvent = 4
|
||||
}
|
||||
|
||||
export enum FrequencyTypes {
|
||||
Unknown ,
|
||||
OneTime = 1 << 1,
|
||||
Daily = 1 << 2,
|
||||
Weekly = 1 << 3,
|
||||
Monthly = 1 << 4,
|
||||
MonthlyRelative = 1 << 5,
|
||||
AutoStart = 1 << 6,
|
||||
OnIdle = 1 << 7
|
||||
}
|
||||
|
||||
export enum FrequencySubDayTypes {
|
||||
Unknown = 0,
|
||||
Once = 1,
|
||||
Second = 2,
|
||||
Minute = 4,
|
||||
Hour = 8
|
||||
}
|
||||
|
||||
export enum FrequencyRelativeIntervals {
|
||||
First = 1,
|
||||
Second = 2,
|
||||
Third = 4,
|
||||
Fourth = 8,
|
||||
Last = 16
|
||||
}
|
||||
|
||||
export enum ModelComponentTypes {
|
||||
NavContainer,
|
||||
FlexContainer,
|
||||
|
||||
@@ -386,6 +386,9 @@ export function createApiFactory(
|
||||
NotifyMethods: sqlExtHostTypes.NotifyMethods,
|
||||
JobCompletionActionCondition: sqlExtHostTypes.JobCompletionActionCondition,
|
||||
AlertType: sqlExtHostTypes.AlertType,
|
||||
FrequencyTypes: sqlExtHostTypes.FrequencyTypes,
|
||||
FrequencySubDayTypes: sqlExtHostTypes.FrequencySubDayTypes,
|
||||
FrequencyRelativeIntervals: sqlExtHostTypes.FrequencyRelativeIntervals,
|
||||
window,
|
||||
tasks,
|
||||
dashboard,
|
||||
|
||||
Reference in New Issue
Block a user