@radcliffetech/symbolos-core
Version:
Core symbolic simulation and execution engine for Symbolos
33 lines (32 loc) • 966 B
TypeScript
import { SymbolicObject } from '../../types';
type ArchiveParams = {
context: Record<string, any>;
pipelineId: string;
runId: string;
config: {
storeFiles?: boolean;
verbose?: boolean;
};
getArtifacts: (context: Record<string, any>) => any[];
};
export type SymbolicWorldFrame = SymbolicObject & {
members: any[];
tick: number;
step: number;
pipelineId: string;
runId: string;
};
export declare function storeWorldArchive({ context, pipelineId, runId, getArtifacts, }: ArchiveParams): Promise<{
world: SymbolicObject;
filePath: string;
}>;
type ArchiveFrameParams = ArchiveParams & {
tick: number;
step: number;
previousArtifacts?: Map<string, SymbolicObject>;
};
export declare const storeWorldFrame: ({ context, pipelineId, runId, config, getArtifacts, tick, step, previousArtifacts, }: ArchiveFrameParams) => Promise<{
frame: SymbolicObject;
filePath: string;
}>;
export {};