Type Alias JSONPatch

A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.

type JSONPatch = {
    op: "replace";
    path: "/enabled" | "/name" | "/allowedIps";
    value: string | boolean | string[];
}
Index

Properties

Properties

op: "replace"

The operation to be performed.

path: "/enabled" | "/name" | "/allowedIps"

A JSON Pointer.

value: string | boolean | string[]

The value to be used for this operation.