Setu-TS
    Preparing search index...

    Interface CosmosContainerDefinition

    The container definition the partition-key resolver reads.

    0.2.0

    interface CosmosContainerDefinition {
        partitionKey?: { kind?: string; paths?: readonly string[] };
    }
    Index
    partitionKey?: { kind?: string; paths?: readonly string[] }

    The partition-key definition, present on every container.

    Type Declaration

    • Optional Readonlykind?: string

      MultiHash for a hierarchical key; absent for a single-path one.

    • Optional Readonlypaths?: readonly string[]

      The document paths the partition key is composed of, each leading-slash.