@outbuild-company/schedule-core 1.35.0 → 1.35.2
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/build-fingerprint.json +2 -2
- package/dist/cdn/schedule-core.global.js +1 -1
- package/dist/cdn/schedule-core.global.js.map +1 -1
- package/dist/index.cjs +366 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +129 -119
- package/dist/index.d.ts +129 -119
- package/dist/index.js +366 -265
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -76,6 +76,94 @@ interface CalendarAPI {
|
|
|
76
76
|
readonly getWorkHours: (date: Date) => string[];
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/** Validation failure raised while planning or preparing Lookahead actual dates. */
|
|
80
|
+
type LookaheadActualTransitionErrorCode = 'ACTIVITY_CALENDAR_REQUIRED' | 'ACTUAL_FINISH_BEFORE_START' | 'ACTUAL_FINISH_REMOVAL_NOT_APPLICABLE' | 'ACTUAL_FINISH_REMOVAL_REQUIRED' | 'ACTUAL_FINISH_REQUIRES_100' | 'ACTUAL_START_REQUIRED' | 'DATA_DATE_INACTIVE' | 'INVALID_ACTUAL_DAY' | 'INVALID_ACTUAL_TIME_SOURCE' | 'INVALID_DATA_DATE' | 'INVALID_DISPLAYED_FINISH' | 'INVALID_PROGRESS';
|
|
81
|
+
declare class LookaheadActualTransitionError extends Error {
|
|
82
|
+
readonly code: LookaheadActualTransitionErrorCode;
|
|
83
|
+
constructor(code: LookaheadActualTransitionErrorCode);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Actual dates the user confirmed in the Lookahead progress dialog.
|
|
87
|
+
* `actualFinish: null` is the confirmed removal of the Actual Finish when
|
|
88
|
+
* progress drops below 100 on a completed activity.
|
|
89
|
+
*/
|
|
90
|
+
interface LookaheadActualIntent {
|
|
91
|
+
readonly actualStart?: Date;
|
|
92
|
+
readonly actualFinish?: Date | null;
|
|
93
|
+
}
|
|
94
|
+
/** Slice of the P6 activity state the Lookahead progress transition reads. */
|
|
95
|
+
type LookaheadProgressActualActivityState = Pick<P6ActivityDraftState, 'actualStart' | 'actualFinish' | 'remainingDurationHours' | 'executionStatus' | 'suspendDate' | 'resumeDate' | 'physicalPercentComplete' | 'originalDurationHours' | 'percentCompleteType'>;
|
|
96
|
+
/**
|
|
97
|
+
* Input of a Lookahead progress change under a Data Date: the active
|
|
98
|
+
* `dataDate` (`null` when inactive), the activity's P6 slice, the target
|
|
99
|
+
* progress (0–100) and the finish currently displayed to the user.
|
|
100
|
+
*/
|
|
101
|
+
interface LookaheadProgressActualInput {
|
|
102
|
+
readonly dataDate: Date | null;
|
|
103
|
+
readonly activity: Readonly<LookaheadProgressActualActivityState>;
|
|
104
|
+
readonly nextProgress: number;
|
|
105
|
+
readonly displayedFinish?: Date | null;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Which actual dates the transition needs: `start` is required when a
|
|
109
|
+
* not-started activity gains progress, `finish` is optional when progress
|
|
110
|
+
* reaches 100, `uncomplete` is required when a completed activity drops
|
|
111
|
+
* below 100 (the Actual Finish must be removed; the Actual Start stays).
|
|
112
|
+
* All are `null` when the Data Date is inactive.
|
|
113
|
+
*/
|
|
114
|
+
interface LookaheadProgressActualPlan {
|
|
115
|
+
readonly start: {
|
|
116
|
+
readonly required: true;
|
|
117
|
+
readonly suggestedAt: Date;
|
|
118
|
+
} | null;
|
|
119
|
+
readonly finish: {
|
|
120
|
+
readonly optional: true;
|
|
121
|
+
readonly suggestedAt: Date | null;
|
|
122
|
+
} | null;
|
|
123
|
+
readonly uncomplete: {
|
|
124
|
+
readonly required: true;
|
|
125
|
+
readonly removes: Date;
|
|
126
|
+
} | null;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Combines a `YYYY-MM-DD` day picked by the user with the UTC time of day of
|
|
130
|
+
* `timeSource`. Throws `LookaheadActualTransitionError` on an invalid day or
|
|
131
|
+
* time source.
|
|
132
|
+
*/
|
|
133
|
+
declare function resolveLookaheadActualDateSelection(input: {
|
|
134
|
+
readonly selectedDay: string;
|
|
135
|
+
readonly timeSource: Date;
|
|
136
|
+
}): Date;
|
|
137
|
+
/**
|
|
138
|
+
* Decides which actual dates a progress change requires and suggests default
|
|
139
|
+
* values (the Data Date for the start, the displayed finish for the finish).
|
|
140
|
+
* Throws `LookaheadActualTransitionError` on invalid input.
|
|
141
|
+
*/
|
|
142
|
+
declare function planLookaheadProgressActuals(input: LookaheadProgressActualInput): LookaheadProgressActualPlan;
|
|
143
|
+
/**
|
|
144
|
+
* Validates the confirmed `intent` against the plan and returns the P6
|
|
145
|
+
* activity patch to dispatch: the actual-date transition plus, while the
|
|
146
|
+
* activity is in progress, `nextProgress` mirrored into the percent field
|
|
147
|
+
* selected by `percentCompleteType` (Physical %, or the Remaining Duration
|
|
148
|
+
* for the duration type; the units type is read-only). Throws
|
|
149
|
+
* `LookaheadActualTransitionError` when a required actual start is missing,
|
|
150
|
+
* a finish is given below 100 %, a completed activity drops below 100 %
|
|
151
|
+
* without the confirmed removal of its Actual Finish, or an intent arrives
|
|
152
|
+
* while the Data Date is inactive.
|
|
153
|
+
*/
|
|
154
|
+
declare function prepareLookaheadProgressActuals(input: LookaheadProgressActualInput & {
|
|
155
|
+
readonly intent?: LookaheadActualIntent;
|
|
156
|
+
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
157
|
+
/**
|
|
158
|
+
* Prepares a Lookahead progress patch for persistence, preserving the time of
|
|
159
|
+
* an existing Actual Start or normalizing its first assignment to the activity
|
|
160
|
+
* shift.
|
|
161
|
+
*/
|
|
162
|
+
declare function prepareLookaheadProgressActualsForPersistence(input: LookaheadProgressActualInput & {
|
|
163
|
+
readonly intent?: LookaheadActualIntent;
|
|
164
|
+
readonly resolveCalendar: () => CalendarAPI | null;
|
|
165
|
+
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
166
|
+
|
|
79
167
|
/** Canonical reasons why an activity field edit may be blocked. */
|
|
80
168
|
declare const EDIT_DENIAL_REASON: {
|
|
81
169
|
readonly COMPLETED: "completed";
|
|
@@ -1336,6 +1424,7 @@ type DispatchAction = {
|
|
|
1336
1424
|
isLookahead: boolean;
|
|
1337
1425
|
hasLookaheadTasks: boolean;
|
|
1338
1426
|
persistedProgress?: number;
|
|
1427
|
+
persistedActualTransition?: LookaheadActualIntent;
|
|
1339
1428
|
acknowledgePersistedLookahead?: boolean;
|
|
1340
1429
|
eventSource?: string;
|
|
1341
1430
|
} | ScheduleAutoScheduleAction;
|
|
@@ -4171,124 +4260,6 @@ declare function resolveExpectedFinishDateSelection(input: {
|
|
|
4171
4260
|
readonly displayedFinish: Date;
|
|
4172
4261
|
}): Date;
|
|
4173
4262
|
|
|
4174
|
-
/** Validation failure raised while planning or preparing Lookahead actual dates. */
|
|
4175
|
-
type LookaheadActualTransitionErrorCode = 'ACTUAL_FINISH_BEFORE_START' | 'ACTUAL_FINISH_REMOVAL_NOT_APPLICABLE' | 'ACTUAL_FINISH_REMOVAL_REQUIRED' | 'ACTUAL_FINISH_REQUIRES_100' | 'ACTUAL_START_REQUIRED' | 'DATA_DATE_INACTIVE' | 'INVALID_ACTUAL_DAY' | 'INVALID_ACTUAL_TIME_SOURCE' | 'INVALID_DATA_DATE' | 'INVALID_DISPLAYED_FINISH' | 'INVALID_PROGRESS';
|
|
4176
|
-
declare class LookaheadActualTransitionError extends Error {
|
|
4177
|
-
readonly code: LookaheadActualTransitionErrorCode;
|
|
4178
|
-
constructor(code: LookaheadActualTransitionErrorCode);
|
|
4179
|
-
}
|
|
4180
|
-
/**
|
|
4181
|
-
* Actual dates the user confirmed in the Lookahead progress dialog.
|
|
4182
|
-
* `actualFinish: null` is the confirmed removal of the Actual Finish when
|
|
4183
|
-
* progress drops below 100 on a completed activity.
|
|
4184
|
-
*/
|
|
4185
|
-
interface LookaheadActualIntent {
|
|
4186
|
-
readonly actualStart?: Date;
|
|
4187
|
-
readonly actualFinish?: Date | null;
|
|
4188
|
-
}
|
|
4189
|
-
/** Slice of the P6 activity state the Lookahead progress transition reads. */
|
|
4190
|
-
type LookaheadProgressActualActivityState = Pick<P6ActivityDraftState, 'actualStart' | 'actualFinish' | 'remainingDurationHours' | 'executionStatus' | 'suspendDate' | 'resumeDate' | 'physicalPercentComplete' | 'originalDurationHours' | 'percentCompleteType'>;
|
|
4191
|
-
/**
|
|
4192
|
-
* Input of a Lookahead progress change under a Data Date: the active
|
|
4193
|
-
* `dataDate` (`null` when inactive), the activity's P6 slice, the target
|
|
4194
|
-
* progress (0–100) and the finish currently displayed to the user.
|
|
4195
|
-
*/
|
|
4196
|
-
interface LookaheadProgressActualInput {
|
|
4197
|
-
readonly dataDate: Date | null;
|
|
4198
|
-
readonly activity: Readonly<LookaheadProgressActualActivityState>;
|
|
4199
|
-
readonly nextProgress: number;
|
|
4200
|
-
readonly displayedFinish?: Date | null;
|
|
4201
|
-
}
|
|
4202
|
-
/**
|
|
4203
|
-
* Which actual dates the transition needs: `start` is required when a
|
|
4204
|
-
* not-started activity gains progress, `finish` is optional when progress
|
|
4205
|
-
* reaches 100, `uncomplete` is required when a completed activity drops
|
|
4206
|
-
* below 100 (the Actual Finish must be removed; the Actual Start stays).
|
|
4207
|
-
* All are `null` when the Data Date is inactive.
|
|
4208
|
-
*/
|
|
4209
|
-
interface LookaheadProgressActualPlan {
|
|
4210
|
-
readonly start: {
|
|
4211
|
-
readonly required: true;
|
|
4212
|
-
readonly suggestedAt: Date;
|
|
4213
|
-
} | null;
|
|
4214
|
-
readonly finish: {
|
|
4215
|
-
readonly optional: true;
|
|
4216
|
-
readonly suggestedAt: Date | null;
|
|
4217
|
-
} | null;
|
|
4218
|
-
readonly uncomplete: {
|
|
4219
|
-
readonly required: true;
|
|
4220
|
-
readonly removes: Date;
|
|
4221
|
-
} | null;
|
|
4222
|
-
}
|
|
4223
|
-
/**
|
|
4224
|
-
* Combines a `YYYY-MM-DD` day picked by the user with the UTC time of day of
|
|
4225
|
-
* `timeSource`. Throws `LookaheadActualTransitionError` on an invalid day or
|
|
4226
|
-
* time source.
|
|
4227
|
-
*/
|
|
4228
|
-
declare function resolveLookaheadActualDateSelection(input: {
|
|
4229
|
-
readonly selectedDay: string;
|
|
4230
|
-
readonly timeSource: Date;
|
|
4231
|
-
}): Date;
|
|
4232
|
-
/**
|
|
4233
|
-
* Decides which actual dates a progress change requires and suggests default
|
|
4234
|
-
* values (the Data Date for the start, the displayed finish for the finish).
|
|
4235
|
-
* Throws `LookaheadActualTransitionError` on invalid input.
|
|
4236
|
-
*/
|
|
4237
|
-
declare function planLookaheadProgressActuals(input: LookaheadProgressActualInput): LookaheadProgressActualPlan;
|
|
4238
|
-
/**
|
|
4239
|
-
* Validates the confirmed `intent` against the plan and returns the P6
|
|
4240
|
-
* activity patch to dispatch: the actual-date transition plus, while the
|
|
4241
|
-
* activity is in progress, `nextProgress` mirrored into the percent field
|
|
4242
|
-
* selected by `percentCompleteType` (Physical %, or the Remaining Duration
|
|
4243
|
-
* for the duration type; the units type is read-only). Throws
|
|
4244
|
-
* `LookaheadActualTransitionError` when a required actual start is missing,
|
|
4245
|
-
* a finish is given below 100 %, a completed activity drops below 100 %
|
|
4246
|
-
* without the confirmed removal of its Actual Finish, or an intent arrives
|
|
4247
|
-
* while the Data Date is inactive.
|
|
4248
|
-
*/
|
|
4249
|
-
declare function prepareLookaheadProgressActuals(input: LookaheadProgressActualInput & {
|
|
4250
|
-
readonly intent?: LookaheadActualIntent;
|
|
4251
|
-
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
4252
|
-
|
|
4253
|
-
/** Calendars of the schedule that owns the activities being re-derived. */
|
|
4254
|
-
interface LookaheadDerivedCalendars {
|
|
4255
|
-
readonly calendars: readonly BackendCalendarInput[];
|
|
4256
|
-
readonly baseCalendars?: readonly BackendCalendarInput[];
|
|
4257
|
-
}
|
|
4258
|
-
/**
|
|
4259
|
-
* One actual-date transition confirmed from the Lookahead: the stored P6
|
|
4260
|
-
* state before it, the state after applying the normalized patch, the
|
|
4261
|
-
* activity calendar and the active Data Date.
|
|
4262
|
-
*/
|
|
4263
|
-
interface LookaheadDerivedInput {
|
|
4264
|
-
readonly previous: Readonly<P6ActivityDraftState>;
|
|
4265
|
-
readonly next: Readonly<P6ActivityDraftState>;
|
|
4266
|
-
readonly calendarId: CalendarId | null;
|
|
4267
|
-
readonly dataDate: Date;
|
|
4268
|
-
readonly totalFloatMethod?: P6ScheduleSettings['totalFloatMethod'];
|
|
4269
|
-
}
|
|
4270
|
-
/** Derived fields P6 refreshes as soon as an actual date is written. */
|
|
4271
|
-
type LookaheadDerivedFields = Pick<P6ActivityData, 'actualDurationHours' | 'atCompletionDurationHours' | 'durationPercentComplete' | 'unitsPercentComplete' | 'schedulePercentComplete'>;
|
|
4272
|
-
/**
|
|
4273
|
-
* Backend-side resolver bound to one schedule's calendars; re-derives the
|
|
4274
|
-
* P6 fields for each confirmed Lookahead actual-date transition.
|
|
4275
|
-
*/
|
|
4276
|
-
interface LookaheadDerivedFieldsResolver {
|
|
4277
|
-
/**
|
|
4278
|
-
* Derives the refreshed P6 fields for one transition, or `null` when the
|
|
4279
|
-
* next state is not yet a schedulable P6 activity or its calendar is
|
|
4280
|
-
* unknown.
|
|
4281
|
-
*/
|
|
4282
|
-
derive(input: LookaheadDerivedInput): LookaheadDerivedFields | null;
|
|
4283
|
-
}
|
|
4284
|
-
/**
|
|
4285
|
-
* Re-derives an activity after a Lookahead actual-date transition with the
|
|
4286
|
-
* same live projection the Schedule card uses, so both write paths leave the
|
|
4287
|
-
* stored derived fields identical. Returns `null` while the activity has no
|
|
4288
|
-
* schedulable Remaining Duration yet.
|
|
4289
|
-
*/
|
|
4290
|
-
declare function createLookaheadDerivedFields(input: LookaheadDerivedCalendars): LookaheadDerivedFieldsResolver;
|
|
4291
|
-
|
|
4292
4263
|
/** Calendars of the schedule whose working time is read. */
|
|
4293
4264
|
interface CalendarReaderInput {
|
|
4294
4265
|
readonly calendars: readonly BackendCalendarInput[];
|
|
@@ -4345,6 +4316,45 @@ interface StandaloneCalendarReader {
|
|
|
4345
4316
|
*/
|
|
4346
4317
|
declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
|
|
4347
4318
|
|
|
4319
|
+
/** Calendars of the schedule that owns the activities being re-derived. */
|
|
4320
|
+
interface LookaheadDerivedCalendars {
|
|
4321
|
+
readonly calendars: readonly BackendCalendarInput[];
|
|
4322
|
+
readonly baseCalendars?: readonly BackendCalendarInput[];
|
|
4323
|
+
}
|
|
4324
|
+
/**
|
|
4325
|
+
* One actual-date transition confirmed from the Lookahead: the stored P6
|
|
4326
|
+
* state before it, the state after applying the normalized patch, the
|
|
4327
|
+
* activity calendar and the active Data Date.
|
|
4328
|
+
*/
|
|
4329
|
+
interface LookaheadDerivedInput {
|
|
4330
|
+
readonly previous: Readonly<P6ActivityDraftState>;
|
|
4331
|
+
readonly next: Readonly<P6ActivityDraftState>;
|
|
4332
|
+
readonly calendarId: CalendarId | null;
|
|
4333
|
+
readonly dataDate: Date;
|
|
4334
|
+
readonly totalFloatMethod?: P6ScheduleSettings['totalFloatMethod'];
|
|
4335
|
+
}
|
|
4336
|
+
/** Derived fields P6 refreshes as soon as an actual date is written. */
|
|
4337
|
+
type LookaheadDerivedFields = Pick<P6ActivityData, 'actualDurationHours' | 'atCompletionDurationHours' | 'durationPercentComplete' | 'unitsPercentComplete' | 'schedulePercentComplete'>;
|
|
4338
|
+
/**
|
|
4339
|
+
* Backend-side resolver bound to one schedule's calendars; re-derives the
|
|
4340
|
+
* P6 fields for each confirmed Lookahead actual-date transition.
|
|
4341
|
+
*/
|
|
4342
|
+
interface LookaheadDerivedFieldsResolver {
|
|
4343
|
+
/**
|
|
4344
|
+
* Derives the refreshed P6 fields for one transition, or `null` when the
|
|
4345
|
+
* next state is not yet a schedulable P6 activity or its calendar is
|
|
4346
|
+
* unknown.
|
|
4347
|
+
*/
|
|
4348
|
+
derive(input: LookaheadDerivedInput): LookaheadDerivedFields | null;
|
|
4349
|
+
}
|
|
4350
|
+
/**
|
|
4351
|
+
* Re-derives an activity after a Lookahead actual-date transition with the
|
|
4352
|
+
* same live projection the Schedule card uses, so both write paths leave the
|
|
4353
|
+
* stored derived fields identical. Returns `null` while the activity has no
|
|
4354
|
+
* schedulable Remaining Duration yet.
|
|
4355
|
+
*/
|
|
4356
|
+
declare function createLookaheadDerivedFields(input: LookaheadDerivedCalendars): LookaheadDerivedFieldsResolver & Pick<StandaloneCalendarReader, 'getCalendar'>;
|
|
4357
|
+
|
|
4348
4358
|
/** Human-readable behaviour of a Data Date property in each documented edge case. */
|
|
4349
4359
|
interface P6PropertyEdgeCases {
|
|
4350
4360
|
readonly notStarted: string;
|
|
@@ -4538,4 +4548,4 @@ declare const DISPATCH_TRACK_EVENT: {
|
|
|
4538
4548
|
/** Consumer analytics event name emitted by a schedule mutation. */
|
|
4539
4549
|
type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
|
|
4540
4550
|
|
|
4541
|
-
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, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,94 @@ interface CalendarAPI {
|
|
|
76
76
|
readonly getWorkHours: (date: Date) => string[];
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/** Validation failure raised while planning or preparing Lookahead actual dates. */
|
|
80
|
+
type LookaheadActualTransitionErrorCode = 'ACTIVITY_CALENDAR_REQUIRED' | 'ACTUAL_FINISH_BEFORE_START' | 'ACTUAL_FINISH_REMOVAL_NOT_APPLICABLE' | 'ACTUAL_FINISH_REMOVAL_REQUIRED' | 'ACTUAL_FINISH_REQUIRES_100' | 'ACTUAL_START_REQUIRED' | 'DATA_DATE_INACTIVE' | 'INVALID_ACTUAL_DAY' | 'INVALID_ACTUAL_TIME_SOURCE' | 'INVALID_DATA_DATE' | 'INVALID_DISPLAYED_FINISH' | 'INVALID_PROGRESS';
|
|
81
|
+
declare class LookaheadActualTransitionError extends Error {
|
|
82
|
+
readonly code: LookaheadActualTransitionErrorCode;
|
|
83
|
+
constructor(code: LookaheadActualTransitionErrorCode);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Actual dates the user confirmed in the Lookahead progress dialog.
|
|
87
|
+
* `actualFinish: null` is the confirmed removal of the Actual Finish when
|
|
88
|
+
* progress drops below 100 on a completed activity.
|
|
89
|
+
*/
|
|
90
|
+
interface LookaheadActualIntent {
|
|
91
|
+
readonly actualStart?: Date;
|
|
92
|
+
readonly actualFinish?: Date | null;
|
|
93
|
+
}
|
|
94
|
+
/** Slice of the P6 activity state the Lookahead progress transition reads. */
|
|
95
|
+
type LookaheadProgressActualActivityState = Pick<P6ActivityDraftState, 'actualStart' | 'actualFinish' | 'remainingDurationHours' | 'executionStatus' | 'suspendDate' | 'resumeDate' | 'physicalPercentComplete' | 'originalDurationHours' | 'percentCompleteType'>;
|
|
96
|
+
/**
|
|
97
|
+
* Input of a Lookahead progress change under a Data Date: the active
|
|
98
|
+
* `dataDate` (`null` when inactive), the activity's P6 slice, the target
|
|
99
|
+
* progress (0–100) and the finish currently displayed to the user.
|
|
100
|
+
*/
|
|
101
|
+
interface LookaheadProgressActualInput {
|
|
102
|
+
readonly dataDate: Date | null;
|
|
103
|
+
readonly activity: Readonly<LookaheadProgressActualActivityState>;
|
|
104
|
+
readonly nextProgress: number;
|
|
105
|
+
readonly displayedFinish?: Date | null;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Which actual dates the transition needs: `start` is required when a
|
|
109
|
+
* not-started activity gains progress, `finish` is optional when progress
|
|
110
|
+
* reaches 100, `uncomplete` is required when a completed activity drops
|
|
111
|
+
* below 100 (the Actual Finish must be removed; the Actual Start stays).
|
|
112
|
+
* All are `null` when the Data Date is inactive.
|
|
113
|
+
*/
|
|
114
|
+
interface LookaheadProgressActualPlan {
|
|
115
|
+
readonly start: {
|
|
116
|
+
readonly required: true;
|
|
117
|
+
readonly suggestedAt: Date;
|
|
118
|
+
} | null;
|
|
119
|
+
readonly finish: {
|
|
120
|
+
readonly optional: true;
|
|
121
|
+
readonly suggestedAt: Date | null;
|
|
122
|
+
} | null;
|
|
123
|
+
readonly uncomplete: {
|
|
124
|
+
readonly required: true;
|
|
125
|
+
readonly removes: Date;
|
|
126
|
+
} | null;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Combines a `YYYY-MM-DD` day picked by the user with the UTC time of day of
|
|
130
|
+
* `timeSource`. Throws `LookaheadActualTransitionError` on an invalid day or
|
|
131
|
+
* time source.
|
|
132
|
+
*/
|
|
133
|
+
declare function resolveLookaheadActualDateSelection(input: {
|
|
134
|
+
readonly selectedDay: string;
|
|
135
|
+
readonly timeSource: Date;
|
|
136
|
+
}): Date;
|
|
137
|
+
/**
|
|
138
|
+
* Decides which actual dates a progress change requires and suggests default
|
|
139
|
+
* values (the Data Date for the start, the displayed finish for the finish).
|
|
140
|
+
* Throws `LookaheadActualTransitionError` on invalid input.
|
|
141
|
+
*/
|
|
142
|
+
declare function planLookaheadProgressActuals(input: LookaheadProgressActualInput): LookaheadProgressActualPlan;
|
|
143
|
+
/**
|
|
144
|
+
* Validates the confirmed `intent` against the plan and returns the P6
|
|
145
|
+
* activity patch to dispatch: the actual-date transition plus, while the
|
|
146
|
+
* activity is in progress, `nextProgress` mirrored into the percent field
|
|
147
|
+
* selected by `percentCompleteType` (Physical %, or the Remaining Duration
|
|
148
|
+
* for the duration type; the units type is read-only). Throws
|
|
149
|
+
* `LookaheadActualTransitionError` when a required actual start is missing,
|
|
150
|
+
* a finish is given below 100 %, a completed activity drops below 100 %
|
|
151
|
+
* without the confirmed removal of its Actual Finish, or an intent arrives
|
|
152
|
+
* while the Data Date is inactive.
|
|
153
|
+
*/
|
|
154
|
+
declare function prepareLookaheadProgressActuals(input: LookaheadProgressActualInput & {
|
|
155
|
+
readonly intent?: LookaheadActualIntent;
|
|
156
|
+
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
157
|
+
/**
|
|
158
|
+
* Prepares a Lookahead progress patch for persistence, preserving the time of
|
|
159
|
+
* an existing Actual Start or normalizing its first assignment to the activity
|
|
160
|
+
* shift.
|
|
161
|
+
*/
|
|
162
|
+
declare function prepareLookaheadProgressActualsForPersistence(input: LookaheadProgressActualInput & {
|
|
163
|
+
readonly intent?: LookaheadActualIntent;
|
|
164
|
+
readonly resolveCalendar: () => CalendarAPI | null;
|
|
165
|
+
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
166
|
+
|
|
79
167
|
/** Canonical reasons why an activity field edit may be blocked. */
|
|
80
168
|
declare const EDIT_DENIAL_REASON: {
|
|
81
169
|
readonly COMPLETED: "completed";
|
|
@@ -1336,6 +1424,7 @@ type DispatchAction = {
|
|
|
1336
1424
|
isLookahead: boolean;
|
|
1337
1425
|
hasLookaheadTasks: boolean;
|
|
1338
1426
|
persistedProgress?: number;
|
|
1427
|
+
persistedActualTransition?: LookaheadActualIntent;
|
|
1339
1428
|
acknowledgePersistedLookahead?: boolean;
|
|
1340
1429
|
eventSource?: string;
|
|
1341
1430
|
} | ScheduleAutoScheduleAction;
|
|
@@ -4171,124 +4260,6 @@ declare function resolveExpectedFinishDateSelection(input: {
|
|
|
4171
4260
|
readonly displayedFinish: Date;
|
|
4172
4261
|
}): Date;
|
|
4173
4262
|
|
|
4174
|
-
/** Validation failure raised while planning or preparing Lookahead actual dates. */
|
|
4175
|
-
type LookaheadActualTransitionErrorCode = 'ACTUAL_FINISH_BEFORE_START' | 'ACTUAL_FINISH_REMOVAL_NOT_APPLICABLE' | 'ACTUAL_FINISH_REMOVAL_REQUIRED' | 'ACTUAL_FINISH_REQUIRES_100' | 'ACTUAL_START_REQUIRED' | 'DATA_DATE_INACTIVE' | 'INVALID_ACTUAL_DAY' | 'INVALID_ACTUAL_TIME_SOURCE' | 'INVALID_DATA_DATE' | 'INVALID_DISPLAYED_FINISH' | 'INVALID_PROGRESS';
|
|
4176
|
-
declare class LookaheadActualTransitionError extends Error {
|
|
4177
|
-
readonly code: LookaheadActualTransitionErrorCode;
|
|
4178
|
-
constructor(code: LookaheadActualTransitionErrorCode);
|
|
4179
|
-
}
|
|
4180
|
-
/**
|
|
4181
|
-
* Actual dates the user confirmed in the Lookahead progress dialog.
|
|
4182
|
-
* `actualFinish: null` is the confirmed removal of the Actual Finish when
|
|
4183
|
-
* progress drops below 100 on a completed activity.
|
|
4184
|
-
*/
|
|
4185
|
-
interface LookaheadActualIntent {
|
|
4186
|
-
readonly actualStart?: Date;
|
|
4187
|
-
readonly actualFinish?: Date | null;
|
|
4188
|
-
}
|
|
4189
|
-
/** Slice of the P6 activity state the Lookahead progress transition reads. */
|
|
4190
|
-
type LookaheadProgressActualActivityState = Pick<P6ActivityDraftState, 'actualStart' | 'actualFinish' | 'remainingDurationHours' | 'executionStatus' | 'suspendDate' | 'resumeDate' | 'physicalPercentComplete' | 'originalDurationHours' | 'percentCompleteType'>;
|
|
4191
|
-
/**
|
|
4192
|
-
* Input of a Lookahead progress change under a Data Date: the active
|
|
4193
|
-
* `dataDate` (`null` when inactive), the activity's P6 slice, the target
|
|
4194
|
-
* progress (0–100) and the finish currently displayed to the user.
|
|
4195
|
-
*/
|
|
4196
|
-
interface LookaheadProgressActualInput {
|
|
4197
|
-
readonly dataDate: Date | null;
|
|
4198
|
-
readonly activity: Readonly<LookaheadProgressActualActivityState>;
|
|
4199
|
-
readonly nextProgress: number;
|
|
4200
|
-
readonly displayedFinish?: Date | null;
|
|
4201
|
-
}
|
|
4202
|
-
/**
|
|
4203
|
-
* Which actual dates the transition needs: `start` is required when a
|
|
4204
|
-
* not-started activity gains progress, `finish` is optional when progress
|
|
4205
|
-
* reaches 100, `uncomplete` is required when a completed activity drops
|
|
4206
|
-
* below 100 (the Actual Finish must be removed; the Actual Start stays).
|
|
4207
|
-
* All are `null` when the Data Date is inactive.
|
|
4208
|
-
*/
|
|
4209
|
-
interface LookaheadProgressActualPlan {
|
|
4210
|
-
readonly start: {
|
|
4211
|
-
readonly required: true;
|
|
4212
|
-
readonly suggestedAt: Date;
|
|
4213
|
-
} | null;
|
|
4214
|
-
readonly finish: {
|
|
4215
|
-
readonly optional: true;
|
|
4216
|
-
readonly suggestedAt: Date | null;
|
|
4217
|
-
} | null;
|
|
4218
|
-
readonly uncomplete: {
|
|
4219
|
-
readonly required: true;
|
|
4220
|
-
readonly removes: Date;
|
|
4221
|
-
} | null;
|
|
4222
|
-
}
|
|
4223
|
-
/**
|
|
4224
|
-
* Combines a `YYYY-MM-DD` day picked by the user with the UTC time of day of
|
|
4225
|
-
* `timeSource`. Throws `LookaheadActualTransitionError` on an invalid day or
|
|
4226
|
-
* time source.
|
|
4227
|
-
*/
|
|
4228
|
-
declare function resolveLookaheadActualDateSelection(input: {
|
|
4229
|
-
readonly selectedDay: string;
|
|
4230
|
-
readonly timeSource: Date;
|
|
4231
|
-
}): Date;
|
|
4232
|
-
/**
|
|
4233
|
-
* Decides which actual dates a progress change requires and suggests default
|
|
4234
|
-
* values (the Data Date for the start, the displayed finish for the finish).
|
|
4235
|
-
* Throws `LookaheadActualTransitionError` on invalid input.
|
|
4236
|
-
*/
|
|
4237
|
-
declare function planLookaheadProgressActuals(input: LookaheadProgressActualInput): LookaheadProgressActualPlan;
|
|
4238
|
-
/**
|
|
4239
|
-
* Validates the confirmed `intent` against the plan and returns the P6
|
|
4240
|
-
* activity patch to dispatch: the actual-date transition plus, while the
|
|
4241
|
-
* activity is in progress, `nextProgress` mirrored into the percent field
|
|
4242
|
-
* selected by `percentCompleteType` (Physical %, or the Remaining Duration
|
|
4243
|
-
* for the duration type; the units type is read-only). Throws
|
|
4244
|
-
* `LookaheadActualTransitionError` when a required actual start is missing,
|
|
4245
|
-
* a finish is given below 100 %, a completed activity drops below 100 %
|
|
4246
|
-
* without the confirmed removal of its Actual Finish, or an intent arrives
|
|
4247
|
-
* while the Data Date is inactive.
|
|
4248
|
-
*/
|
|
4249
|
-
declare function prepareLookaheadProgressActuals(input: LookaheadProgressActualInput & {
|
|
4250
|
-
readonly intent?: LookaheadActualIntent;
|
|
4251
|
-
}): Readonly<Partial<P6ActivityDraftState>>;
|
|
4252
|
-
|
|
4253
|
-
/** Calendars of the schedule that owns the activities being re-derived. */
|
|
4254
|
-
interface LookaheadDerivedCalendars {
|
|
4255
|
-
readonly calendars: readonly BackendCalendarInput[];
|
|
4256
|
-
readonly baseCalendars?: readonly BackendCalendarInput[];
|
|
4257
|
-
}
|
|
4258
|
-
/**
|
|
4259
|
-
* One actual-date transition confirmed from the Lookahead: the stored P6
|
|
4260
|
-
* state before it, the state after applying the normalized patch, the
|
|
4261
|
-
* activity calendar and the active Data Date.
|
|
4262
|
-
*/
|
|
4263
|
-
interface LookaheadDerivedInput {
|
|
4264
|
-
readonly previous: Readonly<P6ActivityDraftState>;
|
|
4265
|
-
readonly next: Readonly<P6ActivityDraftState>;
|
|
4266
|
-
readonly calendarId: CalendarId | null;
|
|
4267
|
-
readonly dataDate: Date;
|
|
4268
|
-
readonly totalFloatMethod?: P6ScheduleSettings['totalFloatMethod'];
|
|
4269
|
-
}
|
|
4270
|
-
/** Derived fields P6 refreshes as soon as an actual date is written. */
|
|
4271
|
-
type LookaheadDerivedFields = Pick<P6ActivityData, 'actualDurationHours' | 'atCompletionDurationHours' | 'durationPercentComplete' | 'unitsPercentComplete' | 'schedulePercentComplete'>;
|
|
4272
|
-
/**
|
|
4273
|
-
* Backend-side resolver bound to one schedule's calendars; re-derives the
|
|
4274
|
-
* P6 fields for each confirmed Lookahead actual-date transition.
|
|
4275
|
-
*/
|
|
4276
|
-
interface LookaheadDerivedFieldsResolver {
|
|
4277
|
-
/**
|
|
4278
|
-
* Derives the refreshed P6 fields for one transition, or `null` when the
|
|
4279
|
-
* next state is not yet a schedulable P6 activity or its calendar is
|
|
4280
|
-
* unknown.
|
|
4281
|
-
*/
|
|
4282
|
-
derive(input: LookaheadDerivedInput): LookaheadDerivedFields | null;
|
|
4283
|
-
}
|
|
4284
|
-
/**
|
|
4285
|
-
* Re-derives an activity after a Lookahead actual-date transition with the
|
|
4286
|
-
* same live projection the Schedule card uses, so both write paths leave the
|
|
4287
|
-
* stored derived fields identical. Returns `null` while the activity has no
|
|
4288
|
-
* schedulable Remaining Duration yet.
|
|
4289
|
-
*/
|
|
4290
|
-
declare function createLookaheadDerivedFields(input: LookaheadDerivedCalendars): LookaheadDerivedFieldsResolver;
|
|
4291
|
-
|
|
4292
4263
|
/** Calendars of the schedule whose working time is read. */
|
|
4293
4264
|
interface CalendarReaderInput {
|
|
4294
4265
|
readonly calendars: readonly BackendCalendarInput[];
|
|
@@ -4345,6 +4316,45 @@ interface StandaloneCalendarReader {
|
|
|
4345
4316
|
*/
|
|
4346
4317
|
declare function createCalendarReader(input: CalendarReaderInput): StandaloneCalendarReader;
|
|
4347
4318
|
|
|
4319
|
+
/** Calendars of the schedule that owns the activities being re-derived. */
|
|
4320
|
+
interface LookaheadDerivedCalendars {
|
|
4321
|
+
readonly calendars: readonly BackendCalendarInput[];
|
|
4322
|
+
readonly baseCalendars?: readonly BackendCalendarInput[];
|
|
4323
|
+
}
|
|
4324
|
+
/**
|
|
4325
|
+
* One actual-date transition confirmed from the Lookahead: the stored P6
|
|
4326
|
+
* state before it, the state after applying the normalized patch, the
|
|
4327
|
+
* activity calendar and the active Data Date.
|
|
4328
|
+
*/
|
|
4329
|
+
interface LookaheadDerivedInput {
|
|
4330
|
+
readonly previous: Readonly<P6ActivityDraftState>;
|
|
4331
|
+
readonly next: Readonly<P6ActivityDraftState>;
|
|
4332
|
+
readonly calendarId: CalendarId | null;
|
|
4333
|
+
readonly dataDate: Date;
|
|
4334
|
+
readonly totalFloatMethod?: P6ScheduleSettings['totalFloatMethod'];
|
|
4335
|
+
}
|
|
4336
|
+
/** Derived fields P6 refreshes as soon as an actual date is written. */
|
|
4337
|
+
type LookaheadDerivedFields = Pick<P6ActivityData, 'actualDurationHours' | 'atCompletionDurationHours' | 'durationPercentComplete' | 'unitsPercentComplete' | 'schedulePercentComplete'>;
|
|
4338
|
+
/**
|
|
4339
|
+
* Backend-side resolver bound to one schedule's calendars; re-derives the
|
|
4340
|
+
* P6 fields for each confirmed Lookahead actual-date transition.
|
|
4341
|
+
*/
|
|
4342
|
+
interface LookaheadDerivedFieldsResolver {
|
|
4343
|
+
/**
|
|
4344
|
+
* Derives the refreshed P6 fields for one transition, or `null` when the
|
|
4345
|
+
* next state is not yet a schedulable P6 activity or its calendar is
|
|
4346
|
+
* unknown.
|
|
4347
|
+
*/
|
|
4348
|
+
derive(input: LookaheadDerivedInput): LookaheadDerivedFields | null;
|
|
4349
|
+
}
|
|
4350
|
+
/**
|
|
4351
|
+
* Re-derives an activity after a Lookahead actual-date transition with the
|
|
4352
|
+
* same live projection the Schedule card uses, so both write paths leave the
|
|
4353
|
+
* stored derived fields identical. Returns `null` while the activity has no
|
|
4354
|
+
* schedulable Remaining Duration yet.
|
|
4355
|
+
*/
|
|
4356
|
+
declare function createLookaheadDerivedFields(input: LookaheadDerivedCalendars): LookaheadDerivedFieldsResolver & Pick<StandaloneCalendarReader, 'getCalendar'>;
|
|
4357
|
+
|
|
4348
4358
|
/** Human-readable behaviour of a Data Date property in each documented edge case. */
|
|
4349
4359
|
interface P6PropertyEdgeCases {
|
|
4350
4360
|
readonly notStarted: string;
|
|
@@ -4538,4 +4548,4 @@ declare const DISPATCH_TRACK_EVENT: {
|
|
|
4538
4548
|
/** Consumer analytics event name emitted by a schedule mutation. */
|
|
4539
4549
|
type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
|
|
4540
4550
|
|
|
4541
|
-
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, rescheduledOnLoad, resolveExpectedFinishDateSelection, resolveLookaheadActualDateSelection, serializeP6Activity as serializeDataDateActivity, serializeP6Settings as serializeDataDateSettings, serializeP6State as serializeDataDateState, willRunCriticalPath, yieldToBrowser };
|
|
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 };
|