@outbuild-company/schedule-core 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/schedule-core.global.js +1 -1
- package/dist/cdn/schedule-core.global.js.map +1 -1
- package/dist/index.cjs +1239 -633
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +136 -32
- package/dist/index.d.ts +136 -32
- package/dist/index.js +1237 -634
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,28 +1,43 @@
|
|
|
1
|
+
/** Canonical normalized activity shape categories. */
|
|
2
|
+
declare const ACTIVITY_TYPE: {
|
|
3
|
+
readonly TASK: "task";
|
|
4
|
+
readonly PROJECT: "project";
|
|
5
|
+
readonly MILESTONE: "milestone";
|
|
6
|
+
};
|
|
7
|
+
/** Canonical normalized activity shape. */
|
|
8
|
+
type ActivityType = (typeof ACTIVITY_TYPE)[keyof typeof ACTIVITY_TYPE];
|
|
9
|
+
|
|
10
|
+
/** Canonical stored dependency relationship codes. */
|
|
11
|
+
declare const LINK_TYPE: {
|
|
12
|
+
readonly FINISH_TO_START: "0";
|
|
13
|
+
readonly START_TO_START: "1";
|
|
14
|
+
readonly FINISH_TO_FINISH: "2";
|
|
15
|
+
readonly START_TO_FINISH: "3";
|
|
16
|
+
};
|
|
17
|
+
/** Canonical stored dependency relationship. */
|
|
18
|
+
type LinkType = (typeof LINK_TYPE)[keyof typeof LINK_TYPE];
|
|
19
|
+
|
|
1
20
|
/** Canonical activity identifier inside a schedule. */
|
|
2
21
|
type ActivityId = string;
|
|
3
22
|
/** Canonical dependency-link identifier inside a schedule. */
|
|
4
23
|
type LinkId = string;
|
|
5
24
|
/** Canonical calendar identifier inside a schedule. */
|
|
6
25
|
type CalendarId = string;
|
|
7
|
-
/** Normalized activity shape category. */
|
|
8
|
-
type ActivityType = 'project' | 'task' | 'milestone';
|
|
9
26
|
|
|
10
|
-
/** Stored dependency relationship code. */
|
|
11
|
-
type LinkType = '0' | '1' | '2' | '3';
|
|
12
|
-
/** Direction used for calendar-aware work-time traversal. */
|
|
13
|
-
type WorkTimeDirection = 'future' | 'past';
|
|
14
27
|
/** Named work-time traversal directions. */
|
|
15
28
|
declare const WORK_TIME_DIRECTION: {
|
|
16
29
|
readonly FUTURE: "future";
|
|
17
30
|
readonly PAST: "past";
|
|
18
31
|
};
|
|
19
|
-
/**
|
|
20
|
-
type
|
|
32
|
+
/** Direction used for calendar-aware work-time traversal. */
|
|
33
|
+
type WorkTimeDirection = (typeof WORK_TIME_DIRECTION)[keyof typeof WORK_TIME_DIRECTION];
|
|
21
34
|
/** Named units accepted by calendar duration operations. */
|
|
22
35
|
declare const CALENDAR_UNIT: {
|
|
23
36
|
readonly HOUR: "hour";
|
|
24
37
|
readonly DAY: "day";
|
|
25
38
|
};
|
|
39
|
+
/** Unit accepted by calendar duration operations. */
|
|
40
|
+
type CalendarUnit = (typeof CALENDAR_UNIT)[keyof typeof CALENDAR_UNIT];
|
|
26
41
|
/** Criteria available for schedule-wide activity weighting. */
|
|
27
42
|
declare const ACTIVITY_PONDERATOR_CRITERION: {
|
|
28
43
|
readonly DURATION: "DURATION";
|
|
@@ -252,10 +267,17 @@ interface SectorMetadata {
|
|
|
252
267
|
statusCriteria: StatusCriteria;
|
|
253
268
|
ganttId: number | null;
|
|
254
269
|
}
|
|
270
|
+
/** Canonical entity-change operations in consumer projections. */
|
|
271
|
+
declare const ENTITY_CHANGE_KIND: {
|
|
272
|
+
readonly CREATED: "created";
|
|
273
|
+
readonly UPDATED: "updated";
|
|
274
|
+
readonly DELETED: "deleted";
|
|
275
|
+
};
|
|
276
|
+
type EntityChangeKind = (typeof ENTITY_CHANGE_KIND)[keyof typeof ENTITY_CHANGE_KIND];
|
|
255
277
|
/** One created, updated, or deleted entity in a consumer projection. */
|
|
256
278
|
interface EntityChange<T> {
|
|
257
279
|
id: string;
|
|
258
|
-
kind:
|
|
280
|
+
kind: EntityChangeKind;
|
|
259
281
|
fields?: Record<string, {
|
|
260
282
|
before: unknown;
|
|
261
283
|
after: unknown;
|
|
@@ -264,8 +286,6 @@ interface EntityChange<T> {
|
|
|
264
286
|
after: Readonly<T> | null;
|
|
265
287
|
}
|
|
266
288
|
|
|
267
|
-
/** Normalized activity scheduling constraint. */
|
|
268
|
-
type ConstraintType = 'asap' | 'alap' | 'snet' | 'snlt' | 'fnet' | 'fnlt' | 'mso' | 'mfo';
|
|
269
289
|
/** Named normalized activity scheduling constraints. */
|
|
270
290
|
declare const CONSTRAINT_TYPE: {
|
|
271
291
|
readonly ASAP: "asap";
|
|
@@ -277,13 +297,12 @@ declare const CONSTRAINT_TYPE: {
|
|
|
277
297
|
readonly MSO: "mso";
|
|
278
298
|
readonly MFO: "mfo";
|
|
279
299
|
};
|
|
300
|
+
/** Normalized activity scheduling constraint. */
|
|
301
|
+
type ConstraintType = (typeof CONSTRAINT_TYPE)[keyof typeof CONSTRAINT_TYPE];
|
|
280
302
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
readonly
|
|
284
|
-
readonly START_TO_START: "1";
|
|
285
|
-
readonly FINISH_TO_FINISH: "2";
|
|
286
|
-
readonly START_TO_FINISH: "3";
|
|
303
|
+
declare const SAVE_FIELD_POLICY: {
|
|
304
|
+
readonly TRACKED: "tracked";
|
|
305
|
+
readonly IGNORED: "ignored";
|
|
287
306
|
};
|
|
288
307
|
|
|
289
308
|
declare const ACTIVITY_SAVE_FIELD_POLICY: {
|
|
@@ -340,7 +359,7 @@ declare const ACTIVITY_SAVE_FIELD_POLICY: {
|
|
|
340
359
|
* intentionally excluded.
|
|
341
360
|
*/
|
|
342
361
|
type PersistableActivityField = {
|
|
343
|
-
[Field in keyof typeof ACTIVITY_SAVE_FIELD_POLICY]: (typeof ACTIVITY_SAVE_FIELD_POLICY)[Field] extends
|
|
362
|
+
[Field in keyof typeof ACTIVITY_SAVE_FIELD_POLICY]: (typeof ACTIVITY_SAVE_FIELD_POLICY)[Field] extends typeof SAVE_FIELD_POLICY.TRACKED ? Field : never;
|
|
344
363
|
}[keyof typeof ACTIVITY_SAVE_FIELD_POLICY];
|
|
345
364
|
|
|
346
365
|
/** Progress percentage representing a not-started activity. */
|
|
@@ -445,6 +464,7 @@ declare const DISPATCH_ACTION_KIND: {
|
|
|
445
464
|
readonly ACTIVITY_INDENT: "activity-indent";
|
|
446
465
|
readonly ACTIVITY_OUTDENT: "activity-outdent";
|
|
447
466
|
readonly ACTIVITY_SET_PROGRESS: "activity-set-progress";
|
|
467
|
+
readonly ACTIVITY_LOOKAHEAD_CONVERT: "activity-lookahead-convert";
|
|
448
468
|
readonly SELECTION_TOGGLE: "selection-toggle";
|
|
449
469
|
readonly SELECTION_REPLACE: "selection-replace";
|
|
450
470
|
readonly VISIBILITY_SET: "visibility-set";
|
|
@@ -642,6 +662,40 @@ type LinksBatchOperation = {
|
|
|
642
662
|
kind: typeof DISPATCH_LINK_OPERATION_KIND.DELETE;
|
|
643
663
|
linkId: LinkId;
|
|
644
664
|
};
|
|
665
|
+
/** Roots selected for one canonical Schedule-to-Lookahead conversion. */
|
|
666
|
+
interface LookaheadConversionInput {
|
|
667
|
+
readonly conversionRootIds: ReadonlyArray<ActivityId | number>;
|
|
668
|
+
}
|
|
669
|
+
/** Conversion intent guarded by the revision returned from planning. */
|
|
670
|
+
interface ApplyLookaheadConversionInput extends LookaheadConversionInput {
|
|
671
|
+
readonly expectedStateRevision: number;
|
|
672
|
+
}
|
|
673
|
+
/** Stable milestone placement produced by the conversion planner. */
|
|
674
|
+
interface LookaheadConversionMilestoneMove {
|
|
675
|
+
readonly activityId: ActivityId;
|
|
676
|
+
readonly parentId: ActivityId | typeof ROOT_PARENT_ID;
|
|
677
|
+
readonly afterSiblingId: ActivityId;
|
|
678
|
+
}
|
|
679
|
+
/** Former-parent snapshot and whether its branch creates Lookahead activities. */
|
|
680
|
+
interface LookaheadConversionFormerParent {
|
|
681
|
+
readonly activity: Readonly<CoreActivity>;
|
|
682
|
+
readonly hasConvertedActivities: boolean;
|
|
683
|
+
}
|
|
684
|
+
/** Converted activity snapshots belonging to one canonical conversion root. */
|
|
685
|
+
interface LookaheadConversionGroup {
|
|
686
|
+
readonly conversionRootId: ActivityId;
|
|
687
|
+
readonly convertedActivities: ReadonlyArray<Readonly<CoreActivity>>;
|
|
688
|
+
}
|
|
689
|
+
/** Complete immutable intent shared by preview and apply. */
|
|
690
|
+
interface LookaheadConversionPlan {
|
|
691
|
+
readonly sourceStateRevision: number;
|
|
692
|
+
readonly conversionRootIds: ReadonlyArray<ActivityId>;
|
|
693
|
+
readonly conversionGroups: ReadonlyArray<LookaheadConversionGroup>;
|
|
694
|
+
readonly milestoneMoves: ReadonlyArray<LookaheadConversionMilestoneMove>;
|
|
695
|
+
readonly activityIdsToDelete: ReadonlyArray<ActivityId>;
|
|
696
|
+
readonly linkIdsToDelete: ReadonlyArray<LinkId>;
|
|
697
|
+
readonly formerParents: ReadonlyArray<LookaheadConversionFormerParent>;
|
|
698
|
+
}
|
|
645
699
|
/** Backend identity used to acknowledge an entity as persisted. */
|
|
646
700
|
interface PersistedEntityIdentity {
|
|
647
701
|
readonly id: string;
|
|
@@ -663,6 +717,10 @@ declare const ACTIVITY_BATCH_MODE: {
|
|
|
663
717
|
readonly APPEND: "append";
|
|
664
718
|
readonly REPLACE: "replace";
|
|
665
719
|
};
|
|
720
|
+
/** Explicit consumer origin allowed to override the progress edit gate. */
|
|
721
|
+
declare const ACTIVITY_PROGRESS_ORIGIN: {
|
|
722
|
+
readonly ACTION_BUTTON: "action-button";
|
|
723
|
+
};
|
|
666
724
|
/** Activity-batch append or replace policy. */
|
|
667
725
|
type ActivityBatchMode = (typeof ACTIVITY_BATCH_MODE)[keyof typeof ACTIVITY_BATCH_MODE];
|
|
668
726
|
/** Existing activity ID or local batch-item reference. */
|
|
@@ -801,9 +859,11 @@ type DispatchAction = {
|
|
|
801
859
|
kind: typeof DISPATCH_ACTION_KIND.ACTIVITY_SET_PROGRESS;
|
|
802
860
|
activityId: ActivityId;
|
|
803
861
|
newValue: typeof NOT_STARTED_PROGRESS | typeof COMPLETED_PROGRESS;
|
|
804
|
-
origin?:
|
|
862
|
+
origin?: typeof ACTIVITY_PROGRESS_ORIGIN.ACTION_BUTTON;
|
|
805
863
|
eventSource?: string;
|
|
806
|
-
} | {
|
|
864
|
+
} | ({
|
|
865
|
+
kind: typeof DISPATCH_ACTION_KIND.ACTIVITY_LOOKAHEAD_CONVERT;
|
|
866
|
+
} & ApplyLookaheadConversionInput) | {
|
|
807
867
|
kind: typeof DISPATCH_ACTION_KIND.SELECTION_TOGGLE;
|
|
808
868
|
activityId: ActivityId;
|
|
809
869
|
isChecked: boolean;
|
|
@@ -867,6 +927,7 @@ interface DispatchOptions {
|
|
|
867
927
|
type DispatchResult = {
|
|
868
928
|
ok: true;
|
|
869
929
|
changes: ChangeSet;
|
|
930
|
+
conversionGroups?: ReadonlyArray<LookaheadConversionGroup>;
|
|
870
931
|
verdicts?: ReadonlyArray<DatesBatchVerdict>;
|
|
871
932
|
activityVerdicts?: ReadonlyArray<DatesBatchVerdict>;
|
|
872
933
|
linkVerdicts?: ReadonlyArray<LinkBatchVerdict>;
|
|
@@ -875,6 +936,14 @@ type DispatchResult = {
|
|
|
875
936
|
reason: string;
|
|
876
937
|
alertKey?: string | undefined;
|
|
877
938
|
};
|
|
939
|
+
/** Accepted conversion result always carries the snapshots planned in-queue. */
|
|
940
|
+
type LookaheadConversionResult = (Extract<DispatchResult, {
|
|
941
|
+
ok: true;
|
|
942
|
+
}> & {
|
|
943
|
+
readonly conversionGroups: ReadonlyArray<LookaheadConversionGroup>;
|
|
944
|
+
}) | Extract<DispatchResult, {
|
|
945
|
+
ok: false;
|
|
946
|
+
}>;
|
|
878
947
|
/** Per-activity acceptance result for a dates batch. */
|
|
879
948
|
type DatesBatchVerdict = {
|
|
880
949
|
activityId: string;
|
|
@@ -1322,6 +1391,10 @@ interface ScheduleActivitiesApi {
|
|
|
1322
1391
|
* @returns The complete dispatch result.
|
|
1323
1392
|
*/
|
|
1324
1393
|
remove(activityIds: ReadonlyArray<ActivityId>, context?: MutationContext): Promise<DispatchResult>;
|
|
1394
|
+
/** Plans one canonical Schedule-to-Lookahead conversion without mutation. */
|
|
1395
|
+
planLookaheadConversion(input: LookaheadConversionInput): LookaheadConversionPlan;
|
|
1396
|
+
/** Applies the same conversion intent under its planned state revision. */
|
|
1397
|
+
applyLookaheadConversion(input: ApplyLookaheadConversionInput): Promise<LookaheadConversionResult>;
|
|
1325
1398
|
/**
|
|
1326
1399
|
* Moves an activity within the hierarchy.
|
|
1327
1400
|
*
|
|
@@ -1664,6 +1737,8 @@ interface ScheduleDiagnosticsApi {
|
|
|
1664
1737
|
auditEffectiveGraph(): EffectiveGraphAudit;
|
|
1665
1738
|
/** @returns The monotonic scheduling revision; readiness is not required. */
|
|
1666
1739
|
revision(): number;
|
|
1740
|
+
/** @returns The monotonic canonical-state revision; readiness is not required. */
|
|
1741
|
+
stateRevision(): number;
|
|
1667
1742
|
/** @returns A deterministic serialization digest of canonical schedule state. */
|
|
1668
1743
|
canonicalDigest(): string;
|
|
1669
1744
|
}
|
|
@@ -1733,7 +1808,7 @@ interface BackendActivityInput {
|
|
|
1733
1808
|
correlative_id: number;
|
|
1734
1809
|
name: string;
|
|
1735
1810
|
description: string | null;
|
|
1736
|
-
type:
|
|
1811
|
+
type: ActivityType;
|
|
1737
1812
|
start_date: string;
|
|
1738
1813
|
end_date: string;
|
|
1739
1814
|
/** Duration in working days. */
|
|
@@ -1839,18 +1914,36 @@ declare const LINK_REJECTION_REASON: {
|
|
|
1839
1914
|
/** Stable validation reason for a rejected dependency operation. */
|
|
1840
1915
|
type LinkRejection = (typeof LINK_REJECTION_REASON)[keyof typeof LINK_REJECTION_REASON];
|
|
1841
1916
|
|
|
1917
|
+
declare const LOAD_DIAGNOSTIC_CODE: {
|
|
1918
|
+
readonly INVALID_BASELINE_POINT: "invalid_baseline_point";
|
|
1919
|
+
readonly UNKNOWN_CONSTRAINT: "unknown_constraint";
|
|
1920
|
+
readonly ORPHAN_ACTIVITY: "orphan_activity";
|
|
1921
|
+
readonly INVALID_LINK: "invalid_link";
|
|
1922
|
+
readonly DUPLICATE_LINK: "duplicate_link";
|
|
1923
|
+
};
|
|
1924
|
+
/** Data-quality anomaly category detected while loading a schedule. */
|
|
1925
|
+
type LoadDiagnosticCode = (typeof LOAD_DIAGNOSTIC_CODE)[keyof typeof LOAD_DIAGNOSTIC_CODE];
|
|
1926
|
+
/** Aggregated load anomaly count with bounded representative IDs. */
|
|
1927
|
+
interface LoadDiagnostic {
|
|
1928
|
+
readonly code: LoadDiagnosticCode;
|
|
1929
|
+
readonly count: number;
|
|
1930
|
+
readonly sampleIds: readonly string[];
|
|
1931
|
+
}
|
|
1932
|
+
type LoadDiagnosticRecorder = (code: LoadDiagnosticCode, sampleId: string) => void;
|
|
1933
|
+
|
|
1842
1934
|
/**
|
|
1843
1935
|
* Lifecycle health states observable without awaiting initialization.
|
|
1844
1936
|
* `ready` means alive, not initialized; await {@link ScheduleCore.ready} before
|
|
1845
1937
|
* normal reads or commands.
|
|
1846
1938
|
*/
|
|
1847
|
-
type ScheduleCoreStatus = 'ready' | 'destroyed' | 'poisoned';
|
|
1848
1939
|
/** Named lifecycle states for integration checks. */
|
|
1849
1940
|
declare const SCHEDULE_CORE_STATUS: {
|
|
1850
1941
|
readonly READY: "ready";
|
|
1851
1942
|
readonly DESTROYED: "destroyed";
|
|
1852
1943
|
readonly POISONED: "poisoned";
|
|
1853
1944
|
};
|
|
1945
|
+
/** Lifecycle health reported by a schedule owner. */
|
|
1946
|
+
type ScheduleCoreStatus = (typeof SCHEDULE_CORE_STATUS)[keyof typeof SCHEDULE_CORE_STATUS];
|
|
1854
1947
|
/**
|
|
1855
1948
|
* Backend payload plus options used to construct a {@link ScheduleCore}.
|
|
1856
1949
|
*
|
|
@@ -1937,6 +2030,7 @@ declare class ScheduleCore {
|
|
|
1937
2030
|
private readonly _undo;
|
|
1938
2031
|
private _opQueue;
|
|
1939
2032
|
private _scheduleRevision;
|
|
2033
|
+
private _stateRevision;
|
|
1940
2034
|
private _pendingScheduleRevision;
|
|
1941
2035
|
private _criticalPathRevision;
|
|
1942
2036
|
private _activeCriticalPath;
|
|
@@ -1982,6 +2076,8 @@ declare class ScheduleCore {
|
|
|
1982
2076
|
* @returns Cloned metadata, including values available after destruction.
|
|
1983
2077
|
*/
|
|
1984
2078
|
getSector(): Readonly<SectorMetadata>;
|
|
2079
|
+
/** Returns immutable data-quality diagnostics collected during loading. */
|
|
2080
|
+
getLoadDiagnostics(): readonly LoadDiagnostic[];
|
|
1985
2081
|
/**
|
|
1986
2082
|
* Reads a defensive activity snapshot from a ready schedule.
|
|
1987
2083
|
*
|
|
@@ -2097,6 +2193,8 @@ declare class ScheduleCore {
|
|
|
2097
2193
|
hasUnsavedChanges(): boolean;
|
|
2098
2194
|
/** @returns The monotonic scheduling revision without a readiness guard. */
|
|
2099
2195
|
getScheduleRevision(): number;
|
|
2196
|
+
/** @returns The monotonic canonical-state revision without a readiness guard. */
|
|
2197
|
+
getStateRevision(): number;
|
|
2100
2198
|
/** @returns The undo-history boundary for an external save checkpoint. */
|
|
2101
2199
|
capturePersistenceHistoryBoundary(): number;
|
|
2102
2200
|
/** @returns A deterministic serialization digest of canonical schedule state. */
|
|
@@ -2136,6 +2234,10 @@ declare class ScheduleCore {
|
|
|
2136
2234
|
* @returns The complete dispatch result unchanged.
|
|
2137
2235
|
*/
|
|
2138
2236
|
applyActivityBatch(action: ActivityBatchAction, options?: DispatchOptions): Promise<DispatchResult>;
|
|
2237
|
+
/** Builds the defensive canonical conversion intent without mutating state. */
|
|
2238
|
+
planLookaheadConversion(input: LookaheadConversionInput): LookaheadConversionPlan;
|
|
2239
|
+
/** Applies one revision-guarded conversion through the serialized dispatcher. */
|
|
2240
|
+
applyLookaheadConversion(input: ApplyLookaheadConversionInput): Promise<LookaheadConversionResult>;
|
|
2139
2241
|
private _dispatchInner;
|
|
2140
2242
|
private _runDispatch;
|
|
2141
2243
|
/**
|
|
@@ -2227,9 +2329,10 @@ interface ParsedInput {
|
|
|
2227
2329
|
* throw; diagnostics are reported through the optional reporter.
|
|
2228
2330
|
* @param input - Backend schedule metadata, activities, links, and calendars.
|
|
2229
2331
|
* @param reporter - Optional normalization diagnostics sink.
|
|
2332
|
+
* @param recordDiagnostic - Optional aggregated data-quality recorder.
|
|
2230
2333
|
* @returns Normalized domain data and initial hidden-ID view state.
|
|
2231
2334
|
*/
|
|
2232
|
-
declare function parseFromBackend(input: BackendScheduleInput, reporter?: ScheduleCoreReporter): ParsedInput;
|
|
2335
|
+
declare function parseFromBackend(input: BackendScheduleInput, reporter?: ScheduleCoreReporter, recordDiagnostic?: LoadDiagnosticRecorder): ParsedInput;
|
|
2233
2336
|
|
|
2234
2337
|
/**
|
|
2235
2338
|
* Selects the normalized baseline point marked as active.
|
|
@@ -2338,15 +2441,15 @@ declare const FILTER_REJECTION_REASON: {
|
|
|
2338
2441
|
/** Stable reason returned for rejected filter input. */
|
|
2339
2442
|
type FilterRejection = (typeof FILTER_REJECTION_REASON)[keyof typeof FILTER_REJECTION_REASON];
|
|
2340
2443
|
|
|
2341
|
-
/**
|
|
2342
|
-
declare const
|
|
2343
|
-
readonly
|
|
2344
|
-
readonly
|
|
2345
|
-
readonly
|
|
2444
|
+
/** Canonical compact dependency codes used by consumer text formats. */
|
|
2445
|
+
declare const LINK_CODE: {
|
|
2446
|
+
readonly FINISH_TO_START: "fs";
|
|
2447
|
+
readonly START_TO_START: "ss";
|
|
2448
|
+
readonly FINISH_TO_FINISH: "ff";
|
|
2449
|
+
readonly START_TO_FINISH: "sf";
|
|
2346
2450
|
};
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
type LinkTypeCode = 'fs' | 'ss' | 'ff' | 'sf';
|
|
2451
|
+
/** Compact dependency relationship used by consumer text formats. */
|
|
2452
|
+
type LinkTypeCode = (typeof LINK_CODE)[keyof typeof LINK_CODE];
|
|
2350
2453
|
/** Maps stored link types to compact consumer relationship codes. */
|
|
2351
2454
|
declare const LINK_TYPE_CODE: {
|
|
2352
2455
|
readonly "0": "fs";
|
|
@@ -2403,6 +2506,7 @@ declare const REJECTION_REASON: {
|
|
|
2403
2506
|
readonly OUTDENT_ROOT_LEVEL_NOT_EDITABLE: "outdent_root_level_not_editable";
|
|
2404
2507
|
readonly HIERARCHY_CYCLE: "hierarchy_cycle";
|
|
2405
2508
|
readonly SANDBOX_PERSISTENCE_FORBIDDEN: "sandbox_persistence_forbidden";
|
|
2509
|
+
readonly STALE_STATE_REVISION: "stale-state-revision";
|
|
2406
2510
|
readonly INVALID_PROGRESS_VALUE: "invalid_progress_value_must_be_0_or_100";
|
|
2407
2511
|
};
|
|
2408
2512
|
/** Stable expected-rejection reason returned by a public command. */
|
|
@@ -2419,4 +2523,4 @@ declare const DISPATCH_TRACK_EVENT: {
|
|
|
2419
2523
|
/** Consumer analytics event name emitted by a schedule mutation. */
|
|
2420
2524
|
type DispatchTrackEvent = (typeof DISPATCH_TRACK_EVENT)[keyof typeof DISPATCH_TRACK_EVENT];
|
|
2421
2525
|
|
|
2422
|
-
export { ACTIVITY_BATCH_ACTION_KIND, ACTIVITY_BATCH_MODE, ACTIVITY_DATE_EDGE, ACTIVITY_FIELD, ACTIVITY_PONDERATOR_CRITERION, 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 ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, 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, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, 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, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type DateGesture, type DateGestureKind, 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 ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinksBatchOperation, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, type OrderDirection, 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, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleBaselinesApi, type ScheduleCalendarsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, createSchedule, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|
|
2526
|
+
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 ActivityCreateInput, type ActivityCreationOverrides, type ActivityCreter, type ActivityDateEdge, type ActivityDateEdit, type ActivityField, type ActivityFieldEdit, type ActivityFieldValue, type ActivityId, type ActivityLookaheadSyncInput, type ActivityMoveInput, type ActivityStatus, type ActivityType, type ApplyLookaheadConversionInput, type BackendActivityInput, type BackendCalendarExceptionInput, type BackendCalendarInput, type BackendLinkInput, type BackendScheduleInput, type BackendSectorInput, type BackendShiftInput, type BaselinePoint, type BaselineVersion, type BranchOrderChange, CALENDAR_UNIT, CHANGE_SET_SOURCE_KIND, COLUMN, COMPLETED_PROGRESS, CONSTRAINT_TYPE, CONSTRAINT_TYPE_TO_LABEL, CONSTRAINT_WARNING_KIND, 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, DATE_GESTURE_KIND, DEFAULT_HOURS_PER_DAY, DISPATCH_ACTION_KIND, DISPATCH_ACTION_KINDS, DISPATCH_LINK_OPERATION_KIND, DISPATCH_TRACK_EVENT, type DateGesture, type DateGestureKind, type DateGesturePreview, type DatesBatchVerdict, type DeletedActivitySnapshot, type DeletedLinkSnapshot, type DispatchAction, type DispatchActionKind, type DispatchOptions, type DispatchRejectReason, type DispatchResult, type DispatchTrackEvent, ENTITY_CHANGE_KIND, type EditableColumnName, type EffectiveGraphAudit, type EntityChange, type ActivityBatchLinkInput as ErgonomicActivityBatchLinkInput, type ExpectedProgressAdapter, FILTER_FIELD, FILTER_LOGIC, FILTER_OPERATOR, FILTER_REJECTION_REASON, FILTER_VALUE_KIND, type FilterCriterion, type FilterCriterionValue, type FilterDateRange, type FilterField, type FilterLogic, type FilterOperator, type FilterRejection, type FilterState, type FilterValueKind, type ImpactRequestSyncInput, LINK_BATCH_OPERATION_KIND, LINK_CODE, LINK_CODE_TO_TYPE, LINK_REJECTION_REASON, LINK_RELATIONSHIP, LINK_TYPE, LINK_TYPE_CODE, type Link, type LinkBatchOperationKind, type LinkBatchRequest, type LinkBatchVerdict, type LinkCreateRequest, type LinkId, type LinkPatchRequest, type LinkRejection, type LinkRelationship, type LinkType, type LinkTypeCode, type LinksBatchOperation, type LoadDiagnostic, type LoadDiagnosticCode, type LookaheadConversionFormerParent, type LookaheadConversionGroup, type LookaheadConversionInput, type LookaheadConversionMilestoneMove, type LookaheadConversionPlan, type LookaheadConversionResult, type MutationContext, NEW_ACTIVITY_DEFAULTS, NOT_STARTED_PROGRESS, ORDER_DIRECTION, type OrderDirection, 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, SCHEDULE_EFFECT_KIND, SIR_AUTO_REJECT_REASON, STATUS, STATUS_CRITERIA, type ScheduleActivitiesApi, type ScheduleApiNamespaces, type ScheduleBaselinesApi, type ScheduleCalendarsApi, ScheduleCore, type ScheduleCoreInput, type ScheduleCoreReporter, type ScheduleCoreStatus, type ScheduleCriticalPathApi, type ScheduleDiagnosticsApi, type ScheduleEffect, type ScheduleHistoryApi, type ScheduleImpactRequestsApi, type ScheduleLinksApi, type SchedulePersistenceApi, type ScheduleProjectionApi, type ScheduleSelectionApi, type ScheduleViewApi, type SectorMetadata, type SelectionToggleInput, type StaticActivityDefaults, type StatusCriteria, type TrackingEvent, type UndoOptions, type ViewFilterInput, type ViewStateChange, type ViewStatePropChange, WORK_TIME_DIRECTION, type WithProplannerId, type WorkTimeDirection, checkNoUpdatedLinks, computeExpectedProgress, createSchedule, expectedProgressFromBaseline, getActiveBaseline, getUnsavedActivities, isRootParent, normalizeParentKey, parseFromBackend, willRunCriticalPath, yieldToBrowser };
|