UNPKG

@featurevisor/types

Version:

Common Typescript types for Featurevisor

9 lines (7 loc) 253 B
import type { AttributeKey } from "./attribute"; export type PlainBucketBy = AttributeKey; export type AndBucketBy = AttributeKey[]; export interface OrBucketBy { or: AttributeKey[]; } export type BucketBy = PlainBucketBy | AndBucketBy | OrBucketBy;