@atolis-hq/wake 0.4.100 → 0.4.102
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/src/artifacts/application/operator-instructions-service.js +2 -2
- package/dist/src/bootstrap/artifact-mcp.d.ts +1 -0
- package/dist/src/bootstrap/artifact-mcp.js +27 -2
- package/dist/src/bootstrap/composition-root.js +6 -1
- package/dist/src/bootstrap/config/root-schema.d.ts +14 -0
- package/dist/src/bootstrap/delegation-authority.d.ts +10 -0
- package/dist/src/bootstrap/delegation-authority.js +52 -0
- package/dist/src/bootstrap/integration-runtime.js +5 -3
- package/dist/src/bootstrap/persistence-composition.js +1 -1
- package/dist/src/bootstrap/surface-api-delivery.d.ts +4 -0
- package/dist/src/bootstrap/surface-api-delivery.js +35 -0
- package/dist/src/bootstrap/surface-api-work-applications.js +2 -0
- package/dist/src/bootstrap/version.js +1 -1
- package/dist/src/control-plane/application/activation-scheduler-ports.d.ts +4 -1
- package/dist/src/control-plane/application/activation-scheduler.js +2 -1
- package/dist/src/control-plane/application/advance-once-dispatch.d.ts +4 -15
- package/dist/src/control-plane/application/advance-once-dispatch.js +15 -26
- package/dist/src/control-plane/application/trigger-recovery.js +2 -1
- package/dist/src/control-plane/application/trigger-workflow.d.ts +2 -1
- package/dist/src/control-plane/application/work-cancellation-policy.d.ts +1 -0
- package/dist/src/control-plane/application/work-cancellation-policy.js +6 -1
- package/dist/src/control-plane/domain/delivery-capacity.d.ts +9 -0
- package/dist/src/control-plane/domain/delivery-capacity.js +40 -0
- package/dist/src/control-plane/domain/dispatch-policy.d.ts +1 -0
- package/dist/src/control-plane/domain/dispatch-policy.js +6 -0
- package/dist/src/control-plane/domain/open-work-policy.d.ts +2 -7
- package/dist/src/control-plane/domain/open-work-policy.js +12 -9
- package/dist/src/execution/application/repository-assignments.d.ts +1 -1
- package/dist/src/execution/application/repository-assignments.js +7 -4
- package/dist/src/node_modules/@atolis-hq/eventing/dist/runtime/cached-journal-view.d.ts +9 -1
- package/dist/src/node_modules/@atolis-hq/eventing/dist/runtime/cached-journal-view.d.ts.map +1 -1
- package/dist/src/node_modules/@atolis-hq/eventing/dist/runtime/cached-journal-view.js +62 -7
- package/dist/src/node_modules/@atolis-hq/eventing/dist/store/event-journal.d.ts +2 -5
- package/dist/src/node_modules/@atolis-hq/eventing/dist/store/event-journal.d.ts.map +1 -1
- package/dist/src/node_modules/@atolis-hq/eventing-filesystem/dist/file-event-journal.d.ts +12 -13
- package/dist/src/node_modules/@atolis-hq/eventing-filesystem/dist/file-event-journal.d.ts.map +1 -1
- package/dist/src/node_modules/@atolis-hq/eventing-filesystem/dist/file-event-journal.js +168 -109
- package/dist/src/orchestration/application/deferred-signals.d.ts +4 -2
- package/dist/src/orchestration/application/deferred-signals.js +47 -37
- package/dist/src/orchestration/application/delegated-work.d.ts +54 -0
- package/dist/src/orchestration/application/delegated-work.js +64 -1
- package/dist/src/orchestration/application/delegation-commands.d.ts +119 -0
- package/dist/src/orchestration/application/delegation-commands.js +99 -0
- package/dist/src/orchestration/application/delegation-gate.d.ts +15 -5
- package/dist/src/orchestration/application/delegation-gate.js +44 -4
- package/dist/src/orchestration/application/orchestration-service.d.ts +150 -2
- package/dist/src/orchestration/application/orchestration-service.js +52 -6
- package/dist/src/orchestration/contracts/config.d.ts +16 -0
- package/dist/src/orchestration/contracts/config.js +10 -0
- package/dist/src/orchestration/contracts/delegation-ports.d.ts +10 -1
- package/dist/src/orchestration/contracts/delegation.d.ts +34 -0
- package/dist/src/orchestration/contracts/delegation.js +8 -0
- package/dist/src/orchestration/domain/compiler.js +7 -0
- package/dist/src/orchestration/index.d.ts +3 -0
- package/dist/src/orchestration/index.js +1 -0
- package/dist/src/surfaces/api/contracts/work.d.ts +14 -0
- package/dist/src/surfaces/index.d.ts +1 -0
- package/dist/src/surfaces/index.js +1 -0
- package/dist/src/surfaces/mcp/delegation.d.ts +9 -0
- package/dist/src/surfaces/mcp/delegation.js +25 -0
- package/dist/src/surfaces/web-assets/assets/index-C5R-aWzH.js +1192 -0
- package/dist/src/surfaces/web-assets/index.html +1 -1
- package/dist/src/work/application/work-index.d.ts +21 -0
- package/dist/src/work/application/work-index.js +73 -0
- package/dist/src/work/application/work-service.d.ts +3 -0
- package/dist/src/work/application/work-service.js +3 -0
- package/dist/src/work/domain/delivery-availability.d.ts +14 -0
- package/dist/src/work/domain/delivery-availability.js +20 -0
- package/dist/src/work/index.d.ts +2 -0
- package/dist/src/work/index.js +2 -0
- package/package.json +2 -1
- package/dist/src/surfaces/web-assets/assets/index-s9CWgq-s.js +0 -1192
|
@@ -23,13 +23,16 @@ export function hasOpenWorkCapacity(open, limit) {
|
|
|
23
23
|
export function canDispatchWorkItem(workItemId, open, limit) {
|
|
24
24
|
return open.has(workItemId) || hasOpenWorkCapacity(open, limit);
|
|
25
25
|
}
|
|
26
|
-
export
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
export function readOpenWorkItemIds(workflows, work) {
|
|
27
|
+
const roots = new Set();
|
|
28
|
+
for (const id of deriveOpenWorkItemIds(workflows)) {
|
|
29
|
+
if (work === undefined) {
|
|
30
|
+
roots.add(id);
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
const delivery = work.availability(id);
|
|
34
|
+
if (delivery.reason === undefined)
|
|
35
|
+
roots.add(delivery.rootWorkItemId);
|
|
36
|
+
}
|
|
37
|
+
return roots;
|
|
35
38
|
}
|
|
@@ -4,7 +4,7 @@ import type { RepositoryAssignment, RepositoryAssignmentRequest } from '../contr
|
|
|
4
4
|
/** Correlations are the parent's explicit repository authority, not the provider catalogue. */
|
|
5
5
|
export declare function createRepositoryAssignments(resources: ResourceService, resolveSource: (request: RepositoryAssignmentRequest) => Promise<RepositoryAssignment>, inherited: (workItemId: string) => Promise<{
|
|
6
6
|
readonly resourceId: string;
|
|
7
|
-
} | undefined>): {
|
|
7
|
+
} | undefined>, permitted?: (workItemId: string) => Promise<readonly string[] | undefined>): {
|
|
8
8
|
resolve(parent: {
|
|
9
9
|
readonly workItemId: WorkItemId;
|
|
10
10
|
}, request: RepositoryAssignmentRequest): Promise<RepositoryAssignment>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BuiltInResourceKind, resourceId } from '../../resources/index.js';
|
|
2
2
|
/** Correlations are the parent's explicit repository authority, not the provider catalogue. */
|
|
3
|
-
export function createRepositoryAssignments(resources, resolveSource, inherited) {
|
|
3
|
+
export function createRepositoryAssignments(resources, resolveSource, inherited, permitted) {
|
|
4
4
|
return {
|
|
5
5
|
async resolve(parent, request) {
|
|
6
6
|
const repository = await resources.get(resourceId(request.resourceId));
|
|
@@ -8,9 +8,12 @@ export function createRepositoryAssignments(resources, resolveSource, inherited)
|
|
|
8
8
|
throw new Error(`Repository Resource ${request.resourceId} is unavailable; select an existing Repository Resource`);
|
|
9
9
|
const correlations = await resources.correlationsForWork(parent.workItemId);
|
|
10
10
|
const scope = await inherited(parent.workItemId);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const authority = await permitted?.(parent.workItemId);
|
|
12
|
+
if (authority !== undefined
|
|
13
|
+
? !authority.includes(repository.resourceId)
|
|
14
|
+
: scope === undefined
|
|
15
|
+
? !correlations.some((entry) => entry.resourceId === repository.resourceId)
|
|
16
|
+
: scope.resourceId !== repository.resourceId)
|
|
14
17
|
throw new Error(`Repository ${request.resourceId} is outside the parent assignment; explicitly authorize the repository before delegating`);
|
|
15
18
|
return resolveSource(request);
|
|
16
19
|
},
|
|
@@ -4,5 +4,13 @@ export declare const JOURNAL_CHANGE_FALLBACK_MS = 30000;
|
|
|
4
4
|
export interface CachedJournalView<Value> {
|
|
5
5
|
get(): Promise<Value>;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
type ViewJournal = Pick<EventJournal, 'readAll' | 'latestGlobalPosition'>;
|
|
8
|
+
export declare function cachedJournalView<Value>(journal: ViewJournal, derive: (events: readonly EventEnvelope[]) => Value | Promise<Value>, _now?: () => number): CachedJournalView<Value>;
|
|
9
|
+
export interface JournalFold<Value> {
|
|
10
|
+
readonly initial: Value;
|
|
11
|
+
/** Returns the value after `events`, which follow everything already folded. Must not mutate `value`. */
|
|
12
|
+
extend(value: Value, events: readonly EventEnvelope[]): Value;
|
|
13
|
+
}
|
|
14
|
+
export declare function foldedJournalView<Value>(journal: ViewJournal, fold: JournalFold<Value>): CachedJournalView<Value>;
|
|
15
|
+
export {};
|
|
8
16
|
//# sourceMappingURL=cached-journal-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cached-journal-view.d.ts","sourceRoot":"","sources":["../../src/runtime/cached-journal-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,0BAA0B,QAAS,CAAC;AAEjD,MAAM,WAAW,iBAAiB,CAAC,KAAK;IACtC,GAAG,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"cached-journal-view.d.ts","sourceRoot":"","sources":["../../src/runtime/cached-journal-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,0BAA0B,QAAS,CAAC;AAEjD,MAAM,WAAW,iBAAiB,CAAC,KAAK;IACtC,GAAG,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC;CACvB;AAED,KAAK,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,sBAAsB,CAAC,CAAC;AAe1E,wBAAgB,iBAAiB,CAAC,KAAK,EACrC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,KAAK,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,EACpE,IAAI,GAAE,MAAM,MAAiB,GAC5B,iBAAiB,CAAC,KAAK,CAAC,CAsB1B;AAED,MAAM,WAAW,WAAW,CAAC,KAAK;IAChC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;IACxB,yGAAyG;IACzG,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,KAAK,CAAC;CAC/D;AAMD,wBAAgB,iBAAiB,CAAC,KAAK,EACrC,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,GACvB,iBAAiB,CAAC,KAAK,CAAC,CA+B1B"}
|
|
@@ -7,18 +7,73 @@ export const JOURNAL_CHANGE_FALLBACK_MS = 30_000;
|
|
|
7
7
|
// incremental batch. Depends only on the EventJournal port, not on any
|
|
8
8
|
// concrete persistence implementation, so it lives in Eventing rather than
|
|
9
9
|
// Persistence; domain and adapter modules may call it directly.
|
|
10
|
+
//
|
|
11
|
+
// The cached value is keyed by the last position actually read, never by the
|
|
12
|
+
// position sampled beforehand, so a value can never be held under a position
|
|
13
|
+
// newer than the events it was derived from. Callers that find the journal
|
|
14
|
+
// unchanged since a derivation already running share it.
|
|
10
15
|
export function cachedJournalView(journal, derive, _now = Date.now) {
|
|
11
16
|
let cache;
|
|
17
|
+
let inFlight;
|
|
12
18
|
return {
|
|
13
19
|
async get() {
|
|
14
|
-
const
|
|
15
|
-
if (cache !== undefined && cache.position
|
|
20
|
+
const sampled = await journal.latestGlobalPosition();
|
|
21
|
+
if (cache !== undefined && cache.position >= sampled)
|
|
16
22
|
return cache.value;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
if (inFlight?.sampled === sampled)
|
|
24
|
+
return inFlight.run;
|
|
25
|
+
const run = (async () => {
|
|
26
|
+
const events = await journal.readAll(0);
|
|
27
|
+
const value = await derive(events);
|
|
28
|
+
const position = events.at(-1)?.globalPosition ?? 0;
|
|
29
|
+
// An older derivation finishing late must not replace a newer one.
|
|
30
|
+
if (cache === undefined || position >= cache.position)
|
|
31
|
+
cache = { position, value };
|
|
32
|
+
return value;
|
|
33
|
+
})().finally(() => {
|
|
34
|
+
if (inFlight?.run === run)
|
|
35
|
+
inFlight = undefined;
|
|
36
|
+
});
|
|
37
|
+
inFlight = { sampled, run };
|
|
38
|
+
return run;
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
// An incremental counterpart of cachedJournalView for views that can be
|
|
43
|
+
// extended event by event: each journal move folds only the new events instead
|
|
44
|
+
// of re-deriving history. Folds are serialised, so every event is applied once
|
|
45
|
+
// and in order however many callers ask at the same time.
|
|
46
|
+
export function foldedJournalView(journal, fold) {
|
|
47
|
+
let state = {
|
|
48
|
+
position: 0,
|
|
49
|
+
value: fold.initial,
|
|
50
|
+
};
|
|
51
|
+
let running;
|
|
52
|
+
return {
|
|
53
|
+
async get() {
|
|
54
|
+
for (;;) {
|
|
55
|
+
const sampled = await journal.latestGlobalPosition();
|
|
56
|
+
if (state.position >= sampled)
|
|
57
|
+
return state.value;
|
|
58
|
+
if (running !== undefined) {
|
|
59
|
+
await running.catch(() => undefined);
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
const run = (async () => {
|
|
63
|
+
const events = await journal.readAll(state.position);
|
|
64
|
+
if (events.length > 0)
|
|
65
|
+
state = {
|
|
66
|
+
position: events.at(-1).globalPosition,
|
|
67
|
+
value: fold.extend(state.value, events),
|
|
68
|
+
};
|
|
69
|
+
return state.value;
|
|
70
|
+
})().finally(() => {
|
|
71
|
+
if (running === run)
|
|
72
|
+
running = undefined;
|
|
73
|
+
});
|
|
74
|
+
running = run;
|
|
75
|
+
return run;
|
|
76
|
+
}
|
|
22
77
|
},
|
|
23
78
|
};
|
|
24
79
|
}
|
|
@@ -2,13 +2,10 @@ import type { EventData, EventEnvelope, StreamRef } from '../contracts/events.js
|
|
|
2
2
|
import type { JournalChangeSignal } from '../subscriptions/journal-change-signal.js';
|
|
3
3
|
export declare class WrongExpectedSequenceError extends Error {
|
|
4
4
|
}
|
|
5
|
-
export interface JournalReadOptions {
|
|
6
|
-
/** Observe committed appends from other hosts without using a bounded freshness cache. */
|
|
7
|
-
readonly fresh?: boolean;
|
|
8
|
-
}
|
|
9
5
|
export interface EventJournal {
|
|
10
6
|
appendToStream(stream: StreamRef, expectedSequence: number, events: readonly EventData[]): Promise<readonly EventEnvelope[]>;
|
|
11
|
-
|
|
7
|
+
/** Every read observes all appends committed before the call, including by other processes. */
|
|
8
|
+
readStream(stream: StreamRef): Promise<readonly EventEnvelope[]>;
|
|
12
9
|
/** Optional bounded, cancellable snapshot reader for adapters with a streaming source. */
|
|
13
10
|
scanAll?(signal?: AbortSignal): AsyncIterable<EventEnvelope>;
|
|
14
11
|
readAll(afterGlobalPosition: number, limit?: number): Promise<readonly EventEnvelope[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-journal.d.ts","sourceRoot":"","sources":["../../src/store/event-journal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,qBAAa,0BAA2B,SAAQ,KAAK;CAAG;AAExD,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"event-journal.d.ts","sourceRoot":"","sources":["../../src/store/event-journal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,qBAAa,0BAA2B,SAAQ,KAAK;CAAG;AAExD,MAAM,WAAW,YAAY;IAC3B,cAAc,CACZ,MAAM,EAAE,SAAS,EACjB,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,SAAS,SAAS,EAAE,GAC3B,OAAO,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACrC,+FAA+F;IAC/F,UAAU,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACjE,0FAA0F;IAC1F,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC;IAC7D,OAAO,CAAC,mBAAmB,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACxF,UAAU,CAAC,CAAC,oBAAoB,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IAI9F,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,kBAAkB,CAChB,mBAAmB,EAAE,MAAM,EAC3B,MAAM,EAAE,WAAW,EACnB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CAAC;IAGjB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC;CAC5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventData, EventEnvelope, EventingClock, EventJournal, JournalChangeSignal,
|
|
1
|
+
import type { EventData, EventEnvelope, EventingClock, EventJournal, JournalChangeSignal, StreamRef } from '@atolis-hq/eventing';
|
|
2
2
|
export interface FileEventJournalWatcher {
|
|
3
3
|
unref(): void;
|
|
4
4
|
close(): void;
|
|
@@ -7,13 +7,11 @@ export interface FileEventJournalWatcher {
|
|
|
7
7
|
export type FileEventJournalWatcherFactory = (directory: string, notify: () => void) => Promise<FileEventJournalWatcher>;
|
|
8
8
|
export interface FileEventJournalOptions {
|
|
9
9
|
readonly watcherFactory?: FileEventJournalWatcherFactory;
|
|
10
|
-
readonly validationNow?: () => number;
|
|
11
10
|
}
|
|
12
11
|
export declare class FileEventJournal implements EventJournal {
|
|
13
12
|
private readonly root;
|
|
14
13
|
private readonly clock;
|
|
15
14
|
private readonly options;
|
|
16
|
-
private readonly validationNow;
|
|
17
15
|
constructor(root: string, clock: EventingClock, options?: FileEventJournalOptions);
|
|
18
16
|
private readonly changeSignalSource;
|
|
19
17
|
private changeWatcher;
|
|
@@ -21,13 +19,15 @@ export declare class FileEventJournal implements EventJournal {
|
|
|
21
19
|
get changeSignal(): JournalChangeSignal;
|
|
22
20
|
private cached;
|
|
23
21
|
private inFlightScan;
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
27
|
-
private
|
|
22
|
+
private readonly knownSegments;
|
|
23
|
+
private latestEntries;
|
|
24
|
+
private listing;
|
|
25
|
+
private runningListing;
|
|
26
|
+
private queuedListing;
|
|
27
|
+
private temporariesReclaimed;
|
|
28
28
|
appendToStream(stream: StreamRef, expectedSequence: number, drafts: readonly EventData[]): Promise<readonly EventEnvelope[]>;
|
|
29
29
|
private nextSegmentFile;
|
|
30
|
-
readStream(stream: StreamRef
|
|
30
|
+
readStream(stream: StreamRef): Promise<readonly EventEnvelope<EventData<string, unknown>, StreamRef<string, string>>[]>;
|
|
31
31
|
/** Live readers bypass the full-history cache and stop at captured segment sizes. */
|
|
32
32
|
scanAll(signal?: AbortSignal): AsyncIterable<EventEnvelope>;
|
|
33
33
|
private scanSegment;
|
|
@@ -39,15 +39,14 @@ export declare class FileEventJournal implements EventJournal {
|
|
|
39
39
|
private ensureChangeWatcher;
|
|
40
40
|
private startChangeWatcher;
|
|
41
41
|
private extendCache;
|
|
42
|
+
private adopt;
|
|
42
43
|
private manifestPath;
|
|
43
|
-
private cachedEventsForStream;
|
|
44
44
|
private persistManifest;
|
|
45
45
|
private loadManifest;
|
|
46
46
|
private scan;
|
|
47
|
-
private
|
|
48
|
-
private
|
|
49
|
-
private
|
|
50
|
-
private invalidateValidatedEntries;
|
|
47
|
+
private currentEntries;
|
|
48
|
+
private startListing;
|
|
49
|
+
private listSegments;
|
|
51
50
|
private parseIndexedEntries;
|
|
52
51
|
private decodeIndexedRecord;
|
|
53
52
|
private scanUncoalesced;
|
package/dist/src/node_modules/@atolis-hq/eventing-filesystem/dist/file-event-journal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-event-journal.d.ts","sourceRoot":"","sources":["../src/file-event-journal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"file-event-journal.d.ts","sourceRoot":"","sources":["../src/file-event-journal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,SAAS,EACV,MAAM,qBAAqB,CAAC;AAU7B,MAAM,WAAW,uBAAuB;IACtC,KAAK,IAAI,IAAI,CAAC;IACd,KAAK,IAAI,IAAI,CAAC;IACd,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC;CACrD;AAED,MAAM,MAAM,8BAA8B,GAAG,CAC3C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,IAAI,KACf,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAEtC,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,8BAA8B,CAAC;CAC1D;AAWD,qBAAa,gBAAiB,YAAW,YAAY;IAEjD,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAFP,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,aAAa,EACpB,OAAO,GAAE,uBAA4B;IAGxD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAsC;IACzE,OAAO,CAAC,aAAa,CAAsC;IAC3D,OAAO,CAAC,qBAAqB,CAA4B;IAEzD,IAAI,YAAY,IAAI,mBAAmB,CAEtC;IAKD,OAAO,CAAC,MAAM,CAA8B;IAW5C,OAAO,CAAC,YAAY,CAC4E;IAQhG,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,aAAa,CAA2B;IAChD,OAAO,CAAC,OAAO,CAA+E;IAE9F,OAAO,CAAC,cAAc,CAA2C;IACjE,OAAO,CAAC,aAAa,CAA2C;IAChE,OAAO,CAAC,oBAAoB,CAAS;IAE/B,cAAc,CAClB,MAAM,EAAE,SAAS,EACjB,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,SAAS,SAAS,EAAE,GAC3B,OAAO,CAAC,SAAS,aAAa,EAAE,CAAC;YA4CtB,eAAe;IAsBvB,UAAU,CAAC,MAAM,EAAE,SAAS;IA2BlC,qFAAqF;IAC9E,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC;YAcnD,WAAW;IAgC1B,OAAO,CAAC,gBAAgB;IAoBlB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAA2B;IA0BvD,UAAU,CAAC,oBAAoB,CAAC,EAAE,MAAM,EAAE,KAAK,SAA2B;IAW1E,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC;IAKvC,kBAAkB,CACtB,mBAAmB,EAAE,MAAM,EAC3B,MAAM,EAAE,WAAW,EACnB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC;IAWhB,OAAO,CAAC,mBAAmB;YAUb,kBAAkB;YAyBlB,WAAW;IAuDzB,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,YAAY;YAQN,eAAe;YAKf,YAAY;YAYZ,IAAI;IAelB,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,YAAY;YAQN,YAAY;YA4DZ,mBAAmB;IA0BjC,OAAO,CAAC,mBAAmB;YAwBb,eAAe;CAuD9B"}
|