63 lines
1.8 KiB
TypeScript
63 lines
1.8 KiB
TypeScript
// Bootstrap
|
|
export type { BootstrapSpec, WorkerHost } from "./bootstrap/bootstrap.js";
|
|
export { bootstrapWorkerPlugin } from "./bootstrap/bootstrap.js";
|
|
// Capability proxies
|
|
export type {
|
|
CapabilityProxy,
|
|
CapabilityProxyMap,
|
|
} from "./capability-proxies/capability-proxies.js";
|
|
export {
|
|
getCapability,
|
|
installCapabilityProxies,
|
|
} from "./capability-proxies/capability-proxies.js";
|
|
// Crash detection
|
|
export type {
|
|
CrashDetector,
|
|
CrashDetectorOptions,
|
|
ProcessLike,
|
|
} from "./crash-detection/crash-detection.js";
|
|
export { installCrashDetector } from "./crash-detection/crash-detection.js";
|
|
// Error codes
|
|
export type { WorkerHostCode } from "./error-codes/error-codes.js";
|
|
export {
|
|
WORKER_HOST_CODES,
|
|
WorkerHostError,
|
|
} from "./error-codes/error-codes.js";
|
|
// Lifecycle
|
|
export type {
|
|
LifecycleReceiver,
|
|
LifecycleReceiverOptions,
|
|
PluginLifecycleHooks,
|
|
WorkerLifecycleState,
|
|
} from "./lifecycle/lifecycle.js";
|
|
export { createLifecycleReceiver } from "./lifecycle/lifecycle.js";
|
|
export type {
|
|
CapabilityHandles,
|
|
CrashReport,
|
|
ErrorEnvelope,
|
|
LifecycleAck,
|
|
LifecycleCommand,
|
|
LifecycleCommandKind,
|
|
ManifestEnvelope,
|
|
WorkerReadyFrame,
|
|
} from "./protocol-extension/protocol-extension.js";
|
|
// Protocol extension
|
|
export {
|
|
capabilityHandlesSchema,
|
|
crashReportSchema,
|
|
errorEnvelopeSchema,
|
|
lifecycleAckErrSchema,
|
|
lifecycleAckOkSchema,
|
|
lifecycleAckSchema,
|
|
lifecycleCommandKindSchema,
|
|
lifecycleCommandSchema,
|
|
manifestEnvelopeSchema,
|
|
workerReadyFrameSchema,
|
|
} from "./protocol-extension/protocol-extension.js";
|
|
// Testing
|
|
export type {
|
|
WorkerHostConformanceHarness,
|
|
WorkerHostConformanceOptions,
|
|
} from "./testing/testing.js";
|
|
export { runWorkerHostConformance } from "./testing/testing.js";
|