@outbuild-company/schedule-core 1.9.2 → 1.9.4
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/cdn/schedule-core.global.js +1 -1
- package/dist/cdn/schedule-core.global.js.map +1 -1
- package/dist/index.cjs +256 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +69 -9
- package/dist/index.d.ts +69 -9
- package/dist/index.js +256 -57
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -282,9 +282,9 @@ type StringOperator = 'includes' | 'notIncludes' | 'is' | 'isNot';
|
|
|
282
282
|
type NumberOperator = 'equals' | 'notEquals' | 'greaterThan' | 'lessThan' | 'greaterOrEqual' | 'lessOrEqual';
|
|
283
283
|
type DateOperator = 'after' | 'before';
|
|
284
284
|
type MembershipOperator = 'someOf' | 'notSomeOf';
|
|
285
|
-
type FilterOperator = StringOperator | NumberOperator | DateOperator | MembershipOperator;
|
|
285
|
+
type FilterOperator = StringOperator | NumberOperator | DateOperator | 'between' | MembershipOperator;
|
|
286
286
|
type StringFilterField = 'name' | 'description' | 'customId';
|
|
287
|
-
type NumberFilterField = 'correlativeId' | 'uniqueCorrelativeId' | 'progress' | 'durationDays' | 'calendarDuration' | 'cost' | 'usedCost' | 'realCost' | 'workHours' | 'realWorkHours' | 'ponderator' | 'freeSlackDays' | 'totalSlackDays' | 'expectedProgressBaseline' | 'baselineDurationDays' | 'baselineCost' | 'baselineWorkHours';
|
|
287
|
+
type NumberFilterField = 'correlativeId' | 'uniqueCorrelativeId' | 'progress' | 'durationDays' | 'calendarDuration' | 'cost' | 'usedCost' | 'realCost' | 'workHours' | 'realWorkHours' | 'ponderator' | 'freeSlackDays' | 'totalSlackDays' | 'expectedProgressBaseline' | 'baselineDurationDays' | 'baselineCost' | 'baselineWorkHours' | 'expectedProgress';
|
|
288
288
|
type DateFilterField = 'startDate' | 'endDate' | 'constraintDate' | 'baselineStartDate' | 'baselineEndDate' | 'earlyStart' | 'earlyFinish' | 'lateStart' | 'lateFinish';
|
|
289
289
|
type IdArrayFilterField = 'responsableIds' | 'tagIds';
|
|
290
290
|
type EnumFilterField = 'status' | 'constraintType';
|
|
@@ -298,7 +298,13 @@ interface Criterion<Field extends FilterField, Operator, Value> {
|
|
|
298
298
|
readonly operator: Operator;
|
|
299
299
|
readonly value: Value;
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
interface BetweenCriterion<Field extends FilterField, Value> {
|
|
302
|
+
readonly field: Field;
|
|
303
|
+
readonly operator: 'between';
|
|
304
|
+
readonly value: Value;
|
|
305
|
+
readonly valueTo: Value;
|
|
306
|
+
}
|
|
307
|
+
type FilterCriterion = Criterion<StringFilterField, StringOperator, string> | Criterion<NumberFilterField, NumberOperator, string | number> | BetweenCriterion<NumberFilterField, string | number> | Criterion<DateFilterField, DateOperator, string | number | Date> | BetweenCriterion<DateFilterField, string | number | Date> | Criterion<IdArrayFilterField, MembershipOperator, ReadonlyArray<string | number>> | Criterion<EnumFilterField, MembershipOperator, ReadonlyArray<string>> | Criterion<ReferenceFilterField, MembershipOperator, ReadonlyArray<string | number>> | Criterion<BooleanFilterField, MembershipOperator, ReadonlyArray<boolean>>;
|
|
302
308
|
interface FilterDateRange {
|
|
303
309
|
readonly start: Date;
|
|
304
310
|
readonly end: Date;
|
|
@@ -337,14 +343,15 @@ type LinksBatchOperation = {
|
|
|
337
343
|
kind: 'delete';
|
|
338
344
|
linkId: LinkId;
|
|
339
345
|
};
|
|
340
|
-
interface ReconciledActivityProgress {
|
|
341
|
-
readonly activityId: string;
|
|
342
|
-
readonly progress: number;
|
|
343
|
-
}
|
|
344
346
|
interface PersistedEntityIdentity {
|
|
345
347
|
readonly id: string;
|
|
346
348
|
readonly proplannerId: number;
|
|
347
349
|
}
|
|
350
|
+
interface PersistenceCheckpoint {
|
|
351
|
+
readonly activities: ReadonlyArray<Readonly<CoreActivity>>;
|
|
352
|
+
readonly links: ReadonlyArray<Readonly<Link>>;
|
|
353
|
+
readonly historyBoundary: number;
|
|
354
|
+
}
|
|
348
355
|
type ActivityBatchMode = 'append' | 'replace';
|
|
349
356
|
type ActivityBatchReference = ActivityId | {
|
|
350
357
|
readonly batchId: string;
|
|
@@ -388,7 +395,7 @@ type DispatchAction = {
|
|
|
388
395
|
kind: 'persistence-acknowledge';
|
|
389
396
|
activities?: ReadonlyArray<PersistedEntityIdentity>;
|
|
390
397
|
links?: ReadonlyArray<PersistedEntityIdentity>;
|
|
391
|
-
|
|
398
|
+
checkpoint?: PersistenceCheckpoint;
|
|
392
399
|
} | {
|
|
393
400
|
kind: 'baseline-apply';
|
|
394
401
|
points: ReadonlyArray<BaselinePoint>;
|
|
@@ -599,6 +606,57 @@ interface ProjectWorkHours {
|
|
|
599
606
|
endHour: string;
|
|
600
607
|
}
|
|
601
608
|
|
|
609
|
+
declare const ACTIVITY_SAVE_FIELD_POLICY: {
|
|
610
|
+
readonly id: "ignored";
|
|
611
|
+
readonly proplannerId: "ignored";
|
|
612
|
+
readonly parentId: "tracked";
|
|
613
|
+
readonly name: "tracked";
|
|
614
|
+
readonly description: "tracked";
|
|
615
|
+
readonly type: "tracked";
|
|
616
|
+
readonly startDate: "tracked";
|
|
617
|
+
readonly endDate: "tracked";
|
|
618
|
+
readonly durationHours: "tracked";
|
|
619
|
+
readonly constraintType: "tracked";
|
|
620
|
+
readonly constraintDate: "tracked";
|
|
621
|
+
readonly autoScheduling: "tracked";
|
|
622
|
+
readonly calendarId: "tracked";
|
|
623
|
+
readonly assignedDefaultCalendar: "ignored";
|
|
624
|
+
readonly dateOrigin: "tracked";
|
|
625
|
+
readonly progress: "tracked";
|
|
626
|
+
readonly cost: "tracked";
|
|
627
|
+
readonly usedCost: "tracked";
|
|
628
|
+
readonly realCost: "tracked";
|
|
629
|
+
readonly workHours: "tracked";
|
|
630
|
+
readonly realWorkHours: "tracked";
|
|
631
|
+
readonly ponderator: "tracked";
|
|
632
|
+
readonly hasCustomPonderator: "tracked";
|
|
633
|
+
readonly correlativeId: "tracked";
|
|
634
|
+
readonly uniqueCorrelativeId: "tracked";
|
|
635
|
+
readonly customId: "tracked";
|
|
636
|
+
readonly subcontractId: "tracked";
|
|
637
|
+
readonly isLookahead: "tracked";
|
|
638
|
+
readonly hasLookaheadTasks: "ignored";
|
|
639
|
+
readonly newActivityIds: "tracked";
|
|
640
|
+
readonly hasNewActivities: "tracked";
|
|
641
|
+
readonly isNewActivity: "ignored";
|
|
642
|
+
readonly pendingRequestIds: "ignored";
|
|
643
|
+
readonly responsableIds: "tracked";
|
|
644
|
+
readonly tagIds: "tracked";
|
|
645
|
+
readonly baselinePoints: "ignored";
|
|
646
|
+
readonly baselineSnapshot: "ignored";
|
|
647
|
+
readonly recursiveDurationHours: "ignored";
|
|
648
|
+
readonly isCritical: "ignored";
|
|
649
|
+
readonly freeSlackHours: "ignored";
|
|
650
|
+
readonly calendarDuration: "ignored";
|
|
651
|
+
readonly expectedProgress: "ignored";
|
|
652
|
+
readonly expectedProgressBaseline: "ignored";
|
|
653
|
+
readonly status: "ignored";
|
|
654
|
+
readonly criticalPath: "ignored";
|
|
655
|
+
};
|
|
656
|
+
type PersistableActivityField = {
|
|
657
|
+
[Field in keyof typeof ACTIVITY_SAVE_FIELD_POLICY]: (typeof ACTIVITY_SAVE_FIELD_POLICY)[Field] extends 'tracked' ? Field : never;
|
|
658
|
+
}[keyof typeof ACTIVITY_SAVE_FIELD_POLICY];
|
|
659
|
+
|
|
602
660
|
interface BackendShiftInput {
|
|
603
661
|
shift_string: string;
|
|
604
662
|
}
|
|
@@ -797,9 +855,11 @@ declare class ScheduleCore {
|
|
|
797
855
|
getModifiedLinks(): ReadonlyArray<Readonly<Link>>;
|
|
798
856
|
getNewLinks(): ReadonlyArray<Readonly<Link>>;
|
|
799
857
|
getModifiedActivities(): ReadonlyArray<Readonly<CoreActivity>>;
|
|
858
|
+
getModifiedActivityFields(): ReadonlyMap<string, ReadonlyArray<PersistableActivityField>>;
|
|
800
859
|
getNewActivities(): ReadonlyArray<Readonly<CoreActivity>>;
|
|
801
860
|
hasUnsavedChanges(): boolean;
|
|
802
861
|
getScheduleRevision(): number;
|
|
862
|
+
capturePersistenceHistoryBoundary(): number;
|
|
803
863
|
getCanonicalDigest(): string;
|
|
804
864
|
createProjectionChangeSetFrom(source: ScheduleCore): ChangeSet;
|
|
805
865
|
getDeletedActivitiesSinceLastSave(): ReadonlyArray<Readonly<DeletedActivitySnapshot>>;
|
|
@@ -994,4 +1054,4 @@ declare const DISPATCH_TRACK_EVENT: {
|
|
|
994
1054
|
};
|
|
995
1055
|
type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
|
|
996
1056
|
|
|
997
|
-
export { ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchItem, type ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityCreationOverrides, type ActivityCreter, type ActivityId, type ActivityStatus, type ActivityType, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, COLUMN, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_TRACK_EVENT, type DateGesture, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ExpectedProgressAdapter, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterOperator, type FilterState, LINK_CODE_TO_TYPE, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchVerdict, type LinkId, type LinkType, type LinkTypeCode, type LinksBatchOperation, NEW_ACTIVITY_DEFAULTS, type OrderRule, type OrderState, type ParsedInput, type PendingRequest, type PersistedEntityIdentity, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, ROOT_PARENT_ID, SCHEDULE_CORE_STATUS, STATUS, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleEffect, type SectorMetadata, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|
|
1057
|
+
export { ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchItem, type ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityCreationOverrides, type ActivityCreter, type ActivityId, type ActivityStatus, type ActivityType, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, COLUMN, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_TRACK_EVENT, type DateGesture, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ExpectedProgressAdapter, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterOperator, type FilterState, LINK_CODE_TO_TYPE, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchVerdict, type LinkId, type LinkType, type LinkTypeCode, type LinksBatchOperation, NEW_ACTIVITY_DEFAULTS, type OrderRule, type OrderState, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, ROOT_PARENT_ID, SCHEDULE_CORE_STATUS, STATUS, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleEffect, type SectorMetadata, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|
package/dist/index.d.ts
CHANGED
|
@@ -282,9 +282,9 @@ type StringOperator = 'includes' | 'notIncludes' | 'is' | 'isNot';
|
|
|
282
282
|
type NumberOperator = 'equals' | 'notEquals' | 'greaterThan' | 'lessThan' | 'greaterOrEqual' | 'lessOrEqual';
|
|
283
283
|
type DateOperator = 'after' | 'before';
|
|
284
284
|
type MembershipOperator = 'someOf' | 'notSomeOf';
|
|
285
|
-
type FilterOperator = StringOperator | NumberOperator | DateOperator | MembershipOperator;
|
|
285
|
+
type FilterOperator = StringOperator | NumberOperator | DateOperator | 'between' | MembershipOperator;
|
|
286
286
|
type StringFilterField = 'name' | 'description' | 'customId';
|
|
287
|
-
type NumberFilterField = 'correlativeId' | 'uniqueCorrelativeId' | 'progress' | 'durationDays' | 'calendarDuration' | 'cost' | 'usedCost' | 'realCost' | 'workHours' | 'realWorkHours' | 'ponderator' | 'freeSlackDays' | 'totalSlackDays' | 'expectedProgressBaseline' | 'baselineDurationDays' | 'baselineCost' | 'baselineWorkHours';
|
|
287
|
+
type NumberFilterField = 'correlativeId' | 'uniqueCorrelativeId' | 'progress' | 'durationDays' | 'calendarDuration' | 'cost' | 'usedCost' | 'realCost' | 'workHours' | 'realWorkHours' | 'ponderator' | 'freeSlackDays' | 'totalSlackDays' | 'expectedProgressBaseline' | 'baselineDurationDays' | 'baselineCost' | 'baselineWorkHours' | 'expectedProgress';
|
|
288
288
|
type DateFilterField = 'startDate' | 'endDate' | 'constraintDate' | 'baselineStartDate' | 'baselineEndDate' | 'earlyStart' | 'earlyFinish' | 'lateStart' | 'lateFinish';
|
|
289
289
|
type IdArrayFilterField = 'responsableIds' | 'tagIds';
|
|
290
290
|
type EnumFilterField = 'status' | 'constraintType';
|
|
@@ -298,7 +298,13 @@ interface Criterion<Field extends FilterField, Operator, Value> {
|
|
|
298
298
|
readonly operator: Operator;
|
|
299
299
|
readonly value: Value;
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
interface BetweenCriterion<Field extends FilterField, Value> {
|
|
302
|
+
readonly field: Field;
|
|
303
|
+
readonly operator: 'between';
|
|
304
|
+
readonly value: Value;
|
|
305
|
+
readonly valueTo: Value;
|
|
306
|
+
}
|
|
307
|
+
type FilterCriterion = Criterion<StringFilterField, StringOperator, string> | Criterion<NumberFilterField, NumberOperator, string | number> | BetweenCriterion<NumberFilterField, string | number> | Criterion<DateFilterField, DateOperator, string | number | Date> | BetweenCriterion<DateFilterField, string | number | Date> | Criterion<IdArrayFilterField, MembershipOperator, ReadonlyArray<string | number>> | Criterion<EnumFilterField, MembershipOperator, ReadonlyArray<string>> | Criterion<ReferenceFilterField, MembershipOperator, ReadonlyArray<string | number>> | Criterion<BooleanFilterField, MembershipOperator, ReadonlyArray<boolean>>;
|
|
302
308
|
interface FilterDateRange {
|
|
303
309
|
readonly start: Date;
|
|
304
310
|
readonly end: Date;
|
|
@@ -337,14 +343,15 @@ type LinksBatchOperation = {
|
|
|
337
343
|
kind: 'delete';
|
|
338
344
|
linkId: LinkId;
|
|
339
345
|
};
|
|
340
|
-
interface ReconciledActivityProgress {
|
|
341
|
-
readonly activityId: string;
|
|
342
|
-
readonly progress: number;
|
|
343
|
-
}
|
|
344
346
|
interface PersistedEntityIdentity {
|
|
345
347
|
readonly id: string;
|
|
346
348
|
readonly proplannerId: number;
|
|
347
349
|
}
|
|
350
|
+
interface PersistenceCheckpoint {
|
|
351
|
+
readonly activities: ReadonlyArray<Readonly<CoreActivity>>;
|
|
352
|
+
readonly links: ReadonlyArray<Readonly<Link>>;
|
|
353
|
+
readonly historyBoundary: number;
|
|
354
|
+
}
|
|
348
355
|
type ActivityBatchMode = 'append' | 'replace';
|
|
349
356
|
type ActivityBatchReference = ActivityId | {
|
|
350
357
|
readonly batchId: string;
|
|
@@ -388,7 +395,7 @@ type DispatchAction = {
|
|
|
388
395
|
kind: 'persistence-acknowledge';
|
|
389
396
|
activities?: ReadonlyArray<PersistedEntityIdentity>;
|
|
390
397
|
links?: ReadonlyArray<PersistedEntityIdentity>;
|
|
391
|
-
|
|
398
|
+
checkpoint?: PersistenceCheckpoint;
|
|
392
399
|
} | {
|
|
393
400
|
kind: 'baseline-apply';
|
|
394
401
|
points: ReadonlyArray<BaselinePoint>;
|
|
@@ -599,6 +606,57 @@ interface ProjectWorkHours {
|
|
|
599
606
|
endHour: string;
|
|
600
607
|
}
|
|
601
608
|
|
|
609
|
+
declare const ACTIVITY_SAVE_FIELD_POLICY: {
|
|
610
|
+
readonly id: "ignored";
|
|
611
|
+
readonly proplannerId: "ignored";
|
|
612
|
+
readonly parentId: "tracked";
|
|
613
|
+
readonly name: "tracked";
|
|
614
|
+
readonly description: "tracked";
|
|
615
|
+
readonly type: "tracked";
|
|
616
|
+
readonly startDate: "tracked";
|
|
617
|
+
readonly endDate: "tracked";
|
|
618
|
+
readonly durationHours: "tracked";
|
|
619
|
+
readonly constraintType: "tracked";
|
|
620
|
+
readonly constraintDate: "tracked";
|
|
621
|
+
readonly autoScheduling: "tracked";
|
|
622
|
+
readonly calendarId: "tracked";
|
|
623
|
+
readonly assignedDefaultCalendar: "ignored";
|
|
624
|
+
readonly dateOrigin: "tracked";
|
|
625
|
+
readonly progress: "tracked";
|
|
626
|
+
readonly cost: "tracked";
|
|
627
|
+
readonly usedCost: "tracked";
|
|
628
|
+
readonly realCost: "tracked";
|
|
629
|
+
readonly workHours: "tracked";
|
|
630
|
+
readonly realWorkHours: "tracked";
|
|
631
|
+
readonly ponderator: "tracked";
|
|
632
|
+
readonly hasCustomPonderator: "tracked";
|
|
633
|
+
readonly correlativeId: "tracked";
|
|
634
|
+
readonly uniqueCorrelativeId: "tracked";
|
|
635
|
+
readonly customId: "tracked";
|
|
636
|
+
readonly subcontractId: "tracked";
|
|
637
|
+
readonly isLookahead: "tracked";
|
|
638
|
+
readonly hasLookaheadTasks: "ignored";
|
|
639
|
+
readonly newActivityIds: "tracked";
|
|
640
|
+
readonly hasNewActivities: "tracked";
|
|
641
|
+
readonly isNewActivity: "ignored";
|
|
642
|
+
readonly pendingRequestIds: "ignored";
|
|
643
|
+
readonly responsableIds: "tracked";
|
|
644
|
+
readonly tagIds: "tracked";
|
|
645
|
+
readonly baselinePoints: "ignored";
|
|
646
|
+
readonly baselineSnapshot: "ignored";
|
|
647
|
+
readonly recursiveDurationHours: "ignored";
|
|
648
|
+
readonly isCritical: "ignored";
|
|
649
|
+
readonly freeSlackHours: "ignored";
|
|
650
|
+
readonly calendarDuration: "ignored";
|
|
651
|
+
readonly expectedProgress: "ignored";
|
|
652
|
+
readonly expectedProgressBaseline: "ignored";
|
|
653
|
+
readonly status: "ignored";
|
|
654
|
+
readonly criticalPath: "ignored";
|
|
655
|
+
};
|
|
656
|
+
type PersistableActivityField = {
|
|
657
|
+
[Field in keyof typeof ACTIVITY_SAVE_FIELD_POLICY]: (typeof ACTIVITY_SAVE_FIELD_POLICY)[Field] extends 'tracked' ? Field : never;
|
|
658
|
+
}[keyof typeof ACTIVITY_SAVE_FIELD_POLICY];
|
|
659
|
+
|
|
602
660
|
interface BackendShiftInput {
|
|
603
661
|
shift_string: string;
|
|
604
662
|
}
|
|
@@ -797,9 +855,11 @@ declare class ScheduleCore {
|
|
|
797
855
|
getModifiedLinks(): ReadonlyArray<Readonly<Link>>;
|
|
798
856
|
getNewLinks(): ReadonlyArray<Readonly<Link>>;
|
|
799
857
|
getModifiedActivities(): ReadonlyArray<Readonly<CoreActivity>>;
|
|
858
|
+
getModifiedActivityFields(): ReadonlyMap<string, ReadonlyArray<PersistableActivityField>>;
|
|
800
859
|
getNewActivities(): ReadonlyArray<Readonly<CoreActivity>>;
|
|
801
860
|
hasUnsavedChanges(): boolean;
|
|
802
861
|
getScheduleRevision(): number;
|
|
862
|
+
capturePersistenceHistoryBoundary(): number;
|
|
803
863
|
getCanonicalDigest(): string;
|
|
804
864
|
createProjectionChangeSetFrom(source: ScheduleCore): ChangeSet;
|
|
805
865
|
getDeletedActivitiesSinceLastSave(): ReadonlyArray<Readonly<DeletedActivitySnapshot>>;
|
|
@@ -994,4 +1054,4 @@ declare const DISPATCH_TRACK_EVENT: {
|
|
|
994
1054
|
};
|
|
995
1055
|
type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
|
|
996
1056
|
|
|
997
|
-
export { ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchItem, type ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityCreationOverrides, type ActivityCreter, type ActivityId, type ActivityStatus, type ActivityType, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, COLUMN, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_TRACK_EVENT, type DateGesture, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ExpectedProgressAdapter, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterOperator, type FilterState, LINK_CODE_TO_TYPE, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchVerdict, type LinkId, type LinkType, type LinkTypeCode, type LinksBatchOperation, NEW_ACTIVITY_DEFAULTS, type OrderRule, type OrderState, type ParsedInput, type PendingRequest, type PersistedEntityIdentity, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, ROOT_PARENT_ID, SCHEDULE_CORE_STATUS, STATUS, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleEffect, type SectorMetadata, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|
|
1057
|
+
export { ACTIVITY_TYPE, type ActivityBaselineSnapshot, type ActivityBatchAction, type ActivityBatchItem, type ActivityBatchLinkInput, type ActivityBatchMode, type ActivityBatchParentReference, type ActivityBatchReference, type ActivityCreationOverrides, type ActivityCreter, type ActivityId, type ActivityStatus, type ActivityType, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, COLUMN, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CREATION_KIND, type Calendar, type CalendarId, type CalendarLike, type CalendarUnit, type CalendarWorktime, type ChangeSet, type ChangeSetSource, type ColumnName, type ConstraintType, type ConstraintWarning, type CoreActivity, type CoreBaselinePoint, type CreationKind, type CriticalPathResult, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_TRACK_EVENT, type DateGesture, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ExpectedProgressAdapter, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterOperator, type FilterState, LINK_CODE_TO_TYPE, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchVerdict, type LinkId, type LinkType, type LinkTypeCode, type LinksBatchOperation, NEW_ACTIVITY_DEFAULTS, type OrderRule, type OrderState, type ParsedInput, type PendingRequest, type PersistableActivityField, type PersistedEntityIdentity, type PersistenceCheckpoint, type PipelineColumnName, type ProjectWorkHours, REJECTION_REASON, ROOT_PARENT_ID, SCHEDULE_CORE_STATUS, STATUS, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleEffect, type SectorMetadata, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|