@ai-matrx/records 0.80.0 → 0.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/app-table/index.cjs +6 -1
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +3 -3
- package/dist/app-table/index.d.ts +3 -3
- package/dist/app-table/index.js +6 -1
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-BcVOYKL1.d.ts → client-BbLzOf08.d.ts} +1 -1
- package/dist/{client-DHoI0qvP.d.cts → client-GhSH0bR7.d.cts} +1 -1
- package/dist/core/index.cjs +8 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +8 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +6 -1
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +6 -1
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-DM9mPkSc.d.cts → declareTable-Bb0eUtPF.d.cts} +2 -2
- package/dist/{declareTable-CDKHwyrF.d.ts → declareTable-D6mB7Va8.d.ts} +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +6 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +6 -2
- package/dist/react/index.d.ts +6 -2
- package/dist/react/index.js +6 -1
- package/dist/react/index.js.map +1 -1
- package/dist/{table-kind-wYO_qjK1.d.cts → table-kind-DptSVo_4.d.cts} +6 -2
- package/dist/{table-kind-Ct-nhoCZ.d.ts → table-kind-lHVdMZGy.d.ts} +6 -2
- package/package.json +1 -1
|
@@ -3781,7 +3781,7 @@ type DrillSource = {
|
|
|
3781
3781
|
/** Who a question is asked for (the access lanes, applied to counting). */
|
|
3782
3782
|
type DrillLane = "mine" | "organization" | "platform";
|
|
3783
3783
|
type DrillGrain = "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
3784
|
-
type DrillMeasureOp = "count" | "count_distinct" | "sum" | "avg" | "min" | "max" | "median" | "percentile" | "rate" | "filled" | "empty" | "ratio" | "sum_of";
|
|
3784
|
+
type DrillMeasureOp = "count" | "count_distinct" | "sum" | "avg" | "min" | "max" | "median" | "percentile" | "rate" | "filled" | "empty" | "ratio" | "sum_of" | "span";
|
|
3785
3785
|
/**
|
|
3786
3786
|
* The operations a question may ask ad hoc (`{op, of}`); a ratio, a percentile and a run rate are
|
|
3787
3787
|
* declared, never ad hoc (each needs more than a column: its parts, its p, its per).
|
|
@@ -3892,7 +3892,11 @@ interface DrillMeasure {
|
|
|
3892
3892
|
* value, null or a list; never a time): "cost of successful enriched runs". Bound by the door.
|
|
3893
3893
|
*/
|
|
3894
3894
|
where?: Record<string, DrillMeasureWhereValue>;
|
|
3895
|
-
/**
|
|
3895
|
+
/**
|
|
3896
|
+
* How a screen reads the number: usd, count, tokens, ms, share, times, …; `time` = a moment (ISO);
|
|
3897
|
+
* `duration` = a length of time in milliseconds — what a `span` (`of` a time column: the latest
|
|
3898
|
+
* minus the earliest moment, never additive, recomputed for Other and the total) declares.
|
|
3899
|
+
*/
|
|
3896
3900
|
unit?: string;
|
|
3897
3901
|
/** Counted once per this column's value (a measure on the "one" side of a join). */
|
|
3898
3902
|
at_grain?: string;
|
|
@@ -3781,7 +3781,7 @@ type DrillSource = {
|
|
|
3781
3781
|
/** Who a question is asked for (the access lanes, applied to counting). */
|
|
3782
3782
|
type DrillLane = "mine" | "organization" | "platform";
|
|
3783
3783
|
type DrillGrain = "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
3784
|
-
type DrillMeasureOp = "count" | "count_distinct" | "sum" | "avg" | "min" | "max" | "median" | "percentile" | "rate" | "filled" | "empty" | "ratio" | "sum_of";
|
|
3784
|
+
type DrillMeasureOp = "count" | "count_distinct" | "sum" | "avg" | "min" | "max" | "median" | "percentile" | "rate" | "filled" | "empty" | "ratio" | "sum_of" | "span";
|
|
3785
3785
|
/**
|
|
3786
3786
|
* The operations a question may ask ad hoc (`{op, of}`); a ratio, a percentile and a run rate are
|
|
3787
3787
|
* declared, never ad hoc (each needs more than a column: its parts, its p, its per).
|
|
@@ -3892,7 +3892,11 @@ interface DrillMeasure {
|
|
|
3892
3892
|
* value, null or a list; never a time): "cost of successful enriched runs". Bound by the door.
|
|
3893
3893
|
*/
|
|
3894
3894
|
where?: Record<string, DrillMeasureWhereValue>;
|
|
3895
|
-
/**
|
|
3895
|
+
/**
|
|
3896
|
+
* How a screen reads the number: usd, count, tokens, ms, share, times, …; `time` = a moment (ISO);
|
|
3897
|
+
* `duration` = a length of time in milliseconds — what a `span` (`of` a time column: the latest
|
|
3898
|
+
* minus the earliest moment, never additive, recomputed for Other and the total) declares.
|
|
3899
|
+
*/
|
|
3896
3900
|
unit?: string;
|
|
3897
3901
|
/** Counted once per this column's value (a measure on the "one" side of a join). */
|
|
3898
3902
|
at_grain?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/records",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.1",
|
|
4
4
|
"description": "The headless client of the AI Matrx record store: the Table / Field / Rule / Record / Relation / Home types, the closed vocabularies and refusal codes read from the store itself, the typed calls over the store's doors and nothing else, the merge-field declaration, a validation mirror that predicts only what the store's own triggers refuse, and the never-throw result envelope. Zero React, zero DOM in the root and /core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|