IScheduledExportDraftContextValue
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The scheduled-export dialog’s edit draft: the automation being edited, its baseline, the derived start date, the per-field validity flags, and the “Time zone” section’s state.
Changes on every keystroke; consumers re-render by design.
export interface IScheduledExportDraftContextValue
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (BETA) Whether the schedule may define its own export timezone (the “Time zone” section renders). | ||
string | undefined | (BETA) Concrete timezone the dashboard-schedule Default option currently resolves to (display only). | ||
(BETA) The schedule being edited; seeded from the saved schedule or the defaults for a new one. | |||
boolean | (BETA) Whether the recurrence form’s cron expression is valid. | ||
boolean | (BETA) Whether the e-mail message passes its validation. | ||
boolean | (BETA) Whether the e-mail subject passes its validation. | ||
boolean | (BETA) The enableTimezoneChange setting; timezone-related presentation is gated by it. | ||
boolean | (BETA) Whether the title passes the length limit. | ||
(BETA) The draft as it was when the dialog opened; the dirty check compares against it. | |||
boolean | (BETA) True when the edited schedule cannot behave correctly as stored (widget schedule missing a dashboard-scoped timezone); feeds the apply-current-state confirmation. | ||
(BETA) The “Time zone” section’s current selection (the Default option or a concrete timezone). | |||
Date | (BETA) The schedule’s first run in the user’s timezone, normalized for the recurrence form. |
Property details
IScheduledExportDraftContextValue.canSelectScheduleTimezonepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Whether the schedule may define its own export timezone (the “Time zone” section renders).
canSelectScheduleTimezone: boolean;
IScheduledExportDraftContextValue.defaultResolvedTimezonepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Concrete timezone the dashboard-schedule Default option currently resolves to (display only).
defaultResolvedTimezone: string | undefined;
IScheduledExportDraftContextValue.editedAutomationpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The schedule being edited; seeded from the saved schedule or the defaults for a new one.
editedAutomation: IAutomationMetadataObjectDefinition;
IScheduledExportDraftContextValue.isCronValidpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Whether the recurrence form’s cron expression is valid.
isCronValid: boolean;
IScheduledExportDraftContextValue.isOnMessageValidpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Whether the e-mail message passes its validation.
isOnMessageValid: boolean;
IScheduledExportDraftContextValue.isSubjectValidpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Whether the e-mail subject passes its validation.
isSubjectValid: boolean;
IScheduledExportDraftContextValue.isTimezoneFeatureEnabledpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The enableTimezoneChange setting; timezone-related presentation is gated by it.
isTimezoneFeatureEnabled: boolean;
IScheduledExportDraftContextValue.isTitleValidpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Whether the title passes the length limit.
isTitleValid: boolean;
IScheduledExportDraftContextValue.originalAutomationpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The draft as it was when the dialog opened; the dirty check compares against it.
originalAutomation: IAutomationMetadataObjectDefinition;
IScheduledExportDraftContextValue.scheduleTimezoneIsStalepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
True when the edited schedule cannot behave correctly as stored (widget schedule missing a dashboard-scoped timezone); feeds the apply-current-state confirmation.
scheduleTimezoneIsStale: boolean;
IScheduledExportDraftContextValue.scheduleTimezoneSelectionpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The “Time zone” section’s current selection (the Default option or a concrete timezone).
scheduleTimezoneSelection: IScheduleTimezoneSelection;
IScheduledExportDraftContextValue.startDatepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The schedule’s first run in the user’s timezone, normalized for the recurrence form.
startDate: Date;