import { InMemoryDataExport } from "../in-memory-data-export";
import { InMemoryDataDelete } from "../in-memory-data-delete";
import { InMemoryDataRectify } from "../in-memory-data-rectify";
import { InMemoryProcessingRestriction } from "../in-memory-processing-restriction";
import type { DsrBinding } from "./bind-production";

/**
 * Returns in-memory DSR implementations for dev-seed and storybook contexts
 * where Payload is unavailable.
 *
 * No config or auditLog needed: all operations are no-ops that return
 * well-shaped responses.
 */
export function bindDevSeedDsr(): DsrBinding {
  return {
    dataExport: new InMemoryDataExport(),
    dataDelete: new InMemoryDataDelete(),
    dataRectify: new InMemoryDataRectify(),
    processingRestriction: new InMemoryProcessingRestriction(),
  };
}
