import { AddToSet, Pop, Pull, PullAll, Push } from './aggregation'; /** * Label assigned to a record */ export type LedgerLabel = string; /** * Appends labels specified */ export type LedgerLabelPush = Push; /** * Appends labels specified - unless they are already present */ export type LedgerLabelAddToSet = AddToSet; /** * Removes labels specified */ export type LedgerLabelPull = Pull; /** * Removes all the labels specified */ export type LedgerLabelPullAll = PullAll; /** * Label query combinations */ export type LedgerLabelQuery = LedgerLabel[] | LedgerLabelPush | LedgerLabelAddToSet | LedgerLabelPull | LedgerLabelPullAll | Pop;