Type Alias BrandPatch

A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.

type BrandPatch = {
    op: "add" | "remove" | "replace";
    path: "/name" | "/description";
    value?: string;
}
Index

Properties

Properties

op: "add" | "remove" | "replace"

The operation to be performed.

path: "/name" | "/description"

The path for the given resource field to patch.

value?: string

The value to be used for this operation.