@shapeshift-labs/frontier-swarm 0.5.23 → 0.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1765,6 +1765,19 @@ export interface FrontierSwarmRunProjectionOptions {
1765
1765
  goal?: string;
1766
1766
  metadata?: unknown;
1767
1767
  }
1768
+ export interface FrontierSwarmRunFromProjectionOptions {
1769
+ plan: FrontierSwarmPlan;
1770
+ id?: string;
1771
+ startedAt?: number;
1772
+ status?: FrontierSwarmJobStatus;
1773
+ metadata?: unknown;
1774
+ }
1775
+ export interface FrontierSwarmQueueOverlayFromProjectionOptions {
1776
+ plan: FrontierSwarmPlan;
1777
+ id?: string;
1778
+ generatedAt?: number;
1779
+ metadata?: unknown;
1780
+ }
1768
1781
  export interface FrontierSwarmEventInput {
1769
1782
  id?: string;
1770
1783
  type: string;
@@ -4241,6 +4254,8 @@ export declare function createRunEventsFromSwarmResult(resultInput: FrontierSwar
4241
4254
  export declare function createRunEventsFromMergeBundle(bundle: FrontierSwarmMergeBundle, options?: FrontierSwarmRunEventAdapterOptions): FrontierRunEvent[];
4242
4255
  export declare function createRunEventsFromCoordinatorDecision(decision: FrontierSwarmQueueOutcomeDecision | FrontierSwarmQueueOutcomeDecisionInput, options?: FrontierSwarmRunEventAdapterOptions): FrontierRunEvent[];
4243
4256
  export declare function createRunProjectionFromSwarmRunEvents(events: readonly FrontierRunEvent[], options?: FrontierSwarmRunProjectionOptions): FrontierRunProjection;
4257
+ export declare function createSwarmRunFromRunProjection(projection: FrontierRunProjection, options: FrontierSwarmRunFromProjectionOptions): FrontierSwarmRun;
4258
+ export declare function createSwarmQueueOverlayFromRunProjection(projection: FrontierRunProjection, options: FrontierSwarmQueueOverlayFromProjectionOptions): FrontierSwarmQueueOverlay;
4244
4259
  export declare function createRunDashboardFromSwarmRun(input: FrontierSwarmRun | readonly FrontierRunEvent[], options?: FrontierSwarmRunProjectionOptions): FrontierRunDashboardSnapshot;
4245
4260
  export declare function createRunEventsFromSwarmRun(run: FrontierSwarmRun, options?: FrontierSwarmRunEventAdapterOptions): FrontierRunEvent[];
4246
4261
  export declare function recordSwarmEvent(runInput: FrontierSwarmRun, eventInput: FrontierSwarmEventInput): FrontierSwarmRun;