⚠️ Internal: This API is not publically exported by the package.

Type alias ZUnionCommandOptions

ZUnionCommandOptions: {
    aggregate?: "sum" | "min" | "max";
    withScores?: boolean;
} & ({
    weight: number;
    weights?: never;
} | {
    weight?: never;
    weights: number[];
} | {
    weight?: never;
    weights?: never;
})

Type declaration

  • Optional aggregate?: "sum" | "min" | "max"
  • Optional withScores?: boolean