@ai-matrx/records-ui 0.93.67 → 0.93.69

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/dist/index.d.cts CHANGED
@@ -253,11 +253,28 @@ type GridGrouping = {
253
253
  * because this list is parsed and written back whole with the rest of the look.
254
254
  */
255
255
  then?: GridSubGroup[];
256
+ /**
257
+ * DRILL (lane DRILL-TABLE-PRIMITIVE): the Dimension pivoted across the top — a Field key, or
258
+ * `<key>:<grain>` for a date cut into periods.
259
+ */
260
+ across?: string;
261
+ /** DRILL: the period `field` is cut into when it is a date (`month`); the store keeps `field` a Field key. */
262
+ grain?: string;
263
+ /** The Measures shown ("what to display"), by the store's own keys (`count`, `sum_quantity`). */
264
+ show?: string[];
265
+ /** The drill trail, in order: each crumb a Dimension reference and the value it narrowed to. */
266
+ trail?: GridDrillStep[];
267
+ };
268
+ /** One crumb of a saved drill trail. `value: null` is "no value". */
269
+ type GridDrillStep = {
270
+ dim: string;
271
+ value: string | null;
256
272
  };
257
273
  /** One sub-group level: a Field key and its section order. */
258
274
  type GridSubGroup = {
259
275
  field: string;
260
276
  order?: GroupOrder;
277
+ grain?: string;
261
278
  };
262
279
  /** Everything a view says about how its table LOOKS. */
263
280
  type GridPresentation = {
package/dist/index.d.ts CHANGED
@@ -253,11 +253,28 @@ type GridGrouping = {
253
253
  * because this list is parsed and written back whole with the rest of the look.
254
254
  */
255
255
  then?: GridSubGroup[];
256
+ /**
257
+ * DRILL (lane DRILL-TABLE-PRIMITIVE): the Dimension pivoted across the top — a Field key, or
258
+ * `<key>:<grain>` for a date cut into periods.
259
+ */
260
+ across?: string;
261
+ /** DRILL: the period `field` is cut into when it is a date (`month`); the store keeps `field` a Field key. */
262
+ grain?: string;
263
+ /** The Measures shown ("what to display"), by the store's own keys (`count`, `sum_quantity`). */
264
+ show?: string[];
265
+ /** The drill trail, in order: each crumb a Dimension reference and the value it narrowed to. */
266
+ trail?: GridDrillStep[];
267
+ };
268
+ /** One crumb of a saved drill trail. `value: null` is "no value". */
269
+ type GridDrillStep = {
270
+ dim: string;
271
+ value: string | null;
256
272
  };
257
273
  /** One sub-group level: a Field key and its section order. */
258
274
  type GridSubGroup = {
259
275
  field: string;
260
276
  order?: GroupOrder;
277
+ grain?: string;
261
278
  };
262
279
  /** Everything a view says about how its table LOOKS. */
263
280
  type GridPresentation = {