brows3r — TypeScript API
    Preparing search index...

    Type Alias DiffPayload

    Discriminated union of all supported diff payload kinds.

    The kind field mirrors the #[serde(tag = "kind")] on the Rust enum.

    OCP: new variants are added as new members of this union.

    Mirrors src-tauri/src/diff/mod.rs DiffPayload.

    type DiffPayload = {
        current: Record<string, string>;
        kind: "storage_class";
        newClass: string;
        targets: ObjectRef[];
    }
    Index

    Properties

    current: Record<string, string>

    Map of key → current_storage_class (from listing / HEAD).

    kind: "storage_class"
    newClass: string

    The new storage class value (e.g. "GLACIER", "STANDARD_IA").

    targets: ObjectRef[]

    The objects whose storage class will be changed.