UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

58 lines (57 loc) 1.23 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); class BaseExpression { } class CollectionRef extends BaseExpression { constructor(collection, alias) { super(); this.collection = collection; this.alias = alias; this.type = `collectionRef`; } } class QueryRef extends BaseExpression { constructor(query, alias) { super(); this.query = query; this.alias = alias; this.type = `queryRef`; } } class PropRef extends BaseExpression { constructor(path) { super(); this.path = path; this.type = `ref`; } } class Value extends BaseExpression { constructor(value) { super(); this.value = value; this.type = `val`; } } class Func extends BaseExpression { constructor(name, args) { super(); this.name = name; this.args = args; this.type = `func`; } } class Aggregate extends BaseExpression { constructor(name, args) { super(); this.name = name; this.args = args; this.type = `agg`; } } exports.Aggregate = Aggregate; exports.CollectionRef = CollectionRef; exports.Func = Func; exports.PropRef = PropRef; exports.QueryRef = QueryRef; exports.Value = Value; //# sourceMappingURL=ir.cjs.map