import { createStaticPipelineStorageFields, createStoredStaticPipelineV2, hydrateStoredStaticPipelineV2, readStoredStaticPipeline, } from './static-pipeline'; export { isStoredStaticPipelineV2IntegrityError, STATIC_PIPELINE_V2_INTEGRITY_ERROR_CODE, STATIC_PIPELINE_V2_INTEGRITY_USER_MESSAGE, StoredStaticPipelineV2IntegrityError, } from './static-pipeline'; /** * Node- and Convex-agnostic codec for the durable static-pipeline format. * * `flatten` is the only supported recursive graph -> flat V2 conversion. * `hydrate` is its strict inverse. `storageFields` creates the complete V2 plus * the bounded V1 compatibility mirror. `read` handles legacy rows with no V2. */ export const staticPipelineStorageCodec = Object.freeze({ flatten: createStoredStaticPipelineV2, hydrate: hydrateStoredStaticPipelineV2, storageFields: createStaticPipelineStorageFields, read: readStoredStaticPipeline, });