@dxos/echo
    Preparing search index...

    Interface QueryAggregateClause

    interface QueryAggregateClause {
        aggregates: readonly (
            | {
                kind: "group";
                name: string;
                properties: readonly [string, string];
            }
            | { kind: "max"; name: string; property: string }
            | { kind: "min"; name: string; property: string }
            | {
                kind: "items";
                limit?: number;
                name: string;
                order?: readonly (
                    | { direction: "asc"
                    | "desc"; kind: "natural" }
                    | { direction: "asc" | "desc"; kind: "property"; property: string }
                    | { direction: "asc" | "desc"; kind: "rank" }
                    | {
                        direction: "asc" | "desc";
                        field: "createdAt" | "updatedAt";
                        kind: "timestamp";
                    }
                    | {
                        direction: "asc"
                        | "desc";
                        key: string;
                        kind: "annotation";
                        path?: readonly string[];
                    }
                )[];
            }
            | { kind: "count"; name: string }
            | { kind: "type"; name: string }
            | {
                field: "createdAt" | "updatedAt";
                kind: "timestamp";
                name: string;
                unit: "day" | "hour";
            }
            | { kind: "time"; name: string; property: string; unit: "day"
            | "hour" }
            | { kind: "sum"; name: string; property: string }
        )[];
        query:
            | QueryAST.QueryAggregateClause
            | QueryAST.QueryFilterClause
            | QueryAST.QueryFromClause
            | QueryAST.QueryHierarchyTraversalClause
            | QueryAST.QueryIncomingReferencesClause
            | QueryAST.QueryLimitClause
            | QueryAST.QueryOptionsClause
            | QueryAST.QueryOrderClause
            | QueryAST.QueryReferenceTraversalClause
            | QueryAST.QueryRelationClause
            | QueryAST.QueryRelationTraversalClause
            | QueryAST.QuerySelectClause
            | QueryAST.QuerySetDifferenceClause
            | QueryAST.QuerySkipClause
            | QueryAST.QueryUnionClause;
        type: "aggregate";
    }

    Hierarchy

    • Type<typeof QueryAggregateClause_>
      • QueryAggregateClause
    Index

    Properties

    Properties

    aggregates: readonly (
        | { kind: "group"; name: string; properties: readonly [string, string] }
        | { kind: "max"; name: string; property: string }
        | { kind: "min"; name: string; property: string }
        | {
            kind: "items";
            limit?: number;
            name: string;
            order?: readonly (
                | { direction: "asc"
                | "desc"; kind: "natural" }
                | { direction: "asc" | "desc"; kind: "property"; property: string }
                | { direction: "asc" | "desc"; kind: "rank" }
                | {
                    direction: "asc" | "desc";
                    field: "createdAt" | "updatedAt";
                    kind: "timestamp";
                }
                | {
                    direction: "asc"
                    | "desc";
                    key: string;
                    kind: "annotation";
                    path?: readonly string[];
                }
            )[];
        }
        | { kind: "count"; name: string }
        | { kind: "type"; name: string }
        | {
            field: "createdAt" | "updatedAt";
            kind: "timestamp";
            name: string;
            unit: "day" | "hour";
        }
        | { kind: "time"; name: string; property: string; unit: "day"
        | "hour" }
        | { kind: "sum"; name: string; property: string }
    )[]
    type: "aggregate"