Skip to content

@codesoul-co/hypha-memory / memory-server-migration-package-fixtures

Using this module

Use the Memory server migration package fixtures module for writing deterministic tests and contract assertions. It exports 3 constants.

Import from the package entrypoint

ts
import {
  canonicalNativeMemoryServerMigrationPackagePorts,
  compliantFrameworkMemoryServerMigrationPackagePorts,
  legacyMemoryServerMigrationPackagePorts,
} from '@codesoul-co/hypha-memory';

Usage patterns

  • The 3 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.

Public exports

SymbolKindSignatureDescription
canonicalNativeMemoryServerMigrationPackagePortsconstantconst canonicalNativeMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePortsCanonical Native fixture: real runtime receipt plus concrete migration adapters.
compliantFrameworkMemoryServerMigrationPackagePortsconstantconst compliantFrameworkMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePortsFramework reference fixture: adapter-neutral in-memory behavior with canonical contracts.
legacyMemoryServerMigrationPackagePortsconstantconst legacyMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePortsLegacy failure fixture: every suite preserves at least one audited defect.

canonicalNativeMemoryServerMigrationPackagePorts

Canonical Native fixture: real runtime receipt plus concrete migration adapters.

Declaration

text
export declare const canonicalNativeMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePorts;

compliantFrameworkMemoryServerMigrationPackagePorts

Framework reference fixture: adapter-neutral in-memory behavior with canonical contracts.

Declaration

text
export declare const compliantFrameworkMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePorts;

legacyMemoryServerMigrationPackagePorts

Legacy failure fixture: every suite preserves at least one audited defect.

Declaration

text
export declare const legacyMemoryServerMigrationPackagePorts: MemoryServerMigrationPackagePorts;