@outbuild-company/schedule-core 1.35.3 → 1.37.0

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.
package/dist/index.d.cts CHANGED
@@ -685,9 +685,9 @@ interface GroupLevelWindow {
685
685
  readonly depth: number;
686
686
  }
687
687
  /**
688
- * One grouping level below the primary one. Nesting more than a second level is
689
- * expressed through the level window on a hierarchical attribute, not by chaining
690
- * these.
688
+ * One grouping level: the attribute to band by, the window of its outline levels
689
+ * that becomes bands, and the band order. The primary level lives on `GroupState`
690
+ * itself; every further level is chained through `GroupState.nested`.
691
691
  */
692
692
  interface GroupCriterion extends GroupLevelWindow {
693
693
  readonly attributeKey: string;
@@ -704,11 +704,15 @@ interface GroupCriterion extends GroupLevelWindow {
704
704
  type WbsDepth = number | null;
705
705
  /** The depth that leaves no WBS row on screen. */
706
706
  declare const FLAT_WBS_DEPTH = 0;
707
- /** Runtime grouping configuration active on a schedule. */
707
+ /**
708
+ * Runtime grouping configuration active on a schedule. The interface itself is
709
+ * the primary criterion; `nested` holds the criteria chained below it, in order,
710
+ * so a schedule can band by several attributes at once.
711
+ */
708
712
  interface GroupState extends GroupCriterion {
709
713
  readonly includeWbs: boolean;
710
714
  readonly collapsedIds: ReadonlySet<string>;
711
- readonly secondary: GroupCriterion | null;
715
+ readonly nested: ReadonlyArray<GroupCriterion>;
712
716
  }
713
717
  /**
714
718
  * JSON-friendly criterion. `startLevel` is optional so views persisted before
@@ -721,11 +725,17 @@ interface GroupCriterionInput {
721
725
  readonly depth: number;
722
726
  readonly direction: OrderDirection;
723
727
  }
724
- /** JSON-friendly grouping command accepted by `group-set`. */
728
+ /**
729
+ * JSON-friendly grouping command accepted by `group-set`. `nested` carries the
730
+ * levels chained below the primary, in order; `secondary` is the legacy
731
+ * single-nested-level field kept so views persisted before chaining still
732
+ * deserialize, and it is read only when `nested` is absent.
733
+ */
725
734
  interface GroupStateInput extends GroupCriterionInput {
726
735
  readonly includeWbs: boolean;
727
736
  readonly collapsedIds: ReadonlyArray<string>;
728
737
  readonly secondary?: GroupCriterionInput | null;
738
+ readonly nested?: ReadonlyArray<GroupCriterionInput>;
729
739
  }
730
740
  /** A single display row: either a synthetic group band or a real activity. */
731
741
  type VisualRow = {
@@ -743,7 +753,7 @@ type VisualRow = {
743
753
  declare function buildGroupRowId(attributeKey: string, valueId: string): string;
744
754
  /**
745
755
  * Extends a band id with a nested level. The parent path has to stay in the id
746
- * because the same secondary value shows up under several primary bands, and
756
+ * because the same nested value shows up under several parent bands, and
747
757
  * consumers key rows (and persisted collapse state) by this id.
748
758
  */
749
759
  declare function appendGroupRowId(parentRowId: string, attributeKey: string, valueId: string): string;
@@ -4090,6 +4100,99 @@ declare function getActiveBaseline(activity: {
4090
4100
  baselinePoints?: readonly CoreBaselinePoint[];
4091
4101
  } | null | undefined): CoreBaselinePoint | null;
4092
4102
 
4103
+ /**
4104
+ * Selects the normalized baseline point the consumer is currently displaying.
4105
+ *
4106
+ * Visibility is the version the user picked in the baseline selector, which may
4107
+ * differ from the active version while an older baseline is being inspected.
4108
+ *
4109
+ * @param activity - Baseline-bearing activity, or a nullish value.
4110
+ * @returns The visible point, or `null` when none is available.
4111
+ */
4112
+ declare function getVisibleBaseline(activity: {
4113
+ baselinePoints?: readonly CoreBaselinePoint[];
4114
+ } | null | undefined): CoreBaselinePoint | null;
4115
+
4116
+ /** Calendars of the schedule whose working time is read. */
4117
+ interface CalendarReaderInput {
4118
+ readonly calendars: readonly BackendCalendarInput[];
4119
+ readonly baseCalendars?: readonly BackendCalendarInput[];
4120
+ }
4121
+
4122
+ /** One calendar of a schedule, reduced to working-time measurement. */
4123
+ interface StandaloneCalendar {
4124
+ /**
4125
+ * Signed working hours between two instants on this calendar; negative
4126
+ * when `end` precedes `start`. Converting hours to days is the caller's
4127
+ * job.
4128
+ */
4129
+ readonly calculateDuration: (start: Date, end: Date) => number;
4130
+ /**
4131
+ * Whether `date` falls in working time. With `unit` `'day'`, true when the
4132
+ * day has any working hour.
4133
+ */
4134
+ readonly isWorkTime: (date: Date, unit: CalendarUnit) => boolean;
4135
+ /**
4136
+ * The instant reached after `durationHours` working hours from `start`.
4137
+ * A duration that ends at a shift end returns that shift end.
4138
+ */
4139
+ readonly calculateEndDate: (start: Date, durationHours: number) => Date;
4140
+ /**
4141
+ * The closest working instant to `query.date` in `query.direction`. A date
4142
+ * inside working time comes back unchanged. Outside it, `'hour'` gives the
4143
+ * next shift start for `'future'` and the previous shift end for `'past'`;
4144
+ * `'day'` gives the start of the next working day for `'future'` and the
4145
+ * end of the previous working day (00:00 of the day after it) for `'past'`.
4146
+ * A `'past'` search looks back up to 3660 days and throws when it finds no
4147
+ * working day.
4148
+ */
4149
+ readonly getClosestWorkTime: (query: WorkTimeQuery) => Date;
4150
+ /**
4151
+ * The shift windows of the day that contains `date`, as `HH:mm-HH:mm`
4152
+ * strings; empty on a non-working day. A workable exception day returns
4153
+ * its own shifts.
4154
+ */
4155
+ readonly getWorkHours: (date: Date) => string[];
4156
+ }
4157
+ /** Read-only access to a schedule's calendars, outside a schedule instance. */
4158
+ interface StandaloneCalendarReader {
4159
+ /**
4160
+ * Returns the calendar for `calendarId`; a `null` or unknown id resolves
4161
+ * to the schedule default calendar.
4162
+ */
4163
+ readonly getCalendar: (calendarId: CalendarId | null) => StandaloneCalendar;
4164
+ }
4165
+ /**
4166
+ * Builds a standalone calendar reader with the same normalization and
4167
+ * calendar setup the schedule uses, so working-time queries match the live
4168
+ * schedule. Throws when `calendars` is empty.
4169
+ */
4170
+ declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
4171
+
4172
+ /** Inputs of {@link baselineVarianceDays}. */
4173
+ interface BaselineVarianceDaysInput {
4174
+ /** Live end date of the activity, or `null` when it has none. */
4175
+ readonly endDate: Date | null | undefined;
4176
+ /** End date of the baseline to measure against, or `null` when none applies. */
4177
+ readonly baselineEnd: Date | null | undefined;
4178
+ /** Calendar the activity is scheduled on; only working-time measurement is used. */
4179
+ readonly calendar: Pick<StandaloneCalendar, 'calculateDuration'>;
4180
+ /** Working hours in one schedule day. */
4181
+ readonly hoursPerDay: number;
4182
+ }
4183
+ /**
4184
+ * Calculates the working-day gap between an activity end and a baseline end.
4185
+ *
4186
+ * This is the rule behind the Gantt baseline variance column. The gap is
4187
+ * measured on the given calendar, so non-working time is excluded, and is
4188
+ * rounded to two decimals. A positive result means the activity finishes
4189
+ * after the baseline; a negative result means it finishes ahead of it.
4190
+ *
4191
+ * @param input - End dates, the activity calendar and the sector working hours per day.
4192
+ * @returns Signed working days, `0` when both ends coincide, or `null` when a date is missing or invalid, or `hoursPerDay` is not a positive finite number.
4193
+ */
4194
+ declare function baselineVarianceDays(input: BaselineVarianceDaysInput): number | null;
4195
+
4093
4196
  /** Calendar duration boundary used by expected-progress calculation. */
4094
4197
  interface CalendarLike {
4095
4198
  /** @returns Working duration between two dates in a consistent calendar unit. */
@@ -4260,62 +4363,6 @@ declare function resolveExpectedFinishDateSelection(input: {
4260
4363
  readonly displayedFinish: Date;
4261
4364
  }): Date;
4262
4365
 
4263
- /** Calendars of the schedule whose working time is read. */
4264
- interface CalendarReaderInput {
4265
- readonly calendars: readonly BackendCalendarInput[];
4266
- readonly baseCalendars?: readonly BackendCalendarInput[];
4267
- }
4268
-
4269
- /** One calendar of a schedule, reduced to working-time measurement. */
4270
- interface StandaloneCalendar {
4271
- /**
4272
- * Signed working hours between two instants on this calendar; negative
4273
- * when `end` precedes `start`. Converting hours to days is the caller's
4274
- * job.
4275
- */
4276
- readonly calculateDuration: (start: Date, end: Date) => number;
4277
- /**
4278
- * Whether `date` falls in working time. With `unit` `'day'`, true when the
4279
- * day has any working hour.
4280
- */
4281
- readonly isWorkTime: (date: Date, unit: CalendarUnit) => boolean;
4282
- /**
4283
- * The instant reached after `durationHours` working hours from `start`.
4284
- * A duration that ends at a shift end returns that shift end.
4285
- */
4286
- readonly calculateEndDate: (start: Date, durationHours: number) => Date;
4287
- /**
4288
- * The closest working instant to `query.date` in `query.direction`. A date
4289
- * inside working time comes back unchanged. Outside it, `'hour'` gives the
4290
- * next shift start for `'future'` and the previous shift end for `'past'`;
4291
- * `'day'` gives the start of the next working day for `'future'` and the
4292
- * end of the previous working day (00:00 of the day after it) for `'past'`.
4293
- * A `'past'` search looks back up to 3660 days and throws when it finds no
4294
- * working day.
4295
- */
4296
- readonly getClosestWorkTime: (query: WorkTimeQuery) => Date;
4297
- /**
4298
- * The shift windows of the day that contains `date`, as `HH:mm-HH:mm`
4299
- * strings; empty on a non-working day. A workable exception day returns
4300
- * its own shifts.
4301
- */
4302
- readonly getWorkHours: (date: Date) => string[];
4303
- }
4304
- /** Read-only access to a schedule's calendars, outside a schedule instance. */
4305
- interface StandaloneCalendarReader {
4306
- /**
4307
- * Returns the calendar for `calendarId`; a `null` or unknown id resolves
4308
- * to the schedule default calendar.
4309
- */
4310
- readonly getCalendar: (calendarId: CalendarId | null) => StandaloneCalendar;
4311
- }
4312
- /**
4313
- * Builds a standalone calendar reader with the same normalization and
4314
- * calendar setup the schedule uses, so working-time queries match the live
4315
- * schedule. Throws when `calendars` is empty.
4316
- */
4317
- declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
4318
-
4319
4366
  /** Calendars of the schedule that owns the activities being re-derived. */
4320
4367
  interface LookaheadDerivedCalendars {
4321
4368
  readonly calendars: readonly BackendCalendarInput[];
@@ -4548,4 +4595,4 @@ declare const DISPATCH_TRACK_EVENT: {
4548
4595
  /** Consumer analytics event name emitted by a schedule mutation. */
4549
4596
  type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
4550
4597
 
4551
- export { ACTIVITY_BATCH_ACTION_KIND, ACTIVITY_BATCH_MODE, ACTIVITY_DATE_EDGE, ACTIVITY_FIELD, ACTIVITY_PONDERATOR_CRITERION, ACTIVITY_PROGRESS_ORIGIN, ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchInput, type ActivityBatchItem, type ActivityBatchItemInput, type ActivityBatchLinkInput$1 as ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityBulkEdit, type ActivityClipboardEntry, type ActivityClipboardReferences, type ActivityClipboardSnapshot, type ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityFieldsRestoreEntry, type ActivityFieldsRestoreInput, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, type ActivityPasteDestination, type ActivityRowFacts, type ActivityStatus, type ActivityType, type ApplyLookaheadConversionInput, BASELINE_ROLE, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendRow, type BackendRowScope, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineRole, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONFIRMATION_KIND, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarReaderInput, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConfirmationAlternative, type ConfirmationKind, type ConfirmationRequest, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, P6_PROPERTY_CONTRACT as DATA_DATE_PROPERTY_CONTRACT, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type P6ActivityCalculationInputs as DataDateActivityCalculationInputs, type P6ActivityColumnKey as DataDateActivityColumnKey, type P6ActivityData as DataDateActivityData, type P6ActivityDraftState as DataDateActivityDraftState, type P6ActivityInputPatch as DataDateActivityInputPatch, type P6ActivityState as DataDateActivityState, type P6ActivityStateDto as DataDateActivityStateDto, type P6ActivityType as DataDateActivityType, P6CapabilityError as DataDateCapabilityError, type P6CapabilityErrorCode as DataDateCapabilityErrorCode, type P6DependencyReference as DataDateDependencyReference, type P6DiagnosticProjectIdentity as DataDateDiagnosticProjectIdentity, type P6DiagnosticRelationship as DataDateDiagnosticRelationship, type P6DiagnosticRelationshipType as DataDateDiagnosticRelationshipType, type P6DurationType as DataDateDurationType, type P6EndingActivityOption as DataDateEndingActivityOption, type P6EndingActivityPage as DataDateEndingActivityPage, type P6EndingActivitySearch as DataDateEndingActivitySearch, type P6MappedScheduleOptions as DataDateMappedScheduleOptions, type P6MissingActivityInput as DataDateMissingActivityInput, type P6OutOfSequencePolicy as DataDateOutOfSequencePolicy, type P6ProjectPlannedStartChange as DataDateProjectPlannedStartChange, type P6ProjectState as DataDateProjectState, type P6PropertyContractRow as DataDatePropertyContractRow, type P6PropertyEdgeCases as DataDatePropertyEdgeCases, type P6RawProjectOptions as DataDateRawProjectOptions, type P6RawScheduleOptions as DataDateRawScheduleOptions, type P6RequiredHistoricalField as DataDateRequiredHistoricalField, type P6ResourceAssignment as DataDateResourceAssignment, type P6ScheduleDiagnostic as DataDateScheduleDiagnostic, type P6ScheduleDiagnosticCode as DataDateScheduleDiagnosticCode, type P6ScheduleDiagnosticDto as DataDateScheduleDiagnosticDto, type P6ScheduleDto as DataDateScheduleDto, type P6ScheduleInput as DataDateScheduleInput, type P6ScheduleReadiness as DataDateScheduleReadiness, type P6ScheduleResult as DataDateScheduleResult, type P6ScheduleRunLog as DataDateScheduleRunLog, type P6ScheduleRunLogDto as DataDateScheduleRunLogDto, type P6ScheduleSettings as DataDateScheduleSettings, type P6ScheduleSettingsDto as DataDateScheduleSettingsDto, type P6ScheduleWarning as DataDateScheduleWarning, type P6SerializableState as DataDateSerializableState, type P6SettingsChange as DataDateSettingsChange, type DateGesture, type DateGestureKind, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchConfirmationRequest, type DispatchManyAction, type DispatchManyChangeSetSource, type DispatchManyResult, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, EDIT_ALERT_KEY, EDIT_DENIAL_REASON, ENTITY_CHANGE_KIND, type EditAlertKey, type EditDenialReason, type EditResult, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, FLAT_WBS_DEPTH, type FilterCriterion, type FilterCriterionGroup, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, GROUP_ID_PREFIX, GROUP_ID_SEPARATOR, type GroupCriterion, type GroupCriterionInput, type GroupLevelWindow, type GroupState, type GroupStateInput, type HistoryRevertFieldsEntry, type HistoryRevertInput, type HistoryRevertLink, type HostScheduleSource, type IdCounters, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, LOOKAHEAD_CONFIRMATION_KIND, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinkUpdateAction, type LinksBatchOperation, type LoadDiagnostic, type LoadDiagnosticCode, type LoadTimeAction, type LoadTimeSectorFlags, type LoadTimeWork, type LookaheadActualIntent, LookaheadActualTransitionError, type LookaheadActualTransitionErrorCode, type LookaheadConfirmationRequest, type LookaheadConversionFormerParent, type LookaheadConversionGroup, type LookaheadConversionInput, type LookaheadConversionMilestoneMove, type LookaheadConversionPlan, type LookaheadConversionResult, type LookaheadDerivedCalendars, type LookaheadDerivedFields, type LookaheadDerivedFieldsResolver, type LookaheadDerivedInput, type LookaheadProgressActualActivityState, type LookaheadProgressActualInput, type LookaheadProgressActualPlan, MINIMUM_GROUP_DEPTH, MINIMUM_GROUP_LEVEL, type ModifiedActivityChanges, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, ORDER_MODE, type OrderDirection, type OrderMode, type OrderRule, type OrderState, PASTE_PLACEMENT, PERSISTENCE_REBASE_CONFLICT_KIND, PERSISTENCE_REBASE_ENTITY, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PersistenceRebaseConflict, type PersistenceRebaseConflictKind, type PersistenceRebaseEntity, type PersistenceRebaseInput, type PersistenceRebaseRekey, type PersistenceRebaseRemoteChange, type PersistenceRebaseReport, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, RESTORABLE_ACTIVITY_FIELDS, ROOT_PARENT_ID, type RenumberedActivity, type RestorableActivityField, type RevertibleActivityField, SCHEDULE_CORE_STATUS, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, STRUCTURE_ACTIVITY_FIELDS, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleAutoScheduleAction, type ScheduleBaselinesApi, type ScheduleCalendarsApi, type ScheduleCellsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreRestoreOptions, type ScheduleCoreSnapshot, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleP6Api as ScheduleDataDatesApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StandaloneCalendar, type StandaloneCalendarReader, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, UNASSIGNED_GROUP_LABEL, UNASSIGNED_VALUE_ID, type UndoOptions, VIEW_ATTRIBUTE_KIND, VISUAL_ROW_KIND, type ViewAttributeAssignmentInput, type ViewAttributeCatalogInput, type ViewAttributeFilterCriterion, type ViewAttributeOrderRule, type ViewAttributeValueInput, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, type VisualRow, WORK_TIME_DIRECTION, type WbsDepth, type WithProplannerId, type WorkTimeDirection, type WorkTimeQuery, activityBackendRow, allowedSecondaryConstraintTypes, appendGroupRowId, buildGroupRowId, checkNoUpdatedLinks, computeExpectedProgress, createCalendarReader, createLookaheadDerivedFields, createOutbuildP6ScheduleSettings as createOutbuildDataDateScheduleSettings, createSchedule, p6InputFromDto as dataDateInputFromDto, decodeWireValue, encodeWireValue, expectedProgressFromBaseline, formatUtcAsP6WallDate, getActiveBaseline, getUnsavedActivities, hostScheduleInput, isRestorableActivityField, isRevertibleActivityField, isRootParent, isViewAttributeCriterion, isViewAttributeOrderRule, linkBackendRow, loadTimeWork, mapP6ScheduleOptions as mapDataDateScheduleOptions, movedToAnotherUtcDay, normalizeParentKey, parseFromBackend, parseP6DayAsCalendarStart, parseP6WallDateAsUtc, planLookaheadProgressActuals, prepareLookaheadProgressActuals, prepareLookaheadProgressActualsForPersistence, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };
4598
+ export { ACTIVITY_BATCH_ACTION_KIND, ACTIVITY_BATCH_MODE, ACTIVITY_DATE_EDGE, ACTIVITY_FIELD, ACTIVITY_PONDERATOR_CRITERION, ACTIVITY_PROGRESS_ORIGIN, ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchInput, type ActivityBatchItem, type ActivityBatchItemInput, type ActivityBatchLinkInput$1 as ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityBulkEdit, type ActivityClipboardEntry, type ActivityClipboardReferences, type ActivityClipboardSnapshot, type ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityFieldsRestoreEntry, type ActivityFieldsRestoreInput, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, type ActivityPasteDestination, type ActivityRowFacts, type ActivityStatus, type ActivityType, type ApplyLookaheadConversionInput, BASELINE_ROLE, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendRow, type BackendRowScope, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineRole, type BaselineVarianceDaysInput, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONFIRMATION_KIND, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarReaderInput, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConfirmationAlternative, type ConfirmationKind, type ConfirmationRequest, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, P6_PROPERTY_CONTRACT as DATA_DATE_PROPERTY_CONTRACT, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type P6ActivityCalculationInputs as DataDateActivityCalculationInputs, type P6ActivityColumnKey as DataDateActivityColumnKey, type P6ActivityData as DataDateActivityData, type P6ActivityDraftState as DataDateActivityDraftState, type P6ActivityInputPatch as DataDateActivityInputPatch, type P6ActivityState as DataDateActivityState, type P6ActivityStateDto as DataDateActivityStateDto, type P6ActivityType as DataDateActivityType, P6CapabilityError as DataDateCapabilityError, type P6CapabilityErrorCode as DataDateCapabilityErrorCode, type P6DependencyReference as DataDateDependencyReference, type P6DiagnosticProjectIdentity as DataDateDiagnosticProjectIdentity, type P6DiagnosticRelationship as DataDateDiagnosticRelationship, type P6DiagnosticRelationshipType as DataDateDiagnosticRelationshipType, type P6DurationType as DataDateDurationType, type P6EndingActivityOption as DataDateEndingActivityOption, type P6EndingActivityPage as DataDateEndingActivityPage, type P6EndingActivitySearch as DataDateEndingActivitySearch, type P6MappedScheduleOptions as DataDateMappedScheduleOptions, type P6MissingActivityInput as DataDateMissingActivityInput, type P6OutOfSequencePolicy as DataDateOutOfSequencePolicy, type P6ProjectPlannedStartChange as DataDateProjectPlannedStartChange, type P6ProjectState as DataDateProjectState, type P6PropertyContractRow as DataDatePropertyContractRow, type P6PropertyEdgeCases as DataDatePropertyEdgeCases, type P6RawProjectOptions as DataDateRawProjectOptions, type P6RawScheduleOptions as DataDateRawScheduleOptions, type P6RequiredHistoricalField as DataDateRequiredHistoricalField, type P6ResourceAssignment as DataDateResourceAssignment, type P6ScheduleDiagnostic as DataDateScheduleDiagnostic, type P6ScheduleDiagnosticCode as DataDateScheduleDiagnosticCode, type P6ScheduleDiagnosticDto as DataDateScheduleDiagnosticDto, type P6ScheduleDto as DataDateScheduleDto, type P6ScheduleInput as DataDateScheduleInput, type P6ScheduleReadiness as DataDateScheduleReadiness, type P6ScheduleResult as DataDateScheduleResult, type P6ScheduleRunLog as DataDateScheduleRunLog, type P6ScheduleRunLogDto as DataDateScheduleRunLogDto, type P6ScheduleSettings as DataDateScheduleSettings, type P6ScheduleSettingsDto as DataDateScheduleSettingsDto, type P6ScheduleWarning as DataDateScheduleWarning, type P6SerializableState as DataDateSerializableState, type P6SettingsChange as DataDateSettingsChange, type DateGesture, type DateGestureKind, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchConfirmationRequest, type DispatchManyAction, type DispatchManyChangeSetSource, type DispatchManyResult, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, EDIT_ALERT_KEY, EDIT_DENIAL_REASON, ENTITY_CHANGE_KIND, type EditAlertKey, type EditDenialReason, type EditResult, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, FLAT_WBS_DEPTH, type FilterCriterion, type FilterCriterionGroup, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, GROUP_ID_PREFIX, GROUP_ID_SEPARATOR, type GroupCriterion, type GroupCriterionInput, type GroupLevelWindow, type GroupState, type GroupStateInput, type HistoryRevertFieldsEntry, type HistoryRevertInput, type HistoryRevertLink, type HostScheduleSource, type IdCounters, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, LOOKAHEAD_CONFIRMATION_KIND, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinkUpdateAction, type LinksBatchOperation, type LoadDiagnostic, type LoadDiagnosticCode, type LoadTimeAction, type LoadTimeSectorFlags, type LoadTimeWork, type LookaheadActualIntent, LookaheadActualTransitionError, type LookaheadActualTransitionErrorCode, type LookaheadConfirmationRequest, type LookaheadConversionFormerParent, type LookaheadConversionGroup, type LookaheadConversionInput, type LookaheadConversionMilestoneMove, type LookaheadConversionPlan, type LookaheadConversionResult, type LookaheadDerivedCalendars, type LookaheadDerivedFields, type LookaheadDerivedFieldsResolver, type LookaheadDerivedInput, type LookaheadProgressActualActivityState, type LookaheadProgressActualInput, type LookaheadProgressActualPlan, MINIMUM_GROUP_DEPTH, MINIMUM_GROUP_LEVEL, type ModifiedActivityChanges, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, ORDER_MODE, type OrderDirection, type OrderMode, type OrderRule, type OrderState, PASTE_PLACEMENT, PERSISTENCE_REBASE_CONFLICT_KIND, PERSISTENCE_REBASE_ENTITY, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PersistenceRebaseConflict, type PersistenceRebaseConflictKind, type PersistenceRebaseEntity, type PersistenceRebaseInput, type PersistenceRebaseRekey, type PersistenceRebaseRemoteChange, type PersistenceRebaseReport, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, RESTORABLE_ACTIVITY_FIELDS, ROOT_PARENT_ID, type RenumberedActivity, type RestorableActivityField, type RevertibleActivityField, SCHEDULE_CORE_STATUS, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, STRUCTURE_ACTIVITY_FIELDS, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleAutoScheduleAction, type ScheduleBaselinesApi, type ScheduleCalendarsApi, type ScheduleCellsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreRestoreOptions, type ScheduleCoreSnapshot, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleP6Api as ScheduleDataDatesApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StandaloneCalendar, type StandaloneCalendarReader, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, UNASSIGNED_GROUP_LABEL, UNASSIGNED_VALUE_ID, type UndoOptions, VIEW_ATTRIBUTE_KIND, VISUAL_ROW_KIND, type ViewAttributeAssignmentInput, type ViewAttributeCatalogInput, type ViewAttributeFilterCriterion, type ViewAttributeOrderRule, type ViewAttributeValueInput, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, type VisualRow, WORK_TIME_DIRECTION, type WbsDepth, type WithProplannerId, type WorkTimeDirection, type WorkTimeQuery, activityBackendRow, allowedSecondaryConstraintTypes, appendGroupRowId, baselineVarianceDays, buildGroupRowId, checkNoUpdatedLinks, computeExpectedProgress, createCalendarReader, createLookaheadDerivedFields, createOutbuildP6ScheduleSettings as createOutbuildDataDateScheduleSettings, createSchedule, p6InputFromDto as dataDateInputFromDto, decodeWireValue, encodeWireValue, expectedProgressFromBaseline, formatUtcAsP6WallDate, getActiveBaseline, getUnsavedActivities, getVisibleBaseline, hostScheduleInput, isRestorableActivityField, isRevertibleActivityField, isRootParent, isViewAttributeCriterion, isViewAttributeOrderRule, linkBackendRow, loadTimeWork, mapP6ScheduleOptions as mapDataDateScheduleOptions, movedToAnotherUtcDay, normalizeParentKey, parseFromBackend, parseP6DayAsCalendarStart, parseP6WallDateAsUtc, planLookaheadProgressActuals, prepareLookaheadProgressActuals, prepareLookaheadProgressActualsForPersistence, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };
package/dist/index.d.ts CHANGED
@@ -685,9 +685,9 @@ interface GroupLevelWindow {
685
685
  readonly depth: number;
686
686
  }
687
687
  /**
688
- * One grouping level below the primary one. Nesting more than a second level is
689
- * expressed through the level window on a hierarchical attribute, not by chaining
690
- * these.
688
+ * One grouping level: the attribute to band by, the window of its outline levels
689
+ * that becomes bands, and the band order. The primary level lives on `GroupState`
690
+ * itself; every further level is chained through `GroupState.nested`.
691
691
  */
692
692
  interface GroupCriterion extends GroupLevelWindow {
693
693
  readonly attributeKey: string;
@@ -704,11 +704,15 @@ interface GroupCriterion extends GroupLevelWindow {
704
704
  type WbsDepth = number | null;
705
705
  /** The depth that leaves no WBS row on screen. */
706
706
  declare const FLAT_WBS_DEPTH = 0;
707
- /** Runtime grouping configuration active on a schedule. */
707
+ /**
708
+ * Runtime grouping configuration active on a schedule. The interface itself is
709
+ * the primary criterion; `nested` holds the criteria chained below it, in order,
710
+ * so a schedule can band by several attributes at once.
711
+ */
708
712
  interface GroupState extends GroupCriterion {
709
713
  readonly includeWbs: boolean;
710
714
  readonly collapsedIds: ReadonlySet<string>;
711
- readonly secondary: GroupCriterion | null;
715
+ readonly nested: ReadonlyArray<GroupCriterion>;
712
716
  }
713
717
  /**
714
718
  * JSON-friendly criterion. `startLevel` is optional so views persisted before
@@ -721,11 +725,17 @@ interface GroupCriterionInput {
721
725
  readonly depth: number;
722
726
  readonly direction: OrderDirection;
723
727
  }
724
- /** JSON-friendly grouping command accepted by `group-set`. */
728
+ /**
729
+ * JSON-friendly grouping command accepted by `group-set`. `nested` carries the
730
+ * levels chained below the primary, in order; `secondary` is the legacy
731
+ * single-nested-level field kept so views persisted before chaining still
732
+ * deserialize, and it is read only when `nested` is absent.
733
+ */
725
734
  interface GroupStateInput extends GroupCriterionInput {
726
735
  readonly includeWbs: boolean;
727
736
  readonly collapsedIds: ReadonlyArray<string>;
728
737
  readonly secondary?: GroupCriterionInput | null;
738
+ readonly nested?: ReadonlyArray<GroupCriterionInput>;
729
739
  }
730
740
  /** A single display row: either a synthetic group band or a real activity. */
731
741
  type VisualRow = {
@@ -743,7 +753,7 @@ type VisualRow = {
743
753
  declare function buildGroupRowId(attributeKey: string, valueId: string): string;
744
754
  /**
745
755
  * Extends a band id with a nested level. The parent path has to stay in the id
746
- * because the same secondary value shows up under several primary bands, and
756
+ * because the same nested value shows up under several parent bands, and
747
757
  * consumers key rows (and persisted collapse state) by this id.
748
758
  */
749
759
  declare function appendGroupRowId(parentRowId: string, attributeKey: string, valueId: string): string;
@@ -4090,6 +4100,99 @@ declare function getActiveBaseline(activity: {
4090
4100
  baselinePoints?: readonly CoreBaselinePoint[];
4091
4101
  } | null | undefined): CoreBaselinePoint | null;
4092
4102
 
4103
+ /**
4104
+ * Selects the normalized baseline point the consumer is currently displaying.
4105
+ *
4106
+ * Visibility is the version the user picked in the baseline selector, which may
4107
+ * differ from the active version while an older baseline is being inspected.
4108
+ *
4109
+ * @param activity - Baseline-bearing activity, or a nullish value.
4110
+ * @returns The visible point, or `null` when none is available.
4111
+ */
4112
+ declare function getVisibleBaseline(activity: {
4113
+ baselinePoints?: readonly CoreBaselinePoint[];
4114
+ } | null | undefined): CoreBaselinePoint | null;
4115
+
4116
+ /** Calendars of the schedule whose working time is read. */
4117
+ interface CalendarReaderInput {
4118
+ readonly calendars: readonly BackendCalendarInput[];
4119
+ readonly baseCalendars?: readonly BackendCalendarInput[];
4120
+ }
4121
+
4122
+ /** One calendar of a schedule, reduced to working-time measurement. */
4123
+ interface StandaloneCalendar {
4124
+ /**
4125
+ * Signed working hours between two instants on this calendar; negative
4126
+ * when `end` precedes `start`. Converting hours to days is the caller's
4127
+ * job.
4128
+ */
4129
+ readonly calculateDuration: (start: Date, end: Date) => number;
4130
+ /**
4131
+ * Whether `date` falls in working time. With `unit` `'day'`, true when the
4132
+ * day has any working hour.
4133
+ */
4134
+ readonly isWorkTime: (date: Date, unit: CalendarUnit) => boolean;
4135
+ /**
4136
+ * The instant reached after `durationHours` working hours from `start`.
4137
+ * A duration that ends at a shift end returns that shift end.
4138
+ */
4139
+ readonly calculateEndDate: (start: Date, durationHours: number) => Date;
4140
+ /**
4141
+ * The closest working instant to `query.date` in `query.direction`. A date
4142
+ * inside working time comes back unchanged. Outside it, `'hour'` gives the
4143
+ * next shift start for `'future'` and the previous shift end for `'past'`;
4144
+ * `'day'` gives the start of the next working day for `'future'` and the
4145
+ * end of the previous working day (00:00 of the day after it) for `'past'`.
4146
+ * A `'past'` search looks back up to 3660 days and throws when it finds no
4147
+ * working day.
4148
+ */
4149
+ readonly getClosestWorkTime: (query: WorkTimeQuery) => Date;
4150
+ /**
4151
+ * The shift windows of the day that contains `date`, as `HH:mm-HH:mm`
4152
+ * strings; empty on a non-working day. A workable exception day returns
4153
+ * its own shifts.
4154
+ */
4155
+ readonly getWorkHours: (date: Date) => string[];
4156
+ }
4157
+ /** Read-only access to a schedule's calendars, outside a schedule instance. */
4158
+ interface StandaloneCalendarReader {
4159
+ /**
4160
+ * Returns the calendar for `calendarId`; a `null` or unknown id resolves
4161
+ * to the schedule default calendar.
4162
+ */
4163
+ readonly getCalendar: (calendarId: CalendarId | null) => StandaloneCalendar;
4164
+ }
4165
+ /**
4166
+ * Builds a standalone calendar reader with the same normalization and
4167
+ * calendar setup the schedule uses, so working-time queries match the live
4168
+ * schedule. Throws when `calendars` is empty.
4169
+ */
4170
+ declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
4171
+
4172
+ /** Inputs of {@link baselineVarianceDays}. */
4173
+ interface BaselineVarianceDaysInput {
4174
+ /** Live end date of the activity, or `null` when it has none. */
4175
+ readonly endDate: Date | null | undefined;
4176
+ /** End date of the baseline to measure against, or `null` when none applies. */
4177
+ readonly baselineEnd: Date | null | undefined;
4178
+ /** Calendar the activity is scheduled on; only working-time measurement is used. */
4179
+ readonly calendar: Pick<StandaloneCalendar, 'calculateDuration'>;
4180
+ /** Working hours in one schedule day. */
4181
+ readonly hoursPerDay: number;
4182
+ }
4183
+ /**
4184
+ * Calculates the working-day gap between an activity end and a baseline end.
4185
+ *
4186
+ * This is the rule behind the Gantt baseline variance column. The gap is
4187
+ * measured on the given calendar, so non-working time is excluded, and is
4188
+ * rounded to two decimals. A positive result means the activity finishes
4189
+ * after the baseline; a negative result means it finishes ahead of it.
4190
+ *
4191
+ * @param input - End dates, the activity calendar and the sector working hours per day.
4192
+ * @returns Signed working days, `0` when both ends coincide, or `null` when a date is missing or invalid, or `hoursPerDay` is not a positive finite number.
4193
+ */
4194
+ declare function baselineVarianceDays(input: BaselineVarianceDaysInput): number | null;
4195
+
4093
4196
  /** Calendar duration boundary used by expected-progress calculation. */
4094
4197
  interface CalendarLike {
4095
4198
  /** @returns Working duration between two dates in a consistent calendar unit. */
@@ -4260,62 +4363,6 @@ declare function resolveExpectedFinishDateSelection(input: {
4260
4363
  readonly displayedFinish: Date;
4261
4364
  }): Date;
4262
4365
 
4263
- /** Calendars of the schedule whose working time is read. */
4264
- interface CalendarReaderInput {
4265
- readonly calendars: readonly BackendCalendarInput[];
4266
- readonly baseCalendars?: readonly BackendCalendarInput[];
4267
- }
4268
-
4269
- /** One calendar of a schedule, reduced to working-time measurement. */
4270
- interface StandaloneCalendar {
4271
- /**
4272
- * Signed working hours between two instants on this calendar; negative
4273
- * when `end` precedes `start`. Converting hours to days is the caller's
4274
- * job.
4275
- */
4276
- readonly calculateDuration: (start: Date, end: Date) => number;
4277
- /**
4278
- * Whether `date` falls in working time. With `unit` `'day'`, true when the
4279
- * day has any working hour.
4280
- */
4281
- readonly isWorkTime: (date: Date, unit: CalendarUnit) => boolean;
4282
- /**
4283
- * The instant reached after `durationHours` working hours from `start`.
4284
- * A duration that ends at a shift end returns that shift end.
4285
- */
4286
- readonly calculateEndDate: (start: Date, durationHours: number) => Date;
4287
- /**
4288
- * The closest working instant to `query.date` in `query.direction`. A date
4289
- * inside working time comes back unchanged. Outside it, `'hour'` gives the
4290
- * next shift start for `'future'` and the previous shift end for `'past'`;
4291
- * `'day'` gives the start of the next working day for `'future'` and the
4292
- * end of the previous working day (00:00 of the day after it) for `'past'`.
4293
- * A `'past'` search looks back up to 3660 days and throws when it finds no
4294
- * working day.
4295
- */
4296
- readonly getClosestWorkTime: (query: WorkTimeQuery) => Date;
4297
- /**
4298
- * The shift windows of the day that contains `date`, as `HH:mm-HH:mm`
4299
- * strings; empty on a non-working day. A workable exception day returns
4300
- * its own shifts.
4301
- */
4302
- readonly getWorkHours: (date: Date) => string[];
4303
- }
4304
- /** Read-only access to a schedule's calendars, outside a schedule instance. */
4305
- interface StandaloneCalendarReader {
4306
- /**
4307
- * Returns the calendar for `calendarId`; a `null` or unknown id resolves
4308
- * to the schedule default calendar.
4309
- */
4310
- readonly getCalendar: (calendarId: CalendarId | null) => StandaloneCalendar;
4311
- }
4312
- /**
4313
- * Builds a standalone calendar reader with the same normalization and
4314
- * calendar setup the schedule uses, so working-time queries match the live
4315
- * schedule. Throws when `calendars` is empty.
4316
- */
4317
- declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
4318
-
4319
4366
  /** Calendars of the schedule that owns the activities being re-derived. */
4320
4367
  interface LookaheadDerivedCalendars {
4321
4368
  readonly calendars: readonly BackendCalendarInput[];
@@ -4548,4 +4595,4 @@ declare const DISPATCH_TRACK_EVENT: {
4548
4595
  /** Consumer analytics event name emitted by a schedule mutation. */
4549
4596
  type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
4550
4597
 
4551
- export { ACTIVITY_BATCH_ACTION_KIND, ACTIVITY_BATCH_MODE, ACTIVITY_DATE_EDGE, ACTIVITY_FIELD, ACTIVITY_PONDERATOR_CRITERION, ACTIVITY_PROGRESS_ORIGIN, ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchInput, type ActivityBatchItem, type ActivityBatchItemInput, type ActivityBatchLinkInput$1 as ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityBulkEdit, type ActivityClipboardEntry, type ActivityClipboardReferences, type ActivityClipboardSnapshot, type ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityFieldsRestoreEntry, type ActivityFieldsRestoreInput, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, type ActivityPasteDestination, type ActivityRowFacts, type ActivityStatus, type ActivityType, type ApplyLookaheadConversionInput, BASELINE_ROLE, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendRow, type BackendRowScope, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineRole, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONFIRMATION_KIND, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarReaderInput, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConfirmationAlternative, type ConfirmationKind, type ConfirmationRequest, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, P6_PROPERTY_CONTRACT as DATA_DATE_PROPERTY_CONTRACT, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type P6ActivityCalculationInputs as DataDateActivityCalculationInputs, type P6ActivityColumnKey as DataDateActivityColumnKey, type P6ActivityData as DataDateActivityData, type P6ActivityDraftState as DataDateActivityDraftState, type P6ActivityInputPatch as DataDateActivityInputPatch, type P6ActivityState as DataDateActivityState, type P6ActivityStateDto as DataDateActivityStateDto, type P6ActivityType as DataDateActivityType, P6CapabilityError as DataDateCapabilityError, type P6CapabilityErrorCode as DataDateCapabilityErrorCode, type P6DependencyReference as DataDateDependencyReference, type P6DiagnosticProjectIdentity as DataDateDiagnosticProjectIdentity, type P6DiagnosticRelationship as DataDateDiagnosticRelationship, type P6DiagnosticRelationshipType as DataDateDiagnosticRelationshipType, type P6DurationType as DataDateDurationType, type P6EndingActivityOption as DataDateEndingActivityOption, type P6EndingActivityPage as DataDateEndingActivityPage, type P6EndingActivitySearch as DataDateEndingActivitySearch, type P6MappedScheduleOptions as DataDateMappedScheduleOptions, type P6MissingActivityInput as DataDateMissingActivityInput, type P6OutOfSequencePolicy as DataDateOutOfSequencePolicy, type P6ProjectPlannedStartChange as DataDateProjectPlannedStartChange, type P6ProjectState as DataDateProjectState, type P6PropertyContractRow as DataDatePropertyContractRow, type P6PropertyEdgeCases as DataDatePropertyEdgeCases, type P6RawProjectOptions as DataDateRawProjectOptions, type P6RawScheduleOptions as DataDateRawScheduleOptions, type P6RequiredHistoricalField as DataDateRequiredHistoricalField, type P6ResourceAssignment as DataDateResourceAssignment, type P6ScheduleDiagnostic as DataDateScheduleDiagnostic, type P6ScheduleDiagnosticCode as DataDateScheduleDiagnosticCode, type P6ScheduleDiagnosticDto as DataDateScheduleDiagnosticDto, type P6ScheduleDto as DataDateScheduleDto, type P6ScheduleInput as DataDateScheduleInput, type P6ScheduleReadiness as DataDateScheduleReadiness, type P6ScheduleResult as DataDateScheduleResult, type P6ScheduleRunLog as DataDateScheduleRunLog, type P6ScheduleRunLogDto as DataDateScheduleRunLogDto, type P6ScheduleSettings as DataDateScheduleSettings, type P6ScheduleSettingsDto as DataDateScheduleSettingsDto, type P6ScheduleWarning as DataDateScheduleWarning, type P6SerializableState as DataDateSerializableState, type P6SettingsChange as DataDateSettingsChange, type DateGesture, type DateGestureKind, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchConfirmationRequest, type DispatchManyAction, type DispatchManyChangeSetSource, type DispatchManyResult, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, EDIT_ALERT_KEY, EDIT_DENIAL_REASON, ENTITY_CHANGE_KIND, type EditAlertKey, type EditDenialReason, type EditResult, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, FLAT_WBS_DEPTH, type FilterCriterion, type FilterCriterionGroup, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, GROUP_ID_PREFIX, GROUP_ID_SEPARATOR, type GroupCriterion, type GroupCriterionInput, type GroupLevelWindow, type GroupState, type GroupStateInput, type HistoryRevertFieldsEntry, type HistoryRevertInput, type HistoryRevertLink, type HostScheduleSource, type IdCounters, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, LOOKAHEAD_CONFIRMATION_KIND, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinkUpdateAction, type LinksBatchOperation, type LoadDiagnostic, type LoadDiagnosticCode, type LoadTimeAction, type LoadTimeSectorFlags, type LoadTimeWork, type LookaheadActualIntent, LookaheadActualTransitionError, type LookaheadActualTransitionErrorCode, type LookaheadConfirmationRequest, type LookaheadConversionFormerParent, type LookaheadConversionGroup, type LookaheadConversionInput, type LookaheadConversionMilestoneMove, type LookaheadConversionPlan, type LookaheadConversionResult, type LookaheadDerivedCalendars, type LookaheadDerivedFields, type LookaheadDerivedFieldsResolver, type LookaheadDerivedInput, type LookaheadProgressActualActivityState, type LookaheadProgressActualInput, type LookaheadProgressActualPlan, MINIMUM_GROUP_DEPTH, MINIMUM_GROUP_LEVEL, type ModifiedActivityChanges, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, ORDER_MODE, type OrderDirection, type OrderMode, type OrderRule, type OrderState, PASTE_PLACEMENT, PERSISTENCE_REBASE_CONFLICT_KIND, PERSISTENCE_REBASE_ENTITY, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PersistenceRebaseConflict, type PersistenceRebaseConflictKind, type PersistenceRebaseEntity, type PersistenceRebaseInput, type PersistenceRebaseRekey, type PersistenceRebaseRemoteChange, type PersistenceRebaseReport, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, RESTORABLE_ACTIVITY_FIELDS, ROOT_PARENT_ID, type RenumberedActivity, type RestorableActivityField, type RevertibleActivityField, SCHEDULE_CORE_STATUS, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, STRUCTURE_ACTIVITY_FIELDS, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleAutoScheduleAction, type ScheduleBaselinesApi, type ScheduleCalendarsApi, type ScheduleCellsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreRestoreOptions, type ScheduleCoreSnapshot, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleP6Api as ScheduleDataDatesApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StandaloneCalendar, type StandaloneCalendarReader, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, UNASSIGNED_GROUP_LABEL, UNASSIGNED_VALUE_ID, type UndoOptions, VIEW_ATTRIBUTE_KIND, VISUAL_ROW_KIND, type ViewAttributeAssignmentInput, type ViewAttributeCatalogInput, type ViewAttributeFilterCriterion, type ViewAttributeOrderRule, type ViewAttributeValueInput, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, type VisualRow, WORK_TIME_DIRECTION, type WbsDepth, type WithProplannerId, type WorkTimeDirection, type WorkTimeQuery, activityBackendRow, allowedSecondaryConstraintTypes, appendGroupRowId, buildGroupRowId, checkNoUpdatedLinks, computeExpectedProgress, createCalendarReader, createLookaheadDerivedFields, createOutbuildP6ScheduleSettings as createOutbuildDataDateScheduleSettings, createSchedule, p6InputFromDto as dataDateInputFromDto, decodeWireValue, encodeWireValue, expectedProgressFromBaseline, formatUtcAsP6WallDate, getActiveBaseline, getUnsavedActivities, hostScheduleInput, isRestorableActivityField, isRevertibleActivityField, isRootParent, isViewAttributeCriterion, isViewAttributeOrderRule, linkBackendRow, loadTimeWork, mapP6ScheduleOptions as mapDataDateScheduleOptions, movedToAnotherUtcDay, normalizeParentKey, parseFromBackend, parseP6DayAsCalendarStart, parseP6WallDateAsUtc, planLookaheadProgressActuals, prepareLookaheadProgressActuals, prepareLookaheadProgressActualsForPersistence, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };
4598
+ export { ACTIVITY_BATCH_ACTION_KIND, ACTIVITY_BATCH_MODE, ACTIVITY_DATE_EDGE, ACTIVITY_FIELD, ACTIVITY_PONDERATOR_CRITERION, ACTIVITY_PROGRESS_ORIGIN, ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchInput, type ActivityBatchItem, type ActivityBatchItemInput, type ActivityBatchLinkInput$1 as ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityBulkEdit, type ActivityClipboardEntry, type ActivityClipboardReferences, type ActivityClipboardSnapshot, type ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityFieldsRestoreEntry, type ActivityFieldsRestoreInput, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, type ActivityPasteDestination, type ActivityRowFacts, type ActivityStatus, type ActivityType, type ApplyLookaheadConversionInput, BASELINE_ROLE, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendRow, type BackendRowScope, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineRole, type BaselineVarianceDaysInput, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONFIRMATION_KIND, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarReaderInput, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConfirmationAlternative, type ConfirmationKind, type ConfirmationRequest, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, P6_PROPERTY_CONTRACT as DATA_DATE_PROPERTY_CONTRACT, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type P6ActivityCalculationInputs as DataDateActivityCalculationInputs, type P6ActivityColumnKey as DataDateActivityColumnKey, type P6ActivityData as DataDateActivityData, type P6ActivityDraftState as DataDateActivityDraftState, type P6ActivityInputPatch as DataDateActivityInputPatch, type P6ActivityState as DataDateActivityState, type P6ActivityStateDto as DataDateActivityStateDto, type P6ActivityType as DataDateActivityType, P6CapabilityError as DataDateCapabilityError, type P6CapabilityErrorCode as DataDateCapabilityErrorCode, type P6DependencyReference as DataDateDependencyReference, type P6DiagnosticProjectIdentity as DataDateDiagnosticProjectIdentity, type P6DiagnosticRelationship as DataDateDiagnosticRelationship, type P6DiagnosticRelationshipType as DataDateDiagnosticRelationshipType, type P6DurationType as DataDateDurationType, type P6EndingActivityOption as DataDateEndingActivityOption, type P6EndingActivityPage as DataDateEndingActivityPage, type P6EndingActivitySearch as DataDateEndingActivitySearch, type P6MappedScheduleOptions as DataDateMappedScheduleOptions, type P6MissingActivityInput as DataDateMissingActivityInput, type P6OutOfSequencePolicy as DataDateOutOfSequencePolicy, type P6ProjectPlannedStartChange as DataDateProjectPlannedStartChange, type P6ProjectState as DataDateProjectState, type P6PropertyContractRow as DataDatePropertyContractRow, type P6PropertyEdgeCases as DataDatePropertyEdgeCases, type P6RawProjectOptions as DataDateRawProjectOptions, type P6RawScheduleOptions as DataDateRawScheduleOptions, type P6RequiredHistoricalField as DataDateRequiredHistoricalField, type P6ResourceAssignment as DataDateResourceAssignment, type P6ScheduleDiagnostic as DataDateScheduleDiagnostic, type P6ScheduleDiagnosticCode as DataDateScheduleDiagnosticCode, type P6ScheduleDiagnosticDto as DataDateScheduleDiagnosticDto, type P6ScheduleDto as DataDateScheduleDto, type P6ScheduleInput as DataDateScheduleInput, type P6ScheduleReadiness as DataDateScheduleReadiness, type P6ScheduleResult as DataDateScheduleResult, type P6ScheduleRunLog as DataDateScheduleRunLog, type P6ScheduleRunLogDto as DataDateScheduleRunLogDto, type P6ScheduleSettings as DataDateScheduleSettings, type P6ScheduleSettingsDto as DataDateScheduleSettingsDto, type P6ScheduleWarning as DataDateScheduleWarning, type P6SerializableState as DataDateSerializableState, type P6SettingsChange as DataDateSettingsChange, type DateGesture, type DateGestureKind, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchConfirmationRequest, type DispatchManyAction, type DispatchManyChangeSetSource, type DispatchManyResult, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, EDIT_ALERT_KEY, EDIT_DENIAL_REASON, ENTITY_CHANGE_KIND, type EditAlertKey, type EditDenialReason, type EditResult, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, FLAT_WBS_DEPTH, type FilterCriterion, type FilterCriterionGroup, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, GROUP_ID_PREFIX, GROUP_ID_SEPARATOR, type GroupCriterion, type GroupCriterionInput, type GroupLevelWindow, type GroupState, type GroupStateInput, type HistoryRevertFieldsEntry, type HistoryRevertInput, type HistoryRevertLink, type HostScheduleSource, type IdCounters, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, LOOKAHEAD_CONFIRMATION_KIND, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinkUpdateAction, type LinksBatchOperation, type LoadDiagnostic, type LoadDiagnosticCode, type LoadTimeAction, type LoadTimeSectorFlags, type LoadTimeWork, type LookaheadActualIntent, LookaheadActualTransitionError, type LookaheadActualTransitionErrorCode, type LookaheadConfirmationRequest, type LookaheadConversionFormerParent, type LookaheadConversionGroup, type LookaheadConversionInput, type LookaheadConversionMilestoneMove, type LookaheadConversionPlan, type LookaheadConversionResult, type LookaheadDerivedCalendars, type LookaheadDerivedFields, type LookaheadDerivedFieldsResolver, type LookaheadDerivedInput, type LookaheadProgressActualActivityState, type LookaheadProgressActualInput, type LookaheadProgressActualPlan, MINIMUM_GROUP_DEPTH, MINIMUM_GROUP_LEVEL, type ModifiedActivityChanges, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, ORDER_MODE, type OrderDirection, type OrderMode, type OrderRule, type OrderState, PASTE_PLACEMENT, PERSISTENCE_REBASE_CONFLICT_KIND, PERSISTENCE_REBASE_ENTITY, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PersistenceRebaseConflict, type PersistenceRebaseConflictKind, type PersistenceRebaseEntity, type PersistenceRebaseInput, type PersistenceRebaseRekey, type PersistenceRebaseRemoteChange, type PersistenceRebaseReport, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, RESTORABLE_ACTIVITY_FIELDS, ROOT_PARENT_ID, type RenumberedActivity, type RestorableActivityField, type RevertibleActivityField, SCHEDULE_CORE_STATUS, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, STRUCTURE_ACTIVITY_FIELDS, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleAutoScheduleAction, type ScheduleBaselinesApi, type ScheduleCalendarsApi, type ScheduleCellsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreRestoreOptions, type ScheduleCoreSnapshot, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleP6Api as ScheduleDataDatesApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StandaloneCalendar, type StandaloneCalendarReader, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, UNASSIGNED_GROUP_LABEL, UNASSIGNED_VALUE_ID, type UndoOptions, VIEW_ATTRIBUTE_KIND, VISUAL_ROW_KIND, type ViewAttributeAssignmentInput, type ViewAttributeCatalogInput, type ViewAttributeFilterCriterion, type ViewAttributeOrderRule, type ViewAttributeValueInput, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, type VisualRow, WORK_TIME_DIRECTION, type WbsDepth, type WithProplannerId, type WorkTimeDirection, type WorkTimeQuery, activityBackendRow, allowedSecondaryConstraintTypes, appendGroupRowId, baselineVarianceDays, buildGroupRowId, checkNoUpdatedLinks, computeExpectedProgress, createCalendarReader, createLookaheadDerivedFields, createOutbuildP6ScheduleSettings as createOutbuildDataDateScheduleSettings, createSchedule, p6InputFromDto as dataDateInputFromDto, decodeWireValue, encodeWireValue, expectedProgressFromBaseline, formatUtcAsP6WallDate, getActiveBaseline, getUnsavedActivities, getVisibleBaseline, hostScheduleInput, isRestorableActivityField, isRevertibleActivityField, isRootParent, isViewAttributeCriterion, isViewAttributeOrderRule, linkBackendRow, loadTimeWork, mapP6ScheduleOptions as mapDataDateScheduleOptions, movedToAnotherUtcDay, normalizeParentKey, parseFromBackend, parseP6DayAsCalendarStart, parseP6WallDateAsUtc, planLookaheadProgressActuals, prepareLookaheadProgressActuals, prepareLookaheadProgressActualsForPersistence, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };