import { createStoreContainer, type StoreContainerOptions } from "./index.ts";

export function createRequestStoreContainer(
  request: unknown,
  routeId?: string,
  options: Omit<StoreContainerOptions, "runtime" | "request" | "routeId"> = {},
) {
  return createStoreContainer({ ...options, runtime: "server", request, routeId });
}
