@giancosta86/omnicourse
Version:
Interactive, React-based drill-down analysis of your learning experience
18 lines • 539 B
TypeScript
import { Taxonomy, RawTaxonomy } from "@giancosta86/omnicourse-core";
declare type WithCorrelationId = Readonly<{
correlationId: string;
}>;
export declare type MessageToWorker = Readonly<WithCorrelationId & {
type: "computeTaxonomy";
taxonomyName: string;
rawTaxonomy: RawTaxonomy;
}>;
export declare type MessageFromWorker = Readonly<WithCorrelationId & ({
type: "taxonomyReady";
taxonomy: Taxonomy;
} | {
type: "taxonomyError";
errorMessage: string;
})>;
export {};
//# sourceMappingURL=protocol.d.ts.map