import { type MultiFormatReplicaOpts } from "https://deno.land/x/earthstar@v10.0.0-beta.5/mod.ts";
Options for configuring a new replica.
validators
: Validators for the kinds of documents this replica will replicate, e.g. FormatValidatorEs4.driver
: A driver the replica will use to read and persist documents.
Type Parameters
optional
F = DefaultFormatsProperties
driver: IReplicaDriver
config: FormatsConfigRecord<F>